* [V4,1/5] dt-bindings: Add Broadcom STB USB support
@ 2018-11-09 14:01 Alan Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cooper @ 2018-11-09 14:01 UTC (permalink / raw)
To: linux-kernel
Cc: Al Cooper, Alan Stern, Alban Bedel, Alex Elder, Andrew Morton,
Arnd Bergmann, Avi Fishman, bcm-kernel-feedback-list,
Bjorn Andersson, Chunfeng Yun, David S. Miller, devicetree,
Dmitry Osipenko, Greg Kroah-Hartman, Gustavo A. R. Silva,
Hans de Goede, James Hogan, Johan Hovold, Kees Cook, linux-usb,
Lu Baolu, Mark Rutland, Martin Blumenstingl, Mathias Nyman,
Mathias Nyman, Mauro Carvalho Chehab, Rishabh Bhatnagar,
Rob Herring, Roger Quadros
Add DT bindings for Broadcom STB USB EHCI and XHCI drivers.
Add "phy-supplies-usb-clock" property description to usb-hcd.txt
NOTE: The OHCI driver is not included because it uses the generic
platform driver.
Signed-off-by: Al Cooper <alcooperx@gmail.com>
---
.../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 24 ++++++++++++++++++++++
Documentation/devicetree/bindings/usb/usb-hcd.txt | 3 +++
Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 +
3 files changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
new file mode 100644
index 000000000000..4dea956f2705
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
@@ -0,0 +1,24 @@
+Broadcom STB USB EHCI controller
+
+Required properties:
+- compatible: should be "brcm,bcm7445-ehci"
+- reg: should contain one register range i.e. start and length
+- interrupts: description of the interrupt line
+- phys: phandle + phy specifier pair
+ The specifier should be 0 for the OHCI/EHCI PHY
+- phy-supplies-usb-clock: See usb-hcd.txt for details.
+
+Optional properties:
+- clocks: A phandle for the EHCI clock
+
+Example:
+
+ehci@f0b00300 {
+ compatible = "brcm,bcm7445-ehci";
+ reg = <0xf0b00300 0xa8>;
+ interrupts = <0x0 0x5a 0x0>;
+ interrupt-names = "usb0_ehci_0";
+ phys = <&usbphy_0 0x0>;
+ clocks = <&usb20>;
+ phy-supplies-usb-clock;
+};
diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.txt b/Documentation/devicetree/bindings/usb/usb-hcd.txt
index 50529b838c9c..6b4755924b15 100644
--- a/Documentation/devicetree/bindings/usb/usb-hcd.txt
+++ b/Documentation/devicetree/bindings/usb/usb-hcd.txt
@@ -2,6 +2,9 @@ Generic USB HCD (Host Controller Device) Properties
Optional properties:
- phys: a list of all USB PHYs on this HCD
+- phy-supplies-usb-clock: boolean, used for SoCs where the PHY supplies
+ the usb controller clock. This will prevent the PHY exit from being
+ called on suspend.
Example:
&usb1 {
diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt
index fea8b1545751..f58e617ee54c 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.txt
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt
@@ -21,6 +21,7 @@ Required properties:
device
- "renesas,rcar-gen3-xhci" for a generic R-Car Gen3 or RZ/G2 compatible
device
+ - "brcm,bcm7445-xhci" for Broadcom STB SoCs
- "xhci-platform" (deprecated)
When compatible with the generic version, nodes must list the
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [V4,1/5] dt-bindings: Add Broadcom STB USB support
@ 2018-11-26 21:57 Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-11-26 21:57 UTC (permalink / raw)
To: Al Cooper
Cc: linux-kernel, Alan Stern, Alban Bedel, Alex Elder, Andrew Morton,
Arnd Bergmann, Avi Fishman, bcm-kernel-feedback-list,
Bjorn Andersson, Chunfeng Yun, David S. Miller, devicetree,
Dmitry Osipenko, Greg Kroah-Hartman, Gustavo A. R. Silva,
Hans de Goede, James Hogan, Johan Hovold, Kees Cook, linux-usb,
Lu Baolu, Mark Rutland, Martin Blumenstingl, Mathias Nyman,
Mathias Nyman, Mauro Carvalho Chehab, Rishabh Bhatnagar,
Roger Quadros
On Fri, 9 Nov 2018 09:01:56 -0500, Al Cooper wrote:
> Add DT bindings for Broadcom STB USB EHCI and XHCI drivers.
> Add "phy-supplies-usb-clock" property description to usb-hcd.txt
>
> NOTE: The OHCI driver is not included because it uses the generic
> platform driver.
>
> Signed-off-by: Al Cooper <alcooperx@gmail.com>
> ---
> .../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 24 ++++++++++++++++++++++
> Documentation/devicetree/bindings/usb/usb-hcd.txt | 3 +++
> Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 +
> 3 files changed, 28 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-26 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26 21:57 [V4,1/5] dt-bindings: Add Broadcom STB USB support Rob Herring
-- strict thread matches above, loose matches on Subject: below --
2018-11-09 14:01 Alan Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox