[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1539815349-24126-2-git-send-email-alcooperx@gmail.com>
Date: Wed, 17 Oct 2018 18:29:04 -0400
From: Al Cooper <alcooperx@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Al Cooper <alcooperx@...il.com>,
Alan Stern <stern@...land.harvard.edu>,
Alban Bedel <albeu@...e.fr>, Alex Elder <elder@...aro.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>,
Avi Fishman <avifishman70@...il.com>,
bcm-kernel-feedback-list@...adcom.com,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Chunfeng Yun <chunfeng.yun@...iatek.com>,
"David S. Miller" <davem@...emloft.net>,
devicetree@...r.kernel.org, Dmitry Osipenko <digetx@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Hans de Goede <hdegoede@...hat.com>,
James Hogan <jhogan@...nel.org>,
Jianguo Sun <sunjianguo1@...wei.com>,
Johan Hovold <johan@...nel.org>,
Kees Cook <keescook@...omium.org>, linux-usb@...r.kernel.org,
Lu Baolu <baolu.lu@...ux.intel.com>,
Mark Rutland <mark.rutland@....com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Rishabh Bhatnagar <rishabhb@...eaurora.org>,
Rob Herring <robh+dt@...nel.org>, Roger Quadros <rogerq@...com>
Subject: [PATCH V2 1/6] dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document
Add DT bindings document for Broadcom STB USB OHCI, EHCI and
XHCI drivers.
Signed-off-by: Al Cooper <alcooperx@...il.com>
---
.../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 22 +++++++++++++++++++++
.../devicetree/bindings/usb/brcm,bcm7445-ohci.txt | 22 +++++++++++++++++++++
.../devicetree/bindings/usb/brcm,bcm7445-xhci.txt | 23 ++++++++++++++++++++++
3 files changed, 67 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt
create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.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..824f4bf5d07c
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt
@@ -0,0 +1,22 @@
+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
+
+Optional properties:
+- clocks: A phandle for the EHCI clock
+
+Example:
+
+ehci@...00300 {
+ compatible = "brcm,bcm7445-ehci";
+ reg = <0xf0b00300 0xa8>;
+ interrupts = <0x0 0x5a 0x0>;
+ interrupt-names = "usb0_ehci_0";
+ phys = <&usbphy_0 0x0>;
+ clocks = <&usb20>
+};
diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt
new file mode 100644
index 000000000000..de5a22b3d138
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt
@@ -0,0 +1,22 @@
+Broadcom STB USB OHCI controller
+
+Required properties:
+- compatible: should be "brcm,bcm7445-ohci"
+- 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
+
+Optional properties:
+- clocks: A phandle for the OHCI clock
+
+Example:
+
+ohci@...00400 {
+ compatible = "brcm,bcm7445-ohci";
+ reg = <0xf0b00400 0x58>;
+ interrupts = <0x0 0x5b 0x0>;
+ interrupt-names = "usb0_ohci_0";
+ phys = <&usbphy_0 0x0>;
+ clocks = <&usb20>;
+};
diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt b/Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt
new file mode 100644
index 000000000000..c41f3f8d836d
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt
@@ -0,0 +1,23 @@
+Broadcom STB USB XHCI controller
+
+Required properties:
+- compatible: should be "brcm,bcm7445-xhci"
+- 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 1 for the XHCI PHY
+
+Optional properties:
+- clocks: A phandle for the XHCI clock
+- usb3-lpm-capable: determines if platform is USB3 LPM capable
+
+Example:
+
+xhci_0_0: xhci@...01000 {
+ compatible = "brcm,bcm7445-xhci";
+ reg = <0xf0b01000 0x1000>;
+ interrupts = <0x0 0x5c 0x0>;
+ interrupt-names = "usb0_xhci_0";
+ phys = <&usbphy_0 0x1>;
+ clocks = <&usb30>;
+};
--
1.9.0.138.g2de3478
Powered by blists - more mailing lists