Skip to contentSkip to conversation

dt-bindings: input: touchscreen: tsc2007: allow standard properties

PATCH In review Andreas Kemnade 2 participants 2 messages Nov 10

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

PATCH 1/1 dt-bindings: input: touchscreen: tsc2007: allow standard properties

The driver accepts touchscreen standard properties, so allow them.

---
 .../devicetree/bindings/input/touchscreen/ti,tsc2007.yaml    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml +4 -1
index 5ef38d24d6a97..b8a11631183e1 100644
@@ -9,6 +9,9 @@ title: Texas Instruments tsc2007 touchscreen controller
 maintainers:
   - Frank Li <[email protected]>
 
+allOf:
+  - $ref: touchscreen.yaml#
+
 properties:
   compatible:
     const: ti,tsc2007
@@ -61,7 +64,7 @@ required:
   - reg
   - ti,x-plate-ohms
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.47.3
#1 lore raw
Quoted 1 line · Andreas Kemnade

The driver accepts touchscreen standard properties, so allow them.

This is the wrong justification, the justification needs to be that the hardware requires them for xyz reason.
pw-bot: changes-requested

Thanks,
Conor.

Quoted 32 lines
---
 .../devicetree/bindings/input/touchscreen/ti,tsc2007.yaml    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml +4 -1
index 5ef38d24d6a97..b8a11631183e1 100644
@@ -9,6 +9,9 @@ title: Texas Instruments tsc2007 touchscreen controller
 maintainers:
   - Frank Li <[email protected]>
 
+allOf:
+  - $ref: touchscreen.yaml#
+
 properties:
   compatible:
     const: ti,tsc2007
@@ -61,7 +64,7 @@ required:
   - reg
   - ti,x-plate-ohms
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.47.3