Skip to content

Commit 5921ae2

Browse files
committed
Merge branches 'clk-aspeed' and 'clk-qcom' into clk-next
* clk-aspeed: clk: aspeed: Add reset for HACE/VIDEO dt-bindings: clock: aspeed: Add VIDEO reset definition clk: aspeed: add AST2700 clock driver MAINTAINERS: Add entry for ASPEED clock drivers. clk: aspeed: Move the existing ASPEED clk drivers into aspeed subdirectory. * clk-qcom: (49 commits) clk: qcom: sm8750: Constify 'qcom_cc_desc' in SM8750 camcc clk: qcom: gfx3d: add parent to parent request map clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk1_clk_src clk: qcom: dispcc-sdm845: Enable parents for pixel clocks clk: qcom: regmap-divider: convert from divider_round_rate() to divider_determine_rate() clk: qcom: regmap-divider: convert from divider_ro_round_rate() to divider_ro_determine_rate() clk: qcom: alpha-pll: convert from divider_round_rate() to divider_determine_rate() clk: qcom: Add support for GPUCC and GXCLK for Kaanapali clk: qcom: Add support for VideoCC driver for Kaanapali clk: qcom: camcc: Add support for camera clock controller for Kaanapali clk: qcom: dispcc: Add support for display clock controller Kaanapali clk: qcom: clk-alpha-pll: Add support for controlling Pongo EKO_T PLL clk: qcom: clk-alpha-pll: Update the PLL support for cal_l clk: qcom: camcc: Add camera clock controller driver for SM8750 SoC clk: qcom: clk-alpha-pll: Add support for controlling Rivian PLL dt-bindings: clock: qcom: document the Kaanapali GPU Clock Controller dt-bindings: clock: qcom: Add Kaanapali video clock controller dt-bindings: clock: qcom: Add support for CAMCC for Kaanapali dt-bindings: clock: qcom: document Kaanapali DISPCC clock controller dt-bindings: clock: qcom: Add camera clock controller for SM8750 SoC ...
3 parents a612d3d + 5f35b48 + 7fbabe8 commit 5921ae2

60 files changed

Lines changed: 15598 additions & 93 deletions

Some content is hidden

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

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8953.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Qualcomm Global Clock & Reset Controller on MSM8953
7+
title: Qualcomm Global Clock & Reset Controller on MSM8937, MSM8940, MSM8953 and SDM439
88

99
maintainers:
1010
- Adam Skladowski <a_skl39@protonmail.com>
@@ -13,7 +13,7 @@ maintainers:
1313

1414
description: |
1515
Qualcomm global clock control module provides the clocks, resets and power
16-
domains on MSM8937 or MSM8953.
16+
domains on MSM8937, MSM8940, MSM8953 or SDM439.
1717
1818
See also::
1919
include/dt-bindings/clock/qcom,gcc-msm8917.h
@@ -23,7 +23,9 @@ properties:
2323
compatible:
2424
enum:
2525
- qcom,gcc-msm8937
26+
- qcom,gcc-msm8940
2627
- qcom,gcc-msm8953
28+
- qcom,gcc-sdm439
2729

2830
clocks:
2931
items:
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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,kaanapali-gxclkctl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Graphics power domain Controller on Kaanapali
8+
9+
maintainers:
10+
- Taniya Das <taniya.das@oss.qualcomm.com>
11+
12+
description: |
13+
Qualcomm GX(graphics) is a clock controller which has PLLs, clocks and
14+
Power domains (GDSC). This module provides the power domains control
15+
of gxclkctl on Qualcomm SoCs which helps the recovery of Graphics subsystem.
16+
17+
See also:
18+
include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h
19+
20+
properties:
21+
compatible:
22+
enum:
23+
- qcom,kaanapali-gxclkctl
24+
25+
power-domains:
26+
description:
27+
Power domains required for the clock controller to operate
28+
items:
29+
- description: GFX power domain
30+
- description: GMXC power domain
31+
- description: GPUCC(CX) power domain
32+
33+
'#power-domain-cells':
34+
const: 1
35+
36+
reg:
37+
maxItems: 1
38+
39+
required:
40+
- compatible
41+
- reg
42+
- power-domains
43+
- '#power-domain-cells'
44+
45+
unevaluatedProperties: false
46+
47+
examples:
48+
- |
49+
#include <dt-bindings/power/qcom,rpmhpd.h>
50+
soc {
51+
#address-cells = <2>;
52+
#size-cells = <2>;
53+
54+
clock-controller@3d64000 {
55+
compatible = "qcom,kaanapali-gxclkctl";
56+
reg = <0x0 0x03d64000 0x0 0x6000>;
57+
power-domains = <&rpmhpd RPMHPD_GFX>,
58+
<&rpmhpd RPMHPD_GMXC>,
59+
<&gpucc 0>;
60+
#power-domain-cells = <1>;
61+
};
62+
};
63+
...

Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,32 @@ title: Qualcomm Camera Clock & Reset Controller on SM8450
99
maintainers:
1010
- Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
1111
- Jagadeesh Kona <quic_jkona@quicinc.com>
12+
- Taniya Das <taniya.das@oss.qualcomm.com>
1213

