From: Akari Tsuyukusa <akkun11.open@gmail.com>
To: mturquette@baylibre.com, sboyd@kernel.org,
matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com
Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Akari Tsuyukusa <akkun11.open@gmail.com>
Subject: [PATCH 0/3] Refactor infracfg drivers to be able to use common helpers
Date: Thu, 5 Mar 2026 03:10:21 +0900 [thread overview]
Message-ID: <20260304181024.738391-1-akkun11.open@gmail.com> (raw)
This series extends the MediaTek clock common framework to support
cpumux and converts existing infracfg drivers to use the common
helpers.
Currently, many MediaTek clock drivers implement their own probe and
remove functions, leading to significant code duplication. By extending
the mtk_clk_desc structure and the __mtk_clk_simple_probe/remove
functions, we can handle these sequences in a unified way.
Summary of changes:
- Patch 1: Add cpumux support to common mtk_clk_simple_probe/remove.
- Patch 2: Convert MT6795 infracfg driver to the common helpers.
- Patch 3: Convert MT7622 infracfg driver to the common helpers.
Akari Tsuyukusa (3):
clk: mediatek: clk-mtk: Add cpumux support to common probe/remove
helpers
clk: mediatek: mt6795-infracfg: Switch to common probe/remove helpers
clk: mediatek: mt7622-infracfg: Switch to common probe/remove helpers
drivers/clk/mediatek/clk-mt6795-infracfg.c | 70 ++++------------------
drivers/clk/mediatek/clk-mt7622-infracfg.c | 70 ++++------------------
drivers/clk/mediatek/clk-mtk.c | 18 +++++-
drivers/clk/mediatek/clk-mtk.h | 2 +
4 files changed, 41 insertions(+), 119 deletions(-)
--
2.52.0
next reply other threads:[~2026-03-04 18:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 18:10 Akari Tsuyukusa [this message]
2026-03-04 18:10 ` [PATCH 1/3] clk: mediatek: clk-mtk: Add cpumux support to common probe/remove helpers Akari Tsuyukusa
2026-03-09 5:25 ` Chen-Yu Tsai
2026-03-04 18:10 ` [PATCH 2/3] clk: mediatek: mt6795-infracfg: Switch " Akari Tsuyukusa
2026-03-04 18:10 ` [PATCH 3/3] clk: mediatek: mt7622-infracfg: " Akari Tsuyukusa
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=20260304181024.738391-1-akkun11.open@gmail.com \
--to=akkun11.open@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mturquette@baylibre.com \
--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