Re: [PATCH v2 1/2] clk: mediatek: mux: Stop forcing CLK_SET_RATE_PARENT flag

From: Alexandre Mergnat
Date: Tue May 23 2023 - 06:54:55 EST


On 16/05/2023 15:52, AngeloGioacchino Del Regno wrote:
The clk-mux driver was forcing the CLK_SET_RATE_PARENT flag even for
the GATE_CLK_SET_UPD_FLAGS() macro, as in mtk_clk_register_mux() the
flag was unconditionally added.

In preparation for a change on MSDC clock muxes, stop forcing this
flag and, where necessary, update clock drivers to add it so that
with this commit we introduce no functional changes for the currently
supported SoCs.

Signed-off-by: AngeloGioacchino Del Regno<angelogioacchino.delregno@xxxxxxxxxxxxx>
Reviewed-by: Matthias Brugger<matthias.bgg@xxxxxxxxx>
Reviewed-by: Markus Schneider-Pargmann<msp@xxxxxxxxxxxx>

Tested on mt8365-evk board.

Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>
Tested-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>