xref: /freebsd/sys/contrib/device-tree/Bindings/extcon/extcon-ptn5150.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1* PTN5150 CC (Configuration Channel) Logic device
2
3PTN5150 is a small thin low power CC logic chip supporting the USB Type-C
4connector application with CC control logic detection and indication functions.
5It is interfaced to the host controller using an I2C interface.
6
7Required properties:
8- compatible: should be "nxp,ptn5150"
9- reg: specifies the I2C slave address of the device
10- int-gpio: should contain a phandle and GPIO specifier for the GPIO pin
11	connected to the PTN5150's INTB pin.
12- vbus-gpio: should contain a phandle and GPIO specifier for the GPIO pin which
13	is used to control VBUS.
14- pinctrl-names : a pinctrl state named "default" must be defined.
15- pinctrl-0 : phandle referencing pin configuration of interrupt and vbus
16	control.
17
18Example:
19	ptn5150@1d {
20		compatible = "nxp,ptn5150";
21		reg = <0x1d>;
22		int-gpio = <&msmgpio 78 GPIO_ACTIVE_HIGH>;
23		vbus-gpio = <&msmgpio 148 GPIO_ACTIVE_HIGH>;
24		pinctrl-names = "default";
25		pinctrl-0 = <&ptn5150_default>;
26		status = "okay";
27	};
28