Skip to content

Commit 8f2fcac

Browse files
committed
Merge tag 'qcom-clk-for-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into clk-qcom
Pull Qualcomm clk driver updates from Bjorn Andersson: This introduces display clock controllers are introduces for SM6115 and SM8450, and SC8280XP gains a GPU clock controller. MSM8909 and SM6375 gains global and SMD RPM clock controller drivers. The handling of GDSCs with PWRSTS_RET was fixed, to keep the GDSC on while powering down the parent supply. This solved retention issues during suspend of USB on sc7180/7280 and SC8280XP. SM6115 and QCM2260 are moved to reuse PLL configuration. SDM660 SDCC1 was moved to floor ops. Support for the APCS PLLs for IPQ8064, IPQ8074 and IPQ6018 was added/fixed. The MSM8996 CPU clocks was updated, with support for ACD clocks added. Support for SDM670 was added to the SDM845 Glbal clock controller and the RPMh clock controller driver. Transition to parent_data, parent_hws and use of ARRAY_SIZE() for num_parents was done for MSM8660, MSM8916, MSM8939, MSM8960 global clock controllers, IPQ8064 LPASS clock controller and MSM8960 multimedia clock controller. Support for per-reset defined delay of was introduced. * tag 'qcom-clk-for-6.1' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (93 commits) clk: qcom: gcc-msm8939: use ARRAY_SIZE instead of specifying num_parents clk: qcom: gcc-msm8939: use parent_hws where possible dt-bindings: clock: move qcom,gcc-msm8939 to qcom,gcc-msm8916.yaml clk: qcom: gcc-sm6350: Update the .pwrsts for usb gdscs clk: qcom: gcc-sc8280xp: use retention for USB power domains clk: qcom: gdsc: add missing error handling dt-bindings: clocks: qcom,gcc-sc8280xp: Fix typos clk: qcom: Add global clock controller driver for SM6375 dt-bindings: clock: add SM6375 QCOM global clock bindings clk: qcom: alpha: Add support for programming the PLL_FSM_LEGACY_MODE bit clk: qcom: gcc-sc7280: Update the .pwrsts for usb gdscs clk: qcom: gcc-sc7180: Update the .pwrsts for usb gdsc clk: qcom: gdsc: Fix the handling of PWRSTS_RET support clk: qcom: Add SC8280XP GPU clock controller dt-bindings: clock: Add Qualcomm SC8280XP GPU binding clk: qcom: smd: Add SM6375 clocks dt-bindings: clock: qcom: rpmcc: Add BIMC_FREQ_LOG dt-bindings: clock: qcom,rpmcc: Add compatible for SM6375 clk: qcom: rpmhcc: add sdm670 clocks dt-bindings: clock: add rpmhcc bindings for sdm670 ...
2 parents 568035b + 994c77e commit 8f2fcac

File tree

85 files changed

+13613
-2203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+13613
-2203
lines changed

Documentation/devicetree/bindings/clock/qcom,a53pll.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm A53 PLL Binding
88

99
maintainers:
10-
- Sivaprakash Murugesan <sivaprak@codeaurora.org>
10+
- Bjorn Andersson <andersson@kernel.org>
1111

1212
description:
1313
The A53 PLL on few Qualcomm platforms is the main CPU PLL used used for
@@ -17,6 +17,7 @@ properties:
1717
compatible:
1818
enum:
1919
- qcom,ipq6018-a53pll
20+
- qcom,ipq8074-a53pll
2021
- qcom,msm8916-a53pll
2122
- qcom,msm8939-a53pll
2223

Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ properties:
3838
description: child tsens device
3939
$ref: /schemas/thermal/qcom-tsens.yaml#
4040

