11769b8f3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 21769b8f3SEmmanuel Vadot%YAML 1.2 31769b8f3SEmmanuel Vadot--- 41769b8f3SEmmanuel Vadot$id: http://devicetree.org/schemas/input/touchscreen/pixcir,pixcir_ts.yaml# 51769b8f3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 61769b8f3SEmmanuel Vadot 7c227958aSEmmanuel Vadottitle: Pixcir Touchscreen Controller 81769b8f3SEmmanuel Vadot 91769b8f3SEmmanuel Vadotmaintainers: 101769b8f3SEmmanuel Vadot - Dmitry Torokhov <dmitry.torokhov@gmail.com> 111769b8f3SEmmanuel Vadot 121769b8f3SEmmanuel VadotallOf: 131769b8f3SEmmanuel Vadot - $ref: touchscreen.yaml# 141769b8f3SEmmanuel Vadot 151769b8f3SEmmanuel Vadotproperties: 161769b8f3SEmmanuel Vadot compatible: 171769b8f3SEmmanuel Vadot enum: 181769b8f3SEmmanuel Vadot - pixcir,pixcir_ts 191769b8f3SEmmanuel Vadot - pixcir,pixcir_tangoc 201769b8f3SEmmanuel Vadot 211769b8f3SEmmanuel Vadot reg: 221769b8f3SEmmanuel Vadot maxItems: 1 231769b8f3SEmmanuel Vadot 241769b8f3SEmmanuel Vadot interrupts: 251769b8f3SEmmanuel Vadot maxItems: 1 261769b8f3SEmmanuel Vadot 271769b8f3SEmmanuel Vadot attb-gpio: 281769b8f3SEmmanuel Vadot maxItems: 1 291769b8f3SEmmanuel Vadot 301769b8f3SEmmanuel Vadot reset-gpios: 311769b8f3SEmmanuel Vadot maxItems: 1 321769b8f3SEmmanuel Vadot 331769b8f3SEmmanuel Vadot enable-gpios: 341769b8f3SEmmanuel Vadot maxItems: 1 351769b8f3SEmmanuel Vadot 361769b8f3SEmmanuel Vadot wake-gpios: 371769b8f3SEmmanuel Vadot maxItems: 1 381769b8f3SEmmanuel Vadot 391769b8f3SEmmanuel VadotunevaluatedProperties: false 401769b8f3SEmmanuel Vadot 411769b8f3SEmmanuel Vadotrequired: 421769b8f3SEmmanuel Vadot - compatible 431769b8f3SEmmanuel Vadot - reg 441769b8f3SEmmanuel Vadot - interrupts 451769b8f3SEmmanuel Vadot - attb-gpio 461769b8f3SEmmanuel Vadot - touchscreen-size-x 471769b8f3SEmmanuel Vadot - touchscreen-size-y 481769b8f3SEmmanuel Vadot 491769b8f3SEmmanuel Vadotexamples: 501769b8f3SEmmanuel Vadot - | 511769b8f3SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 521769b8f3SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 531769b8f3SEmmanuel Vadot 541769b8f3SEmmanuel Vadot i2c { 551769b8f3SEmmanuel Vadot #address-cells = <1>; 561769b8f3SEmmanuel Vadot #size-cells = <0>; 571769b8f3SEmmanuel Vadot 581769b8f3SEmmanuel Vadot touchscreen@5c { 591769b8f3SEmmanuel Vadot compatible = "pixcir,pixcir_ts"; 601769b8f3SEmmanuel Vadot reg = <0x5c>; 611769b8f3SEmmanuel Vadot interrupts = <2 0>; 621769b8f3SEmmanuel Vadot attb-gpio = <&gpf 2 0 2>; 631769b8f3SEmmanuel Vadot touchscreen-size-x = <800>; 641769b8f3SEmmanuel Vadot touchscreen-size-y = <600>; 651769b8f3SEmmanuel Vadot }; 661769b8f3SEmmanuel Vadot }; 671769b8f3SEmmanuel Vadot 681769b8f3SEmmanuel Vadot... 69