summaryrefslogtreecommitdiff
path: root/target/linux/imx6
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2017-08-17 14:22:06 +0200
committerJohn Crispin <john@phrozen.org>2017-08-18 18:47:11 +0200
commit0997185ffddf7a596ced2eb56754a628c828056e (patch)
tree17e27871158ecce5ddff8068d63e421416158f70 /target/linux/imx6
parentbfada0839907068e75e288059014a46490a54516 (diff)
downloadmtk-20170518-0997185ffddf7a596ced2eb56754a628c828056e.zip
mtk-20170518-0997185ffddf7a596ced2eb56754a628c828056e.tar.gz
mtk-20170518-0997185ffddf7a596ced2eb56754a628c828056e.tar.bz2
imx6: add driver for temp/voltage monitoring
The Gateworks System Controller (GSC) mimics a standard AD7418 device on I2C bus 0 at slave 0x29. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/imx6')
-rw-r--r--target/linux/imx6/config-4.93
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/imx6/config-4.9 b/target/linux/imx6/config-4.9
index 4d0c04a..e4f262b 100644
--- a/target/linux/imx6/config-4.9
+++ b/target/linux/imx6/config-4.9
@@ -263,6 +263,7 @@ CONFIG_HAVE_SMP=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_UID16=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
+CONFIG_HWMON=y
CONFIG_HW_RANDOM=y
CONFIG_HZ_FIXED=0
CONFIG_HZ_PERIODIC=y
@@ -323,6 +324,7 @@ CONFIG_MXS_DMA=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEON=y
CONFIG_NET_DSA=y
+CONFIG_NET_DSA_HWMON=y
CONFIG_NET_DSA_MV88E6XXX=y
CONFIG_NET_DSA_MV88E6XXX_GLOBAL2=y
CONFIG_NET_DSA_TAG_DSA=y
@@ -416,6 +418,7 @@ CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_SCHED_INFO is not set
CONFIG_SCSI=y
+CONFIG_SENSORS_AD7418=y
CONFIG_SERIAL_8250_FSL=y
CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y