Skip to content

Commit 619b92b

Browse files
committed
Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
Pull clk updates from Stephen Boyd: "I'm actually surprised this time. There aren't any new Qualcomm SoC clk drivers. And there's zero diff in the core clk framework. Instead we have new clk drivers for STM and Sophgo, with Samsung^WGoogle in third for the diffstat because they introduced HSI0 and HSI2 clk drivers for Google's GS101 SoC (high speed interface things like PCIe, UFS, and MMC). Beyond those big diffs there's the usual updates to various clk drivers for incorrect parent descriptions or mising MODULE_DEVICE_TABLE()s, etc. Nothing in particular stands out as super interesting here. New Drivers: - STM32MP257 SoC clk driver - Airoha EN7581 SoC clk driver - Sophgo CV1800B, CV1812H and SG2000 SoC clk driver - Loongson-2k0500 and Loongson-2k2000 SoC clk driver - Add HSI0 and HSI2 clock controllers for Google GS101 - Add i.MX95 BLK CTL clock driver Updates: - Allocate clk_ops dynamically for SCMI clk driver - Add support in qcom RCG and RCG2 for multiple configurations for the same frequency - Use above support for IPQ8074 NSS port 5 and 6 clocks to resolve issues - Fix the Qualcomm APSS IPQ5018 PLL to fix boot failures of some boards - Cleanups and fixes for Qualcomm Stromer PLLs - Reduce max CPU frequency on Qualcomm APSS IPQ5018 - Fix Kconfig dependencies of Qualcomm SM8650 GPU and SC8280XP camera clk drivers - Make Qualcomm MSM8998 Venus clocks functional - Cleanup downstream remnants related to DisplayPort across Qualcomm SM8450, SM6350, SM8550, and SM8650 - Reuse the Huayra APSS register map on Qualcomm MSM8996 CBF PLL - Use a specific Qualcomm QCS404 compatible for the otherwise generic HFPLL - Remove Qualcomm SM8150 CPUSS AHB clk as it is unused - Remove an unused field in the Qualcomm RPM clk driver - Add missing MODULE_DEVICE_TABLE to Qualcomm MSM8917 and MSM8953 global clock controller drivers - Allow choice of manual or firmware-driven control over PLLs, needed to fully implement CPU clock controllers on Exynos850 - Correct PLL clock IDs on ExynosAutov9 - Propagate certain clock rates to allow setting proper SPI clock rates on Google GS101 - Mark certain Google GS101 clocks critical - Convert old S3C64xx clock controller bindings to DT schema - Add new PLL rate and missing mux on Rockchip rk3568 - Add missing reset line on Rockchip rk3588 - Removal of an unused field in struct rockchip_mmc_clock - Amlogic s4/a1: add regmap maximum register for proper debugfs dump - Amlogic s4: add MODULE_DEVICE_TABLE() on pll and periph controllers - Amlogic pll driver: print clock name on lock error to help debug - Amlogic vclk: finish dsi clock path support - Amlogic license: fix occurence "GPL v2" as reported by checkpatch - Add PM runtime support to i.MX8MP Audiomix - Add DT schema for i.MX95 Display Master Block Control - Convert to platform remove callback returning void for i.MX8MP Audiomix - Add SPI (MSIOF) and external interrupt (INTC-EX) clocks on Renesas R-Car V4M - Add interrupt controller (PLIC) clock and reset on Renesas RZ/Five - Prepare power domain support for Renesas RZ/G2L family members, and add actual support on Renesas RZ/G3S SoC - Add thermal, serial (SCIF), and timer (CMT/TMU) clocks on Renesas R-Car V4M - Add additional constraints to Allwinner A64 PLL MIPI clock - Fix autoloading sunxi-ng clocks when build as a module" * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (118 commits) clk: samsung: Don't register clkdev lookup for the fixed rate clocks clk, reset: microchip: mpfs: fix incorrect preprocessor conditions clk: qcom: clk-alpha-pll: fix rate setting for Stromer PLLs clk: qcom: apss-ipq-pll: fix PLL rate for IPQ5018 clk: qcom: Fix SM_GPUCC_8650 dependencies clk: qcom: Fix SC_CAMCC_8280XP dependencies dt-bindings: clocks: stm32mp25: add access-controllers description clock, reset: microchip: move all mpfs reset code to the reset subsystem clk: samsung: gs101: drop unused HSI2 clock parent data clk: rockchip: rk3568: Add PLL rate for 724 MHz clk: rockchip: Remove an unused field in struct rockchip_mmc_clock dt-bindings: clock: fixed: Define a preferred node name clk: meson: s4: fix module autoloading clk: samsung: gs101: mark some apm UASC and XIU clocks critical clk: imx: imx8mp: Convert to platform remove callback returning void clk: imx: imx8mp: Switch to RUNTIME_PM_OPS() clk: bcm: rpi: Assign ->num before accessing ->hws clk: bcm: dvp: Assign ->num before accessing ->hws clk: samsung: gs101: add support for cmu_hsi2 clk: samsung: gs101: add support for cmu_hsi0 ...
2 parents ff9a793 + 03be434 commit 619b92b

