Skip to content

Commit 73d6bd7

Browse files
committed
Merge branch 'clk-qcom' into clk-next
* clk-qcom: clk: qcom: gcc: Make disp gpll0 branch aon for sc7180/sdm845 ipq806x: gcc: add support for child probe clk: qcom: msm8996: Make symbol 'cpu_msm8996_clks' static clk: qcom: ipq8074: Add correct index for PCIe clocks
2 parents 46e3ecd + 9c3df2b commit 73d6bd7

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

drivers/clk/qcom/clk-cpu-8996.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ static const struct regmap_config cpu_msm8996_regmap_config = {
338338
.val_format_endian = REGMAP_ENDIAN_LITTLE,
339339
};
340340

341-
struct clk_regmap *cpu_msm8996_clks[] = {
341+
static struct clk_regmap *cpu_msm8996_clks[] = {
342342
&perfcl_pll.clkr,
343343
&pwrcl_pll.clkr,
344344
&perfcl_alt_pll.clkr,

drivers/clk/qcom/gcc-ipq806x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ static int gcc_ipq806x_probe(struct platform_device *pdev)
30893089
regmap_write(regmap, 0x3cf8, 8);
30903090
regmap_write(regmap, 0x3d18, 8);
30913091

3092-
return 0;
3092+
return of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);
30933093
}
30943094

30953095
static struct platform_driver gcc_ipq806x_driver = {

drivers/clk/qcom/gcc-sc7180.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ static struct clk_branch gcc_disp_gpll0_clk_src = {
10611061
.hw = &gpll0.clkr.hw,
10621062
},
10631063
.num_parents = 1,
1064-
.ops = &clk_branch2_ops,
1064+
.ops = &clk_branch2_aon_ops,
10651065
},
10661066
},
10671067
};

drivers/clk/qcom/gcc-sdm845.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
3+
* Copyright (c) 2018, 2020, The Linux Foundation. All rights reserved.
44
*/
55

66
#include <linux/kernel.h>
@@ -1344,7 +1344,7 @@ static struct clk_branch gcc_disp_gpll0_clk_src = {
13441344
"gpll0",
13451345
},
13461346
.num_parents = 1,
1347-
.ops = &clk_branch2_ops,
1347+
.ops = &clk_branch2_aon_ops,
13481348
},
13491349
},
13501350
};

include/dt-bindings/clock/qcom,gcc-ipq8074.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@
230230
#define GCC_GP1_CLK 221
231231
#define GCC_GP2_CLK 222
232232
#define GCC_GP3_CLK 223
233+
#define GCC_PCIE0_AXI_S_BRIDGE_CLK 224
234+
#define GCC_PCIE0_RCHNG_CLK_SRC 225
235+
#define GCC_PCIE0_RCHNG_CLK 226
233236

234237
#define GCC_BLSP1_BCR 0
235238
#define GCC_BLSP1_QUP1_BCR 1
@@ -363,8 +366,5 @@
363366
#define GCC_PCIE1_AHB_ARES 129
364367
#define GCC_PCIE1_AXI_MASTER_STICKY_ARES 130
365368
#define GCC_PCIE0_AXI_SLAVE_STICKY_ARES 131
366-
#define GCC_PCIE0_AXI_S_BRIDGE_CLK 132
367-
#define GCC_PCIE0_RCHNG_CLK_SRC 133
368-
#define GCC_PCIE0_RCHNG_CLK 134
369369

370370
#endif

0 commit comments

Comments
 (0)