ARM: dts: imx7-colibri: disable adc2
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 16 May 2022 13:47:25 +0000 (15:47 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 11 Jun 2022 09:14:10 +0000 (17:14 +0800)
ADC2 is not available as it conflicts with the AD7879 resistive
touchscreen.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7-colibri-aster.dtsi
arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
arch/arm/boot/dts/imx7-colibri.dtsi

index 9796bfabe241549647a82555d37665bd2cb49bf4..a89c868ff3edf9689d5080c54c3c3991a0ada2a2 100644 (file)
@@ -7,14 +7,6 @@
        status = "okay";
 };
 
-/*
- * ADC2 is not available on the Aster board and
- * conflicts with AD7879 resistive touchscreen.
- */
-&adc2 {
-       status = "disabled";
-};
-
 &fec1 {
        status = "okay";
 };
index 069f5627254653911770f33af428c281137fdf56..6ae38c1f38d47a1ff7da29ca4f00a3cb776e4636 100644 (file)
        status = "okay";
 };
 
-&adc2 {
-       status = "okay";
-};
-
 /*
  * The Atmel maxtouch controller uses SODIMM 28/30, also used for PWM<B>, PWM<C>, aka pwm2, pwm3.
  * So if you enable following capacitive touch controller, disable pwm2/pwm3 first.
index da3df00c7d676d6c8e5bf136e75cfd42056a978c..0fc4b33d97bee3a4c4e945ac1a73b9649b61d5eb 100644 (file)
        vref-supply = <&reg_DCDC3>;
 };
 
+/* ADC2 is not available as it conflicts with AD7879 resistive touchscreen. */
 &adc2 {
-       vref-supply = <&reg_DCDC3>;
+       status = "disabled";
 };
 
 &cpu0 {