| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/input/touchscreen/trivial-touch.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Trivial touch screen controller with i2c interface |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
# The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers |
| 16 |
- azoteq,iqs550 |
| 17 |
- azoteq,iqs572 |
| 18 |
- azoteq,iqs525 |
| 19 |
# Himax hx83100a touchscreen controller |
| 20 |
- himax,hx83100a |
| 21 |
# Himax hx83112b touchscreen controller |
| 22 |
- himax,hx83112b |
| 23 |
# Hynitron cstxxx series touchscreen controller |
| 24 |
- hynitron,cst340 |
| 25 |
# Ilitek I2C Touchscreen Controller |
| 26 |
- ilitek,ili2130 |
| 27 |
- ilitek,ili2131 |
| 28 |
- ilitek,ili2132 |
| 29 |
- ilitek,ili2316 |
| 30 |
- ilitek,ili2322 |
| 31 |
- ilitek,ili2323 |
| 32 |
- ilitek,ili2326 |
| 33 |
- ilitek,ili2520 |
| 34 |
- ilitek,ili2521 |
| 35 |
# MAXI MAX11801 Resistive touch screen controller with i2c interface |
| 36 |
- maxim,max11801 |
| 37 |
# Microchip AR1020 and AR1021 touchscreen interface (I2C) |
| 38 |
- microchip,ar1021-i2c |
| 39 |
# Trivial touch screen controller with i2c interface |
| 40 |
- semtech,sx8650 |
| 41 |
- semtech,sx8654 |
| 42 |
- semtech,sx8655 |
| 43 |
- semtech,sx8656 |
| 44 |
|
| 45 |
reg: |
| 46 |
maxItems: 1 |
| 47 |
|
| 48 |
interrupts: |
| 49 |
maxItems: 1 |
| 50 |
|
| 51 |
reset-gpios: |
| 52 |
maxItems: 1 |
| 53 |
|
| 54 |
wakeup-source: true |
| 55 |
|
| 56 |
allOf: |
| 57 |
- $ref: touchscreen.yaml |
| 58 |
|
| 59 |
required: |
| 60 |
- compatible |
| 61 |
- reg |
| 62 |
- interrupts |
| 63 |
|
| 64 |
unevaluatedProperties: false |
| 65 |
|
| 66 |
examples: |
| 67 |
- | |
| 68 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 69 |
|
| 70 |
i2c { |
| 71 |
#address-cells = <1>; |
| 72 |
#size-cells = <0>; |
| 73 |
|
| 74 |
touchscreen@48 { |
| 75 |
compatible = "maxim,max11801"; |
| 76 |
reg = <0x48>; |
| 77 |
interrupt-parent = <&gpio3>; |
| 78 |
interrupts = <31 IRQ_TYPE_EDGE_FALLING>; |
| 79 |
}; |
| 80 |
}; |