From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen-Yu Tsai Subject: Re: [PATCH 6/8] ARM: dts: axp209: Add usb_power_supply child node to the ax209 node Date: Fri, 31 Jul 2015 13:31:53 +0800 Message-ID: References: <1433885881-19809-1-git-send-email-hdegoede@redhat.com> <1433885881-19809-7-git-send-email-hdegoede@redhat.com> Reply-To: wens-jdAy2FN1RRM@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1433885881-19809-7-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Hans De Goede Cc: Lee Jones , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Kishon Vijay Abraham I , Felipe Balbi , Maxime Ripard , =?UTF-8?Q?Bruno_Pr=C3=A9mont?= , linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel , devicetree , linux-sunxi List-Id: devicetree@vger.kernel.org Hi Hans, On Wed, Jun 10, 2015 at 5:37 AM, Hans de Goede wrote: > Add a node representing the usb power supply part of the axp209 pmic, note > that the usb power supply and the (to be added later) ac power supply will > each have their own child-node, so that they can be separately specified > as power-supply for other nodes using a power-supply property with a > phandle pointing to the right axp209 child-node. > > Signed-off-by: Hans de Goede > --- > arch/arm/boot/dts/axp209.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi > index 24c935c..051ab3b 100644 > --- a/arch/arm/boot/dts/axp209.dtsi > +++ b/arch/arm/boot/dts/axp209.dtsi > @@ -89,4 +89,9 @@ > regulator-name = "ldo5"; > }; > }; > + > + usb_power_supply: usb_power_supply { > + compatible = "x-powers,axp202-usb-power-supply"; > + status = "disabled"; Is there any reason to have this disabled by default? AFAIK this is not something configurable in hardware, and the driver just gives readouts and status updates. ChenYu > + }; > }; > -- > 2.3.6 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: wens@csie.org (Chen-Yu Tsai) Date: Fri, 31 Jul 2015 13:31:53 +0800 Subject: [linux-sunxi] [PATCH 6/8] ARM: dts: axp209: Add usb_power_supply child node to the ax209 node In-Reply-To: <1433885881-19809-7-git-send-email-hdegoede@redhat.com> References: <1433885881-19809-1-git-send-email-hdegoede@redhat.com> <1433885881-19809-7-git-send-email-hdegoede@redhat.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Hans, On Wed, Jun 10, 2015 at 5:37 AM, Hans de Goede wrote: > Add a node representing the usb power supply part of the axp209 pmic, note > that the usb power supply and the (to be added later) ac power supply will > each have their own child-node, so that they can be separately specified > as power-supply for other nodes using a power-supply property with a > phandle pointing to the right axp209 child-node. > > Signed-off-by: Hans de Goede > --- > arch/arm/boot/dts/axp209.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi > index 24c935c..051ab3b 100644 > --- a/arch/arm/boot/dts/axp209.dtsi > +++ b/arch/arm/boot/dts/axp209.dtsi > @@ -89,4 +89,9 @@ > regulator-name = "ldo5"; > }; > }; > + > + usb_power_supply: usb_power_supply { > + compatible = "x-powers,axp202-usb-power-supply"; > + status = "disabled"; Is there any reason to have this disabled by default? AFAIK this is not something configurable in hardware, and the driver just gives readouts and status updates. ChenYu > + }; > }; > -- > 2.3.6 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe at googlegroups.com. > For more options, visit https://groups.google.com/d/optout.