From: Axel Haslam <ahaslam@baylibre.com>
To: gregkh@linuxfoundation.org, nsekhar@ti.com, khilman@baylibre.com,
david@lechnology.com
Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
Axel Haslam <ahaslam@baylibre.com>,
robh+dt@kernel.org, mark.rutland@arm.com,
devicetree@vger.kernel.org
Subject: [PATCH v6 4/5] USB: ohci: da8xx: Add devicetree bindings
Date: Mon, 21 Nov 2016 17:30:13 +0100 [thread overview]
Message-ID: <20161121163014.28008-5-ahaslam@baylibre.com> (raw)
In-Reply-To: <20161121163014.28008-1-ahaslam@baylibre.com>
This patch documents the device tree bindings required for
the ohci controller found in TI da8xx family of SoC's
Cc: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
---
.../devicetree/bindings/usb/ohci-da8xx.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ohci-da8xx.txt
diff --git a/Documentation/devicetree/bindings/usb/ohci-da8xx.txt b/Documentation/devicetree/bindings/usb/ohci-da8xx.txt
new file mode 100644
index 0000000..2dc8f67
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/ohci-da8xx.txt
@@ -0,0 +1,23 @@
+DA8XX USB OHCI controller
+
+Required properties:
+
+ - compatible: Should be "ti,da830-ohci"
+ - reg: Should contain one register range i.e. start and length
+ - interrupts: Description of the interrupt line
+ - phys: Phandle for the PHY device
+ - phy-names: Should be "usb-phy"
+
+Optional properties:
+ - vbus-supply: phandle of regulator that controls vbus power / over-current
+
+Example:
+
+ohci: usb@0225000 {
+ compatible = "ti,da830-ohci";
+ reg = <0x225000 0x1000>;
+ interrupts = <59>;
+ phys = <&usb_phy 1>;
+ phy-names = "usb-phy";
+ vbus-supply = <®_usb_ohci>;
+};
--
2.9.3
next prev parent reply other threads:[~2016-11-21 16:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-21 16:30 [PATCH v6 0/5] USB: ohci-da8xx: Add device tree support Axel Haslam
2016-11-21 16:30 ` [PATCH v6 1/5] USB: ohci: da8xx: use ohci priv data instead of globals Axel Haslam
2016-11-22 20:46 ` David Lechner
2016-11-21 16:30 ` [PATCH v6 2/5] USB: ohci: da8xx: Add wrappers for platform callbacks Axel Haslam
2016-11-21 16:30 ` [PATCH v6 3/5] USB: ohci: da8xx: Allow a regulator to handle VBUS Axel Haslam
2016-11-22 20:37 ` David Lechner
2016-11-22 20:46 ` Axel Haslam
2016-11-22 20:58 ` David Lechner
2016-11-21 16:30 ` Axel Haslam [this message]
2016-11-21 16:30 ` [PATCH v6 5/5] USB: ohci: da8xx: Allow probing from DT Axel Haslam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161121163014.28008-5-ahaslam@baylibre.com \
--to=ahaslam@baylibre.com \
--cc=david@lechnology.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=khilman@baylibre.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=nsekhar@ti.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome