hwmon: (corsair-psu) Add USB id of the new HX1500i psu
authorWilken Gottwalt <wilken.gottwalt@posteo.net>
Sat, 8 Oct 2022 11:35:34 +0000 (11:35 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 22 Oct 2022 13:59:12 +0000 (06:59 -0700)
Also update the documentation accordingly.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
Link: https://lore.kernel.org/r/Y0FghqQCHG/cX5Jz@monster.localdomain
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/corsair-psu.rst
drivers/hwmon/corsair-psu.c

index 3c1b164..6a03edb 100644 (file)
@@ -19,6 +19,8 @@ Supported devices:
 
   Corsair HX1200i
 
+  Corsair HX1500i
+
   Corsair RM550i
 
   Corsair RM650i
index c1c27e4..2210aa6 100644 (file)
@@ -821,6 +821,7 @@ static const struct hid_device_id corsairpsu_idtable[] = {
        { HID_USB_DEVICE(0x1b1c, 0x1c0c) }, /* Corsair RM850i */
        { HID_USB_DEVICE(0x1b1c, 0x1c0d) }, /* Corsair RM1000i */
        { HID_USB_DEVICE(0x1b1c, 0x1c1e) }, /* Corsair HX1000i revision 2 */
+       { HID_USB_DEVICE(0x1b1c, 0x1c1f) }, /* Corsair HX1500i */
        { },
 };
 MODULE_DEVICE_TABLE(hid, corsairpsu_idtable);