Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: hd3ss3220 device tree binding document

Add device tree binding document for TI HD3SS3220 Type-C DRP port
controller driver.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1567584941-13690-2-git-send-email-biju.das@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Biju Das and committed by
Greg Kroah-Hartman
1918fa0d 39abcc84

+38
+38
Documentation/devicetree/bindings/usb/ti,hd3ss3220.txt
··· 1 + TI HD3SS3220 TypeC DRP Port Controller. 2 + 3 + Required properties: 4 + - compatible: Must be "ti,hd3ss3220". 5 + - reg: I2C slave address, must be 0x47 or 0x67 based on ADDR pin. 6 + - interrupts: An interrupt specifier. 7 + 8 + Required sub-node: 9 + - connector: The "usb-c-connector" attached to the hd3ss3220 chip. The 10 + bindings of the connector node are specified in: 11 + 12 + Documentation/devicetree/bindings/connector/usb-connector.txt 13 + 14 + Example: 15 + hd3ss3220@47 { 16 + compatible = "ti,hd3ss3220"; 17 + reg = <0x47>; 18 + interrupt-parent = <&gpio6>; 19 + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 20 + 21 + connector { 22 + compatible = "usb-c-connector"; 23 + label = "USB-C"; 24 + data-role = "dual"; 25 + 26 + ports { 27 + #address-cells = <1>; 28 + #size-cells = <0>; 29 + 30 + port@1 { 31 + reg = <1>; 32 + hd3ss3220_ep: endpoint { 33 + remote-endpoint = <&usb3_role_switch>; 34 + }; 35 + }; 36 + }; 37 + }; 38 + };