aboutsummaryrefslogtreecommitdiff
path: root/Bindings/usb/ti,hd3ss3220.txt
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-02-28 15:14:48 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-02-28 15:14:48 +0000
commit995ee34fd27211af598f9adf111cb49609d1b3de (patch)
tree26bf77523200f7648333ede47840b29088cf66eb /Bindings/usb/ti,hd3ss3220.txt
parentc3f1cfc76c9a579767282ac81d2be1cfb20aea92 (diff)
downloadsrc-995ee34fd27211af598f9adf111cb49609d1b3de.tar.gz
src-995ee34fd27211af598f9adf111cb49609d1b3de.zip
Notes
Diffstat (limited to 'Bindings/usb/ti,hd3ss3220.txt')
-rw-r--r--Bindings/usb/ti,hd3ss3220.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/Bindings/usb/ti,hd3ss3220.txt b/Bindings/usb/ti,hd3ss3220.txt
new file mode 100644
index 000000000000..25780e945b15
--- /dev/null
+++ b/Bindings/usb/ti,hd3ss3220.txt
@@ -0,0 +1,38 @@
+TI HD3SS3220 TypeC DRP Port Controller.
+
+Required properties:
+ - compatible: Must be "ti,hd3ss3220".
+ - reg: I2C slave address, must be 0x47 or 0x67 based on ADDR pin.
+ - interrupts: An interrupt specifier.
+
+Required sub-node:
+ - connector: The "usb-c-connector" attached to the hd3ss3220 chip. The
+ bindings of the connector node are specified in:
+
+ Documentation/devicetree/bindings/connector/usb-connector.txt
+
+Example:
+hd3ss3220@47 {
+ compatible = "ti,hd3ss3220";
+ reg = <0x47>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
+
+ connector {
+ compatible = "usb-c-connector";
+ label = "USB-C";
+ data-role = "dual";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+ hd3ss3220_ep: endpoint {
+ remote-endpoint = <&usb3_role_switch>;
+ };
+ };
+ };
+ };
+};