Path: blob/main/sys/contrib/device-tree/Bindings/extcon/extcon-ptn5150.txt
48375 views
* PTN5150 CC (Configuration Channel) Logic device12PTN5150 is a small thin low power CC logic chip supporting the USB Type-C3connector application with CC control logic detection and indication functions.4It is interfaced to the host controller using an I2C interface.56Required properties:7- compatible: should be "nxp,ptn5150"8- reg: specifies the I2C slave address of the device9- int-gpio: should contain a phandle and GPIO specifier for the GPIO pin10connected to the PTN5150's INTB pin.11- vbus-gpio: should contain a phandle and GPIO specifier for the GPIO pin which12is used to control VBUS.13- pinctrl-names : a pinctrl state named "default" must be defined.14- pinctrl-0 : phandle referencing pin configuration of interrupt and vbus15control.1617Example:18ptn5150@1d {19compatible = "nxp,ptn5150";20reg = <0x1d>;21int-gpio = <&msmgpio 78 GPIO_ACTIVE_HIGH>;22vbus-gpio = <&msmgpio 148 GPIO_ACTIVE_HIGH>;23pinctrl-names = "default";24pinctrl-0 = <&ptn5150_default>;25status = "okay";26};272829