Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1539621
| From | Sergio Prado <sergio.prado@e-labworks.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller |
| Date | 2016-12-09 20:10 +0100 |
| Message-ID | <sMyIp-77f-9@gated-at.bofh.it> (permalink) |
| References | <sMyIp-77f-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB device controller.
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
.../devicetree/bindings/usb/s3c2410-usb.txt | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
index e45b38ce2986..4d3f9894c2d4 100644
--- a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
+++ b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt
@@ -20,3 +20,31 @@ usb0: ohci@49000000 {
clocks = <&clocks UCLK>, <&clocks HCLK_USBH>;
clock-names = "usb-bus-host", "usb-host";
};
+
+Samsung S3C2410 and compatible USB device controller
+
+Required properties:
+ - compatible: Should be one of the following
+ "samsung,s3c2410-udc"
+ "samsung,s3c2440-udc"
+ - reg: address and length of the controller memory mapped region
+ - interrupts: interrupt number for the USB device controller
+ - clocks: Should reference the bus and host clocks
+ - clock-names: Should contain two strings
+ "usb-bus-gadget" for the USB bus clock
+ "usb-device" for the USB device clock
+
+Optional properties:
+ - samsung,vbus-gpio: If present, specifies a gpio that needs to be
+ activated for the bus to be powered.
+ - samsung,pullup-gpio: If present, specifies a gpio to control the
+ USB D+ pullup.
+
+usb1: udc@52000000 {
+ compatible = "samsung,s3c2440-udc";
+ reg = <0x52000000 0x100000>;
+ interrupts = <0 0 25 3>;
+ clocks = <&clocks UCLK>, <&clocks HCLK_USBD>;
+ clock-names = "usb-bus-gadget", "usb-device";
+ samsung,pullup-gpio = <&gpc 5 GPIO_ACTIVE_HIGH>;
+};
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] usb: gadget: s3c2410: add device tree support Sergio Prado <sergio.prado@e-labworks.com> - 2016-12-09 20:10 +0100
[PATCH 2/2] usb: gadget: s3c2410: allow probing from device tree Sergio Prado <sergio.prado@e-labworks.com> - 2016-12-09 20:10 +0100
[PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller Sergio Prado <sergio.prado@e-labworks.com> - 2016-12-09 20:10 +0100
Re: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller Rob Herring <robh@kernel.org> - 2016-12-13 20:00 +0100
Re: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller Sergio Prado <sergio.prado@e-labworks.com> - 2016-12-17 14:00 +0100
csiph-web