Skip to contentSkip to conversation

hwmon: (f71882fg) Add support for F71858AD (0x0903)

PATCH Applied Aleksander Mazur 2 participants 2 messages Jun 4, 2022 – Jun 5, 2022 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (f71882fg) Add support for F71858AD (0x0903)

Treat F71858AD like F71858FG.

Tested on Igel D220.

---
 drivers/hwmon/f71882fg.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/f71882fg.c +2 -0
index 6830e029995d..19b6c643059a 100644
@@ -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:
Signature · 1 line
2.36.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Aleksander Mazur

Treat F71858AD like F71858FG.

Tested on Igel D220.

Applied to hwmon-next.

Thanks,
Guenter

Quoted 24 lines
---
 drivers/hwmon/f71882fg.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hwmon/f71882fg.c +2 -0
index 6830e029995d..19b6c643059a 100644
@@ -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: