[PATCH v2 1/8] dt-bindings: clk: mstar msc313 cpupll: Correct clock-cells value
From: Daniel Palmer
Date: Wed Dec 31 2025 - 22:43:30 EST
clock-cells should have been 0 and causes warnings when
validating devicetrees.
Fix the value and fix the binding example.
Signed-off-by: Daniel Palmer <daniel@xxxxxxxx>
---
.../devicetree/bindings/clock/mstar,msc313-cpupll.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml b/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
index a9ad7ab5230c..889419fba269 100644
--- a/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
+++ b/Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml
@@ -18,7 +18,7 @@ properties:
const: mstar,msc313-cpupll
"#clock-cells":
- const: 1
+ const: 0
clocks:
maxItems: 1
@@ -36,10 +36,9 @@ additionalProperties: false
examples:
- |
- #include <dt-bindings/clock/mstar-msc313-mpll.h>
cpupll: cpupll@206400 {
compatible = "mstar,msc313-cpupll";
reg = <0x206400 0x200>;
- #clock-cells = <1>;
+ #clock-cells = <0>;
clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>;
};
--
2.51.0