]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: clk-mt8195-vdo1: Reparent and set rate on vdo1_dpintf's parent
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 16 Aug 2022 19:32:56 +0000 (15:32 -0400)
committerStephen Boyd <sboyd@kernel.org>
Wed, 31 Aug 2022 17:49:53 +0000 (10:49 -0700)
commit17d36f5a14ca7357836a4a1b165eda2a81a3fe53
treebc88f1eab85df85444fe3a677fd0644f1f229896
parentb399686ec72e7d9c0861e39f3b3f05a7a127e907
clk: mediatek: clk-mt8195-vdo1: Reparent and set rate on vdo1_dpintf's parent

Like it was done for the vdo0_dp_intf0_dp_intf clock (used for eDP),
add the CLK_SET_RATE_PARENT flag to CLK_VDO1_DPINTF (used for DP)
and also fix its parent clock name as it has to be "top_dp" for two
reasons:
 - This is its real parent!
 - Likewise to eDP/VDO0 counterpart, we need clock source
   selection on CLK_TOP_DP.

Fixes: 3a81be5e6e05 ("clk: mediatek: Add MT8195 vdosys1 clock support")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220816193257.658487-3-nfraprado@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mt8195-vdo1.c