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/mfd/stmpe.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 * ST Microelectronics STMPE Multi-Functional Device
    2 
    3 STMPE is an MFD device which may expose the following inbuilt devices: gpio,
    4 keypad, touchscreen, adc, pwm, rotator.
    5 
    6 Required properties:
    7  - compatible                   : "st,stmpe[610|801|811|1600|1601|2401|2403]"
    8  - reg                          : I2C/SPI address of the device
    9 
   10 Optional properties:
   11  - interrupts                   : The interrupt outputs from the controller
   12  - interrupt-controller         : Marks the device node as an interrupt controller
   13  - wakeup-source                : Marks the input device as wakable
   14  - st,autosleep-timeout         : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024
   15  - irq-gpio                     : If present, which GPIO to use for event IRQ
   16 
   17 Optional properties for devices with touch and ADC (STMPE811|STMPE610):
   18  - st,sample-time               : ADC conversion time in number of clock.
   19                                         0 -> 36 clocks          4 -> 80 clocks (recommended)
   20                                         1 -> 44 clocks          5 -> 96 clocks
   21                                         2 -> 56 clocks          6 -> 124 clocks
   22                                         3 -> 64 clocks
   23  - st,mod-12b                   : ADC Bit mode
   24                                         0 -> 10bit ADC          1 -> 12bit ADC
   25  - st,ref-sel                   : ADC reference source
   26                                         0 -> internal           1 -> external
   27  - st,adc-freq                  : ADC Clock speed
   28                                         0 -> 1.625 MHz          2 || 3 -> 6.5 MHz
   29                                         1 -> 3.25 MHz
   30 
   31 Example:
   32 
   33         stmpe1601: stmpe1601@40 {
   34                 compatible = "st,stmpe1601";
   35                 reg = <0x40>;
   36                 interrupts = <26 0x4>;
   37                 interrupt-parent = <&gpio6>;
   38                 interrupt-controller;
   39 
   40                 wakeup-source;
   41                 st,autosleep-timeout = <1024>;
   42         };

Cache object: bfd3cce9cf220c9753bb27d031b1e7f1


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