]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Thu, 28 Mar 2019 20:51:22 +0000 (21:51 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 29 Mar 2019 21:01:25 +0000 (14:01 -0700)
With the SAR ADC driver ADC measurements can be taken though the IIO
framework. Additionally the SAR ADC has a channel which is connected to
an internal temperature sensor. The calibration data for this internal
temperature sensor is stored in the eFuse.

Enable the SAR ADC driver and the eFuse driver for the 32-bit Amlogic
Meson SoCs so we can expose the chip temperature to userspace through
the IIO hwmon driver (whose config option is already enabled:
CONFIG_SENSORS_IIO_HWMON=y).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/configs/multi_v7_defconfig

index c75051b9392c5138dde3b2acdd178f813f656c10..11d0395f3f0cb30df7745fb39c13b0137e54a14b 100644 (file)
@@ -925,6 +925,7 @@ CONFIG_AT91_SAMA5D2_ADC=m
 CONFIG_BERLIN2_ADC=m
 CONFIG_CPCAP_ADC=m
 CONFIG_EXYNOS_ADC=m
+CONFIG_MESON_SARADC=m
 CONFIG_STM32_ADC_CORE=m
 CONFIG_STM32_ADC=m
 CONFIG_STM32_DFSDM_ADC=m
@@ -979,6 +980,7 @@ CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_OMAP_USB2=y
 CONFIG_TI_PIPE3=y
 CONFIG_TWL4030_USB=m
+CONFIG_MESON_MX_EFUSE=m
 CONFIG_NVMEM_IMX_OCOTP=y
 CONFIG_NVMEM_SUNXI_SID=y
 CONFIG_NVMEM_VF610_OCOTP=y