clk: mediatek: mt8173: Add support for frequency hopping through FHCTL
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 6 Feb 2023 10:01:03 +0000 (11:01 +0100)
committerStephen Boyd <sboyd@kernel.org>
Mon, 13 Mar 2023 18:46:38 +0000 (11:46 -0700)
commit45a5cbe05d1f562b24db8ce67bd1bb3a3a9ec425
treecf63884e74b0120c75c5f5727f276cfc4aaa2297
parentf222a1baec5f2f1f1d494589a74646d1411dd8ce
clk: mediatek: mt8173: Add support for frequency hopping through FHCTL

Add FHCTL parameters and register PLLs through FHCTL to add support
for frequency hopping and SSC. FHCTL will be enabled only on PLLs
specified in devicetree.

This commit brings functional changes only upon addition of
devicetree configuration.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230206100105.861720-6-angelogioacchino.delregno@collabora.com
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8173-apmixedsys.c