Skip to content

Commit 197e779

Browse files
m1ng1109lag-linaro
authored andcommitted
hwmon: Add Nuvoton NCT6694 HWMON support
This driver supports Hardware monitor functionality for NCT6694 MFD device based on USB interface. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Ming Yu <a0282524688@gmail.com> Link: https://lore.kernel.org/r/20250912091952.1169369-7-a0282524688@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent f9d737a commit 197e779

4 files changed

Lines changed: 961 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18086,6 +18086,7 @@ NUVOTON NCT6694 MFD DRIVER
1808618086
M: Ming Yu <tmyu0@nuvoton.com>
1808718087
S: Supported
1808818088
F: drivers/gpio/gpio-nct6694.c
18089+
F: drivers/hwmon/nct6694-hwmon.c
1808918090
F: drivers/i2c/busses/i2c-nct6694.c
1809018091
F: drivers/mfd/nct6694.c
1809118092
F: drivers/net/can/usb/nct6694_canfd.c

drivers/hwmon/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,6 +1698,16 @@ config SENSORS_NCT6683
16981698
This driver can also be built as a module. If so, the module
16991699
will be called nct6683.
17001700

1701+
config SENSORS_NCT6694
1702+
tristate "Nuvoton NCT6694 Hardware Monitor support"
1703+
depends on MFD_NCT6694
1704+
help
1705+
Say Y here to support Nuvoton NCT6694 hardware monitoring
1706+
functionality.
1707+
1708+
This driver can also be built as a module. If so, the module
1709+
will be called nct6694-hwmon.
1710+
17011711
config SENSORS_NCT6775_CORE
17021712
tristate
17031713
select REGMAP

drivers/hwmon/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ obj-$(CONFIG_SENSORS_MLXREG_FAN) += mlxreg-fan.o
174174
obj-$(CONFIG_SENSORS_MENF21BMC_HWMON) += menf21bmc_hwmon.o
175175
obj-$(CONFIG_SENSORS_MR75203) += mr75203.o
176176
obj-$(CONFIG_SENSORS_NCT6683) += nct6683.o
177+
obj-$(CONFIG_SENSORS_NCT6694) += nct6694-hwmon.o
177178
obj-$(CONFIG_SENSORS_NCT6775_CORE) += nct6775-core.o
178179
nct6775-objs := nct6775-platform.o
179180
obj-$(CONFIG_SENSORS_NCT6775) += nct6775.o

0 commit comments

Comments
 (0)