File tree

150 files changed

+10936
-1180
lines changed

Some content is hidden

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

150 files changed

+10936
-1180
lines changed

Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ description: |
2929
properties:
3030
compatible:
3131
items:
32-
- const: airoha,en7523-scu
32+
- enum:
33+
- airoha,en7523-scu
34+
- airoha,en7581-scu
3335

3436
reg:
35-
maxItems: 2
37+
minItems: 2
38+
maxItems: 3
3639

3740
"#clock-cells":
3841
description:
@@ -45,6 +48,30 @@ required:
4548
- reg
4649
- '#clock-cells'
4750

51+
allOf:
52+
- if:
53+
properties:
54+
compatible:
55+
const: airoha,en7523-scu
56+
then:
57+
properties:
58+
reg:
59+
items:
60+
- description: scu base address
61+
- description: misc scu base address
62+
63+
- if:
64+
properties:
65+
compatible:
66+
const: airoha,en7581-scu
67+
then:
68+
properties:
69+
reg:
70+
items:
71+
- description: scu base address
72+
- description: misc scu base address
73+
- description: pb scu base address
74+
4875
additionalProperties: false
4976

5077
examples:

Documentation/devicetree/bindings/clock/fixed-clock.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ maintainers:
1111
- Stephen Boyd <sboyd@kernel.org>
1212

1313
properties:
14+
$nodename:
15+
anyOf:
16+
- description:
17+
Preferred name is 'clock-<freq>' with <freq> being the output
18+
frequency as defined in the 'clock-frequency' property.
19+
pattern: "^clock-([0-9]+|[a-z0-9-]+)$"
20+
- description: Any name allowed
21+
deprecated: true
22+
1423
compatible:
1524
const: fixed-clock
1625

Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ maintainers:
1111
- Stephen Boyd <sboyd@kernel.org>
1212

1313
properties:
14+
$nodename:
15+
anyOf:
16+
- description:
17+
If the frequency is fixed, the preferred name is 'clock-<freq>' with
18+
<freq> being the output frequency.
19+
pattern: "^clock-([0-9]+|[0-9a-z-]+)$"
20+
- description: Any name allowed
21+
deprecated: true
22+
1423
compatible:
1524
enum:
1625
- fixed-factor-clock

Documentation/devicetree/bindings/clock/loongson,ls2k-clk.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ description: |
1616
properties:
1717
compatible:
1818
enum:
19-
- loongson,ls2k-clk
19+
- loongson,ls2k0500-clk
20+
- loongson,ls2k-clk # This is for Loongson-2K1000
21+
- loongson,ls2k2000-clk
2022

