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

dt-bindings: clk: mpfs document msspll dri registers

As there are two sections of registers that are responsible for clock
configuration on the PolarFire SoC: add the dynamic reconfiguration
interface section to the binding & describe what each of the sections
are used for.

Fixes: 2145bb687e3f ("dt-bindings: clk: microchip: Add Microchip PolarFire host binding")
Reviewed-by: Daire McNamara <daire.mcnamara@microchip.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220413075835.3354193-5-conor.dooley@microchip.com
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Conor Dooley and committed by
Stephen Boyd
3ebb9fdf 2b6190c8

+11 -2
+11 -2
Documentation/devicetree/bindings/clock/microchip,mpfs.yaml
··· 22 22 const: microchip,mpfs-clkcfg 23 23 24 24 reg: 25 - maxItems: 1 25 + items: 26 + - description: | 27 + clock config registers: 28 + These registers contain enable, reset & divider tables for the, cpu, 29 + axi, ahb and rtc/mtimer reference clocks as well as enable and reset 30 + for the peripheral clocks. 31 + - description: | 32 + mss pll dri registers: 33 + Block of registers responsible for dynamic reconfiguration of the mss 34 + pll 26 35 27 36 clocks: 28 37 maxItems: 1 ··· 60 51 #size-cells = <2>; 61 52 clkcfg: clock-controller@20002000 { 62 53 compatible = "microchip,mpfs-clkcfg"; 63 - reg = <0x0 0x20002000 0x0 0x1000>; 54 + reg = <0x0 0x20002000 0x0 0x1000>, <0x0 0x3E001000 0x0 0x1000>; 64 55 clocks = <&ref>; 65 56 #clock-cells = <1>; 66 57 };