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/mstar,msg2638.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/mstar,msg2638.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: MStar msg2638 touchscreen controller Bindings
    8 
    9 maintainers:
   10   - Vincent Knecht <vincent.knecht@mailoo.org>
   11 
   12 allOf:
   13   - $ref: touchscreen.yaml#
   14 
   15 properties:
   16   compatible:
   17     const: mstar,msg2638
   18 
   19   reg:
   20     const: 0x26
   21 
   22   interrupts:
   23     maxItems: 1
   24 
   25   reset-gpios:
   26     maxItems: 1
   27 
   28   vdd-supply:
   29     description: Power supply regulator for the chip
   30 
   31   vddio-supply:
   32     description: Power supply regulator for the I2C bus
   33 
   34   touchscreen-size-x: true
   35   touchscreen-size-y: true
   36 
   37 additionalProperties: false
   38 
   39 required:
   40   - compatible
   41   - reg
   42   - interrupts
   43   - reset-gpios
   44   - touchscreen-size-x
   45   - touchscreen-size-y
   46 
   47 examples:
   48   - |
   49     #include <dt-bindings/gpio/gpio.h>
   50     #include <dt-bindings/interrupt-controller/irq.h>
   51     i2c {
   52       #address-cells = <1>;
   53       #size-cells = <0>;
   54       touchscreen@26 {
   55         compatible = "mstar,msg2638";
   56         reg = <0x26>;
   57         interrupt-parent = <&msmgpio>;
   58         interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
   59         reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>;
   60         pinctrl-names = "default";
   61         pinctrl-0 = <&ts_int_reset_default>;
   62         vdd-supply = <&pm8916_l17>;
   63         vddio-supply = <&pm8916_l5>;
   64         touchscreen-size-x = <2048>;
   65         touchscreen-size-y = <2048>;
   66       };
   67     };
   68 
   69 ...

Cache object: 00e96966a55a8b09552de8b093b814ba


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