devicetree/bindings: Initial commit of wacom,wacom-i2c
Signed-off-by: Alistair Francis <alistair@alistair23.me>zero-sugar-mainline-defconfig
parent
f37ead0bfe
commit
39f44d99f6
|
@ -0,0 +1,55 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/input/touchscreen/wacom,wacom-i2c.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,wacom-i2c
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
flip-tilt-x:
|
||||||
|
flip-tilt-y:
|
||||||
|
flip-pos-x:
|
||||||
|
flip-pos-y:
|
||||||
|
flip-distance:
|
||||||
|
|
||||||
|
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,wacom-i2c";
|
||||||
|
reg = <0x9>;
|
||||||
|
interrupt-parent = <&gpio1>;
|
||||||
|
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
flip-tilt-x;
|
||||||
|
flip-tilt-y;
|
||||||
|
flip-pos-x;
|
||||||
|
flip-pos-y;
|
||||||
|
flip-distance;
|
||||||
|
};
|
||||||
|
};
|
|
@ -1202,6 +1202,8 @@ patternProperties:
|
||||||
description: Vision Optical Technology Co., Ltd.
|
description: Vision Optical Technology Co., Ltd.
|
||||||
"^vxt,.*":
|
"^vxt,.*":
|
||||||
description: VXT Ltd
|
description: VXT Ltd
|
||||||
|
"^wacom,.*":
|
||||||
|
description: Wacom Co., Ltd
|
||||||
"^wand,.*":
|
"^wand,.*":
|
||||||
description: Wandbord (Technexion)
|
description: Wandbord (Technexion)
|
||||||
"^waveshare,.*":
|
"^waveshare,.*":
|
||||||
|
|
Loading…
Reference in New Issue