10988e6c2SMaxime Ripard# SPDX-License-Identifier: GPL-2.0 20988e6c2SMaxime Ripard%YAML 1.2 30988e6c2SMaxime Ripard--- 40988e6c2SMaxime Ripard$id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# 50988e6c2SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 60988e6c2SMaxime Ripard 70988e6c2SMaxime Ripardtitle: Allwinner A10 Resistive Touchscreen Controller Device Tree Bindings 80988e6c2SMaxime Ripard 90988e6c2SMaxime Ripardmaintainers: 100988e6c2SMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 11*5c7404bbSMaxime Ripard - Maxime Ripard <mripard@kernel.org> 120988e6c2SMaxime Ripard 130988e6c2SMaxime Ripardproperties: 140988e6c2SMaxime Ripard "#thermal-sensor-cells": 150988e6c2SMaxime Ripard const: 0 160988e6c2SMaxime Ripard 170988e6c2SMaxime Ripard compatible: 180988e6c2SMaxime Ripard enum: 190988e6c2SMaxime Ripard - allwinner,sun4i-a10-ts 200988e6c2SMaxime Ripard - allwinner,sun5i-a13-ts 210988e6c2SMaxime Ripard - allwinner,sun6i-a31-ts 220988e6c2SMaxime Ripard 230988e6c2SMaxime Ripard reg: 240988e6c2SMaxime Ripard maxItems: 1 250988e6c2SMaxime Ripard 260988e6c2SMaxime Ripard interrupts: 270988e6c2SMaxime Ripard maxItems: 1 280988e6c2SMaxime Ripard 290988e6c2SMaxime Ripard allwinner,ts-attached: 300988e6c2SMaxime Ripard $ref: /schemas/types.yaml#/definitions/flag 310988e6c2SMaxime Ripard description: A touchscreen is attached to the controller 320988e6c2SMaxime Ripard 330988e6c2SMaxime Ripard allwinner,tp-sensitive-adjust: 340988e6c2SMaxime Ripard allOf: 350988e6c2SMaxime Ripard - $ref: /schemas/types.yaml#/definitions/uint32 360988e6c2SMaxime Ripard - minimum: 0 370988e6c2SMaxime Ripard maximum: 15 380988e6c2SMaxime Ripard default: 15 390988e6c2SMaxime Ripard description: Sensitivity of pen down detection 400988e6c2SMaxime Ripard 410988e6c2SMaxime Ripard allwinner,filter-type: 420988e6c2SMaxime Ripard allOf: 430988e6c2SMaxime Ripard - $ref: /schemas/types.yaml#/definitions/uint32 440988e6c2SMaxime Ripard - minimum: 0 450988e6c2SMaxime Ripard maximum: 3 460988e6c2SMaxime Ripard default: 1 470988e6c2SMaxime Ripard description: | 480988e6c2SMaxime Ripard Select median and averaging filter. Sample used for median / 490988e6c2SMaxime Ripard averaging filter: 500988e6c2SMaxime Ripard 0: 4/2 510988e6c2SMaxime Ripard 1: 5/3 520988e6c2SMaxime Ripard 2: 8/4 530988e6c2SMaxime Ripard 3: 16/8 540988e6c2SMaxime Ripard 550988e6c2SMaxime Ripardrequired: 560988e6c2SMaxime Ripard - "#thermal-sensor-cells" 570988e6c2SMaxime Ripard - compatible 580988e6c2SMaxime Ripard - reg 590988e6c2SMaxime Ripard - interrupts 600988e6c2SMaxime Ripard 610988e6c2SMaxime RipardadditionalProperties: false 620988e6c2SMaxime Ripard 630988e6c2SMaxime Ripardexamples: 640988e6c2SMaxime Ripard - | 650988e6c2SMaxime Ripard rtp: rtp@1c25000 { 660988e6c2SMaxime Ripard compatible = "allwinner,sun4i-a10-ts"; 670988e6c2SMaxime Ripard reg = <0x01c25000 0x100>; 680988e6c2SMaxime Ripard interrupts = <29>; 690988e6c2SMaxime Ripard allwinner,ts-attached; 700988e6c2SMaxime Ripard #thermal-sensor-cells = <0>; 710988e6c2SMaxime Ripard /* sensitive/noisy touch panel */ 720988e6c2SMaxime Ripard allwinner,tp-sensitive-adjust = <0>; 730988e6c2SMaxime Ripard allwinner,filter-type = <3>; 740988e6c2SMaxime Ripard }; 750988e6c2SMaxime Ripard 760988e6c2SMaxime Ripard... 77