[PATCH v5 19/27] clk: mediatek: Add MT8196 mdpsys clock support
Chen-Yu Tsai
wenst at chromium.org
Fri Sep 5 01:04:32 PDT 2025
On Fri, Aug 29, 2025 at 5:21 PM Laura Nao <laura.nao at collabora.com> wrote:
>
> Add support for the MT8196 mdpsys clock controller, which provides clock
> gate control for MDP.
>
> Signed-off-by: Laura Nao <laura.nao at collabora.com>
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 at chromium.org> # CLK_OPS_PARENT_ENABLE removal
More information about the linux-arm-kernel
mailing list