* [v2,1/3] dt-bindings: usb: Add usb-phy property to the jz4740-musb node
@ 2019-04-04 9:47 Paul Cercueil
2019-04-10 14:07 ` Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: Paul Cercueil @ 2019-04-04 9:47 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Bin Liu
Cc: od, linux-usb, devicetree, linux-kernel, Paul Cercueil
Add a required 'usb-phy' property, to obtain a phandle to the USB PHY
from devicetree.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
Notes:
v2: Change "usb-phy" DT property to "phys"
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..16808721f3ff 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"
+- phys: phandle to the USB PHY
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";
+
+ phys = <&usb_phy>;
};
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [v2,1/3] dt-bindings: usb: Add usb-phy property to the jz4740-musb node
@ 2019-04-10 14:07 ` Rob Herring
2019-04-10 14:07 ` [PATCH v2 1/3] " Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2019-04-10 14:07 UTC (permalink / raw)
To: Paul Cercueil
Cc: Mark Rutland, Bin Liu, od, linux-usb, devicetree, linux-kernel
On Thu, 4 Apr 2019 11:47:37 +0200, 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>
> ---
>
> Notes:
> v2: Change "usb-phy" DT property to "phys"
>
> Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: usb: Add usb-phy property to the jz4740-musb node
2019-04-10 14:07 ` Rob Herring
@ 2019-04-10 14:07 ` Rob Herring
0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2019-04-10 14:07 UTC (permalink / raw)
To: Paul Cercueil
Cc: Mark Rutland, Bin Liu, od, linux-usb, devicetree, linux-kernel,
Paul Cercueil
On Thu, 4 Apr 2019 11:47:37 +0200, 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>
> ---
>
> Notes:
> v2: Change "usb-phy" DT property to "phys"
>
> Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-10 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-04 9:47 [v2,1/3] dt-bindings: usb: Add usb-phy property to the jz4740-musb node Paul Cercueil
2019-04-10 14:07 ` Rob Herring
2019-04-10 14:07 ` [PATCH v2 1/3] " Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).