* [PATCH v3 1/2] clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks
@ 2023-03-08 5:16 Vasily Khoruzhick
2023-03-08 5:16 ` [PATCH v3 2/2] arm64:dts: rk356x-u-boot: do not drop combphy1 assigned-clocks/rates Vasily Khoruzhick
0 siblings, 1 reply; 2+ messages in thread
From: Vasily Khoruzhick @ 2023-03-08 5:16 UTC (permalink / raw
To: Simon Glass, Philipp Tomsich, Kever Yang, Lukasz Majewski,
Sean Anderson, Mark Kettenis, u-boot
Cc: Vasily Khoruzhick
Device tree contains assigned-clock-rates property for these,
but default value will work just fine
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
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(+)
diff --git a/drivers/clk/rockchip/clk_rk3568.c b/drivers/clk/rockchip/clk_rk3568.c
index 253b69504f..1c6adc56f9 100644
--- a/drivers/clk/rockchip/clk_rk3568.c
+++ b/drivers/clk/rockchip/clk_rk3568.c
@@ -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;
}
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v3 2/2] arm64:dts: rk356x-u-boot: do not drop combphy1 assigned-clocks/rates
2023-03-08 5:16 [PATCH v3 1/2] clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks Vasily Khoruzhick
@ 2023-03-08 5:16 ` Vasily Khoruzhick
0 siblings, 0 replies; 2+ messages in thread
From: Vasily Khoruzhick @ 2023-03-08 5:16 UTC (permalink / raw
To: Simon Glass, Philipp Tomsich, Kever Yang, Lukasz Majewski,
Sean Anderson, Mark Kettenis, u-boot
Cc: Vasily Khoruzhick
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 <anarsoul@gmail.com>
---
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(-)
diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi
index 2331641049..1709604b22 100644
--- a/arch/arm/dts/rk356x-u-boot.dtsi
+++ b/arch/arm/dts/rk356x-u-boot.dtsi
@@ -34,11 +34,6 @@
};
};
-&combphy1 {
- /delete-property/ assigned-clocks;
- /delete-property/ assigned-clock-rates;
-};
-
&cru {
u-boot,dm-pre-reloc;
status = "okay";
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-08 5:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-08 5:16 [PATCH v3 1/2] clk: rockchip: rk3568: add stubs for CLK_PCIEPHY_REF clocks Vasily Khoruzhick
2023-03-08 5:16 ` [PATCH v3 2/2] arm64:dts: rk356x-u-boot: do not drop combphy1 assigned-clocks/rates Vasily Khoruzhick
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.