Message ID | 20160911134111.31141-3-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Stephen Boyd |
Headers | show |
On Sun, Sep 11, 2016 at 03:41:07PM +0200, Martin Blumenstingl wrote: > Add the documentation for the bindings for the Meson8b and GXBB USB2 > PHYs. > > Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > --- > .../devicetree/bindings/phy/meson-usb2-phy.txt | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/meson-usb2-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt > new file mode 100644 > index 0000000..9da5ea2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt > @@ -0,0 +1,27 @@ > +* Amlogic USB2 PHY > + > +Required properties: > +- compatible: Depending on the platform this should be one of: > + "amlogic,meson8b-usb2-phy" > + "amlogic,meson-gxbb-usb2-phy" > +- reg: The base address and length of the registers > +- #phys-cells: should be 0 (see phy-bindings.txt in this directory) > +- clocks: phandle and clock identifier for the phy clocks > +- clock-names: "usb_general" and "usb" > + > +Optional properties: > +- resets: reference to the reset controller > +- phy-supply: see phy-bindings.txt in this directory > + > + > +Example: > + > +usb0_phy: usb_phy@0 { usb-phy@0 With that, Acked-by: Rob Herring <robh@kernel.org> > + compatible = "amlogic,meson-gxbb-usb2-phy"; > + #phy-cells = <0>; > + reg = <0x0 0x0 0x0 0x20>; > + resets = <&reset RESET_USB_OTG>; > + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; > + clock-names = "usb_general", "usb"; > + phy-supply = <&usb_vbus>; > +}; > -- > 2.9.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Herring <robh@kernel.org> writes: > On Sun, Sep 11, 2016 at 03:41:07PM +0200, Martin Blumenstingl wrote: >> Add the documentation for the bindings for the Meson8b and GXBB USB2 >> PHYs. >> >> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> >> --- >> .../devicetree/bindings/phy/meson-usb2-phy.txt | 27 ++++++++++++++++++++++ >> 1 file changed, 27 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/phy/meson-usb2-phy.txt >> >> diff --git a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt >> new file mode 100644 >> index 0000000..9da5ea2 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt >> @@ -0,0 +1,27 @@ >> +* Amlogic USB2 PHY >> + >> +Required properties: >> +- compatible: Depending on the platform this should be one of: >> + "amlogic,meson8b-usb2-phy" >> + "amlogic,meson-gxbb-usb2-phy" >> +- reg: The base address and length of the registers >> +- #phys-cells: should be 0 (see phy-bindings.txt in this directory) >> +- clocks: phandle and clock identifier for the phy clocks >> +- clock-names: "usb_general" and "usb" >> + >> +Optional properties: >> +- resets: reference to the reset controller >> +- phy-supply: see phy-bindings.txt in this directory >> + >> + >> +Example: >> + >> +usb0_phy: usb_phy@0 { > > usb-phy@0 > > With that, > > Acked-by: Rob Herring <robh@kernel.org> > Oops, I had already merged this one. Martin, can you send a fixup patch for the underscores? Thanks, Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt new file mode 100644 index 0000000..9da5ea2 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt @@ -0,0 +1,27 @@ +* Amlogic USB2 PHY + +Required properties: +- compatible: Depending on the platform this should be one of: + "amlogic,meson8b-usb2-phy" + "amlogic,meson-gxbb-usb2-phy" +- reg: The base address and length of the registers +- #phys-cells: should be 0 (see phy-bindings.txt in this directory) +- clocks: phandle and clock identifier for the phy clocks +- clock-names: "usb_general" and "usb" + +Optional properties: +- resets: reference to the reset controller +- phy-supply: see phy-bindings.txt in this directory + + +Example: + +usb0_phy: usb_phy@0 { + compatible = "amlogic,meson-gxbb-usb2-phy"; + #phy-cells = <0>; + reg = <0x0 0x0 0x0 0x20>; + resets = <&reset RESET_USB_OTG>; + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; + clock-names = "usb_general", "usb"; + phy-supply = <&usb_vbus>; +};
Add the documentation for the bindings for the Meson8b and GXBB USB2 PHYs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- .../devicetree/bindings/phy/meson-usb2-phy.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/meson-usb2-phy.txt