Commit e95e8253 authored by Ansuel Smith's avatar Ansuel Smith Committed by Bjorn Andersson

clk: qcom: gcc-ipq806x: fix wrong naming for gcc_pxo_pll8_pll0

Parent gcc_pxo_pll8_pll0 had the parent definition and parent map
swapped. Fix this naming error.
Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Tested-by: default avatarJonathan McDowell <noodles@earth.li>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220226135235.10051-5-ansuelsmth@gmail.com
parent 85e12587
...@@ -291,13 +291,13 @@ static const char * const gcc_pxo_pll3[] = { ...@@ -291,13 +291,13 @@ static const char * const gcc_pxo_pll3[] = {
"pll3", "pll3",
}; };
static const struct parent_map gcc_pxo_pll8_pll0[] = { static const struct parent_map gcc_pxo_pll8_pll0_map[] = {
{ P_PXO, 0 }, { P_PXO, 0 },
{ P_PLL8, 3 }, { P_PLL8, 3 },
{ P_PLL0, 2 } { P_PLL0, 2 }
}; };
static const char * const gcc_pxo_pll8_pll0_map[] = { static const char * const gcc_pxo_pll8_pll0[] = {
"pxo", "pxo",
"pll8_vote", "pll8_vote",
"pll0_vote", "pll0_vote",
...@@ -1993,7 +1993,7 @@ static struct clk_rcg usb30_master_clk_src = { ...@@ -1993,7 +1993,7 @@ static struct clk_rcg usb30_master_clk_src = {
}, },
.s = { .s = {
.src_sel_shift = 0, .src_sel_shift = 0,
.parent_map = gcc_pxo_pll8_pll0, .parent_map = gcc_pxo_pll8_pll0_map,
}, },
.freq_tbl = clk_tbl_usb30_master, .freq_tbl = clk_tbl_usb30_master,
.clkr = { .clkr = {
...@@ -2001,7 +2001,7 @@ static struct clk_rcg usb30_master_clk_src = { ...@@ -2001,7 +2001,7 @@ static struct clk_rcg usb30_master_clk_src = {
.enable_mask = BIT(11), .enable_mask = BIT(11),
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "usb30_master_ref_src", .name = "usb30_master_ref_src",
.parent_names = gcc_pxo_pll8_pll0_map, .parent_names = gcc_pxo_pll8_pll0,
.num_parents = 3, .num_parents = 3,
.ops = &clk_rcg_ops, .ops = &clk_rcg_ops,
.flags = CLK_SET_RATE_GATE, .flags = CLK_SET_RATE_GATE,
...@@ -2063,7 +2063,7 @@ static struct clk_rcg usb30_utmi_clk = { ...@@ -2063,7 +2063,7 @@ static struct clk_rcg usb30_utmi_clk = {
}, },
.s = { .s = {
.src_sel_shift = 0, .src_sel_shift = 0,
.parent_map = gcc_pxo_pll8_pll0, .parent_map = gcc_pxo_pll8_pll0_map,
}, },
.freq_tbl = clk_tbl_usb30_utmi, .freq_tbl = clk_tbl_usb30_utmi,
.clkr = { .clkr = {
...@@ -2071,7 +2071,7 @@ static struct clk_rcg usb30_utmi_clk = { ...@@ -2071,7 +2071,7 @@ static struct clk_rcg usb30_utmi_clk = {
.enable_mask = BIT(11), .enable_mask = BIT(11),
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "usb30_utmi_clk", .name = "usb30_utmi_clk",
.parent_names = gcc_pxo_pll8_pll0_map, .parent_names = gcc_pxo_pll8_pll0,
.num_parents = 3, .num_parents = 3,
.ops = &clk_rcg_ops, .ops = &clk_rcg_ops,
.flags = CLK_SET_RATE_GATE, .flags = CLK_SET_RATE_GATE,
...@@ -2133,7 +2133,7 @@ static struct clk_rcg usb_hs1_xcvr_clk_src = { ...@@ -2133,7 +2133,7 @@ static struct clk_rcg usb_hs1_xcvr_clk_src = {
}, },
.s = { .s = {
.src_sel_shift = 0, .src_sel_shift = 0,
.parent_map = gcc_pxo_pll8_pll0, .parent_map = gcc_pxo_pll8_pll0_map,
}, },
.freq_tbl = clk_tbl_usb, .freq_tbl = clk_tbl_usb,
.clkr = { .clkr = {
...@@ -2141,7 +2141,7 @@ static struct clk_rcg usb_hs1_xcvr_clk_src = { ...@@ -2141,7 +2141,7 @@ static struct clk_rcg usb_hs1_xcvr_clk_src = {
.enable_mask = BIT(11), .enable_mask = BIT(11),
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "usb_hs1_xcvr_src", .name = "usb_hs1_xcvr_src",
.parent_names = gcc_pxo_pll8_pll0_map, .parent_names = gcc_pxo_pll8_pll0,
.num_parents = 3, .num_parents = 3,
.ops = &clk_rcg_ops, .ops = &clk_rcg_ops,
.flags = CLK_SET_RATE_GATE, .flags = CLK_SET_RATE_GATE,
...@@ -2197,7 +2197,7 @@ static struct clk_rcg usb_fs1_xcvr_clk_src = { ...@@ -2197,7 +2197,7 @@ static struct clk_rcg usb_fs1_xcvr_clk_src = {
}, },
.s = { .s = {
.src_sel_shift = 0, .src_sel_shift = 0,
.parent_map = gcc_pxo_pll8_pll0, .parent_map = gcc_pxo_pll8_pll0_map,
}, },
.freq_tbl = clk_tbl_usb, .freq_tbl = clk_tbl_usb,
.clkr = { .clkr = {
...@@ -2205,7 +2205,7 @@ static struct clk_rcg usb_fs1_xcvr_clk_src = { ...@@ -2205,7 +2205,7 @@ static struct clk_rcg usb_fs1_xcvr_clk_src = {
.enable_mask = BIT(11), .enable_mask = BIT(11),
.hw.init = &(struct clk_init_data){ .hw.init = &(struct clk_init_data){
.name = "usb_fs1_xcvr_src", .name = "usb_fs1_xcvr_src",
.parent_names = gcc_pxo_pll8_pll0_map, .parent_names = gcc_pxo_pll8_pll0,
.num_parents = 3, .num_parents = 3,
.ops = &clk_rcg_ops, .ops = &clk_rcg_ops,
.flags = CLK_SET_RATE_GATE, .flags = CLK_SET_RATE_GATE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment