2022-05-02 10:02:46

by Tim Harvey

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

Add missing vdd_5p0 ADC channel for the GW7902 boards.

Signed-off-by: Tim Harvey <[email protected]>
---
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


2022-05-07 08:33:27

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: imx8mm-venice-gw7902: add vdd_5p0 ADC channel

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 <[email protected]>

Applied, thanks!