OSDN Git Service

clk: qcom: Add missing freq for usb30_master_clk on 8998
authorJeffrey Hugo <jhugo@codeaurora.org>
Fri, 4 Jan 2019 16:49:46 +0000 (09:49 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 9 Jan 2019 18:57:26 +0000 (10:57 -0800)
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>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8998.c

index b618bbf..96cf00c 100644 (file)
@@ -1112,6 +1112,7 @@ static struct clk_rcg2 ufs_axi_clk_src = {
 
 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),
        { }