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/gpio/gpio-adnp.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 Avionic Design N-bit GPIO expander bindings
    2 
    3 Required properties:
    4 - compatible: should be "ad,gpio-adnp"
    5 - reg: The I2C slave address for this device.
    6 - interrupts: Interrupt specifier for the controllers interrupt.
    7 - #gpio-cells: Should be 2. The first cell is the GPIO number and the
    8   second cell is used to specify optional parameters:
    9   - bit 0: polarity (0: normal, 1: inverted)
   10 - gpio-controller: Marks the device as a GPIO controller
   11 - nr-gpios: The number of pins supported by the controller.
   12 
   13 The GPIO expander can optionally be used as an interrupt controller, in
   14 which case it uses the default two cell specifier as described in
   15 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt.
   16 
   17 Example:
   18 
   19         gpioext: gpio-controller@41 {
   20                 compatible = "ad,gpio-adnp";
   21                 reg = <0x41>;
   22 
   23                 interrupt-parent = <&gpio>;
   24                 interrupts = <160 1>;
   25 
   26                 gpio-controller;
   27                 #gpio-cells = <2>;
   28 
   29                 interrupt-controller;
   30                 #interrupt-cells = <2>;
   31 
   32                 nr-gpios = <64>;
   33         };

Cache object: 55febb71c11b45cec7353791a3a78b04


[ 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.