Skip to content

Commit

Permalink
dt-bindings: clock: qcom,sc7280-lpasscorecc: order properties to matc…
Browse files Browse the repository at this point in the history
…h convention

By convention we expect first "compatible", then "reg" and then rest.
Order properties to match convention and what is in "required:" block.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240817094605.27185-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  • Loading branch information
Krzysztof Kozlowski authored and Bjorn Andersson committed Dec 12, 2024
1 parent a751a65 commit 2a5711c
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ description: |
include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
properties:
clocks: true

clock-names: true

reg: true

compatible:
enum:
- qcom,sc7280-lpassaoncc
- qcom,sc7280-lpassaudiocc
- qcom,sc7280-lpasscorecc
- qcom,sc7280-lpasshm

power-domains:
maxItems: 1
reg: true

clocks: true

clock-names: true

'#clock-cells':
const: 1

power-domains:
maxItems: 1

'#power-domain-cells':
const: 1

Expand All @@ -57,8 +57,6 @@ required:
- '#clock-cells'
- '#power-domain-cells'

additionalProperties: false

allOf:
- if:
properties:
Expand Down Expand Up @@ -125,6 +123,9 @@ allOf:

reg:
maxItems: 1

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
Expand Down

0 comments on commit 2a5711c

Please sign in to comment.