Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1556974 > unrolled thread

[PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

Started bySergio Prado <sergio.prado@e-labworks.com>
First post2017-01-11 23:10 +0100
Last post2017-01-16 11:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller Sergio Prado <sergio.prado@e-labworks.com> - 2017-01-11 23:10 +0100
    Re: [PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller Felipe Balbi <balbi@kernel.org> - 2017-01-16 11:40 +0100

#1556974 — [PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

FromSergio Prado <sergio.prado@e-labworks.com>
Date2017-01-11 23:10 +0100
Subject[PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller
Message-ID<sYzfH-42A-15@gated-at.bofh.it>
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..28353eea31fd 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
+		"uclk" for the USB bus clock
+		"usb-device" for the USB device clock
+
+Optional properties:
+ - samsung,vbus-gpio: specifies a gpio that allows to detect whether
+   vbus is present - USB is connected (active high, input).
+ - samsung,pullup-gpio: If present, specifies a gpio to control the
+   USB D+ pullup (active high, output).
+
+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

[toc] | [next] | [standalone]


#1559621

FromFelipe Balbi <balbi@kernel.org>
Date2017-01-16 11:40 +0100
Message-ID<t0cRJ-7Aa-27@gated-at.bofh.it>
In reply to#1556974

[Multipart message — attachments visible in raw view] — view raw

Hi,

Sergio Prado <sergio.prado@e-labworks.com> writes:
> Adds the device tree bindings description for Samsung S3C2410 and
> compatible USB device controller.
>
> Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>

without Ack from DT folks, I can't take this.

-- 
balbi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web