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/chipone_icn8318.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 * ChipOne icn8318 I2C touchscreen controller
    2 
    3 Required properties:
    4  - compatible             : "chipone,icn8318"
    5  - reg                    : I2C slave address of the chip (0x40)
    6  - interrupts             : interrupt specification for the icn8318 interrupt
    7  - wake-gpios             : GPIO specification for the WAKE input
    8  - touchscreen-size-x     : horizontal resolution of touchscreen (in pixels)
    9  - touchscreen-size-y     : vertical resolution of touchscreen (in pixels)
   10 
   11 Optional properties:
   12  - pinctrl-names          : should be "default"
   13  - pinctrl-0:             : a phandle pointing to the pin settings for the
   14                             control gpios
   15  - touchscreen-fuzz-x     : horizontal noise value of the absolute input
   16                             device (in pixels)
   17  - touchscreen-fuzz-y     : vertical noise value of the absolute input
   18                             device (in pixels)
   19  - touchscreen-inverted-x : X axis is inverted (boolean)
   20  - touchscreen-inverted-y : Y axis is inverted (boolean)
   21  - touchscreen-swapped-x-y        : X and Y axis are swapped (boolean)
   22                             Swapping is done after inverting the axis
   23 
   24 Example:
   25 
   26 i2c@00000000 {
   27         /* ... */
   28 
   29         chipone_icn8318@40 {
   30                 compatible = "chipone,icn8318";
   31                 reg = <0x40>;
   32                 interrupt-parent = <&pio>;
   33                 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* EINT9 (PG9) */
   34                 pinctrl-names = "default";
   35                 pinctrl-0 = <&ts_wake_pin_p66>;
   36                 wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
   37                 touchscreen-size-x = <800>;
   38                 touchscreen-size-y = <480>;
   39                 touchscreen-inverted-x;
   40                 touchscreen-swapped-x-y;
   41         };
   42 
   43         /* ... */
   44 };

Cache object: f71262af0cd5f8336df14416bc4eab8d


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