The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/extcon/extcon-usb-gpio.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 
    9 Either one of id-gpio or vbus-gpio must be present. Both can be present as well.
   10 - id-gpio: gpio for USB ID pin. See gpio binding.
   11 - vbus-gpio: gpio for USB VBUS pin.
   12 
   13 Example: Examples of extcon-usb-gpio node in dra7-evm.dts as listed below:
   14         extcon_usb1 {
   15                 compatible = "linux,extcon-usb-gpio";
   16                 id-gpio = <&gpio6 1 GPIO_ACTIVE_HIGH>;
   17         }
   18 
   19         &omap_dwc3_1 {
   20                 extcon = <&extcon_usb1>;
   21         };

Cache object: 79161496cf24a7a67c00313c22468baa


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.