[PATCH] arm64: dts: imx8mm-venice-gw7902: add vdd_5p0 ADC channel

Tim Harvey posted 1 patch 4 years ago
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts | 7 +++++++
arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts | 7 +++++++
2 files changed, 14 insertions(+)
[PATCH] arm64: dts: imx8mm-venice-gw7902: add vdd_5p0 ADC channel
Posted by Tim Harvey 4 years ago
Add missing vdd_5p0 ADC channel for the GW7902 boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts | 7 +++++++
 arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts
index f0eccc5b810d..407ab4592b4c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts
@@ -394,6 +394,13 @@
 				gw,voltage-divider-ohms = <10000 10000>;
 			};
 
+			channel@9c {
+				gw,mode = <2>;
+				reg = <0x9c>;
+				label = "vdd_5p0";
+				gw,voltage-divider-ohms = <10000 10000>;
+			};
+
 			channel@a2 {
 				gw,mode = <2>;
 				reg = <0xa2>;
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts b/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts
index 2c1f591335ad..367a232675aa 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts
@@ -393,6 +393,13 @@
 				gw,voltage-divider-ohms = <10000 10000>;
 			};
 
+			channel@9c {
+				gw,mode = <2>;
+				reg = <0x9c>;
+				label = "vdd_5p0";
+				gw,voltage-divider-ohms = <10000 10000>;
+			};
+
 			channel@a2 {
 				gw,mode = <2>;
 				reg = <0xa2>;
-- 
2.17.1
Re: [PATCH] arm64: dts: imx8mm-venice-gw7902: add vdd_5p0 ADC channel
Posted by Shawn Guo 4 years ago
On Fri, Apr 29, 2022 at 09:19:44AM -0700, Tim Harvey wrote:
> Add missing vdd_5p0 ADC channel for the GW7902 boards.
> 
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>

Applied, thanks!