public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Make the clock dt-bindings and DT nodes consistent with Linux
@ 2023-07-07 10:50 Hal Feng
  2023-07-07 10:50 ` [PATCH v1 1/5] clk: starfive: jh7110: Separate the PLL driver Hal Feng
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Hal Feng @ 2023-07-07 10:50 UTC (permalink / raw)
  To: Lukasz Majewski, Sean Anderson, Rick Chen, Leo, Torsten Duwe,
	Conor Dooley, Yanhong Wang, Emil Renner Berthing, Xingyu Wu,
	Hal Feng
  Cc: u-boot

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/20230512022036.97987-2-xingyu.wu@starfivetech.com/

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
-- 
2.38.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-24  5:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-07 10:50 [PATCH v1 0/5] Make the clock dt-bindings and DT nodes consistent with Linux Hal Feng
2023-07-07 10:50 ` [PATCH v1 1/5] clk: starfive: jh7110: Separate the PLL driver Hal Feng
2023-07-24  5:14   ` Leo Liang
2023-07-07 10:50 ` [PATCH v1 2/5] riscv: dts: jh7110: Add PLL clock controller node Hal Feng
2023-07-24  5:15   ` Leo Liang
2023-07-07 10:50 ` [PATCH v1 3/5] riscv: dts: jh7110: Add clock source from PLL Hal Feng
2023-07-24  5:15   ` Leo Liang
2023-07-07 10:50 ` [PATCH v1 4/5] dt-bindings: clock: jh7110: Modify clock id to be same with Linux Hal Feng
2023-07-24  5:15   ` Leo Liang
2023-07-07 10:50 ` [PATCH v1 5/5] clk: starfive: jh7110: Add of_xlate ops and macros for clock id conversion Hal Feng
2023-07-24  5:16   ` Leo Liang
2023-07-11  9:09 ` [PATCH v1 0/5] Make the clock dt-bindings and DT nodes consistent with Linux Torsten Duwe
2023-07-12  7:13   ` Hal Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox