From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: David Lechner <dlechner@baylibre.com>,
"irving.ch.lin" <irving-ch.lin@mediatek.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Richard Cochran <richardcochran@gmail.com>,
Bartosz Golaszewski <brgl@kernel.org>,
Chen-Yu Tsai <wenst@chromium.org>,
Miles Chen <miles.chen@mediatek.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, netdev@vger.kernel.org,
Project_Global_Chrome_Upstream_Group@mediatek.com,
Qiqi Wang <qiqi.wang@mediatek.com>,
sirius.wang@mediatek.com, vince-wl.liu@mediatek.com,
jh.hsu@mediatek.com
Subject: Re: [PATCH v5 05/18] clk: mediatek: Add MT8189 vlpckgen clock support
Date: Mon, 23 Feb 2026 14:54:06 +0100 [thread overview]
Message-ID: <864fe00a-1b4c-4ba0-8f42-c1b04f2999ad@collabora.com> (raw)
In-Reply-To: <e0b39f90-f4a4-46c5-90ff-54a261c075b4@baylibre.com>
Il 19/02/26 22:10, David Lechner ha scritto:
> On 2/2/26 12:28 AM, irving.ch.lin wrote:
>> From: Irving-CH Lin <irving-ch.lin@mediatek.com>
>>
>> Add support for the MT8189 vlpckgen clock controller, which provides
>> muxes and dividers for clock selection in vlp domain for other IP blocks.
>>
>> Signed-off-by: Irving-CH Lin <irving-ch.lin@mediatek.com>
>> ---
>
> ...
>
>> +static const struct mtk_gate vlp_ck_clks[] = {
>> + GATE_VLP_CK(CLK_VLP_CK_VADSYS_VLP_26M_EN, "vlp_vadsys_vlp_26m", "clk26m", 1),
>
> In mediatek,mt8189-clk.h, we have:
>
> #define CLK_VLP_CK_VADSYS_VLP_26M_EN 24
> #define CLK_VLP_CK_SEJ_13M_EN 25
> #define CLK_VLP_CK_SEJ_26M_EN 26
> #define CLK_VLP_CK_FMIPI_CSI_UP26M_CK_EN 27
>
> Are we missing the middle two clocks here?
>
> Or should the be omitted from the header file?
>
The arrays must match bindings, and since the two clocks are missing, this means
that this is completely broken.
Regards,
Angelo
>> + GATE_VLP_CK_FLAGS(CLK_VLP_CK_FMIPI_CSI_UP26M_CK_EN, "VLP_fmipi_csi_up26m",
>> + "osc_d10", 11, CLK_IS_CRITICAL),
>> +};
>> +
next prev parent reply other threads:[~2026-02-23 13:54 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 6:28 [PATCH v5 00/18] Add support for MT8189 clock controller irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 01/18] dt-bindings: clock: Add MediaTek MT8189 clock irving.ch.lin
2026-02-03 22:07 ` David Lechner
2026-02-03 22:16 ` David Lechner
2026-02-05 9:20 ` Krzysztof Kozlowski
2026-02-02 6:28 ` [PATCH v5 02/18] clk: mediatek: clk-mux: Make sure bypass clk enabled while setting MFG rate irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 03/18] clk: mediatek: Add MT8189 apmixedsys clock support irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 04/18] clk: mediatek: Add MT8189 topckgen " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 05/18] clk: mediatek: Add MT8189 vlpckgen " irving.ch.lin
2026-02-19 20:44 ` David Lechner
2026-02-19 21:27 ` David Lechner
2026-02-19 20:49 ` David Lechner
2026-02-23 13:54 ` AngeloGioacchino Del Regno
2026-02-19 21:10 ` David Lechner
2026-02-23 13:54 ` AngeloGioacchino Del Regno [this message]
2026-02-02 6:28 ` [PATCH v5 06/18] clk: mediatek: Add MT8189 vlpcfg " irving.ch.lin
2026-02-19 18:40 ` David Lechner
2026-02-24 12:40 ` Louis-Alexis Eyraud
2026-02-02 6:28 ` [PATCH v5 07/18] clk: mediatek: Add MT8189 bus " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 08/18] clk: mediatek: Add MT8189 cam " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 09/18] clk: mediatek: Add MT8189 dbgao " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 10/18] clk: mediatek: Add MT8189 dvfsrc " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 11/18] clk: mediatek: Add MT8189 i2c " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 12/18] clk: mediatek: Add MT8189 img " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 13/18] clk: mediatek: Add MT8189 mdp " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 14/18] clk: mediatek: Add MT8189 mfg " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 15/18] clk: mediatek: Add MT8189 dispsys " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 16/18] clk: mediatek: Add MT8189 scp " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 17/18] clk: mediatek: Add MT8189 ufs " irving.ch.lin
2026-02-02 6:28 ` [PATCH v5 18/18] clk: mediatek: Add MT8189 vcodec " irving.ch.lin
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=864fe00a-1b4c-4ba0-8f42-c1b04f2999ad@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=irving-ch.lin@mediatek.com \
--cc=jh.hsu@mediatek.com \
--cc=krzk+dt@kernel.org \
--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=miles.chen@mediatek.com \
--cc=mturquette@baylibre.com \
--cc=netdev@vger.kernel.org \
--cc=qiqi.wang@mediatek.com \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=sirius.wang@mediatek.com \
--cc=vince-wl.liu@mediatek.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