Skip to content

Make the clock dt-bindings and DT nodes consistent with Linux

Hal Feng u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: starfive: jh7110: Separate the PLL driverdrivers/clk/starfive/clk-jh7110-pll.c drivers/clk/starfive/clk-jh7110.c drivers/clk/starfive/clk.h+84 -841 reply
2/5riscv: dts: jh7110: Add PLL clock controller nodearch/riscv/dts/jh7110.dtsi+7 -11 reply
3/5riscv: dts: jh7110: Add clock source from PLLarch/riscv/dts/jh7110-starfive-visionfive-2.dtsi arch/riscv/dts/jh7110-u-boot.dtsi arch/riscv/dts/jh7110.dtsi+9 -61 reply
4/5dt-bindings: clock: jh7110: Modify clock id to be same with Linuxinclude/dt-bindings/clock/starfive,jh7110-crg.h+51 -501 reply
5/5clk: starfive: jh7110: Add of_xlate ops and macros for clock id conversiondrivers/clk/starfive/clk-jh7110-pll.c drivers/clk/starfive/clk-jh7110.c drivers/clk/starfive/clk.h+235 -1061 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTorsten DuweLeo Yu-Chi Liang
SeriesR-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v1 thread

Cover letter [PATCH v1 0/5] Make the clock dt-bindings and DT nodes consistent with Linux

The clock dt-bindings and DT nodes are not consistent with Linux now. Let's sync them with Linux, so the same dtb can work for Linux & U-Boot.

To achieve this goal, the PLL clock driver is separated and some clock IDs conversion is needed in clock drivers.

For the motivation, please see the discussion in the link below.

[1] https://patchwork.kernel.org/project/linux-riscv/patch/[email protected]/

Xingyu Wu (5):
clk: starfive: jh7110: Separate the PLL driver
riscv: dts: jh7110: Add PLL clock controller node
riscv: dts: jh7110: Add clock source from PLL
dt-bindings: clock: jh7110: Modify clock id to be same with Linux
clk: starfive: jh7110: Add of_xlate ops and macros for clock id
conversion

 .../dts/jh7110-starfive-visionfive-2.dtsi     |   6 +-
 arch/riscv/dts/jh7110-u-boot.dtsi             |   1 -
 arch/riscv/dts/jh7110.dtsi                    |  16 +-
 drivers/clk/starfive/clk-jh7110-pll.c         | 103 +++++-
 drivers/clk/starfive/clk-jh7110.c             | 306 +++++++++++-------
 drivers/clk/starfive/clk.h                    |  58 +---
 .../dt-bindings/clock/starfive,jh7110-crg.h   | 101 +++---
 7 files changed, 365 insertions(+), 226 deletions(-)

base-commit: e1bebc16e1d9aa0ddd56c53c0b781f7186dce557

Signature · 1 line
2.38.1