0021-v6.3-clk-qcom-ipq8074-populate-fw_name-for-usb3phy-s.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 614d31c231c7707322b643f409eeb7e28adc7f8c Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <[email protected]>
  3. Date: Sun, 8 Jan 2023 13:36:28 +0100
  4. Subject: [PATCH] clk: qcom: ipq8074: populate fw_name for usb3phy-s
  5. Having only .name populated in parent_data for clocks which are only
  6. globally searchable currently will not work as the clk core won't copy
  7. that name if there is no .fw_name present as well.
  8. So, populate .fw_name for usb3phy clocks in parent_data as they were
  9. missed by me in ("clk: qcom: ipq8074: populate fw_name for all parents").
  10. Fixes: ae55ad32e273 ("clk: qcom: ipq8074: convert to parent data")
  11. Signed-off-by: Robert Marko <[email protected]>
  12. ---
  13. drivers/clk/qcom/gcc-ipq8074.c | 4 ++--
  14. 1 file changed, 2 insertions(+), 2 deletions(-)
  15. --- a/drivers/clk/qcom/gcc-ipq8074.c
  16. +++ b/drivers/clk/qcom/gcc-ipq8074.c
  17. @@ -934,7 +934,7 @@ static struct clk_rcg2 usb0_mock_utmi_cl
  18. };
  19. static const struct clk_parent_data gcc_usb3phy_0_cc_pipe_clk_xo[] = {
  20. - { .name = "usb3phy_0_cc_pipe_clk" },
  21. + { .fw_name = "usb3phy_0_cc_pipe_clk", .name = "usb3phy_0_cc_pipe_clk" },
  22. { .fw_name = "xo", .name = "xo" },
  23. };
  24. @@ -1002,7 +1002,7 @@ static struct clk_rcg2 usb1_mock_utmi_cl
  25. };
  26. static const struct clk_parent_data gcc_usb3phy_1_cc_pipe_clk_xo[] = {
  27. - { .name = "usb3phy_1_cc_pipe_clk" },
  28. + { .fw_name = "usb3phy_1_cc_pipe_clk", .name = "usb3phy_1_cc_pipe_clk" },
  29. { .fw_name = "xo", .name = "xo" },
  30. };