[RFC v1] clk: core: support clocks that need to be enabled during re-parent

Stephen Boyd sboyd at kernel.org
Tue Jun 25 15:14:14 PDT 2019

Quoting Weiyi Lu (2019-06-09 20:44:53)
> When using property assigned-clock-parents to assign parent clocks,
> core clocks might still be disabled during re-parent.
> Add flag 'CLK_OPS_CORE_ENABLE' for those clocks must be enabled
> during re-parent.
> Signed-off-by: Weiyi Lu <weiyi.lu at mediatek.com>

Can you further describe the scenario where this is a problem? Is it
some sort of clk that is enabled by default out of the bootloader and is
then configured to have an 'assigned-clock-parents' property to change
the parent, but that clk needs to be "enabled" so that the framework
turns on the parents for the parent switch?

More information about the Linux-mediatek mailing list