[PATCH v1 15/24] ARM: dts: imx7-colibri: disable adc2
Marcel Ziswiler
marcel at ziswiler.com
Fri May 6 08:28:00 PDT 2022
From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
ADC2 is not available as it conflicts with the AD7879 resistive
touchscreen.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
---
arch/arm/boot/dts/imx7-colibri-aster.dtsi | 8 --------
arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi | 4 ----
arch/arm/boot/dts/imx7-colibri.dtsi | 3 ++-
3 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/arch/arm/boot/dts/imx7-colibri-aster.dtsi b/arch/arm/boot/dts/imx7-colibri-aster.dtsi
index 9796bfabe241..a89c868ff3ed 100644
--- a/arch/arm/boot/dts/imx7-colibri-aster.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-aster.dtsi
@@ -7,14 +7,6 @@ &adc1 {
status = "okay";
};
-/*
- * ADC2 is not available on the Aster board and
- * conflicts with AD7879 resistive touchscreen.
- */
-&adc2 {
- status = "disabled";
-};
-
&fec1 {
status = "okay";
};
diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
index 069f56272546..6ae38c1f38d4 100644
--- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -16,10 +16,6 @@ &adc1 {
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.
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index da3df00c7d67..0fc4b33d97be 100644
--- a/arch/arm/boot/dts/imx7-colibri.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri.dtsi
@@ -137,8 +137,9 @@ &adc1 {
vref-supply = <®_DCDC3>;
};
+/* ADC2 is not available as it conflicts with AD7879 resistive touchscreen. */
&adc2 {
- vref-supply = <®_DCDC3>;
+ status = "disabled";
};
&cpu0 {
--
2.35.1
More information about the linux-arm-kernel
mailing list