imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0
Subsystems (2)
PATCH 1/1 imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0
The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail. Add register definitions for it.
Signed-off-by Tim Harvey <[email protected]>
--- arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++++++ arch/arm/dts/imx8mn-venice-gw7902.dts | 7 +++++++ 2 files changed, 14 insertions(+)
arch/arm/dts/imx8mm-venice-gw7902.dts +7 -0
@@ -348,6 +348,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>;
arch/arm/dts/imx8mn-venice-gw7902.dts +7 -0
@@ -347,6 +347,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>;
Signature · 1 line
2.17.1
Quoted 6 lines
Subject: [PATCH] imx8m{m,n}-venice-gw7902: add GSC ADC rail for
VDD_5P0The GW7902-C revision adds an ADC for the
VDD_5P0voltage rail. Add register definitions for it.Signed-off-by Tim Harvey <[email protected]>
Acked-by Peng Fan <[email protected]>
Quoted 45 lines
--- arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++++++ arch/arm/dts/imx8mn-venice-gw7902.dts | 7 +++++++ 2 files changed, 14 insertions(+)arch/arm/dts/imx8mm-venice-gw7902.dts +7
-0@@ -348,6 +348,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>;arch/arm/dts/imx8mn-venice-gw7902.dts +7
-1@@ -347,6 +347,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
PATCH 1/1 imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0
In reply to Tim HarveyQuoted 4 lines
The GW7902-C revision adds an ADC for the
VDD_5P0voltage rail. Add register definitions for it.Signed-off-by Tim Harvey <[email protected]>Acked-by Peng Fan <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================