Skip to content

Commit

Permalink
mfd: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded contr…
Browse files Browse the repository at this point in the history
…oller

This is one of sub-device driver for Advantech embedded controller
AHC1EC0. This driver provides sysfs ABI for Advantech related
applications to monitor the system status.

Signed-off-by: Shihlun Lin <shihlun.lin@advantech.com.tw>
  • Loading branch information
Shihlun-Lin authored and intel-lab-lkp committed Oct 14, 2020
1 parent f939b81 commit ac76227
Show file tree
Hide file tree
Showing 3 changed files with 1,523 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/mfd/Kconfig
Expand Up @@ -2127,5 +2127,13 @@ config MFD_AHC1EC0
provides expose functions for sub-devices to read/write the value
to embedded controller.

config MFD_AHC1EC0_HWMON
tristate "Advantech EC Hareware Monitor Function"
depends on MFD_AHC1EC0
help
This is sub-device for Advantech embedded controller AHC1EC0. This
driver provides the sysfs attribues for applications to monitor
the system status.

endmenu
endif
1 change: 1 addition & 0 deletions drivers/mfd/Makefile
Expand Up @@ -266,3 +266,4 @@ obj-$(CONFIG_MFD_KHADAS_MCU) += khadas-mcu.o
obj-$(CONFIG_SGI_MFD_IOC3) += ioc3.o

obj-$(CONFIG_MFD_AHC1EC0) += ahc1ec0.o
obj-$(CONFIG_MFD_AHC1EC0_HWMON) += ahc1ec0-hwmon.o

0 comments on commit ac76227

Please sign in to comment.