Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: convert max11801-ts to yaml format

Convert max11801-ts to yaml format.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250904200641.531897-1-Frank.Li@nxp.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Frank Li and committed by
Dmitry Torokhov
7328815c 3cc08f91

+46 -17
-17
Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt
··· 1 - * MAXI MAX11801 Resistive touch screen controller with i2c interface 2 - 3 - Required properties: 4 - - compatible: must be "maxim,max11801" 5 - - reg: i2c slave address 6 - - interrupts: touch controller interrupt 7 - 8 - Example: 9 - 10 - &i2c1 { 11 - max11801: touchscreen@48 { 12 - compatible = "maxim,max11801"; 13 - reg = <0x48>; 14 - interrupt-parent = <&gpio3>; 15 - interrupts = <31 IRQ_TYPE_EDGE_FALLING>; 16 - }; 17 - };
+46
Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
··· 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/maxim,max11801.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: MAXI MAX11801 Resistive touch screen controller with i2c interface 8 + 9 + maintainers: 10 + - Frank Li <Frank.Li@nxp.com> 11 + 12 + properties: 13 + compatible: 14 + const: maxim,max11801 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + maxItems: 1 21 + 22 + allOf: 23 + - $ref: touchscreen.yaml 24 + 25 + required: 26 + - compatible 27 + - reg 28 + - interrupts 29 + 30 + unevaluatedProperties: false 31 + 32 + examples: 33 + - | 34 + #include <dt-bindings/interrupt-controller/irq.h> 35 + 36 + i2c { 37 + #address-cells = <1>; 38 + #size-cells = <0>; 39 + 40 + touchscreen@48 { 41 + compatible = "maxim,max11801"; 42 + reg = <0x48>; 43 + interrupt-parent = <&gpio3>; 44 + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; 45 + }; 46 + };