Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH] hwmon: (f71882fg) Add support for F71858AD (0x0903)
@ 2022-06-04 23:21 Aleksander Mazur
  2022-06-05 17:39 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksander Mazur @ 2022-06-04 23:21 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck; +Cc: Aleksander Mazur, linux-hwmon, linux-kernel

Treat F71858AD like F71858FG.

Tested on Igel D220.

Signed-off-by: Aleksander Mazur <deweloper@wp.pl>
---
 drivers/hwmon/f71882fg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c
index 6830e029995d..19b6c643059a 100644
--- a/drivers/hwmon/f71882fg.c
+++ b/drivers/hwmon/f71882fg.c
@@ -49,6 +49,7 @@
 #define SIO_F81768D_ID		0x1210	/* Chipset ID */
 #define SIO_F81865_ID		0x0704	/* Chipset ID */
 #define SIO_F81866_ID		0x1010	/* Chipset ID */
+#define SIO_F71858AD_ID		0x0903	/* Chipset ID */
 #define SIO_F81966_ID		0x1502	/* Chipset ID */
 
 #define REGION_LENGTH		8
@@ -2638,6 +2639,7 @@ static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data)
 		sio_data->type = f71808a;
 		break;
 	case SIO_F71858_ID:
+	case SIO_F71858AD_ID:
 		sio_data->type = f71858fg;
 		break;
 	case SIO_F71862_ID:
-- 
2.36.1


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

* Re: [PATCH] hwmon: (f71882fg) Add support for F71858AD (0x0903)
  2022-06-04 23:21 [PATCH] hwmon: (f71882fg) Add support for F71858AD (0x0903) Aleksander Mazur
@ 2022-06-05 17:39 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-06-05 17:39 UTC (permalink / raw)
  To: Aleksander Mazur; +Cc: Jean Delvare, linux-hwmon, linux-kernel

On Sun, Jun 05, 2022 at 01:21:14AM +0200, Aleksander Mazur wrote:
> Treat F71858AD like F71858FG.
> 
> Tested on Igel D220.
> 
> Signed-off-by: Aleksander Mazur <deweloper@wp.pl>

Applied to hwmon-next.

Thanks,
Guenter

> ---
>  drivers/hwmon/f71882fg.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c
> index 6830e029995d..19b6c643059a 100644
> --- a/drivers/hwmon/f71882fg.c
> +++ b/drivers/hwmon/f71882fg.c
> @@ -49,6 +49,7 @@
>  #define SIO_F81768D_ID		0x1210	/* Chipset ID */
>  #define SIO_F81865_ID		0x0704	/* Chipset ID */
>  #define SIO_F81866_ID		0x1010	/* Chipset ID */
> +#define SIO_F71858AD_ID		0x0903	/* Chipset ID */
>  #define SIO_F81966_ID		0x1502	/* Chipset ID */
>  
>  #define REGION_LENGTH		8
> @@ -2638,6 +2639,7 @@ static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data)
>  		sio_data->type = f71808a;
>  		break;
>  	case SIO_F71858_ID:
> +	case SIO_F71858AD_ID:
>  		sio_data->type = f71858fg;
>  		break;
>  	case SIO_F71862_ID:

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

end of thread, other threads:[~2022-06-05 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-04 23:21 [PATCH] hwmon: (f71882fg) Add support for F71858AD (0x0903) Aleksander Mazur
2022-06-05 17:39 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox