clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks
Subsystems (3)
PATCH v3 1/2 clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks
Device tree contains assigned-clock-rates property for these, but default value will work just fine
Reviewed-by Kever Yang <[email protected]>
Signed-off-by Vasily Khoruzhick <[email protected]>
---
v3: add r-b tag from Kever
v2: implement stubs for CLK_PCIEPHY_REF instead of dropping assigned-clock properties
drivers/clk/rockchip/clk_rk3568.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/clk/rockchip/clk_rk3568.c +3 -0
@@ -425,6 +425,9 @@ static ulong rk3568_pmuclk_set_rate(struct clk *clk, ulong rate)case PCLK_PMU : ret =rk3568_pmu_set_pmuclk (priv, rate);break ; +case CLK_PCIEPHY0_REF : +case CLK_PCIEPHY1_REF : +return 0 ;default :return -ENOENT ; }
Signature · 1 line
2.39.2
PATCH v3 2/2 arm64:dts: rk356x-u-boot: do not drop combphy1 assigned-clocks/rates
We have stubs for CLK_PCIEPHY_REF now, so there is no reason to modify the dtsi.
This essentialy reverts commit 5bec4b0de785
("arm64: dts: rk356x-u-boot: Drop combphy1 assigned-clocks/rates").
Signed-off-by Vasily Khoruzhick <[email protected]>
---
v3: change patch subject and description from default revert commit to a bit more verbose
v2: revert dropping assigned-clock properties because we have stubs for CLK_PCIEPHY_REF clocks now
arch/arm/dts/rk356x-u-boot.dtsi | 5 ----- 1 file changed, 5 deletions(-)
arch/arm/dts/rk356x-u-boot.dtsi +0 -5
@@ -34,11 +34,6 @@ }; }; -&combphy1 { - /delete-property/ assigned-clocks; - /delete-property/ assigned-clock-rates; -}; - &cru { u-boot,dm-pre-reloc; status = "okay";
Signature · 1 line
2.39.2