Skip to content

Commit 512e156

Browse files
committed
dt-bindings: clock: sprd,sc9860-clk: Allow "reg" for gate clocks
The gate bindings have an artificial split between a "syscon" and clock provider node. Allow "reg" properties so this split can be removed. Reviewed-by: Chunyan Zhang <zhang.lyra@gmail.com> Link: https://patch.msgid.link/20251029155615.1167903-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 7fff398 commit 512e156

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

Documentation/devicetree/bindings/clock/sprd,sc9860-clk.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -114,25 +114,6 @@ allOf:
114114
- reg
115115
properties:
116116
sprd,syscon: false
117-
- if:
118-
properties:
119-
compatible:
120-
contains:
121-
enum:
122-
- sprd,sc9860-agcp-gate
123-
- sprd,sc9860-aon-gate
124-
- sprd,sc9860-apahb-gate
125-
- sprd,sc9860-apapb-gate
126-
- sprd,sc9860-cam-gate
127-
- sprd,sc9860-disp-gate
128-
- sprd,sc9860-pll
129-
- sprd,sc9860-pmu-gate
130-
- sprd,sc9860-vsp-gate
131-
then:
132-
required:
133-
- sprd,syscon
134-
properties:
135-
reg: false
136117

137118
additionalProperties: false
138119

@@ -142,13 +123,6 @@ examples:
142123
#address-cells = <2>;
143124
#size-cells = <2>;
144125
145-
pmu-gate {
146-
compatible = "sprd,sc9860-pmu-gate";
147-
clocks = <&ext_26m>;
148-
#clock-cells = <1>;
149-
sprd,syscon = <&pmu_regs>;
150-
};
151-
152126
clock-controller@20000000 {
153127
compatible = "sprd,sc9860-ap-clk";
154128
reg = <0 0x20000000 0 0x400>;

0 commit comments

Comments
 (0)