* [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support
@ 2018-07-26 16:05 Fabio Estevam
2018-07-26 16:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_SENSORS_MC13783_ADC Fabio Estevam
2018-08-27 1:21 ` [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2018-07-26 16:05 UTC (permalink / raw)
To: linux-arm-kernel
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 <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/imx51-babbage.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
index ba60b0c..35ee1b4 100644
--- a/arch/arm/boot/dts/imx51-babbage.dts
+++ b/arch/arm/boot/dts/imx51-babbage.dts
@@ -204,6 +204,7 @@
reg = <0>;
interrupt-parent = <&gpio1>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
+ fsl,mc13xxx-uses-adc;
fsl,mc13xxx-uses-rtc;
regulators {
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_SENSORS_MC13783_ADC
2018-07-26 16:05 [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support Fabio Estevam
@ 2018-07-26 16:05 ` Fabio Estevam
2018-08-27 1:21 ` [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2018-07-26 16:05 UTC (permalink / raw)
To: linux-arm-kernel
Select the MC13783/MC13892 ADC functionality by default.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index e2c1276..dda3910 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support
2018-07-26 16:05 [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support Fabio Estevam
2018-07-26 16:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_SENSORS_MC13783_ADC Fabio Estevam
@ 2018-08-27 1:21 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2018-08-27 1:21 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jul 26, 2018 at 01:05:21PM -0300, Fabio Estevam wrote:
> 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 <fabio.estevam@nxp.com>
Applied both, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-27 1:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26 16:05 [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support Fabio Estevam
2018-07-26 16:05 ` [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_SENSORS_MC13783_ADC Fabio Estevam
2018-08-27 1:21 ` [PATCH 1/2] ARM: dts: imx51-babbage: Add MC13892 ADC support Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).