1314
description: |
1415
Qualcomm camera clock control module provides the clocks, resets and power
1516
domains on SM8450.
1617
1718
See also:
19+
include/dt-bindings/clock/qcom,kaanapali-camcc.h
20+
include/dt-bindings/clock/qcom,kaanapali-cambistmclkcc.h
1821
include/dt-bindings/clock/qcom,sm8450-camcc.h
1922
include/dt-bindings/clock/qcom,sm8550-camcc.h
2023
include/dt-bindings/clock/qcom,sm8650-camcc.h
24+
include/dt-bindings/clock/qcom,sm8750-cambistmclkcc.h
25+
include/dt-bindings/clock/qcom,sm8750-camcc.h
2126
2227
properties:
2328
compatible:
2429
enum:
30+
- qcom,kaanapali-cambistmclkcc
31+
- qcom,kaanapali-camcc
2532
- qcom,sm8450-camcc
2633
- qcom,sm8475-camcc
2734
- qcom,sm8550-camcc
2835
- qcom,sm8650-camcc
36+
- qcom,sm8750-cambistmclkcc
37+
- qcom,sm8750-camcc
2938

3039
clocks:
3140
items:
@@ -63,6 +72,8 @@ allOf:
6372
compatible:
6473
contains:
6574
enum:
75+
- qcom,kaanapali-cambistmclkcc
76+
- qcom,kaanapali-camcc
6677
- qcom,sc8280xp-camcc
6778
- qcom,sm8450-camcc
6879
- qcom,sm8550-camcc

Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ description: |
1414
domains on Qualcomm SoCs.
1515
1616
See also::
17+
include/dt-bindings/clock/qcom,kaanapali-gpucc.h
1718
include/dt-bindings/clock/qcom,milos-gpucc.h
1819
include/dt-bindings/clock/qcom,sar2130p-gpucc.h
1920
include/dt-bindings/clock/qcom,sm4450-gpucc.h
@@ -26,6 +27,7 @@ description: |
2627
properties:
2728
compatible:
2829
enum:
30+
- qcom,kaanapali-gpucc
2931
- qcom,milos-gpucc
3032
- qcom,sar2130p-gpucc
3133
- qcom,sm4450-gpucc

Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ description: |
1515
domains on SM8450.
1616
1717
See also:
18+
include/dt-bindings/clock/qcom,kaanapali-videocc.h
1819
include/dt-bindings/clock/qcom,sm8450-videocc.h
1920
include/dt-bindings/clock/qcom,sm8650-videocc.h
2021
include/dt-bindings/clock/qcom,sm8750-videocc.h
2122
2223
properties:
2324
compatible:
2425
enum:
26+
- qcom,kaanapali-videocc
2527
- qcom,sm8450-videocc
2628
- qcom,sm8475-videocc
2729
- qcom,sm8550-videocc
@@ -61,6 +63,7 @@ allOf:
6163
compatible:
6264
contains:
6365
enum:
66+
- qcom,kaanapali-videocc
6467
- qcom,sm8450-videocc
6568
- qcom,sm8550-videocc
6669
- qcom,sm8750-videocc

Documentation/devicetree/bindings/clock/qcom,sm8550-dispcc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description: |
1515
domains on SM8550, SM8650, SM8750 and few other platforms.
1616
1717
See also:
18+
- include/dt-bindings/clock/qcom,kaanapali-dispcc.h
1819
- include/dt-bindings/clock/qcom,sm8550-dispcc.h
1920
- include/dt-bindings/clock/qcom,sm8650-dispcc.h
2021
- include/dt-bindings/clock/qcom,sm8750-dispcc.h
@@ -23,6 +24,7 @@ description: |
2324
properties:
2425
compatible:
2526
enum:
27+
- qcom,kaanapali-dispcc
2628
- qcom,sar2130p-dispcc
2729
- qcom,sm8550-dispcc
2830
- qcom,sm8650-dispcc

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ properties:
6262
- description: USB4_1 PHY max PIPE clock source
6363
- description: USB4_2 PHY PCIE PIPE clock source
6464
- description: USB4_2 PHY max PIPE clock source
65+
- description: UFS PHY RX Symbol 0 clock source
66+
- description: UFS PHY RX Symbol 1 clock source
67+
- description: UFS PHY TX Symbol 0 clock source
6568

