linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu
@ 2022-10-02 17:45 Wilken Gottwalt
  2022-10-02 22:00 ` Guenter Roeck
  2022-10-03  8:13 ` Jonas Malaco
  0 siblings, 2 replies; 4+ messages in thread
From: Wilken Gottwalt @ 2022-10-02 17:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, linux-hwmon

Also updates the documentation accordingly.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
---
 Documentation/hwmon/corsair-psu.rst | 2 +-
 drivers/hwmon/corsair-psu.c         | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/hwmon/corsair-psu.rst b/Documentation/hwmon/corsair-psu.rst
index c3a76305c587..3c1b164eb3c0 100644
--- a/Documentation/hwmon/corsair-psu.rst
+++ b/Documentation/hwmon/corsair-psu.rst
@@ -15,7 +15,7 @@ Supported devices:
 
   Corsair HX850i
 
-  Corsair HX1000i
+  Corsair HX1000i (revision 1 and 2)
 
   Corsair HX1200i
 
diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c
index c99e4c6afc2d..345d883ab044 100644
--- a/drivers/hwmon/corsair-psu.c
+++ b/drivers/hwmon/corsair-psu.c
@@ -813,13 +813,14 @@ static const struct hid_device_id corsairpsu_idtable[] = {
 	{ HID_USB_DEVICE(0x1b1c, 0x1c04) }, /* Corsair HX650i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c05) }, /* Corsair HX750i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c06) }, /* Corsair HX850i */
-	{ HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i */
+	{ HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i revision 1 */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c08) }, /* Corsair HX1200i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c09) }, /* Corsair RM550i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c0a) }, /* Corsair RM650i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c0b) }, /* Corsair RM750i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c0c) }, /* Corsair RM850i */
 	{ HID_USB_DEVICE(0x1b1c, 0x1c0d) }, /* Corsair RM1000i */
+	{ HID_USB_DEVICE(0x1b1c, 0x1c1e) }, /* Corsaur HX1000i revision 2 */
 	{ },
 };
 MODULE_DEVICE_TABLE(hid, corsairpsu_idtable);
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu
  2022-10-02 17:45 [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu Wilken Gottwalt
@ 2022-10-02 22:00 ` Guenter Roeck
  2022-10-03  8:13 ` Jonas Malaco
  1 sibling, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2022-10-02 22:00 UTC (permalink / raw)
  To: Wilken Gottwalt; +Cc: linux-kernel, Jean Delvare, Jonathan Corbet, linux-hwmon

On Sun, Oct 02, 2022 at 05:45:53PM +0000, Wilken Gottwalt wrote:
> Also updates the documentation accordingly.
> 
> Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>

Applied.

Thanks,
Guenter

> ---
>  Documentation/hwmon/corsair-psu.rst | 2 +-
>  drivers/hwmon/corsair-psu.c         | 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/hwmon/corsair-psu.rst b/Documentation/hwmon/corsair-psu.rst
> index c3a76305c587..3c1b164eb3c0 100644
> --- a/Documentation/hwmon/corsair-psu.rst
> +++ b/Documentation/hwmon/corsair-psu.rst
> @@ -15,7 +15,7 @@ Supported devices:
>  
>    Corsair HX850i
>  
> -  Corsair HX1000i
> +  Corsair HX1000i (revision 1 and 2)
>  
>    Corsair HX1200i
>  
> diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c
> index c99e4c6afc2d..345d883ab044 100644
> --- a/drivers/hwmon/corsair-psu.c
> +++ b/drivers/hwmon/corsair-psu.c
> @@ -813,13 +813,14 @@ static const struct hid_device_id corsairpsu_idtable[] = {
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c04) }, /* Corsair HX650i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c05) }, /* Corsair HX750i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c06) }, /* Corsair HX850i */
> -	{ HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i */
> +	{ HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i revision 1 */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c08) }, /* Corsair HX1200i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c09) }, /* Corsair RM550i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c0a) }, /* Corsair RM650i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c0b) }, /* Corsair RM750i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c0c) }, /* Corsair RM850i */
>  	{ HID_USB_DEVICE(0x1b1c, 0x1c0d) }, /* Corsair RM1000i */
> +	{ HID_USB_DEVICE(0x1b1c, 0x1c1e) }, /* Corsaur HX1000i revision 2 */
>  	{ },
>  };
>  MODULE_DEVICE_TABLE(hid, corsairpsu_idtable);

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu
  2022-10-02 17:45 [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu Wilken Gottwalt
  2022-10-02 22:00 ` Guenter Roeck
@ 2022-10-03  8:13 ` Jonas Malaco
  2022-10-03  8:59   ` Wilken Gottwalt
  1 sibling, 1 reply; 4+ messages in thread
From: Jonas Malaco @ 2022-10-03  8:13 UTC (permalink / raw)
  To: Wilken Gottwalt
  Cc: linux-kernel, Jean Delvare, Guenter Roeck, Jonathan Corbet, linux-hwmon

On Sun, Oct 2, 2022 at 2:46 PM Wilken Gottwalt
<wilken.gottwalt@posteo.net> wrote:
>
> Also updates the documentation accordingly.
>
> Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
> ---
>  Documentation/hwmon/corsair-psu.rst | 2 +-
>  drivers/hwmon/corsair-psu.c         | 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/hwmon/corsair-psu.rst b/Documentation/hwmon/corsair-psu.rst
> index c3a76305c587..3c1b164eb3c0 100644
> --- a/Documentation/hwmon/corsair-psu.rst
> +++ b/Documentation/hwmon/corsair-psu.rst
> @@ -15,7 +15,7 @@ Supported devices:
>
>    Corsair HX850i
>
> -  Corsair HX1000i
> +  Corsair HX1000i (revision 1 and 2)
>
>    Corsair HX1200i
>
> diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c
> index c99e4c6afc2d..345d883ab044 100644
> --- a/drivers/hwmon/corsair-psu.c
> +++ b/drivers/hwmon/corsair-psu.c
> @@ -813,13 +813,14 @@ static const struct hid_device_id corsairpsu_idtable[] = {
>         { HID_USB_DEVICE(0x1b1c, 0x1c04) }, /* Corsair HX650i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c05) }, /* Corsair HX750i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c06) }, /* Corsair HX850i */
> -       { HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i */
> +       { HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i revision 1 */
>         { HID_USB_DEVICE(0x1b1c, 0x1c08) }, /* Corsair HX1200i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c09) }, /* Corsair RM550i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c0a) }, /* Corsair RM650i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c0b) }, /* Corsair RM750i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c0c) }, /* Corsair RM850i */
>         { HID_USB_DEVICE(0x1b1c, 0x1c0d) }, /* Corsair RM1000i */
> +       { HID_USB_DEVICE(0x1b1c, 0x1c1e) }, /* Corsaur HX1000i revision 2 */

Wilken,

A small typo has creeped in: s/Corsaur/Corsair/.

P.S. Sorry if this reply arrives somewhat mangled, I'm away from my
regular setup.

>         { },
>  };
>  MODULE_DEVICE_TABLE(hid, corsairpsu_idtable);
> --
> 2.37.3
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu
  2022-10-03  8:13 ` Jonas Malaco
@ 2022-10-03  8:59   ` Wilken Gottwalt
  0 siblings, 0 replies; 4+ messages in thread
From: Wilken Gottwalt @ 2022-10-03  8:59 UTC (permalink / raw)
  To: Jonas Malaco
  Cc: linux-kernel, Jean Delvare, Guenter Roeck, Jonathan Corbet, linux-hwmon

On Mon, 3 Oct 2022 05:13:27 -0300
Jonas Malaco <jonas@protocubo.io> wrote:

> On Sun, Oct 2, 2022 at 2:46 PM Wilken Gottwalt
> <wilken.gottwalt@posteo.net> wrote:
> >
> > Also updates the documentation accordingly.
> >
> > Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
> > ---
> >  Documentation/hwmon/corsair-psu.rst | 2 +-
> >  drivers/hwmon/corsair-psu.c         | 3 ++-
> >  2 files changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/hwmon/corsair-psu.rst b/Documentation/hwmon/corsair-psu.rst
> > index c3a76305c587..3c1b164eb3c0 100644
> > --- a/Documentation/hwmon/corsair-psu.rst
> > +++ b/Documentation/hwmon/corsair-psu.rst
> > @@ -15,7 +15,7 @@ Supported devices:
> >
> >    Corsair HX850i
> >
> > -  Corsair HX1000i
> > +  Corsair HX1000i (revision 1 and 2)
> >
> >    Corsair HX1200i
> >
> > diff --git a/drivers/hwmon/corsair-psu.c b/drivers/hwmon/corsair-psu.c
> > index c99e4c6afc2d..345d883ab044 100644
> > --- a/drivers/hwmon/corsair-psu.c
> > +++ b/drivers/hwmon/corsair-psu.c
> > @@ -813,13 +813,14 @@ static const struct hid_device_id corsairpsu_idtable[] = {
> >         { HID_USB_DEVICE(0x1b1c, 0x1c04) }, /* Corsair HX650i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c05) }, /* Corsair HX750i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c06) }, /* Corsair HX850i */
> > -       { HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i */
> > +       { HID_USB_DEVICE(0x1b1c, 0x1c07) }, /* Corsair HX1000i revision 1 */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c08) }, /* Corsair HX1200i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c09) }, /* Corsair RM550i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c0a) }, /* Corsair RM650i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c0b) }, /* Corsair RM750i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c0c) }, /* Corsair RM850i */
> >         { HID_USB_DEVICE(0x1b1c, 0x1c0d) }, /* Corsair RM1000i */
> > +       { HID_USB_DEVICE(0x1b1c, 0x1c1e) }, /* Corsaur HX1000i revision 2 */
> 
> Wilken,
> 
> A small typo has creeped in: s/Corsaur/Corsair/.
> 
> P.S. Sorry if this reply arrives somewhat mangled, I'm away from my
> regular setup.

Oh, looks like I hit one key next to it. Thx for spotting this.

greetings,
Will

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-03  9:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-02 17:45 [PATCH] hwmon: corsair-psu: add USB id of new revision of the HX1000i psu Wilken Gottwalt
2022-10-02 22:00 ` Guenter Roeck
2022-10-03  8:13 ` Jonas Malaco
2022-10-03  8:59   ` Wilken Gottwalt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).