brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · c593ae6 Raw
73 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/input/touchscreen/st,stmfts.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ST-Microelectronics FingerTip touchscreen controller8 9maintainers:10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>11 12description:13  The ST-Microelectronics FingerTip device provides a basic touchscreen14  functionality. Along with it the user can enable the touchkey which can work15  as a basic HOME and BACK key for phones.16 17allOf:18  - $ref: touchscreen.yaml#19 20properties:21  compatible:22    const: st,stmfts23 24  reg:25    maxItems: 126 27  avdd-supply:28    description: Analogic power supply29 30  interrupts:31    maxItems: 132 33  ledvdd-supply:34    description: Power supply to the touch key leds35 36  touch-key-connected:37    type: boolean38    description: The touchkey feature is connected39 40  vdd-supply:41    description: Power supply42 43required:44  - compatible45  - reg46  - avdd-supply47  - interrupts48  - vdd-supply49 50unevaluatedProperties: false51 52examples:53  - |54    #include <dt-bindings/interrupt-controller/irq.h>55 56    i2c {57        #address-cells = <1>;58        #size-cells = <0>;59 60        touchscreen@49 {61            compatible = "st,stmfts";62            reg = <0x49>;63            interrupt-parent = <&gpa1>;64            interrupts = <1 IRQ_TYPE_LEVEL_LOW>;65            touchscreen-size-x = <1599>;66            touchscreen-size-y = <2559>;67            touch-key-connected;68            avdd-supply = <&ldo30_reg>;69            vdd-supply = <&ldo31_reg>;70            ledvdd-supply = <&ldo33_reg>;71        };72    };73