* [PATCH 1/1] dt-bindings: input: convert max11801-ts to yaml format
@ 2025-09-04 20:06 Frank Li
2025-09-05 20:33 ` Rob Herring (Arm)
2025-09-06 16:21 ` Dmitry Torokhov
0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2025-09-04 20:06 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
Convert max11801-ts to yaml format.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../input/touchscreen/max11801-ts.txt | 17 -------
.../input/touchscreen/maxim,max11801.yaml | 46 +++++++++++++++++++
2 files changed, 46 insertions(+), 17 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt
create mode 100644 Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
diff --git a/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt
deleted file mode 100644
index 05e982c3454eb..0000000000000
--- a/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-* MAXI MAX11801 Resistive touch screen controller with i2c interface
-
-Required properties:
-- compatible: must be "maxim,max11801"
-- reg: i2c slave address
-- interrupts: touch controller interrupt
-
-Example:
-
-&i2c1 {
- max11801: touchscreen@48 {
- compatible = "maxim,max11801";
- reg = <0x48>;
- interrupt-parent = <&gpio3>;
- interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
- };
-};
diff --git a/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml b/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
new file mode 100644
index 0000000000000..4f528d2201992
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/touchscreen/maxim,max11801.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MAXI MAX11801 Resistive touch screen controller with i2c interface
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+properties:
+ compatible:
+ const: maxim,max11801
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+allOf:
+ - $ref: touchscreen.yaml
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ touchscreen@48 {
+ compatible = "maxim,max11801";
+ reg = <0x48>;
+ interrupt-parent = <&gpio3>;
+ interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
+ };
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] dt-bindings: input: convert max11801-ts to yaml format
2025-09-04 20:06 [PATCH 1/1] dt-bindings: input: convert max11801-ts to yaml format Frank Li
@ 2025-09-05 20:33 ` Rob Herring (Arm)
2025-09-06 16:21 ` Dmitry Torokhov
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-09-05 20:33 UTC (permalink / raw)
To: Frank Li
Cc: Dmitry Torokhov, Krzysztof Kozlowski, imx, devicetree,
linux-input, Conor Dooley, linux-kernel
On Thu, 04 Sep 2025 16:06:37 -0400, Frank Li wrote:
> Convert max11801-ts to yaml format.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../input/touchscreen/max11801-ts.txt | 17 -------
> .../input/touchscreen/maxim,max11801.yaml | 46 +++++++++++++++++++
> 2 files changed, 46 insertions(+), 17 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt
> create mode 100644 Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] dt-bindings: input: convert max11801-ts to yaml format
2025-09-04 20:06 [PATCH 1/1] dt-bindings: input: convert max11801-ts to yaml format Frank Li
2025-09-05 20:33 ` Rob Herring (Arm)
@ 2025-09-06 16:21 ` Dmitry Torokhov
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2025-09-06 16:21 UTC (permalink / raw)
To: Frank Li
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Thu, Sep 04, 2025 at 04:06:37PM -0400, Frank Li wrote:
> Convert max11801-ts to yaml format.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-06 16:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 20:06 [PATCH 1/1] dt-bindings: input: convert max11801-ts to yaml format Frank Li
2025-09-05 20:33 ` Rob Herring (Arm)
2025-09-06 16:21 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox