Thread (30 messages) 30 messages, 6 authors, 2026-02-24

Re: [PATCH v5 05/18] clk: mediatek: Add MT8189 vlpckgen clock support

From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Date: 2026-02-23 13:54:09
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-mediatek, lkml

Il 19/02/26 22:10, David Lechner ha scritto:
On 2/2/26 12:28 AM, irving.ch.lin wrote:
quoted
From: Irving-CH Lin <redacted>

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 <redacted>
---
...
quoted
+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
quoted
+	GATE_VLP_CK_FLAGS(CLK_VLP_CK_FMIPI_CSI_UP26M_CK_EN, "VLP_fmipi_csi_up26m",
+			  "osc_d10", 11, CLK_IS_CRITICAL),
+};
+
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help