clk: mediatek: mux: Stop forcing CLK_SET_RATE_PARENT flag
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 16 May 2023 13:52:04 +0000 (15:52 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 13 Jun 2023 01:20:04 +0000 (18:20 -0700)
commit1775790eff4a8fa885db189c75f4ce98e7a6a1dc
tree4e686957c83c0fe4580e3d5192b8d7adee8d088e
parent5f17cdb06e2a90b8318120933afe46b9fb01c129
clk: mediatek: mux: Stop forcing CLK_SET_RATE_PARENT flag

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@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/r/20230516135205.372951-2-angelogioacchino.delregno@collabora.com
Tested-by: Alexandre Mergnat <amergnat@baylibre.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt6765.c
drivers/clk/mediatek/clk-mt6779.c
drivers/clk/mediatek/clk-mt8183.c
drivers/clk/mediatek/clk-mt8186-topckgen.c
drivers/clk/mediatek/clk-mt8188-topckgen.c
drivers/clk/mediatek/clk-mt8192.c
drivers/clk/mediatek/clk-mt8195-topckgen.c
drivers/clk/mediatek/clk-mt8365.c
drivers/clk/mediatek/clk-mux.c