mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
7f41c62a20
Adds compatible string for "nxp,cbtl04gp", which is also super speed mux switch for type-c orientation, controlled by one GPIO. Reviewed-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com>
32 lines
754 B
Plaintext
32 lines
754 B
Plaintext
Typec orientation switch via a GPIO
|
|
-----------------------------------
|
|
|
|
Required properties:
|
|
- compatible: should be set one of following:
|
|
- "nxp,ptn36043" or "nxp,cbtl04gp" 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>;
|
|
};
|
|
};
|
|
};
|