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/melfas,mms114.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-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/input/touchscreen/melfas,mms114.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Melfas MMS114 family touchscreen controller bindings
    8 
    9 maintainers:
   10   - Linus Walleij <linus.walleij@linaro.org>
   11 
   12 allOf:
   13   - $ref: touchscreen.yaml#
   14 
   15 properties:
   16   $nodename:
   17     pattern: "^touchscreen(@.*)?$"
   18 
   19   compatible:
   20     items:
   21       - enum:
   22           - melfas,mms114
   23           - melfas,mms134s
   24           - melfas,mms136
   25           - melfas,mms152
   26           - melfas,mms345l
   27 
   28   reg:
   29     description: I2C address
   30 
   31   clock-frequency:
   32     description: I2C client clock frequency, defined for host
   33     minimum: 100000
   34     maximum: 400000
   35 
   36   interrupts:
   37     maxItems: 1
   38 
   39   avdd-supply:
   40     description: Analog power supply regulator on AVDD pin
   41 
   42   vdd-supply:
   43     description: Digital power supply regulator on VDD pin
   44 
   45   touchscreen-size-x: true
   46   touchscreen-size-y: true
   47   touchscreen-fuzz-x: true
   48   touchscreen-fuzz-y: true
   49   touchscreen-fuzz-pressure: true
   50   touchscreen-inverted-x: true
   51   touchscreen-inverted-y: true
   52   touchscreen-swapped-x-y: true
   53   touchscreen-max-pressure: true
   54 
   55 additionalProperties: false
   56 
   57 required:
   58   - compatible
   59   - reg
   60   - interrupts
   61   - touchscreen-size-x
   62   - touchscreen-size-y
   63 
   64 examples:
   65   - |
   66     #include <dt-bindings/interrupt-controller/irq.h>
   67     i2c {
   68       #address-cells = <1>;
   69       #size-cells = <0>;
   70       touchscreen@48 {
   71         compatible = "melfas,mms114";
   72         reg = <0x48>;
   73         interrupt-parent = <&gpio>;
   74         interrupts = <39 IRQ_TYPE_EDGE_FALLING>;
   75         avdd-supply = <&ldo1_reg>;
   76         vdd-supply = <&ldo2_reg>;
   77         touchscreen-size-x = <720>;
   78         touchscreen-size-y = <1280>;
   79         touchscreen-fuzz-x = <10>;
   80         touchscreen-fuzz-y = <10>;
   81         touchscreen-fuzz-pressure = <10>;
   82         touchscreen-inverted-x;
   83         touchscreen-inverted-y;
   84       };
   85     };
   86 
   87 ...

Cache object: bf40fd2d7fcbc0c2d29665fe4f2b9a3e


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