aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Jonker <[email protected]>2022-03-29 17:07:40 +0200
committerHeiko Stuebner <[email protected]>2022-04-10 19:05:48 +0200
commit7adc1b98bb6e6611bc9122de77737b193b693122 (patch)
tree6ece1eb5f1e46cb8827ad3cdd31681774860c885
parent91154f0cd889ed3772a0ac0e24ee363f93fe784c (diff)
dt-bindings: clock: fix rk3399 cru clock issues
The current rk3399 cru DT node gives warnings like: 'clocks' is a dependency of 'assigned-clocks'. With the YAML conversion somehow "assigned-xxx" properties where added. If a proper clock is added to the cru node these properties are no longer needed, so removed them. Currently only one clock will be added, so limit the clock maxItems to 1. Add a clock name to be able to differentiate and filter bogus entries. Signed-off-by: Johan Jonker <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml15
1 files changed, 3 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
index 18a0093115a1..54da1e31ea73 100644
--- a/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
+++ b/Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.yaml
@@ -46,19 +46,10 @@ properties:
const: 1
clocks:
- minItems: 1
-
- assigned-clocks:
- minItems: 1
- maxItems: 64
-
- assigned-clock-parents:
- minItems: 1
- maxItems: 64
+ maxItems: 1
- assigned-clock-rates:
- minItems: 1
- maxItems: 64
+ clock-names:
+ const: xin24m
rockchip,grf:
$ref: /schemas/types.yaml#/definitions/phandle