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