Linux-Clk Archive on lore.kernel.org
 help / Atom feed
* [PATCH v1 1/6] clk: qcom: Add missing freq for usb30_master_clk on 8998
@ 2019-01-04 16:49 Jeffrey Hugo
  2019-01-09 18:59 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Hugo @ 2019-01-04 16:49 UTC (permalink / raw)
  To: mturquette, sboyd
  Cc: bjorn.andersson, andy.gross, david.brown, linux-arm-msm,
	linux-clk, linux-kernel, kishon, robh+dt, mark.rutland,
	devicetree, gregkh, balbi, linux-usb, Jeffrey Hugo

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)
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
---
 drivers/clk/qcom/gcc-msm8998.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c
index 1b77939..42de947 100644
--- a/drivers/clk/qcom/gcc-msm8998.c
+++ b/drivers/clk/qcom/gcc-msm8998.c
@@ -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),
 	{ }
-- 
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.


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

* Re: [PATCH v1 1/6] clk: qcom: Add missing freq for usb30_master_clk on 8998
  2019-01-04 16:49 [PATCH v1 1/6] clk: qcom: Add missing freq for usb30_master_clk on 8998 Jeffrey Hugo
@ 2019-01-09 18:59 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-01-09 18:59 UTC (permalink / raw)
  To: Jeffrey Hugo, mturquette
  Cc: bjorn.andersson, andy.gross, david.brown, linux-arm-msm,
	linux-clk, linux-kernel, kishon, robh+dt, mark.rutland,
	devicetree, gregkh, balbi, linux-usb, Jeffrey Hugo

Quoting Jeffrey Hugo (2019-01-04 08:49:46)
> 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)
> Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
> ---

Applied to clk-next


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 16:49 [PATCH v1 1/6] clk: qcom: Add missing freq for usb30_master_clk on 8998 Jeffrey Hugo
2019-01-09 18:59 ` Stephen Boyd

Linux-Clk Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-clk/0 linux-clk/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-clk linux-clk/ https://lore.kernel.org/linux-clk \
		linux-clk@vger.kernel.org linux-clk@archiver.kernel.org
	public-inbox-index linux-clk


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-clk


AGPL code for this site: git clone https://public-inbox.org/ public-inbox