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

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 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/input/touchscreen/chipone,icn8318.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: ChipOne ICN8318 Touchscreen Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Dmitry Torokhov <dmitry.torokhov@gmail.com>
   11 
   12 allOf:
   13   - $ref: touchscreen.yaml#
   14 
   15 properties:
   16   compatible:
   17     const: chipone,icn8318
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   interrupts:
   23     maxItems: 1
   24 
   25   wake-gpios:
   26     maxItems: 1
   27 
   28 unevaluatedProperties: false
   29 
   30 required:
   31   - compatible
   32   - reg
   33   - interrupts
   34   - wake-gpios
   35   - touchscreen-size-x
   36   - touchscreen-size-y
   37 
   38 examples:
   39   - |
   40     #include <dt-bindings/gpio/gpio.h>
   41     #include <dt-bindings/interrupt-controller/arm-gic.h>
   42 
   43     i2c {
   44         #address-cells = <1>;
   45         #size-cells = <0>;
   46 
   47         touchscreen@40 {
   48             compatible = "chipone,icn8318";
   49             reg = <0x40>;
   50             interrupt-parent = <&pio>;
   51             interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* EINT9 (PG9) */
   52             pinctrl-names = "default";
   53             pinctrl-0 = <&ts_wake_pin_p66>;
   54             wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
   55             touchscreen-size-x = <800>;
   56             touchscreen-size-y = <480>;
   57             touchscreen-inverted-x;
   58             touchscreen-swapped-x-y;
   59         };
   60     };
   61 
   62 ...

Cache object: d517f3f16c76d5684e7c030778439217


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