2
0

103-clk-at91-sama7g5-allow-SYS-and-CPU-PLLs-to-be-export.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From 55c14526f970805a6bf2ed4b820f062334375abe Mon Sep 17 00:00:00 2001
  2. From: Eugen Hristev <[email protected]>
  3. Date: Thu, 19 Nov 2020 17:43:09 +0200
  4. Subject: [PATCH 103/247] clk: at91: sama7g5: allow SYS and CPU PLLs to be
  5. exported and referenced in DT
  6. Allow SYSPLL and CPUPLL to be referenced as a PMC_TYPE_CORE clock
  7. from phandle in DT.
  8. Suggested-by: Claudiu Beznea <[email protected]>
  9. Signed-off-by: Eugen Hristev <[email protected]>
  10. [[email protected]: adapt commit message, add CPU PLL]
  11. Signed-off-by: Claudiu Beznea <[email protected]>
  12. Link: https://lore.kernel.org/r/[email protected]
  13. Signed-off-by: Stephen Boyd <[email protected]>
  14. ---
  15. drivers/clk/at91/sama7g5.c | 6 ++++--
  16. 1 file changed, 4 insertions(+), 2 deletions(-)
  17. --- a/drivers/clk/at91/sama7g5.c
  18. +++ b/drivers/clk/at91/sama7g5.c
  19. @@ -117,7 +117,8 @@ static const struct {
  20. .p = "cpupll_fracck",
  21. .l = &pll_layout_divpmc,
  22. .t = PLL_TYPE_DIV,
  23. - .c = 1, },
  24. + .c = 1,
  25. + .eid = PMC_CPUPLL, },
  26. },
  27. [PLL_ID_SYS] = {
  28. @@ -131,7 +132,8 @@ static const struct {
  29. .p = "syspll_fracck",
  30. .l = &pll_layout_divpmc,
  31. .t = PLL_TYPE_DIV,
  32. - .c = 1, },
  33. + .c = 1,
  34. + .eid = PMC_SYSPLL, },
  35. },
  36. [PLL_ID_DDR] = {