dt-bindings: touchscreen: trivial-touch: Move allOf: after required:
PATCH 1/1 dt-bindings: touchscreen: trivial-touch: Move allOf: after required:
Majority of schemas place allOf: after required: . Documentation Documentation/devicetree/bindings/writing-schema.rst also hints at this ordering. Trivially update this schema. No functional change.
---
NOTE: This comes from https://lore.kernel.org/all/20260117-grinning-heavy-crab-11f245@quoll/
where krzk comments "allOf: should be placed after required: block."
---
Cc: Conor Dooley <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Job Noorman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
--- .../bindings/input/touchscreen/trivial-touch.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml +3 -3
@@ -53,14 +53,14 @@ properties: wakeup-source: true -allOf: - - $ref: touchscreen.yaml - required: - compatible - reg - interrupts +allOf: + - $ref: touchscreen.yaml + unevaluatedProperties: false examples:
Signature · 1 line
2.51.0
Quoted 1 line · Marek Vasut
Majority of schemas place allOf: after required: . Documentation
Nit: If there special char, suggest use 'allOf:' 'required:'. "Documentation" is reduntant.
Just said "writing-schema.rst hints this order".
Quoted 46 lines
Documentation/devicetree/bindings/writing-schema.rstalso hints at this ordering. Trivially update this schema. No functional change.Signed-off-by Marek Vasut <[email protected]>---
NOTE: This comes from https://lore.kernel.org/all/20260117-grinning-heavy-crab-11f245@quoll/
where krzk comments "allOf: should be placed after required: block."
---
Cc: Conor Dooley <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Frank Li <[email protected]>
Cc: Job Noorman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]--- .../bindings/input/touchscreen/trivial-touch.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml +3
-4@@ -53,14 +53,14 @@ properties: wakeup-source: true -allOf: - - $ref: touchscreen.yaml - required: - compatible - reg - interrupts +allOf: + - $ref: touchscreen.yaml + unevaluatedProperties: false examples: --2.51.0
Quoted 8 lines · Marek Vasut
Majority of schemas place allOf: after required: . Documentation
Documentation/devicetree/bindings/writing-schema.rstalso hints at this ordering. Trivially update this schema. No functional change.Signed-off-by Marek Vasut <[email protected]>---
NOTE: This comes from https://lore.kernel.org/all/20260117-grinning-heavy-crab-11f245@quoll/
where krzk comments "allOf: should be placed after required: block."
pw-bot: not-applicable
Certainly not expecting a new version for the "nits" provided by Frank.
Quoted 5 lines · Marek Vasut
Majority of schemas place allOf: after required: . Documentation
Documentation/devicetree/bindings/writing-schema.rstalso hints at this ordering. Trivially update this schema. No functional change.Signed-off-by Marek Vasut <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry