mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
dt-bindings: display: panel: Align style of additionalProperties
For code readability the bindings are expected to follow order shown in example-schema.yaml - put the additionalProperties/unevaluatedProperties entry at the end, after listing all required properties and possible "allOf:if:then:" conditions. Meaning of this style is to close the schema, after listing what it contains, with final "nothing more is allowed". Move the code around adjusting it to coding style. No functional impact. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260306-dt-bindings-display-panel-clean-v1-4-3086eda1efaf@oss.qualcomm.com
This commit is contained in:
committed by
Neil Armstrong
parent
72cfe73347
commit
66b0baaabd
@@ -56,8 +56,6 @@ properties:
|
||||
- port@0
|
||||
- port@1
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- width-mm
|
||||
@@ -65,6 +63,8 @@ required:
|
||||
- data-mapping
|
||||
- panel-timing
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |+
|
||||
panel-lvds {
|
||||
|
||||
Reference in New Issue
Block a user