mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] clk: qcom: gcc-shikra: Add additional frequencies for EMAC RGMII clocks
@ 2026-07-22  4:41 Imran Shaik
  2026-07-31  3:24 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Imran Shaik @ 2026-07-22  4:41 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney
  Cc: Ajit Pandey, Taniya Das, Jagadeesh Kona, linux-arm-msm,
	linux-clk, linux-kernel, Imran Shaik, Mohd Ayaan Anwar,
	Konrad Dybcio

Add support for 2.5MHz and 25MHz GCC EMAC RGMII clock frequencies required
for EMAC 10M and 100M speeds respectively on Qualcomm Shikra SoC.

Tested-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
---
Changes in v2:
- Updated commit text to mention the 10M and 100M speed details [Konrad]
- Collected all the tags received on v1.
- Link to v1: https://lore.kernel.org/r/20260717-b4-shikra-gcc-emac-freqs-v1-1-110966417ac6@oss.qualcomm.com
---
 drivers/clk/qcom/gcc-shikra.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/qcom/gcc-shikra.c b/drivers/clk/qcom/gcc-shikra.c
index d5222756f214c356214039f95a93a28fc542801b..f2ab50209e1c037cb84db67951def053880406ff 100644
--- a/drivers/clk/qcom/gcc-shikra.c
+++ b/drivers/clk/qcom/gcc-shikra.c
@@ -1244,6 +1244,8 @@ static struct clk_rcg2 gcc_emac0_ptp_clk_src = {
 };
 
 static const struct freq_tbl ftbl_gcc_emac0_rgmii_clk_src[] = {
+	F(2500000, P_GPLL0_OUT_AUX2, 10, 1, 12),
+	F(25000000, P_GPLL0_OUT_AUX2, 12, 0, 0),
 	F(50000000, P_GPLL0_OUT_AUX2, 6, 0, 0),
 	F(125000000, P_GPLL12_OUT_AUX2, 4, 0, 0),
 	F(250000000, P_GPLL12_OUT_EARLY, 4, 0, 0),

---
base-commit: 1a1757b76427f6201bfe0bf1bea9f7574f332a93
change-id: 20260717-b4-shikra-gcc-emac-freqs-2469d8b64a75

Best regards,
-- 
Imran Shaik <imran.shaik@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] clk: qcom: gcc-shikra: Add additional frequencies for EMAC RGMII clocks
  2026-07-22  4:41 [PATCH v2] clk: qcom: gcc-shikra: Add additional frequencies for EMAC RGMII clocks Imran Shaik
@ 2026-07-31  3:24 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2026-07-31  3:24 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Brian Masney, Imran Shaik
  Cc: Ajit Pandey, Taniya Das, Jagadeesh Kona, linux-arm-msm,
	linux-clk, linux-kernel, Mohd Ayaan Anwar, Konrad Dybcio


On Wed, 22 Jul 2026 10:11:14 +0530, Imran Shaik wrote:
> Add support for 2.5MHz and 25MHz GCC EMAC RGMII clock frequencies required
> for EMAC 10M and 100M speeds respectively on Qualcomm Shikra SoC.
> 
> 

Applied, thanks!

[1/1] clk: qcom: gcc-shikra: Add additional frequencies for EMAC RGMII clocks
      commit: 60276a9469a1df6c86666ecc21fa8ad10d90e809

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-31  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22  4:41 [PATCH v2] clk: qcom: gcc-shikra: Add additional frequencies for EMAC RGMII clocks Imran Shaik
2026-07-31  3:24 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®