dt-bindings: touchscreen: Initial commit of wacom,generic
Signed-off-by: Alistair Francis <alistair@alistair23.me>rM2-mainline
parent
499ac950c0
commit
ad57ed0072
|
@ -0,0 +1,48 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/input/touchscreen/wacom,generic.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Wacom I2C Controller
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Alistair Francis <alistair@alistair23.me>
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- $ref: touchscreen.yaml#
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: wacom,generic
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
vdd-supply:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- interrupts
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
#include "dt-bindings/interrupt-controller/irq.h"
|
||||||
|
i2c {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
digitiser@9 {
|
||||||
|
compatible = "wacom,generic";
|
||||||
|
reg = <0x9>;
|
||||||
|
interrupt-parent = <&gpio1>;
|
||||||
|
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
vdd-supply = <®_touch>;
|
||||||
|
};
|
||||||
|
};
|
Loading…
Reference in New Issue