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-sprd.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 Spreadtrum GPIO controller bindings
    2 
    3 The controller's registers are organized as sets of sixteen 16-bit
    4 registers with each set controlling a bank of up to 16 pins. A single
    5 interrupt is shared for all of the banks handled by the controller.
    6 
    7 Required properties:
    8 - compatible: Should be "sprd,sc9860-gpio".
    9 - reg: Define the base and range of the I/O address space containing
   10 the GPIO controller registers.
   11 - gpio-controller: Marks the device node as a GPIO controller.
   12 - #gpio-cells: Should be <2>. The first cell is the gpio number and
   13 the second cell is used to specify optional parameters.
   14 - interrupt-controller: Marks the device node as an interrupt controller.
   15 - #interrupt-cells: Should be <2>. Specifies the number of cells needed
   16 to encode interrupt source.
   17 - interrupts: Should be the port interrupt shared by all the gpios.
   18 
   19 Example:
   20         ap_gpio: gpio@40280000 {
   21                 compatible = "sprd,sc9860-gpio";
   22                 reg = <0 0x40280000 0 0x1000>;
   23                 gpio-controller;
   24                 #gpio-cells = <2>;
   25                 interrupt-controller;
   26                 #interrupt-cells = <2>;
   27                 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
   28         };

Cache object: d27547ed41fed2c66d265184f737c298


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