Skip to contentSkip to conversation

dt-bindings: input: touchscreen: iqs7211: Use 'touchscreen' as node name

PATCH Superseded Fabio Estevam 3 participants 5 messages Aug 29, 2024 – Aug 30, 2024

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: input: touchscreen: iqs7211: Use 'touchscreen' as node name

From: Fabio Estevam <[email protected]>

'touchscreen' is the recommended node name, not 'touch'.

Fix it accordingly.

---
 .../devicetree/bindings/input/touchscreen/azoteq,iqs7211.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 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 |
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 dt-bindings: input: touchscreen: goodix: 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.

---
 Documentation/devicetree/bindings/input/touchscreen/goodix.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
maintainer
#3 lore raw

Re: [PATCH 2/2] dt-bindings: input: touchscreen: goodix: Use generic node name

In reply to Fabio Estevam
Quoted 1 line · Fabio Estevam

From: Fabio Estevam <[email protected]>

Why 2 different subjects for the same change?

Really, both of these go to the same maintainer, so they can be 1 patch.

Quoted 26 lines

Node names should be generic.

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

---
 Documentation/devicetree/bindings/input/touchscreen/goodix.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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