linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: f71882fg: Add F81966 support
@ 2021-11-17  2:43 AceLan Kao
  2021-11-17 13:23 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: AceLan Kao @ 2021-11-17  2:43 UTC (permalink / raw)
  To: Wim Van Sebroeck, Jean Delvare, Guenter Roeck, linux-hwmon,
	linux-kernel, SophieHu

From: Menghui Wu <Menghui_Wu@aaeon.com.tw>

This adds hardware monitor support the Fintek F81966 Super I/O chip.
Testing was done on the Aaeon SSE-IPTI

Signed-off-by: Menghui Wu <Menghui_Wu@aaeon.com.tw>
Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
---
 drivers/hwmon/f71882fg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c
index 4673d403759a..938a8b9ec70d 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_F81966_ID		0x1502	/* Chipset ID */
 
 #define REGION_LENGTH		8
 #define ADDR_REG_OFFSET		5
@@ -2672,6 +2673,7 @@ static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data)
 		sio_data->type = f81865f;
 		break;
 	case SIO_F81866_ID:
+	case SIO_F81966_ID:
 		sio_data->type = f81866a;
 		break;
 	default:
-- 
2.25.1


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

* Re: [PATCH] hwmon: f71882fg: Add F81966 support
  2021-11-17  2:43 [PATCH] hwmon: f71882fg: Add F81966 support AceLan Kao
@ 2021-11-17 13:23 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2021-11-17 13:23 UTC (permalink / raw)
  To: AceLan Kao
  Cc: Wim Van Sebroeck, Jean Delvare, linux-hwmon, linux-kernel, SophieHu

On Wed, Nov 17, 2021 at 10:43:20AM +0800, AceLan Kao wrote:
> From: Menghui Wu <Menghui_Wu@aaeon.com.tw>
> 
> This adds hardware monitor support the Fintek F81966 Super I/O chip.
> Testing was done on the Aaeon SSE-IPTI
> 
> Signed-off-by: Menghui Wu <Menghui_Wu@aaeon.com.tw>
> Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>

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 4673d403759a..938a8b9ec70d 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_F81966_ID		0x1502	/* Chipset ID */
>  
>  #define REGION_LENGTH		8
>  #define ADDR_REG_OFFSET		5
> @@ -2672,6 +2673,7 @@ static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data)
>  		sio_data->type = f81865f;
>  		break;
>  	case SIO_F81866_ID:
> +	case SIO_F81966_ID:
>  		sio_data->type = f81866a;
>  		break;
>  	default:

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

end of thread, other threads:[~2021-11-17 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17  2:43 [PATCH] hwmon: f71882fg: Add F81966 support AceLan Kao
2021-11-17 13:23 ` Guenter Roeck

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).