lkml.org 
[lkml]   [2019]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] dt-bindings: usb: Add usb-phy property to the jz4740-musb node
    On Thu, Mar 21, 2019 at 04:09:54PM +0100, Paul Cercueil wrote:
    > Add a required 'usb-phy' property, to obtain a phandle to the USB PHY
    > from devicetree.
    >
    > Signed-off-by: Paul Cercueil <paul@crapouillou.net>
    > ---
    > Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt | 8 ++++++++
    > 1 file changed, 8 insertions(+)
    >
    > diff --git a/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
    > index 620355cee63f..23213779f193 100644
    > --- a/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
    > +++ b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
    > @@ -8,9 +8,15 @@ Required properties:
    > - interrupt-names: must be "mc"
    > - clocks: phandle to the "udc" clock
    > - clock-names: must be "udc"
    > +- usb-phy: phandle to the USB PHY

    'phys' is the standard property name now.

    >
    > Example:
    >
    > +usb_phy: usb-phy@0 {
    > + compatible = "usb-nop-xceiv";
    > + #phy-cells = <0>;
    > +};
    > +
    > udc: usb@13040000 {
    > compatible = "ingenic,jz4740-musb";
    > reg = <0x13040000 0x10000>;
    > @@ -21,4 +27,6 @@ udc: usb@13040000 {
    >
    > clocks = <&cgu JZ4740_CLK_UDC>;
    > clock-names = "udc";
    > +
    > + usb-phy = <&usb_phy>;
    > };
    > --
    > 2.11.0
    >

    \
     
     \ /
      Last update: 2019-03-31 08:44    [W:3.809 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site