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/cypress,cyapa.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 Cypress I2C Touchpad
    2 
    3 Required properties:
    4 - compatible: must be "cypress,cyapa".
    5 - reg: I2C address of the chip.
    6 - interrupts: interrupt to which the chip is connected (see interrupt
    7         binding[0]).
    8 
    9 Optional properties:
   10 - wakeup-source: touchpad can be used as a wakeup source.
   11 - pinctrl-names: should be "default" (see pinctrl binding [1]).
   12 - pinctrl-0: a phandle pointing to the pin settings for the device (see
   13         pinctrl binding [1]).
   14 - vcc-supply: a phandle for the regulator supplying 3.3V power.
   15 
   16 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
   17 [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
   18 
   19 Example:
   20         &i2c0 {
   21                 /* ... */
   22 
   23                 /* Cypress Gen3 touchpad */
   24                 touchpad@67 {
   25                         compatible = "cypress,cyapa";
   26                         reg = <0x67>;
   27                         interrupt-parent = <&gpio>;
   28                         interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO 2 */
   29                         wakeup-source;
   30                 };
   31 
   32                 /* Cypress Gen5 and later touchpad */
   33                 touchpad@24 {
   34                         compatible = "cypress,cyapa";
   35                         reg = <0x24>;
   36                         interrupt-parent = <&gpio>;
   37                         interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO 2 */
   38                         wakeup-source;
   39                 };
   40 
   41                 /* ... */
   42         };

Cache object: fd5a816102c1811b68a2a354e5e948ea


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