Message ID | 20220308184443.14838-1-tharvey@gateworks.com |
---|---|
State | Accepted |
Commit | 0f42ffd0c79a975c609bf4cdee533c3d1ed6a245 |
Delegated to: | Stefano Babic |
Headers | show |
Series | imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0 | expand |
> Subject: [PATCH] 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 <tharvey@gateworks.com> Acked-by: Peng Fan <peng.fan@nxp.com> > --- > arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++++++ > arch/arm/dts/imx8mn-venice-gw7902.dts | 7 +++++++ > 2 files changed, 14 insertions(+) > > diff --git a/arch/arm/dts/imx8mm-venice-gw7902.dts > b/arch/arm/dts/imx8mm-venice-gw7902.dts > index d37ffc050da2..adf521632d63 100644 > --- a/arch/arm/dts/imx8mm-venice-gw7902.dts > +++ b/arch/arm/dts/imx8mm-venice-gw7902.dts > @@ -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>; > diff --git a/arch/arm/dts/imx8mn-venice-gw7902.dts > b/arch/arm/dts/imx8mn-venice-gw7902.dts > index d3c08e59c542..29897c161b96 100644 > --- a/arch/arm/dts/imx8mn-venice-gw7902.dts > +++ b/arch/arm/dts/imx8mn-venice-gw7902.dts > @@ -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
> The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail. > Add register definitions for it. > Signed-off-by: Tim Harvey <tharvey@gateworks.com> > Acked-by: Peng Fan <peng.fan@nxp.com> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/arch/arm/dts/imx8mm-venice-gw7902.dts b/arch/arm/dts/imx8mm-venice-gw7902.dts index d37ffc050da2..adf521632d63 100644 --- a/arch/arm/dts/imx8mm-venice-gw7902.dts +++ b/arch/arm/dts/imx8mm-venice-gw7902.dts @@ -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>; diff --git a/arch/arm/dts/imx8mn-venice-gw7902.dts b/arch/arm/dts/imx8mn-venice-gw7902.dts index d3c08e59c542..29897c161b96 100644 --- a/arch/arm/dts/imx8mn-venice-gw7902.dts +++ b/arch/arm/dts/imx8mn-venice-gw7902.dts @@ -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>;
The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail. Add register definitions for it. Signed-off-by: Tim Harvey <tharvey@gateworks.com> --- arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++++++ arch/arm/dts/imx8mn-venice-gw7902.dts | 7 +++++++ 2 files changed, 14 insertions(+)