2123
reg:
2224
maxItems: 1
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/nxp,imx95-blk-ctl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP i.MX95 Block Control
8+
9+
maintainers:
10+
- Peng Fan <peng.fan@nxp.com>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- enum:
16+
- nxp,imx95-lvds-csr
17+
- nxp,imx95-display-csr
18+
- nxp,imx95-camera-csr
19+
- nxp,imx95-vpu-csr
20+
- const: syscon
21+
22+
reg:
23+
maxItems: 1
24+
25+
power-domains:
26+
maxItems: 1
27+
28+
clocks:
29+
maxItems: 1
30+
31+
'#clock-cells':
32+
const: 1
33+
description:
34+
The clock consumer should specify the desired clock by having the clock
35+
ID in its "clocks" phandle cell. See
36+
include/dt-bindings/clock/nxp,imx95-clock.h
37+
38+
required:
39+
- compatible
40+
- reg
41+
- '#clock-cells'
42+
- power-domains
43+
- clocks
44+
45+
additionalProperties: false
46+
47+
examples:
48+
- |
49+
syscon@4c410000 {
50+
compatible = "nxp,imx95-vpu-csr", "syscon";
51+
reg = <0x4c410000 0x10000>;
52+
#clock-cells = <1>;
53+
clocks = <&scmi_clk 114>;
54+
power-domains = <&scmi_devpd 21>;
55+
};
56+
...
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/nxp,imx95-display-master-csr.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP i.MX95 Display Master Block Control
8+
9+
maintainers:
10+
- Peng Fan <peng.fan@nxp.com>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- const: nxp,imx95-display-master-csr
16+
- const: syscon
17+
18+
reg:
19+
maxItems: 1
20+
21+
power-domains:
22+
maxItems: 1
23+
24+
clocks:
25+
maxItems: 1
26+
27+
'#clock-cells':
28+
const: 1
29+
description:
30+
The clock consumer should specify the desired clock by having the clock
31+
ID in its "clocks" phandle cell. See
32+
include/dt-bindings/clock/nxp,imx95-clock.h
33+
34+
mux-controller:
35+
type: object
36+
$ref: /schemas/mux/reg-mux.yaml
37+
38+
required:
39+
- compatible
40+
- reg
41+
- '#clock-cells'
42+
- mux-controller
43+
- power-domains
44+
- clocks
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
syscon@4c410000 {
51+
compatible = "nxp,imx95-display-master-csr", "syscon";
52+
reg = <0x4c410000 0x10000>;
53+
#clock-cells = <1>;
54+
clocks = <&scmi_clk 62>;
55+
power-domains = <&scmi_devpd 3>;
56+
57+
mux: mux-controller {
58+
compatible = "mmio-mux";
59+
#mux-control-cells = <1>;
60+
mux-reg-masks = <0x4 0x00000001>; /* Pixel_link_sel */
61+
idle-states = <0>;
62+
};
63+
};
64+
...

Documentation/devicetree/bindings/clock/qcom,hfpll.txt

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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,hfpll.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm High-Frequency PLL
8+
9+
maintainers:
10+
- Bjorn Andersson <andersson@kernel.org>
11+
12+
description:
13+
The HFPLL is used as CPU PLL on various Qualcomm SoCs.
14+
15+
properties:
16+
compatible:
17+
oneOf:
18+
- enum:
19+
- qcom,msm8974-hfpll
20+
- qcom,msm8976-hfpll-a53
21+
- qcom,msm8976-hfpll-a72
22+
- qcom,msm8976-hfpll-cci
23+
- qcom,qcs404-hfpll
24+
- const: qcom,hfpll
25+
deprecated: true
26+
27+
reg:
28+
items:
29+
- description: HFPLL registers
30+
- description: Alias register region
31+
minItems: 1
32+
33+
'#clock-cells':
34+
const: 0
35+
36+
clocks:
37+
items:
38+
- description: board XO clock
39+
40+
clock-names:
41+
items:
42+
- const: xo
43+
44+
clock-output-names:
45+
description:
46+
Name of the PLL. Typically hfpllX where X is a CPU number starting at 0.
47+
Otherwise hfpll_Y where Y is more specific such as "l2".
48+
maxItems: 1
49+
50+
required:
51+
- compatible
52+
- reg
53+
- '#clock-cells'
54+
- clocks
55+
- clock-names
56+
- clock-output-names
57+
58+
additionalProperties: false
59+
60+
examples:
61+
- |
62+
clock-controller@f908a000 {
63+
compatible = "qcom,msm8974-hfpll";
64+
reg = <0xf908a000 0x30>, <0xf900a000 0x30>;
65+
#clock-cells = <0>;
66+
clock-output-names = "hfpll0";
67+
clocks = <&xo_board>;
68+
clock-names = "xo";
69+
};

Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ properties:
5757
can be power-managed through Module Standby should refer to the CPG device
5858
node in their "power-domains" property, as documented by the generic PM
5959
Domain bindings in Documentation/devicetree/bindings/power/power-domain.yaml.
60-
const: 0
60+
The power domain specifiers defined in <dt-bindings/clock/r9a0*-cpg.h> could
61+
be used to reference individual CPG power domains.
6162

6263
'#reset-cells':
6364
description:
@@ -76,6 +77,21 @@ required:
7677

7778
additionalProperties: false
7879

80+
allOf:
81+
- if:
82+
properties:
83+
compatible:
84+
contains:
85+
const: renesas,r9a08g045-cpg
86+
then:
87+
properties:
88+
'#power-domain-cells':
89+
const: 1
90+
else:
91+
properties:
92+
'#power-domain-cells':
93+
const: 0
94+
7995
examples:
8096
- |
8197
cpg: clock-controller@11010000 {

0 commit comments

Comments
 (0)