ARM: dts: imx51-babbage: Add MC13892 ADC support
Subsystems (3)
PATCH 1/2 ARM: dts: imx51-babbage: Add MC13892 ADC support
The MC13892 Analog-to-Digital input pins (ADIN5-7) are exposed on the imx51-babbage board.
Pass the "fsl,mc13xxx-uses-adc" property so that the MC13892 ADC block can work.
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/boot/dts/imx51-babbage.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx51-babbage.dts +1 -0
@@ -204,6 +204,7 @@ reg = <0>; interrupt-parent = <&gpio1>; interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; + fsl,mc13xxx-uses-adc; fsl,mc13xxx-uses-rtc; regulators {
Signature · 1 line
2.7.4
PATCH 2/2 ARM: imx_v6_v7_defconfig: Select CONFIG_SENSORS_MC13783_ADC
Select the MC13783/MC13892 ADC functionality by default.
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
@@ -211,6 +211,7 @@ CONFIG_POWER_RESET=y CONFIG_POWER_RESET_SYSCON=y CONFIG_POWER_RESET_SYSCON_POWEROFF=y CONFIG_POWER_SUPPLY=y +CONFIG_SENSORS_MC13783_ADC=y CONFIG_SENSORS_GPIO_FAN=y CONFIG_SENSORS_IIO_HWMON=y CONFIG_THERMAL_WRITABLE_TRIPS=y
Signature · 1 line
2.7.4
Shawn Guo
AppliedPATCH 1/2 ARM: dts: imx51-babbage: Add MC13892 ADC support
In reply to Fabio EstevamQuoted 7 lines · Fabio Estevam
The MC13892 Analog-to-Digital input pins (ADIN5-7) are exposed on the imx51-babbage board.
Pass the "fsl,mc13xxx-uses-adc" property so that the MC13892 ADC block can work.
Signed-off-by Fabio Estevam <[email protected]>
Applied both, thanks.