kernel: bump 4.14 to 4.14.48 for 18.06
[openwrt/openwrt.git] / target / linux / ipq806x / patches-4.14 / 0040-clk-qcom-Add-IPQ806X-s-HFPLLs.patch
index f17e96d0c1d9bdab00b6c945aff2f3c25958db0d..c3af0fa55ccb438f253a02ffb43597bf9a138c70 100644 (file)
@@ -30,12 +30,12 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  #include "clk-branch.h"
 +#include "clk-hfpll.h"
  #include "reset.h"
-
  static struct clk_pll pll0 = {
 @@ -113,6 +114,84 @@ static struct clk_regmap pll8_vote = {
-       },
+       },
  };
-
 +static struct hfpll_data hfpll0_data = {
 +      .mode_reg = 0x3200,
 +      .l_reg = 0x3208,
@@ -115,15 +115,15 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
 +};
 +
  static struct clk_pll pll14 = {
-       .l_reg = 0x31c4,
-       .m_reg = 0x31c8,
+       .l_reg = 0x31c4,
+       .m_reg = 0x31c8,
 @@ -2801,6 +2880,9 @@ static struct clk_regmap *gcc_ipq806x_cl
-       [UBI32_CORE2_CLK_SRC] = &ubi32_core2_src_clk.clkr,
-       [NSSTCM_CLK_SRC] = &nss_tcm_src.clkr,
-       [NSSTCM_CLK] = &nss_tcm_clk.clkr,
+       [UBI32_CORE2_CLK_SRC] = &ubi32_core2_src_clk.clkr,
+       [NSSTCM_CLK_SRC] = &nss_tcm_src.clkr,
+       [NSSTCM_CLK] = &nss_tcm_clk.clkr,
 +      [PLL9] = &hfpll0.clkr,
 +      [PLL10] = &hfpll1.clkr,
 +      [PLL12] = &hfpll_l2.clkr,
  };
-
  static const struct qcom_reset_map gcc_ipq806x_resets[] = {