41+
clocks:
42+
maxItems: 3
43+
44+
clock-names:
45+
items:
46+
- const: cxo
47+
- const: pxo
48+
- const: pll4
49+
4150
nvmem-cells:
4251
minItems: 1
4352
maxItems: 2
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8660.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Global Clock & Reset Controller Binding for MSM8660
8+
9+
maintainers:
10+
- Stephen Boyd <sboyd@kernel.org>
11+
- Taniya Das <quic_tdas@quicinc.com>
12+
13+
description: |
14+
Qualcomm global clock control module which supports the clocks and resets on
15+
MSM8660
16+
17+
See also:
18+
- dt-bindings/clock/qcom,gcc-msm8660.h
19+
- dt-bindings/reset/qcom,gcc-msm8660.h
20+
21+
allOf:
22+
- $ref: "qcom,gcc.yaml#"
23+
24+
properties:
25+
compatible:
26+
enum:
27+
- qcom,gcc-msm8660
28+
29+
clocks:
30+
maxItems: 2
31+
32+
clock-names:
33+
items:
34+
- const: pxo
35+
- const: cxo
36+
37+
required:
38+
- compatible
39+
40+
unevaluatedProperties: false
41+
42+
examples:
43+
# Example for GCC for MSM8974:
44+
- |
45+
clock-controller@900000 {
46+
compatible = "qcom,gcc-msm8660";
47+
reg = <0x900000 0x4000>;
48+
#clock-cells = <1>;
49+
#reset-cells = <1>;
50+
#power-domain-cells = <1>;
51+
clocks = <&pxo_board>, <&cxo_board>;
52+
clock-names = "pxo", "cxo";
53+
};
54+
...
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8909.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Global Clock & Reset Controller Binding for MSM8909
8+
9+
maintainers:
10+
- Stephan Gerhold <stephan@gerhold.net>
11+
12+
description: |
13+
Qualcomm global clock control module which supports the clocks, resets and
14+
power domains on MSM8909.
15+
16+
See also:
17+
- dt-bindings/clock/qcom,gcc-msm8909.h
18+
19+
properties:
20+
compatible:
21+
const: qcom,gcc-msm8909
22+
23+
clocks:
24+
items:
25+
- description: XO source
26+
- description: Sleep clock source
27+
- description: DSI phy instance 0 dsi clock
28+
- description: DSI phy instance 0 byte clock
29+
30+
clock-names:
31+
items:
32+
- const: xo
33+
- const: sleep_clk
34+
- const: dsi0pll
35+
- const: dsi0pllbyte
36+
37+
required:
38+
- compatible
39+
- clocks
40+
- clock-names
41+
42+
allOf:
43+
- $ref: qcom,gcc.yaml#
44+
45+
unevaluatedProperties: false
46+
47+
examples:
48+
- |
49+
gcc: clock-controller@1800000 {
50+
compatible = "qcom,gcc-msm8909";
51+
reg = <0x01800000 0x80000>;
52+
#clock-cells = <1>;
53+
#reset-cells = <1>;
54+
#power-domain-cells = <1>;
55+
clocks = <&xo_board>, <&sleep_clk>, <&dsi0_phy 1>, <&dsi0_phy 0>;
56+
clock-names = "xo", "sleep_clk", "dsi0pll", "dsi0pllbyte";
57+
};
58+
...
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8916.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Global Clock & Reset Controller Binding for MSM8916 and MSM8939
8+
9+
maintainers:
10+
- Stephen Boyd <sboyd@kernel.org>
11+
- Taniya Das <quic_tdas@quicinc.com>
12+
13+
description: |
14+
Qualcomm global clock control module which supports the clocks, resets and
15+
power domains on MSM8916 or MSM8939.
16+
17+
See also:
18+
- dt-bindings/clock/qcom,gcc-msm8916.h
19+
- dt-bindings/clock/qcom,gcc-msm8939.h
20+
- dt-bindings/reset/qcom,gcc-msm8916.h
21+
- dt-bindings/reset/qcom,gcc-msm8939.h
22+
23+
properties:
24+
compatible:
25+
enum:
26+
- qcom,gcc-msm8916
27+
- qcom,gcc-msm8939
28+
29+
clocks:
30+
items:
31+
- description: XO source
32+
- description: Sleep clock source
33+
- description: DSI phy instance 0 dsi clock
34+
- description: DSI phy instance 0 byte clock
35+
- description: External MCLK clock
36+
- description: External Primary I2S clock
37+
- description: External Secondary I2S clock
38+
39+
clock-names:
40+
items:
41+
- const: xo
42+
- const: sleep_clk
43+
- const: dsi0pll
44+
- const: dsi0pllbyte
45+
- const: ext_mclk
46+
- const: ext_pri_i2s
47+
- const: ext_sec_i2s
48+
49+
required:
50+
- compatible
51+
52+
allOf:
53+
- $ref: qcom,gcc.yaml#
54+
55+
unevaluatedProperties: false
56+
57+
examples:
58+
- |
59+
clock-controller@300000 {
60+
compatible = "qcom,gcc-msm8916";
61+
#clock-cells = <1>;
62+
#reset-cells = <1>;
63+
#power-domain-cells = <1>;
64+
reg = <0x300000 0x90000>;
65+
};
66+
...

