Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-26
-26
Documentation/devicetree/bindings/clock/sprd,sc9860-clk.yaml
··· 114 114 - reg 115 115 properties: 116 116 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 136 117 137 118 additionalProperties: false 138 119 ··· 122 141 soc { 123 142 #address-cells = <2>; 124 143 #size-cells = <2>; 125 - 126 - pmu-gate { 127 - compatible = "sprd,sc9860-pmu-gate"; 128 - clocks = <&ext_26m>; 129 - #clock-cells = <1>; 130 - sprd,syscon = <&pmu_regs>; 131 - }; 132 144 133 145 clock-controller@20000000 { 134 146 compatible = "sprd,sc9860-ap-clk";