Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH 1/1] dt-bindings: touchscreen: move ar1021.txt to maxim,max11801.yaml
@ 2025-09-25 18:56 Frank Li
  2025-09-25 19:20 ` Conor Dooley
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Li @ 2025-09-25 18:56 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

ar1021 have only reg and interrupts property beside touch common
properties. So move context of ar1021.txt into maxim,max11801.yaml.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../bindings/input/touchscreen/ar1021.txt         | 15 ---------------
 .../input/touchscreen/maxim,max11801.yaml         |  4 +++-
 2 files changed, 3 insertions(+), 16 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/ar1021.txt

diff --git a/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt b/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt
deleted file mode 100644
index 82019bd6094ee..0000000000000
--- a/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-* Microchip AR1020 and AR1021 touchscreen interface (I2C)
-
-Required properties:
-- compatible		: "microchip,ar1021-i2c"
-- reg			: I2C slave address
-- interrupts		: touch controller interrupt
-
-Example:
-
-	touchscreen@4d {
-		compatible = "microchip,ar1021-i2c";
-		reg = <0x4d>;
-		interrupt-parent = <&gpio3>;
-		interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
-	};
diff --git a/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml b/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
index 4f528d2201992..288c7e6e1b3b7 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml
@@ -11,7 +11,9 @@ maintainers:
 
 properties:
   compatible:
-    const: maxim,max11801
+    enum:
+      - maxim,max11801
+      - microchip,ar1021-i2c
 
   reg:
     maxItems: 1
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-25 19:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-25 18:56 [PATCH 1/1] dt-bindings: touchscreen: move ar1021.txt to maxim,max11801.yaml Frank Li
2025-09-25 19:20 ` Conor Dooley
2025-09-25 19:28   ` Frank Li
2025-09-25 19:46     ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox