projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff9b877
)
hwmon: (f71882fg) Add F81966 support
author
Menghui Wu
<Menghui_Wu@aaeon.com.tw>
Wed, 17 Nov 2021 02:43:20 +0000
(10:43 +0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:05 +0000
(15:02 -0800)
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>
Link:
https://lore.kernel.org/r/20211117024320.2428144-1-acelan.kao@canonical.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/f71882fg.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/f71882fg.c
b/drivers/hwmon/f71882fg.c
index
4673d40
..
938a8b9
100644
(file)
--- 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: