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-74x164.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 * Generic 8-bits shift register GPIO driver
    2 
    3 Required properties:
    4 - compatible: Should contain one of the following:
    5     "fairchild,74hc595"
    6     "nxp,74lvc594"
    7 - reg : chip select number
    8 - gpio-controller : Marks the device node as a gpio controller.
    9 - #gpio-cells : Should be two.  The first cell is the pin number and
   10   the second cell is used to specify the gpio polarity:
   11       0 = active high
   12       1 = active low
   13 - registers-number: Number of daisy-chained shift registers
   14 
   15 Optional properties:
   16 - enable-gpios: GPIO connected to the OE (Output Enable) pin.
   17 
   18 Example:
   19 
   20 gpio5: gpio5@0 {
   21         compatible = "fairchild,74hc595";
   22         reg = <0>;
   23         gpio-controller;
   24         #gpio-cells = <2>;
   25         registers-number = <4>;
   26         spi-max-frequency = <100000>;
   27 };

Cache object: 4eafe877e2589b278c2ac0c45f2a2c5d


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