Re: [PATCH v2 1/5] arm64: allwinner: h6: orangepi: Add PIO regulators

From: ClÃment PÃron
Date: Fri Apr 05 2019 - 12:41:22 EST


Hi,

On Fri, 5 Apr 2019 at 17:08, Maxime Ripard <maxime.ripard@xxxxxxxxxxx> wrote:
>
> On Fri, Apr 05, 2019 at 02:24:42PM +0200, ClÃment PÃron wrote:
> > OrangePi One Plus and OrangePi Lite2 use the same PIO regulators.
> >
> > Add this in the common device tree.
> >
> > Signed-off-by: ClÃment PÃron <peron.clem@xxxxxxxxx>
> > ---
> > arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 11 +++++++++++
> > 1 file changed, 11 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
> > index b2526dac2fcf..fd2af5095425 100644
> > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
> > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
> > @@ -72,6 +72,12 @@
> > status = "okay";
> > };
> >
> > +&pio {
> > + vcc-pc-supply = <&reg_bldo2>;
> > + vcc-pd-supply = <&reg_cldo1>;
> > + vcc-pg-supply = <&reg_bldo3>;
> > +};
> > +
> > &r_i2c {
> > status = "okay";
> >
> > @@ -191,6 +197,11 @@
> > };
> > };
> >
> > +&r_pio {
> > + vcc-pl-supply = <&reg_aldo1>;
> > + vcc-pm-supply = <&reg_bldo3>;
> > +};
> > +
>
> How was this tested?
Sorry maybe I should mention that but I don't own an OrangePi or a Pine H64.

But this should have the same issue than the Beelink GS1.

>
> Please run checkpatch on your patches as well.
Thanks for the advice,
Clement

>
> Maxime
>
> --
> Maxime Ripard, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com