1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Allwinner A10 Resistive Touchscreen Controller Device Tree Bindings 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11*c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadotproperties: 14*c66ec88fSEmmanuel Vadot "#thermal-sensor-cells": 15*c66ec88fSEmmanuel Vadot const: 0 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot compatible: 18*c66ec88fSEmmanuel Vadot enum: 19*c66ec88fSEmmanuel Vadot - allwinner,sun4i-a10-ts 20*c66ec88fSEmmanuel Vadot - allwinner,sun5i-a13-ts 21*c66ec88fSEmmanuel Vadot - allwinner,sun6i-a31-ts 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot reg: 24*c66ec88fSEmmanuel Vadot maxItems: 1 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel Vadot interrupts: 27*c66ec88fSEmmanuel Vadot maxItems: 1 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot allwinner,ts-attached: 30*c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 31*c66ec88fSEmmanuel Vadot description: A touchscreen is attached to the controller 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot allwinner,tp-sensitive-adjust: 34*c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 35*c66ec88fSEmmanuel Vadot minimum: 0 36*c66ec88fSEmmanuel Vadot maximum: 15 37*c66ec88fSEmmanuel Vadot default: 15 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot description: Sensitivity of pen down detection 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot allwinner,filter-type: 42*c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 43*c66ec88fSEmmanuel Vadot minimum: 0 44*c66ec88fSEmmanuel Vadot maximum: 3 45*c66ec88fSEmmanuel Vadot default: 1 46*c66ec88fSEmmanuel Vadot 47*c66ec88fSEmmanuel Vadot description: | 48*c66ec88fSEmmanuel Vadot Select median and averaging filter. Sample used for median / 49*c66ec88fSEmmanuel Vadot averaging filter: 50*c66ec88fSEmmanuel Vadot 0: 4/2 51*c66ec88fSEmmanuel Vadot 1: 5/3 52*c66ec88fSEmmanuel Vadot 2: 8/4 53*c66ec88fSEmmanuel Vadot 3: 16/8 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadotrequired: 56*c66ec88fSEmmanuel Vadot - "#thermal-sensor-cells" 57*c66ec88fSEmmanuel Vadot - compatible 58*c66ec88fSEmmanuel Vadot - reg 59*c66ec88fSEmmanuel Vadot - interrupts 60*c66ec88fSEmmanuel Vadot 61*c66ec88fSEmmanuel VadotadditionalProperties: false 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadotexamples: 64*c66ec88fSEmmanuel Vadot - | 65*c66ec88fSEmmanuel Vadot rtp: rtp@1c25000 { 66*c66ec88fSEmmanuel Vadot compatible = "allwinner,sun4i-a10-ts"; 67*c66ec88fSEmmanuel Vadot reg = <0x01c25000 0x100>; 68*c66ec88fSEmmanuel Vadot interrupts = <29>; 69*c66ec88fSEmmanuel Vadot allwinner,ts-attached; 70*c66ec88fSEmmanuel Vadot #thermal-sensor-cells = <0>; 71*c66ec88fSEmmanuel Vadot /* sensitive/noisy touch panel */ 72*c66ec88fSEmmanuel Vadot allwinner,tp-sensitive-adjust = <0>; 73*c66ec88fSEmmanuel Vadot allwinner,filter-type = <3>; 74*c66ec88fSEmmanuel Vadot }; 75*c66ec88fSEmmanuel Vadot 76*c66ec88fSEmmanuel Vadot... 77