1*d9496240SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*d9496240SKrzysztof Kozlowski%YAML 1.2 3*d9496240SKrzysztof Kozlowski--- 4*d9496240SKrzysztof Kozlowski$id: http://devicetree.org/schemas/input/touchscreen/st,stmfts.yaml# 5*d9496240SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6*d9496240SKrzysztof Kozlowski 7*d9496240SKrzysztof Kozlowskititle: ST-Microelectronics FingerTip touchscreen controller 8*d9496240SKrzysztof Kozlowski 9*d9496240SKrzysztof Kozlowskimaintainers: 10*d9496240SKrzysztof Kozlowski - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11*d9496240SKrzysztof Kozlowski 12*d9496240SKrzysztof Kozlowskidescription: 13*d9496240SKrzysztof Kozlowski The ST-Microelectronics FingerTip device provides a basic touchscreen 14*d9496240SKrzysztof Kozlowski functionality. Along with it the user can enable the touchkey which can work 15*d9496240SKrzysztof Kozlowski as a basic HOME and BACK key for phones. 16*d9496240SKrzysztof Kozlowski 17*d9496240SKrzysztof KozlowskiallOf: 18*d9496240SKrzysztof Kozlowski - $ref: touchscreen.yaml# 19*d9496240SKrzysztof Kozlowski 20*d9496240SKrzysztof Kozlowskiproperties: 21*d9496240SKrzysztof Kozlowski compatible: 22*d9496240SKrzysztof Kozlowski const: st,stmfts 23*d9496240SKrzysztof Kozlowski 24*d9496240SKrzysztof Kozlowski reg: 25*d9496240SKrzysztof Kozlowski maxItems: 1 26*d9496240SKrzysztof Kozlowski 27*d9496240SKrzysztof Kozlowski avdd-supply: 28*d9496240SKrzysztof Kozlowski description: Analogic power supply 29*d9496240SKrzysztof Kozlowski 30*d9496240SKrzysztof Kozlowski interrupts: 31*d9496240SKrzysztof Kozlowski maxItems: 1 32*d9496240SKrzysztof Kozlowski 33*d9496240SKrzysztof Kozlowski ledvdd-supply: 34*d9496240SKrzysztof Kozlowski description: Power supply to the touch key leds 35*d9496240SKrzysztof Kozlowski 36*d9496240SKrzysztof Kozlowski touch-key-connected: 37*d9496240SKrzysztof Kozlowski type: boolean 38*d9496240SKrzysztof Kozlowski description: The touchkey feature is connected 39*d9496240SKrzysztof Kozlowski 40*d9496240SKrzysztof Kozlowski vdd-supply: 41*d9496240SKrzysztof Kozlowski description: Power supply 42*d9496240SKrzysztof Kozlowski 43*d9496240SKrzysztof Kozlowskirequired: 44*d9496240SKrzysztof Kozlowski - compatible 45*d9496240SKrzysztof Kozlowski - reg 46*d9496240SKrzysztof Kozlowski - avdd-supply 47*d9496240SKrzysztof Kozlowski - interrupts 48*d9496240SKrzysztof Kozlowski - vdd-supply 49*d9496240SKrzysztof Kozlowski 50*d9496240SKrzysztof KozlowskiunevaluatedProperties: false 51*d9496240SKrzysztof Kozlowski 52*d9496240SKrzysztof Kozlowskiexamples: 53*d9496240SKrzysztof Kozlowski - | 54*d9496240SKrzysztof Kozlowski #include <dt-bindings/interrupt-controller/irq.h> 55*d9496240SKrzysztof Kozlowski 56*d9496240SKrzysztof Kozlowski i2c { 57*d9496240SKrzysztof Kozlowski #address-cells = <1>; 58*d9496240SKrzysztof Kozlowski #size-cells = <0>; 59*d9496240SKrzysztof Kozlowski 60*d9496240SKrzysztof Kozlowski touchscreen@49 { 61*d9496240SKrzysztof Kozlowski compatible = "st,stmfts"; 62*d9496240SKrzysztof Kozlowski reg = <0x49>; 63*d9496240SKrzysztof Kozlowski interrupt-parent = <&gpa1>; 64*d9496240SKrzysztof Kozlowski interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 65*d9496240SKrzysztof Kozlowski touchscreen-size-x = <1599>; 66*d9496240SKrzysztof Kozlowski touchscreen-size-y = <2559>; 67*d9496240SKrzysztof Kozlowski touch-key-connected; 68*d9496240SKrzysztof Kozlowski avdd-supply = <&ldo30_reg>; 69*d9496240SKrzysztof Kozlowski vdd-supply = <&ldo31_reg>; 70*d9496240SKrzysztof Kozlowski ledvdd-supply = <&ldo33_reg>; 71*d9496240SKrzysztof Kozlowski }; 72*d9496240SKrzysztof Kozlowski }; 73