From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933171AbdDENAS (ORCPT ); Wed, 5 Apr 2017 09:00:18 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:56978 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754668AbdDEM7K (ORCPT ); Wed, 5 Apr 2017 08:59:10 -0400 Subject: Re: [PATCH 1/3] dt: bindings: add pmu0 regs for USB PHYs on Allwinner H3/V3s/A64 To: Icenowy Zheng , Rob Herring , Maxime Ripard , Chen-Yu Tsai References: <20170405125053.6170-1-icenowy@aosc.io> <20170405125053.6170-2-icenowy@aosc.io> CC: , , , , Icenowy Zheng From: Kishon Vijay Abraham I Message-ID: <1524732c-b72f-61ce-8ae7-1d764f85c903@ti.com> Date: Wed, 5 Apr 2017 18:28:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170405125053.6170-2-icenowy@aosc.io> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 05 April 2017 06:20 PM, Icenowy Zheng wrote: > From: Icenowy Zheng > > Allwinner H3/V3s/A64 SoCs have a special USB PHY0 that can route to two > controllers: one is MUSB and the other is a EHCI/OHCI pair. > > When it's routed to EHCI/OHCI pair, it will needs a "pmu0" regs to > tweak, like other EHCI/OHCI pairs in Allwinner SoCs. > > Add this to the binding of USB PHYs on Allwinner H3/V3s/A64. > > Signed-off-by: Icenowy Zheng > Acked-by: Chen-Yu Tsai > Signed-off-by: Kishon Vijay Abraham I > --- > > Kishon, could you push this to 4.11? Is this for the patch titled "phy: sun4i-usb: add support for V3s USB PHY" that was added during the last merge window. this patch looks simpler enough to be merged in this -rc cycle. However it depends on Greg KH. Thanks Kishon > > Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > index e42334258185..005bc22938ff 100644 > --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > @@ -15,6 +15,7 @@ Required properties: > - reg : a list of offset + length pairs > - reg-names : > * "phy_ctrl" > + * "pmu0" for H3, V3s and A64 > * "pmu1" > * "pmu2" for sun4i, sun6i or sun7i > - #phy-cells : from the generic phy bindings, must be 1 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kishon Vijay Abraham I Subject: Re: [PATCH 1/3] dt: bindings: add pmu0 regs for USB PHYs on Allwinner H3/V3s/A64 Date: Wed, 5 Apr 2017 18:28:20 +0530 Message-ID: <1524732c-b72f-61ce-8ae7-1d764f85c903@ti.com> References: <20170405125053.6170-1-icenowy@aosc.io> <20170405125053.6170-2-icenowy@aosc.io> Reply-To: kishon-l0cyMroinI0@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20170405125053.6170-2-icenowy-h8G6r0blFSE@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Icenowy Zheng , Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Icenowy Zheng List-Id: devicetree@vger.kernel.org On Wednesday 05 April 2017 06:20 PM, Icenowy Zheng wrote: > From: Icenowy Zheng > > Allwinner H3/V3s/A64 SoCs have a special USB PHY0 that can route to two > controllers: one is MUSB and the other is a EHCI/OHCI pair. > > When it's routed to EHCI/OHCI pair, it will needs a "pmu0" regs to > tweak, like other EHCI/OHCI pairs in Allwinner SoCs. > > Add this to the binding of USB PHYs on Allwinner H3/V3s/A64. > > Signed-off-by: Icenowy Zheng > Acked-by: Chen-Yu Tsai > Signed-off-by: Kishon Vijay Abraham I > --- > > Kishon, could you push this to 4.11? Is this for the patch titled "phy: sun4i-usb: add support for V3s USB PHY" that was added during the last merge window. this patch looks simpler enough to be merged in this -rc cycle. However it depends on Greg KH. Thanks Kishon > > Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > index e42334258185..005bc22938ff 100644 > --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > @@ -15,6 +15,7 @@ Required properties: > - reg : a list of offset + length pairs > - reg-names : > * "phy_ctrl" > + * "pmu0" for H3, V3s and A64 > * "pmu1" > * "pmu2" for sun4i, sun6i or sun7i > - #phy-cells : from the generic phy bindings, must be 1 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon@ti.com (Kishon Vijay Abraham I) Date: Wed, 5 Apr 2017 18:28:20 +0530 Subject: [PATCH 1/3] dt: bindings: add pmu0 regs for USB PHYs on Allwinner H3/V3s/A64 In-Reply-To: <20170405125053.6170-2-icenowy@aosc.io> References: <20170405125053.6170-1-icenowy@aosc.io> <20170405125053.6170-2-icenowy@aosc.io> Message-ID: <1524732c-b72f-61ce-8ae7-1d764f85c903@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 05 April 2017 06:20 PM, Icenowy Zheng wrote: > From: Icenowy Zheng > > Allwinner H3/V3s/A64 SoCs have a special USB PHY0 that can route to two > controllers: one is MUSB and the other is a EHCI/OHCI pair. > > When it's routed to EHCI/OHCI pair, it will needs a "pmu0" regs to > tweak, like other EHCI/OHCI pairs in Allwinner SoCs. > > Add this to the binding of USB PHYs on Allwinner H3/V3s/A64. > > Signed-off-by: Icenowy Zheng > Acked-by: Chen-Yu Tsai > Signed-off-by: Kishon Vijay Abraham I > --- > > Kishon, could you push this to 4.11? Is this for the patch titled "phy: sun4i-usb: add support for V3s USB PHY" that was added during the last merge window. this patch looks simpler enough to be merged in this -rc cycle. However it depends on Greg KH. Thanks Kishon > > Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > index e42334258185..005bc22938ff 100644 > --- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > +++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt > @@ -15,6 +15,7 @@ Required properties: > - reg : a list of offset + length pairs > - reg-names : > * "phy_ctrl" > + * "pmu0" for H3, V3s and A64 > * "pmu1" > * "pmu2" for sun4i, sun6i or sun7i > - #phy-cells : from the generic phy bindings, must be 1 >