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/pixcir,pixcir_ts.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/pixcir,pixcir_ts.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Pixcir 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     enum:
   18       - pixcir,pixcir_ts
   19       - pixcir,pixcir_tangoc
   20 
   21   reg:
   22     maxItems: 1
   23 
   24   interrupts:
   25     maxItems: 1
   26 
   27   attb-gpio:
   28     maxItems: 1
   29 
   30   reset-gpios:
   31     maxItems: 1
   32 
   33   enable-gpios:
   34     maxItems: 1
   35 
   36   wake-gpios:
   37     maxItems: 1
   38 
   39 unevaluatedProperties: false
   40 
   41 required:
   42   - compatible
   43   - reg
   44   - interrupts
   45   - attb-gpio
   46   - touchscreen-size-x
   47   - touchscreen-size-y
   48 
   49 examples:
   50   - |
   51     #include <dt-bindings/gpio/gpio.h>
   52     #include <dt-bindings/interrupt-controller/arm-gic.h>
   53 
   54     i2c {
   55         #address-cells = <1>;
   56         #size-cells = <0>;
   57 
   58         touchscreen@5c {
   59             compatible = "pixcir,pixcir_ts";
   60             reg = <0x5c>;
   61             interrupts = <2 0>;
   62             attb-gpio = <&gpf 2 0 2>;
   63             touchscreen-size-x = <800>;
   64             touchscreen-size-y = <600>;
   65         };
   66     };
   67 
   68 ...

Cache object: ab67f1fb902d5132bd20bff18862aba1


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