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-pisosr.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 Parallel-in/Serial-out Shift Register GPIO Driver
    2 
    3 This binding describes generic parallel-in/serial-out shift register
    4 devices that can be used for GPI (General Purpose Input). This includes
    5 SN74165 serial-out shift registers and the SN65HVS88x series of
    6 industrial serializers.
    7 
    8 Required properties:
    9  - compatible           : Should be "pisosr-gpio".
   10  - gpio-controller      : Marks the device node as a GPIO controller.
   11  - #gpio-cells          : Should be two. For consumer use see gpio.txt.
   12 
   13 Optional properties:
   14  - ngpios               : Number of used GPIO lines (0..n-1), default is 8.
   15  - load-gpios           : GPIO pin specifier attached to load enable, this
   16                           pin is pulsed before reading from the device to
   17                           load input pin values into the device.
   18 
   19 For other required and optional properties of SPI slave
   20 nodes please refer to ../spi/spi-bus.txt.
   21 
   22 Example:
   23 
   24         gpio@0 {
   25                 compatible = "ti,sn65hvs882", "pisosr-gpio";
   26                 gpio-controller;
   27                 #gpio-cells = <2>;
   28 
   29                 load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
   30 
   31                 reg = <0>;
   32                 spi-max-frequency = <1000000>;
   33                 spi-cpol;
   34         };

Cache object: c826806e34d935d6b4a84d91dab0d2a4


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