summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/powerz.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-09-11 07:44:42 +0200
committerGuenter Roeck <linux@roeck-us.net>2023-10-27 07:27:25 -0700
commit2232f10d714f2198d037b8047f482c09f7ad3b9a (patch)
tree8cb61a3eef6d4c85b501b6a1de5593444616e9b0 /drivers/hwmon/powerz.c
parent9ab6fe910b1a00b51e6f9396950092e658211474 (diff)
downloadlinux-stable-2232f10d714f2198d037b8047f482c09f7ad3b9a.tar.gz
linux-stable-2232f10d714f2198d037b8047f482c09f7ad3b9a.tar.bz2
linux-stable-2232f10d714f2198d037b8047f482c09f7ad3b9a.zip
hwmon: (powerz) add support for ChargerLAB KM002C
The KM002C is similar to the KM003C and seems to use the same protocol and firmware. Reported-by: Douglas Gilbert <dgilbert@interlog.com> Closes: https://lore.kernel.org/lkml/290ebce4-54f0-8ac1-2a13-cbc806d80d64@interlog.com/ Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20230911-powerz-km002c-v1-1-898bd79b9bae@weissschuh.net Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/powerz.c')
-rw-r--r--drivers/hwmon/powerz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/powerz.c b/drivers/hwmon/powerz.c
index 2b9693aee6f6..cfb635f94d66 100644
--- a/drivers/hwmon/powerz.c
+++ b/drivers/hwmon/powerz.c
@@ -254,6 +254,7 @@ static void powerz_disconnect(struct usb_interface *intf)
}
static const struct usb_device_id powerz_id_table[] = {
+ { USB_DEVICE_INTERFACE_NUMBER(0x5FC9, 0x0061, 0x00) }, /* ChargerLAB POWER-Z KM002C */
{ USB_DEVICE_INTERFACE_NUMBER(0x5FC9, 0x0063, 0x00) }, /* ChargerLAB POWER-Z KM003C */
{ }
};