mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Changhuang Liang <changhuang.liang@starfivetech.com>
To: Brian Masney <bmasney@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
	Changhuang Liang <changhuang.liang@starfivetech.com>
Subject: [PATCH v1 0/2] Add System-1 CRG for JHB100 SoC
Date: Sat, 28 Nov 2026 00:35:52 -0800	[thread overview]
Message-ID: <20261128083554.2993-1-changhuang.liang@starfivetech.com> (raw)

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

             reply	other threads:[~2026-11-28  8:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28  8:35 Changhuang Liang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128083554.2993-1-changhuang.liang@starfivetech.com \
    --to=changhuang.liang@starfivetech.com \
    --cc=bmasney@redhat.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®