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/touchscreen/tsc2005.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 * Texas Instruments tsc2004 and tsc2005 touchscreen controllers
    2 
    3 Required properties:
    4  - compatible                 : "ti,tsc2004" or "ti,tsc2005"
    5  - reg                        : Device address
    6  - interrupts                 : IRQ specifier
    7  - spi-max-frequency          : Maximum SPI clocking speed of the device
    8                                 (for tsc2005)
    9 
   10 Optional properties:
   11  - vio-supply                 : Regulator specifier
   12  - reset-gpios                : GPIO specifier for the controller reset line
   13  - ti,x-plate-ohms            : integer, resistance of the touchscreen's X plates
   14                                 in ohm (defaults to 280)
   15  - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after
   16                                 the configured time (in milli seconds), the driver
   17                                 will reset it. This is disabled by default.
   18  - properties defined in touchscreen.txt
   19 
   20 Example:
   21 
   22 &i2c3 {
   23         tsc2004@48 {
   24                 compatible = "ti,tsc2004";
   25                 reg = <0x48>;
   26                 vio-supply = <&vio>;
   27 
   28                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>;
   29                 interrupts-extended = <&gpio1 27 IRQ_TYPE_EDGE_RISING>;
   30 
   31                 touchscreen-fuzz-x = <4>;
   32                 touchscreen-fuzz-y = <7>;
   33                 touchscreen-fuzz-pressure = <2>;
   34                 touchscreen-size-x = <4096>;
   35                 touchscreen-size-y = <4096>;
   36                 touchscreen-max-pressure = <2048>;
   37 
   38                 ti,x-plate-ohms = <280>;
   39                 ti,esd-recovery-timeout-ms = <8000>;
   40         };
   41 }
   42 
   43 &mcspi1 {
   44         tsc2005@0 {
   45                 compatible = "ti,tsc2005";
   46                 spi-max-frequency = <6000000>;
   47                 reg = <0>;
   48 
   49                 vio-supply = <&vio>;
   50 
   51                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
   52                 interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
   53 
   54                 touchscreen-fuzz-x = <4>;
   55                 touchscreen-fuzz-y = <7>;
   56                 touchscreen-fuzz-pressure = <2>;
   57                 touchscreen-size-x = <4096>;
   58                 touchscreen-size-y = <4096>;
   59                 touchscreen-max-pressure = <2048>;
   60 
   61                 ti,x-plate-ohms = <280>;
   62                 ti,esd-recovery-timeout-ms = <8000>;
   63         };
   64 }

Cache object: 85ce67847baeb20f181b47b178e9e9d8


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