Documentation/devicetree/bindings/clock/qcom,gcc-msm8976.yaml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,16 @@ properties:
4545
description:
4646
Phandle to voltage regulator providing power to the GX domain.
4747

48-
'#clock-cells':
49-
const: 1
50-
51-
'#reset-cells':
52-
const: 1
53-
54-
'#power-domain-cells':
55-
const: 1
56-
57-
reg:
58-
maxItems: 1
59-
6048
required:
6149
- compatible
62-
- reg
6350
- clocks
6451
- clock-names
6552
- vdd_gfx-supply
66-
- '#clock-cells'
67-
- '#reset-cells'
68-
- '#power-domain-cells'
6953

70-
additionalProperties: false
54+
allOf:
55+
- $ref: qcom,gcc.yaml#
56+
57+
unevaluatedProperties: false
7158

7259
examples:
7360
- |

Documentation/devicetree/bindings/clock/qcom,gcc-msm8994.yaml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,15 @@ properties:
3232
- const: xo
3333
- const: sleep
3434

35-
'#clock-cells':
36-
const: 1
37-
38-
'#reset-cells':
39-
const: 1
40-
41-
'#power-domain-cells':
42-
const: 1
43-
44-
reg:
45-
maxItems: 1
46-
4735
required:
4836
- compatible
4937
- clocks
5038
- clock-names
51-
- reg
52-
- '#clock-cells'
53-
- '#reset-cells'
54-
- '#power-domain-cells'
5539

56-
additionalProperties: false
40+
allOf:
41+
- $ref: qcom,gcc.yaml#
42+
43+
unevaluatedProperties: false
5744

5845
examples:
5946
- |

Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,30 +49,13 @@ properties:
4949
- const: ufs_rx_symbol_1_clk_src
5050
- const: ufs_tx_symbol_0_clk_src
5151

52-
'#clock-cells':
53-
const: 1
54-
55-
'#reset-cells':
56-
const: 1
57-
58-
'#power-domain-cells':
59-
const: 1
60-
61-
reg:
62-
maxItems: 1
63-
64-
protected-clocks:
65-
description:
66-
Protected clock specifier list as per common clock binding.
67-
6852
required:
6953
- compatible
70-
- reg
71-
- '#clock-cells'
72-
- '#reset-cells'
73-
- '#power-domain-cells'
7454

75-
additionalProperties: false
55+
allOf:
56+
- $ref: qcom,gcc.yaml#
57+
58+
unevaluatedProperties: false
7659

7760
examples:
7861
- |

Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,15 @@ properties:
3737
- const: core_bi_pll_test_se # Optional clock
3838
minItems: 2
3939

40-
'#clock-cells':
41-
const: 1
42-
43-
'#reset-cells':
44-
const: 1
45-
46-
'#power-domain-cells':
47-
const: 1
48-
49-
reg:
50-
maxItems: 1
51-
52-
protected-clocks:
53-
description:
54-
Protected clock specifier list as per common clock binding.
55-
5640
required:
5741
- compatible
5842
- clocks
5943
- clock-names
60-
- reg
61-
- '#clock-cells'
62-
- '#reset-cells'
63-
- '#power-domain-cells'
6444

65-
additionalProperties: false
45+
allOf:
46+
- $ref: qcom,gcc.yaml#
47+
48+
unevaluatedProperties: false
6649

6750
examples:
6851
- |

Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ description: |
1818
- dt-bindings/clock/qcom,gcc-ipq4019.h
1919
- dt-bindings/clock/qcom,gcc-ipq6018.h
2020
- dt-bindings/reset/qcom,gcc-ipq6018.h
21-
- dt-bindings/clock/qcom,gcc-msm8939.h
2221
- dt-bindings/clock/qcom,gcc-msm8953.h
23-
- dt-bindings/reset/qcom,gcc-msm8939.h
24-
- dt-bindings/clock/qcom,gcc-msm8660.h
25-
- dt-bindings/reset/qcom,gcc-msm8660.h
2622
- dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
2723
- dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
2824
- dt-bindings/clock/qcom,gcc-mdm9607.h
@@ -40,9 +36,6 @@ properties:
4036
- qcom,gcc-ipq6018
4137
- qcom,gcc-mdm9607
4238
- qcom,gcc-msm8226
43-
- qcom,gcc-msm8660
44-
- qcom,gcc-msm8916
45-
- qcom,gcc-msm8939
4639
- qcom,gcc-msm8953
4740
- qcom,gcc-msm8974
4841
- qcom,gcc-msm8974pro

0 commit comments

Comments
 (0)