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