From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751613AbdHRKoX (ORCPT ); Fri, 18 Aug 2017 06:44:23 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:54962 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbdHRKoV (ORCPT ); Fri, 18 Aug 2017 06:44:21 -0400 Subject: Re: [V7] dt-bindings: phy: Add bindings for ralink-usb PHY To: Harvey Hunt , , , References: <1502966003-3776-1-git-send-email-harvey.hunt@imgtec.com> <1502966003-3776-2-git-send-email-harvey.hunt@imgtec.com> CC: , John Crispin , , , From: Kishon Vijay Abraham I Message-ID: <48e661f0-f65f-e12b-d617-d076ddf0d49b@ti.com> Date: Fri, 18 Aug 2017 16:13:40 +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: <1502966003-3776-2-git-send-email-harvey.hunt@imgtec.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 17 August 2017 04:03 PM, Harvey Hunt wrote: > From: John Crispin > > Add a binding for the USB phy on Mediatek/Ralink SoCs. > > Signed-off-by: John Crispin > Signed-off-by: Harvey Hunt > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-mediatek@lists.infradead.org merged the series, thanks! -Kishon > --- > Changes in V7: > * Add required ralink,sysctl property > > Changes in V6: > * Add MT7628 binding > * Add optional reg property > > Changes in V5: > * None > > Changes in V4: > * None > > Changes in V3: > * Split out from first patch > > .../devicetree/bindings/phy/ralink-usb-phy.txt | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/ralink-usb-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt > new file mode 100644 > index 0000000..9d2868a > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/ralink-usb-phy.txt > @@ -0,0 +1,23 @@ > +Mediatek/Ralink USB PHY > + > +Required properties: > + - compatible: "ralink,rt3352-usbphy" > + "mediatek,mt7620-usbphy" > + "mediatek,mt7628-usbphy" > + - reg: required for "mediatek,mt7628-usbphy", unused otherwise > + - #phy-cells: should be 0 > + - ralink,sysctl: a phandle to a ralink syscon register region > + - resets: the two reset controllers for host and device > + - reset-names: the names of the 2 reset controllers > + > +Example: > + > +usbphy: phy { > + compatible = "mediatek,mt7628-usbphy"; > + reg = <0x10120000 0x1000>; > + #phy-cells = <0>; > + > + ralink,sysctl = <&sysc>; > + resets = <&rstctrl 22 &rstctrl 25>; > + reset-names = "host", "device"; > +}; >