Skip to content

PolarFire SoC clock devicetree rework

Conor Dooley u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clk: microchip: mpfs: support new syscon based devicetree configurationdrivers/clk/microchip/Kconfig drivers/clk/microchip/mpfs_clk.c drivers/clk/microchip/mpfs_clk.h +2 more+81 -421 reply
2/3board: mpfs_icicle: imply new clk driver dependenciesboard/microchip/mpfs_icicle/Kconfig+2 -01 reply
3/3riscv: dts: mpfs: migrate to OF_UPSTREAMarch/riscv/dts/Makefile arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi arch/riscv/dts/mpfs-icicle-kit-u-boot.dtsi +4 more+8 -8071 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSumit GargLeo Yu-Chi Liang
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] PolarFire SoC clock devicetree rework

From: Conor Dooley <[email protected]>

Here's a U-Boot implementation of the changes I'm trying to make in
https://lore.kernel.org/all/20241002-private-unequal-33cfa6101338@spud/
that affect how the clocks are described in devicetree for PolarFire SoC. There's been no complaints about the only part that impacts U-Boot, so I figured it was time to send patches here.

I've implemented things here in a backwards compatible manner, so that these changes can be applied now without the relevant devicetree patches (since the dust has not settled on all aspects of the rework) and the revised devicetree can make its way into U-Boot via a regular OF_UPSTREAM update once merged "upstream".

~There's minor duplication with Hal's work in patch 3, but I think that's~ ~not particularly important, given it is the addition of a trivial~ ~Makefile we both require:~ ~https://lore.kernel.org/all/[email protected]~

In v2, I rebased on top of master as Sumit suggested to pick up the movement of some dts Makefile, so while there's still a bit of duplication, what's here is "better" than what's linked above.

Cheers,
Conor.

CC Rick Chen <[email protected]>
CC Tom Rini <[email protected]>
CC Conor Dooley <[email protected]>
CC Cyril Jean <[email protected]>
CC Lukasz Majewski <[email protected]>
CC Sean Anderson <[email protected]>
CC Sumit Garg <[email protected]>

Conor Dooley (3):
clk: microchip: mpfs: support new syscon based devicetree
configuration
board: mpfs_icicle: imply new clk driver dependencies
riscv: dts: mpfs: migrate to OF_UPSTREAM

 arch/riscv/dts/Makefile                    |   1 -
 arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi |  71 ---
 arch/riscv/dts/mpfs-icicle-kit-u-boot.dtsi |  14 -
 arch/riscv/dts/mpfs-icicle-kit.dts         | 208 ---------
 arch/riscv/dts/mpfs.dtsi                   | 511 ---------------------
 board/microchip/mpfs_icicle/Kconfig        |   2 +
 configs/microchip_mpfs_icicle_defconfig    |   4 +-
 drivers/clk/microchip/Kconfig              |   2 +
 drivers/clk/microchip/mpfs_clk.c           |  63 ++-
 drivers/clk/microchip/mpfs_clk.h           |   5 +-
 drivers/clk/microchip/mpfs_clk_cfg.c       |  16 +-
 drivers/clk/microchip/mpfs_clk_periph.c    |  37 +-
 dts/upstream/src/riscv/Makefile            |   6 +
 13 files changed, 91 insertions(+), 849 deletions(-)
 delete mode 100644 arch/riscv/dts/mpfs-icicle-kit-fabric.dtsi
 delete mode 100644 arch/riscv/dts/mpfs-icicle-kit-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/mpfs-icicle-kit.dts
 delete mode 100644 arch/riscv/dts/mpfs.dtsi
 create mode 100644 dts/upstream/src/riscv/Makefile
Signature · 1 line
2.45.2