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