Skip to contentSkip to conversation

dt-bindings: input: touchscreen: convert lpc32xx-tsc.txt to yaml format

PATCH Applied Frank Li 4 participants 4 messages Jun 25, 2025 – Jun 28, 2025

Subsystems (5)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: input: touchscreen: convert lpc32xx-tsc.txt to yaml format

Convert lpc32xx-tsc.txt to yaml format.

Additional changes:
- add clocks and put it into required list to match existed lpc32xx.dtsi.

---
changes in v2
- add clocks and put it into required list to match existed lpc32xx.dtsi.

---
 .../input/touchscreen/lpc32xx-tsc.txt         | 16 -------
 .../input/touchscreen/nxp,lpc3220-tsc.yaml    | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 16 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml
Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt deleted +0 -16
deleted file mode 100644
index 41cbf4b7a670d..0000000000000
@@ -1,16 +0,0 @@
-* NXP LPC32xx SoC Touchscreen Controller (TSC)
-
-Required properties:
-- compatible: must be "nxp,lpc3220-tsc"
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- interrupts: The TSC/ADC interrupt
-
-Example:
-
-	tsc@40048000 {
-		compatible = "nxp,lpc3220-tsc";
-		reg = <0x40048000 0x1000>;
-		interrupt-parent = <&mic>;
-		interrupts = <39 0>;
-	};
Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Frank Li

Convert lpc32xx-tsc.txt to yaml format.

Additional changes:
- add clocks and put it into required list to match existed lpc32xx.dtsi.

---
changes in v2
- add clocks and put it into required list to match existed lpc32xx.dtsi.

Quoted 7 lines
---
 .../input/touchscreen/lpc32xx-tsc.txt         | 16 -------
 .../input/touchscreen/nxp,lpc3220-tsc.yaml    | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 16 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml
maintainer Reviewed-by on v2 1/1
#3 lore raw
In reply to Frank Li
Quoted 6 lines · Frank Li

Convert lpc32xx-tsc.txt to yaml format.

Additional changes:
- add clocks and put it into required list to match existed lpc32xx.dtsi.

<snip>

Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml line 41

Quoted 10 lines
Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml new file +10 -0
+
+examples:
+  - |
+    #include <dt-bindings/clock/lpc32xx-clock.h>
+
+    touchscreen@40048000 {
+        compatible = "nxp,lpc3220-tsc";
+        reg = <0x40048000 0x1000>;
+        interrupt-parent = <&mic>;
+        interrupts = <39 0>;

interrupt-parent = <&sic1>;
interrupts = <7 4>;

Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml line 43

Quoted 2 lines
Documentation/devicetree/bindings/input/touchscreen/nxp,lpc3220-tsc.yaml new file +2 -0
+        clocks = <&clk LPC32XX_CLK_ADC>;
+    };

With this minor asked correction, feel free to add my

Signature · 2 lines
Best wishes,
Vladimir