From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris BREZILLON Subject: Re: [PATCH] ARM: dts: sun6i-a31-app4-evb1.dts: Use sunxi-common-regulators.dtsi Date: Fri, 09 May 2014 10:55:25 +0200 Message-ID: <536C97FD.3070906@free-electrons.com> References: <1399624987-12381-1-git-send-email-hdegoede@redhat.com> Reply-To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <1399624987-12381-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , To: Hans de Goede , Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org On 09/05/2014 10:43, Hans de Goede wrote: > Signed-off-by: Hans de Goede > --- > arch/arm/boot/dts/sun6i-a31-app4-evb1.dts | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts b/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts > index 270ab97..2bbf886 100644 > --- a/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts > +++ b/arch/arm/boot/dts/sun6i-a31-app4-evb1.dts > @@ -13,6 +13,7 @@ > > /dts-v1/; > /include/ "sun6i-a31.dtsi" > +/include/ "sunxi-common-regulators.dtsi" > > / { > model = "Allwinner A31 APP4 EVB1 Evaluation Board"; > @@ -49,15 +50,8 @@ > }; > > reg_usb1_vbus: usb1-vbus { > - compatible = "regulator-fixed"; > - pinctrl-names = "default"; > pinctrl-0 = <&usb1_vbus_pin_a>; > - regulator-name = "usb1-vbus"; > - regulator-min-microvolt = <5000000>; > - regulator-max-microvolt = <5000000>; > - enable-active-high; > gpio = <&pio 7 27 0>; > status = "okay"; > }; I guess we could do the same for usb1_vbus_pin_a (keep the common definition and change the allwinner,pins property). Apart from that, Acked-by: Boris Brezillon Best Regards, Boris > - > }; -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com