]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/extcon/extcon-usb-gpio.txt
Merge remote-tracking branch 'kgdb/kgdb-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / extcon / extcon-usb-gpio.txt
1 USB GPIO Extcon device
2
3 This is a virtual device used to generate USB cable states from the USB ID pin
4 connected to a GPIO pin.
5
6 Required properties:
7 - compatible: Should be "linux,extcon-usb-gpio"
8 - id-gpio: gpio for USB ID pin. See gpio binding.
9
10 Example: Examples of extcon-usb-gpio node in dra7-evm.dts as listed below:
11         extcon_usb1 {
12                 compatible = "linux,extcon-usb-gpio";
13                 id-gpio = <&gpio6 1 GPIO_ACTIVE_HIGH>;
14         }
15
16         &omap_dwc3_1 {
17                 extcon = <&extcon_usb1>;
18         };