Message ID | 1512673460-7865-2-git-send-email-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Dec 8, 2017 at 3:04 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote: > Add reg_drivevbus regualtor for boards which are using > external regulator to drive the OTG VBus through N_VBUSEN > PMIC pin. > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > --- > Changes for v2: > - New patch > > arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi > index ff8af52..e5eae8b 100644 > --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi > +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi > @@ -146,5 +146,10 @@ > regulator-max-microvolt = <3000000>; > regulator-name = "rtc-ldo"; > }; > + > + reg_drivevbus: drivevbus { Could you keep the nodes in alphabetical order please? Thanks ChenYu > + regulator-name = "drivevbus"; > + status = "disabled"; > + }; > }; > }; > -- > 2.7.4 >
On Fri, Dec 8, 2017 at 8:22 AM, Chen-Yu Tsai <wens@csie.org> wrote: > On Fri, Dec 8, 2017 at 3:04 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote: >> Add reg_drivevbus regualtor for boards which are using >> external regulator to drive the OTG VBus through N_VBUSEN >> PMIC pin. >> >> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> >> --- >> Changes for v2: >> - New patch >> >> arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi >> index ff8af52..e5eae8b 100644 >> --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi >> +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi >> @@ -146,5 +146,10 @@ >> regulator-max-microvolt = <3000000>; >> regulator-name = "rtc-ldo"; >> }; >> + >> + reg_drivevbus: drivevbus { > > Could you keep the nodes in alphabetical order please? thought the same, but this seems to be different regulator from above AXP_DESC regulators and even binding documentation follow this order. thanks!
diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index ff8af52..e5eae8b 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -146,5 +146,10 @@ regulator-max-microvolt = <3000000>; regulator-name = "rtc-ldo"; }; + + reg_drivevbus: drivevbus { + regulator-name = "drivevbus"; + status = "disabled"; + }; }; };
Add reg_drivevbus regualtor for boards which are using external regulator to drive the OTG VBus through N_VBUSEN PMIC pin. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v2: - New patch arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 +++++ 1 file changed, 5 insertions(+)