Merge tag 'backlight-next-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / extcon / extcon-ptn5150.txt
1 * PTN5150 CC (Configuration Channel) Logic device
2
3 PTN5150 is a small thin low power CC logic chip supporting the USB Type-C
4 connector application with CC control logic detection and indication functions.
5 It is interfaced to the host controller using an I2C interface.
6
7 Required 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
18 Example:
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         };