1USB GPIO Extcon device 2 3This is a virtual device used to generate USB cable states from the USB ID pin 4connected to a GPIO pin. 5 6Required properties: 7- compatible: Should be "linux,extcon-usb-gpio" 8- id-gpio: gpio for USB ID pin. See gpio binding. 9 10Example: 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 }; 19