mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add System-1 CRG for JHB100 SoC
@ 2026-11-28  8:35 Changhuang Liang
  2026-11-28  8:35 ` [PATCH v1 1/2] clk: starfive: Add JHB100 System-1 clock generator driver Changhuang Liang
  2026-11-28  8:35 ` [PATCH v1 2/2] reset: starfive: jhb100: Add System-1 reset controller support Changhuang Liang
  0 siblings, 2 replies; 3+ messages in thread
From: Changhuang Liang @ 2026-11-28  8:35 UTC (permalink / raw)
  To: Brian Masney, Jerome Brunet, Stephen Boyd, Philipp Zabel
  Cc: linux-clk, linux-kernel, Changhuang Liang

The JHB100 SoC includes CRG (Clock and Reset Generator) for multiple
subsystems:

The JHB100 SoC is divided into multiple subsystems, and basically
each subsystem includes a CRG(Clock and Reset Generator):
 - sys0crg/sys1crg/sys2crg/
 - per0crg/per1crg/per2crg/per3crg/
 - voutcrg
 - vcecrg
 - gpu0crg/gpu1crg
 - cpucrg
 - usbcrg
 - host0crg/host1crg
 - pcierpcrg
 - husb0crg/husb1crg
 - husbcmncrg
 - husbd0crg/husbd1crg
 - npucrg

[1]: https://lore.kernel.org/all/20261008123338.11081-1-changhuang.liang@starfivetech.com/

This is a split of the previously sent large series [1].
The original series had too many patches, and there was a lot of
similar logic among the patches. To reduce the burden of repeating
similar comments and reviews, the original series of patches was
split up and a new series was established.

This series is based on the clk-next branch.

Changes since previous submission:
- Change RESET_STARFIVE_JHB100 from select to imply.
- Describe each clock parent with a struct jh71x0_parent_data. The clock
  table is now made of struct jh71x0_crg_clk_data entries, filled with
  JH71X0_EXT_PARENT() and JH71X0_INT_PARENT().
- Drop the ext_clk/num_ext_clk members of struct jh71x0_crg_domain_info.
- Drop the CLK_IS_CRITICAL and CLK_IGNORE_UNUSED flags.
- Index the reset map by reset ID and drop .discontiguous.

Changhuang Liang (2):
  clk: starfive: Add JHB100 System-1 clock generator driver
  reset: starfive: jhb100: Add System-1 reset controller support

 drivers/clk/starfive/Kconfig                  | 10 +++
 drivers/clk/starfive/Makefile                 |  1 +
 .../clk/starfive/clk-starfive-jhb100-sys1.c   | 89 +++++++++++++++++++
 .../reset/starfive/reset-starfive-jhb100.c    | 23 +++++
 4 files changed, 123 insertions(+)
 create mode 100644 drivers/clk/starfive/clk-starfive-jhb100-sys1.c


base-commit: d8f05ec001e838cdb94fc14efa7c411e676f9ab9
--
2.25.1

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

end of thread, other threads:[~2026-11-28  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28  8:35 [PATCH v1 0/2] Add System-1 CRG for JHB100 SoC Changhuang Liang
2026-11-28  8:35 ` [PATCH v1 1/2] clk: starfive: Add JHB100 System-1 clock generator driver Changhuang Liang
2026-11-28  8:35 ` [PATCH v1 2/2] reset: starfive: jhb100: Add System-1 reset controller support Changhuang Liang

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

all inboxes | Powered by JetHome®