Skip to contentSkip to conversation

dt-bindings: input: touchscreen: Use generic node name

PATCH Applied Fabio Estevam 2 participants 2 messages Aug 30, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: input: touchscreen: Use generic node name

From: Fabio Estevam <[email protected]>

Node names should be generic.

Improve the binding example by using 'touchscreen' as the node name.

---
Changes since v1:
- Squash the patches. (Rob)

 .../devicetree/bindings/input/touchscreen/azoteq,iqs7211.yaml | 4 ++--
 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml     | 2 +-
 .../devicetree/bindings/input/touchscreen/goodix.yaml         | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs7211.yaml +2 -2
index 8cf371b99f19..e4dbbafb3779 100644
@@ -666,7 +666,7 @@ examples:
             #address-cells = <1>;
             #size-cells = <0>;
 
-            touch@56 {
+            touchscreen@56 {
                     compatible = "azoteq,iqs7210a";
                     reg = <0x56>;
                     irq-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
@@ -704,7 +704,7 @@ examples:
             #address-cells = <1>;
             #size-cells = <0>;
 
-            touch@56 {
+            touchscreen@56 {
                     compatible = "azoteq,iqs7211e";
                     reg = <0x56>;
                     irq-gpios = <&gpio 4 (GPIO_ACTIVE_LOW |
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +1 -1
index 51d48d4130d3..70a922e213f2 100644
@@ -126,7 +126,7 @@ examples:
     i2c {
       #address-cells = <1>;
       #size-cells = <0>;
-      edt-ft5x06@38 {
+      touchscreen@38 {
         compatible = "edt,edt-ft5406";
         reg = <0x38>;
         interrupt-parent = <&gpio2>;
Documentation/devicetree/bindings/input/touchscreen/goodix.yaml +1 -1
index 2a2d86cfd104..eb4992f708b7 100644
@@ -69,7 +69,7 @@ examples:
     i2c {
       #address-cells = <1>;
       #size-cells = <0>;
-      gt928@5d {
+      touchscreen@5d {
         compatible = "goodix,gt928";
         reg = <0x5d>;
         interrupt-parent = <&gpio>;
Signature · 1 line
2.34.1