diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2019-12-02 18:02:02 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-12-02 18:02:02 +0800 |
commit | 8baeb551e70c8c9d5c1f5f3fd1c1ac541838ba82 (patch) | |
tree | 2be9f093a94e25d308f677002c7e63cb47283c23 /Documentation/devicetree/bindings/usb | |
parent | b4e4776fd68182f4bd82171e5468c2952ef4657b (diff) | |
parent | 581e2422213ca05d9e032d2cc72c807626a093db (diff) |
Merge remote-tracking branch 'origin/usb/typec' into usb/next
* origin/usb/typec: (11 commits)
usb: typec: tcpci: add pm ops to disable irq
MLK-16013-43 usb: typec: tcpm: add extcon support for data role switch
MLK-16013-17 usb: typec: tcpm: set cc when attached
MLK-22452-2 usb: typec: mux: add nxp cbtl04gp super speed mux compatible
MLK-22452-1 usb: typec: mux: add reset gpio for gpio switch
...
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r-- | Documentation/devicetree/bindings/usb/typec-switch-gpio.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/typec-switch-gpio.txt b/Documentation/devicetree/bindings/usb/typec-switch-gpio.txt new file mode 100644 index 000000000000..4ef76cfdf3d5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/typec-switch-gpio.txt @@ -0,0 +1,30 @@ +Typec orientation switch via a GPIO +----------------------------------- + +Required properties: +- compatible: should be set one of following: + - "nxp,ptn36043" for NXP Type-C SuperSpeed active switch. + +- gpios: the GPIO used to switch the super speed active channel, + GPIO_ACTIVE_HIGH: GPIO state high for cc1; + GPIO_ACTIVE_LOW: GPIO state low for cc1. +- orientation-switch: must be present. + +Required sub-node: +- port: specify the remote endpoint of typec switch consumer. + +Example: + +ptn36043 { + compatible = "nxp,ptn36043"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ss_sel>; + gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>; + orientation-switch; + + port { + usb3_data_ss: endpoint { + remote-endpoint = <&typec_con_ss>; + }; + }; +}; |