6669
power-domains:
6770
description:
@@ -121,7 +124,10 @@ examples:
121124
<&usb4_1_phy_pcie_pipe_clk>,
122125
<&usb4_1_phy_max_pipe_clk>,
123126
<&usb4_2_phy_pcie_pipe_clk>,
124-
<&usb4_2_phy_max_pipe_clk>;
127+
<&usb4_2_phy_max_pipe_clk>,
128+
<&ufs_phy_rx_symbol_0>,
129+
<&ufs_phy_rx_symbol_1>,
130+
<&ufs_phy_tx_symbol_0>;
125131
power-domains = <&rpmhpd RPMHPD_CX>;
126132
#clock-cells = <1>;
127133
#reset-cells = <1>;

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3836,6 +3836,15 @@ L: rust-for-linux@vger.kernel.org
38363836
S: Maintained
38373837
F: drivers/net/phy/ax88796b_rust.rs
38383838

3839+
ARM/ASPEED CLOCK SUPPORT
3840+
M: Ryan Chen <ryan_chen@aspeedtech.com>
3841+
R: Joel Stanley <joel@jms.id.au>
3842+
L: linux-clk@vger.kernel.org
3843+
L: linux-aspeed@lists.ozlabs.org
3844+
S: Maintained
3845+
F: Documentation/devicetree/bindings/mfd/aspeed,ast2x00-scu.yaml
3846+
F: drivers/clk/aspeed/
3847+
38393848
ASPEED CRYPTO DRIVER
38403849
M: Neal Liu <neal_liu@aspeedtech.com>
38413850
L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers)

drivers/clk/Kconfig

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -284,18 +284,6 @@ config COMMON_CLK_LAN966X
284284
LAN966X SoC. GCK generates and supplies clock to various peripherals
285285
within the SoC.
286286

287-
config COMMON_CLK_ASPEED
288-
bool "Clock driver for Aspeed BMC SoCs"
289-
depends on ARCH_ASPEED || COMPILE_TEST
290-
default ARCH_ASPEED
291-
select MFD_SYSCON
292-
select RESET_CONTROLLER
293-
help
294-
This driver supports the SoC clocks on the Aspeed BMC platforms.
295-
296-
The G4 and G5 series, including the ast2400 and ast2500, are supported
297-
by this driver.
298-
299287
config COMMON_CLK_S2MPS11
300288
tristate "Clock driver for S2MPS1X/S5M8767 MFD"
301289
depends on MFD_SEC_CORE || COMPILE_TEST
@@ -513,6 +501,7 @@ config COMMON_CLK_RPMI
513501

514502
source "drivers/clk/actions/Kconfig"
515503
source "drivers/clk/analogbits/Kconfig"
504+
source "drivers/clk/aspeed/Kconfig"
516505
source "drivers/clk/baikal-t1/Kconfig"
517506
source "drivers/clk/bcm/Kconfig"
518507
source "drivers/clk/hisilicon/Kconfig"

drivers/clk/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ obj-$(CONFIG_COMMON_CLK_FIXED_MMIO) += clk-fixed-mmio.o
6262
obj-$(CONFIG_COMMON_CLK_FSL_FLEXSPI) += clk-fsl-flexspi.o
6363
obj-$(CONFIG_COMMON_CLK_FSL_SAI) += clk-fsl-sai.o
6464
obj-$(CONFIG_COMMON_CLK_GEMINI) += clk-gemini.o
65-
obj-$(CONFIG_COMMON_CLK_ASPEED) += clk-aspeed.o
66-
obj-$(CONFIG_MACH_ASPEED_G6) += clk-ast2600.o
6765
obj-$(CONFIG_ARCH_HIGHBANK) += clk-highbank.o
6866
obj-$(CONFIG_CLK_HSDK) += clk-hsdk-pll.o
6967
obj-$(CONFIG_COMMON_CLK_K210) += clk-k210.o
@@ -114,6 +112,7 @@ obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
114112
# please keep this section sorted lexicographically by directory path name
115113
obj-y += actions/
116114
obj-y += analogbits/
115+
obj-y += aspeed/
117116
obj-$(CONFIG_COMMON_CLK_AT91) += at91/
118117
obj-$(CONFIG_ARCH_ARTPEC) += axis/
119118
obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x/

0 commit comments

Comments
 (0)