Thread (49 messages) 49 messages, 4 authors, 2026-04-03

Re: [PATCH v5 22/27] clk: mediatek: Add MT8196 disp1 clock support

From: Chen-Yu Tsai <wenst@chromium.org>
Date: 2025-09-05 08:04:10
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-mediatek, lkml

On Fri, Aug 29, 2025 at 5:21 PM Laura Nao [off-list ref] wrote:
Add support for the MT8196 disp1 clock controller, which provides clock
gate control for the display system. It is integrated with the mtk-mmsys
driver, which registers the disp1 clock driver via
platform_device_register_data().

Signed-off-by: Laura Nao <redacted>
IMO removing CLK_OPS_PARENT_ENABLE is the right thing to do.

However if the hardware ends up does having a requirement that _some_
clock be enabled before touching the registers, then I think the
MTK clock library needs to be refactored, so that a register access
clock can be tied to the regmap. That might also require some work
on the syscon API.

Whether the hardware needs such a clock or not, we would need some input
from MediaTek. There's nothing in the datasheet on this.

Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> # CLK_OPS_PARENT_ENABLE removal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help