Skip to contentSkip to conversation

clk: qcom: Add missing freq for usb30_master_clk on 8998

PATCH Applied Jeffrey Hugo 2 participants 2 messages Jan 4, 2019 – Jan 9, 2019

Subsystems (4)

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 clk: qcom: Add missing freq for usb30_master_clk on 8998

The usb30_master_clk supports a 60Mhz frequency, but that is missing from the table of supported frequencies. Add it.

Fixes b5f5f525c547 (clk: qcom: Add MSM8998 Global Clock Control (GCC) driver)
---
 drivers/clk/qcom/gcc-msm8998.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/qcom/gcc-msm8998.c +1 -0
index 1b77939..42de947 100644
@@ -1112,6 +1112,7 @@ enum {
 
 static const struct freq_tbl ftbl_usb30_master_clk_src[] = {
 	F(19200000, P_XO, 1, 0, 0),
+	F(60000000, P_GPLL0_OUT_MAIN, 10, 0, 0),
 	F(120000000, P_GPLL0_OUT_MAIN, 5, 0, 0),
 	F(150000000, P_GPLL0_OUT_MAIN, 4, 0, 0),
 	{ }
Signature · 3 lines
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
maintainer Applied
#1 lore raw

Quoting Jeffrey Hugo (2019-01-04 08:49:46)

Quoted 6 lines

The usb30_master_clk supports a 60Mhz frequency, but that is missing from the table of supported frequencies. Add it.

Fixes b5f5f525c547 (clk: qcom: Add MSM8998 Global Clock Control (GCC) driver)

---

Applied to clk-next