From: Akari Tsuyukusa <akkun11.open@gmail.com>
To: Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Cc: "Takashi Sakamoto" <o-takashi@sakamocchi.jp>,
"Danilo Krummrich" <dakr@kernel.org>,
"Uwe Kleine-König (The Capable Hub)"
<u.kleine-koenig@baylibre.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Akari Tsuyukusa" <akkun11.open@gmail.com>,
"Nicolas Frattaroli" <nicolas.frattaroli@collabora.com>,
"Chen-Yu Tsai" <wenst@chromium.org>,
"Laura Nao" <laura.nao@collabora.com>,
"Sjoerd Simons" <sjoerd@collabora.com>,
linux-clk@vger.kernel.org (open list:COMMON CLK FRAMEWORK),
linux-kernel@vger.kernel.org (open list:ARM/Mediatek SoC support),
linux-arm-kernel@lists.infradead.org (moderated
list:ARM/Mediatek SoC support),
linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek
SoC support)
Subject: [PATCH 3/6] clk: mediatek: Reserve missing MT8167 clock ID
Date: Mon, 21 Sep 2026 19:25:19 +0900 [thread overview]
Message-ID: <20260921102522.1640072-4-akkun11.open@gmail.com> (raw)
In-Reply-To: <20260921102522.1640072-1-akkun11.open@gmail.com>
Reserve the binding-defined CLK_TOP_HDMTX_CLKDIG_CTS slot in
the MT8167 top clock provider with a dummy clock.
The clock is not implemented by the topckgen driver, but the
slot must remain present in the onecell data to keep the
descriptor allocation large enough for the registered IDs.
Assisted-by: GPT-5.6 Luna
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
---
drivers/clk/mediatek/clk-mt8167.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/mediatek/clk-mt8167.c b/drivers/clk/mediatek/clk-mt8167.c
index c64d918c37de..c88c41aa7fdf 100644
--- a/drivers/clk/mediatek/clk-mt8167.c
+++ b/drivers/clk/mediatek/clk-mt8167.c
@@ -746,6 +746,7 @@ static const struct mtk_gate_regs top5_cg_regs = {
GATE_MTK(_id, _name, _parent, &top5_cg_regs, _shift, &mtk_clk_gate_ops_no_setclr)
static const struct mtk_gate top_clks[] = {
+ GATE_DUMMY(CLK_TOP_HDMTX_CLKDIG_CTS, "hdmtx_clkdig_cts_dummy"),
/* TOP0 */
GATE_TOP0(CLK_TOP_PWM_MM, "pwm_mm", "pwm_mm_sel", 0),
GATE_TOP0(CLK_TOP_CAM_MM, "cam_mm", "camtg_mm_sel", 1),
--
2.55.0
next prev parent reply other threads:[~2026-09-21 10:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 10:25 [PATCH 0/6] clk: mediatek: Fix descriptor clock ID allocation Akari Tsuyukusa
2026-09-21 10:25 ` [PATCH 1/6] clk: mediatek: Fix MT6779 clock onecell IDs Akari Tsuyukusa
2026-09-21 10:25 ` [PATCH 2/6] clk: mediatek: Fix MT6797 " Akari Tsuyukusa
2026-09-21 10:25 ` Akari Tsuyukusa [this message]
2026-09-21 10:25 ` [PATCH 4/6] clk: mediatek: Reserve missing MT8173 topckgen IDs Akari Tsuyukusa
2026-09-21 10:25 ` [PATCH 5/6] clk: mediatek: Reserve missing MT8196 MDP clock IDs Akari Tsuyukusa
2026-09-21 10:25 ` [PATCH 6/6] clk: mediatek: Reserve missing MT8516 top " 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=20260921102522.1640072-4-akkun11.open@gmail.com \
--to=akkun11.open@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bhelgaas@google.com \
--cc=bmasney+clk@redhat.com \
--cc=dakr@kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=laura.nao@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=nicolas.frattaroli@collabora.com \
--cc=o-takashi@sakamocchi.jp \
--cc=sboyd@kernel.org \
--cc=sjoerd@collabora.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=wenst@chromium.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®