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/input/rmi4/rmi_spi.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 Synaptics RMI4 SPI Device Binding
    2 
    3 The Synaptics RMI4 core is able to support RMI4 devices using different
    4 transports and different functions. This file describes the device tree
    5 bindings for devices using the SPI transport driver. Complete documentation
    6 for other transports and functions can be found in
    7 Documentation/devicetree/bindings/input/rmi4.
    8 
    9 Required Properties:
   10 - compatible: syna,rmi4-spi
   11 - reg: Chip select address for the device
   12 - #address-cells: Set to 1 to indicate that the function child nodes
   13                     consist of only on uint32 value.
   14 - #size-cells: Set to 0 to indicate that the function child nodes do not
   15                 have a size property.
   16 
   17 Optional Properties:
   18 - interrupts: interrupt which the rmi device is connected to.
   19 See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
   20 
   21 - spi-rx-delay-us: microsecond delay after a read transfer.
   22 - spi-tx-delay-us: microsecond delay after a write transfer.
   23 
   24 Function Parameters:
   25 Parameters specific to RMI functions are contained in child nodes of the rmi device
   26  node. Documentation for the parameters of each function can be found in:
   27 Documentation/devicetree/bindings/input/rmi4/rmi_f*.txt.
   28 
   29 
   30 
   31 Example:
   32         spi@7000d800 {
   33                 rmi4-spi-dev@0 {
   34                         compatible = "syna,rmi4-spi";
   35                         reg = <0x0>;
   36                         #address-cells = <1>;
   37                         #size-cells = <0>;
   38                         spi-max-frequency = <4000000>;
   39                         spi-cpha;
   40                         spi-cpol;
   41                         interrupt-parent = <&gpio>;
   42                         interrupts = <TEGRA_GPIO(K, 2) 0x2>;
   43                         spi-rx-delay-us = <30>;
   44 
   45                         rmi4-f01@1 {
   46                                 reg = <0x1>;
   47                                 syna,nosleep-mode = <1>;
   48                         };
   49 
   50                         rmi4-f11@11 {
   51                                 reg = <0x11>;
   52                                 touchscreen-inverted-y;
   53                                 syna,sensor-type = <2>;
   54                         };
   55                 };
   56         };

Cache object: 62e68f689e99222c469e248bc593852a


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