cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

mstar,msg2638.yaml (1472B)


      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
      7title: MStar msg2638 touchscreen controller Bindings
      8
      9maintainers:
     10  - Vincent Knecht <vincent.knecht@mailoo.org>
     11
     12allOf:
     13  - $ref: touchscreen.yaml#
     14
     15properties:
     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
     37additionalProperties: false
     38
     39required:
     40  - compatible
     41  - reg
     42  - interrupts
     43  - reset-gpios
     44  - touchscreen-size-x
     45  - touchscreen-size-y
     46
     47examples:
     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...