123-clk-qcom-gcc-ipq806x-remove-cc_register_board-for.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. From ac84ac819a2e8fd3d87122b452c502a386c54437 Mon Sep 17 00:00:00 2001
  2. From: Christian Marangi <[email protected]>
  3. Date: Tue, 5 Jul 2022 18:30:18 +0200
  4. Subject: [PATCH v2 4/4] clk: qcom: gcc-ipq806x: remove cc_register_board for
  5. pxo and cxo
  6. Now that these clock are defined as fixed clk in dts, we can drop the
  7. register_board_clk for cxo_board and pxo_board in gcc_ipq806x_probe.
  8. Signed-off-by: Christian Marangi <[email protected]>
  9. ---
  10. drivers/clk/qcom/gcc-ipq806x.c | 8 --------
  11. 1 file changed, 8 deletions(-)
  12. --- a/drivers/clk/qcom/gcc-ipq806x.c
  13. +++ b/drivers/clk/qcom/gcc-ipq806x.c
  14. @@ -3386,14 +3386,6 @@ static int gcc_ipq806x_probe(struct plat
  15. struct regmap *regmap;
  16. int ret;
  17. - ret = qcom_cc_register_board_clk(dev, "cxo_board", "cxo", 25000000);
  18. - if (ret)
  19. - return ret;
  20. -
  21. - ret = qcom_cc_register_board_clk(dev, "pxo_board", "pxo", 25000000);
  22. - if (ret)
  23. - return ret;
  24. -
  25. if (of_machine_is_compatible("qcom,ipq8065")) {
  26. ubi32_core1_src_clk.freq_tbl = clk_tbl_nss_ipq8065;
  27. ubi32_core2_src_clk.freq_tbl = clk_tbl_nss_ipq8065;