Skip to content

Commit e3abdd1

Browse files
committed
Merge branches 'clk-renesas', 'clk-samsung', 'clk-spacemit', 'clk-allwinner' and 'clk-amlogic' into clk-next
* clk-renesas: (42 commits) clk: renesas: r9a08g045: Add MSTOP for coupled clocks as well clk: renesas: r9a09g047: Add clock and reset signals for the GBETH IPs clk: renesas: r9a09g057: Add XSPI clock/reset clk: renesas: r9a09g056: Add XSPI clock/reset clk: renesas: rzv2h: Add fixed-factor module clocks with status reporting clk: renesas: r9a09g057: Add support for xspi mux and divider clk: renesas: r9a09g056: Add support for xspi mux and divider clk: renesas: r9a09g077: Add RIIC module clocks clk: renesas: r9a09g077: Add PLL2 and SDHI clock support clk: renesas: rzv2h: Drop redundant base pointer from pll_clk clk: renesas: r9a09g057: Add entries for the RSPIs dt-bindings: clock: renesas,r9a09g077/87: Add SDHI_CLKHS clock ID dt-bindings: clock: renesas,r9a09g056/57-cpg: Add XSPI core clock clk: renesas: rzv2h: Add missing include file clk: renesas: rzv2h: Use devm_kmemdup_array() clk: renesas: Add CPG/MSSR support to RZ/N2H SoC clk: renesas: r9a09g077: Add PCLKL core clock dt-bindings: clock: renesas,cpg-mssr: Document RZ/N2H support dt-bindings: soc: renesas: Document RZ/N2H (R9A09G087) SoC dt-bindings: clock: renesas,r9a09g077: Add PCLKL core clock ID ... * clk-samsung: clk: samsung: exynosautov920: add block hsi2 clock support dt-bindings: clock: exynosautov920: add hsi2 clock definitions dt-bindings: clock: exynosautov920: sort clock definitions clk: samsung: exynos850: fix a comment clk: samsung: gs101: fix alternate mout_hsi0_usb20_ref parent clock clk: samsung: gs101: fix CLK_DOUT_CMU_G3D_BUSD * clk-spacemit: clk: spacemit: ccu_pll: fix error return value in recalc_rate callback reset: spacemit: add support for SpacemiT CCU resets clk: spacemit: mark K1 pll1_d8 as critical clk: spacemit: define three reset-only CCUs clk: spacemit: set up reset auxiliary devices soc: spacemit: create a header for clock/reset registers dt-bindings: soc: spacemit: define spacemit,k1-ccu resets * clk-allwinner: clk: sunxi-ng: ccu_nm: convert from round_rate() to determine_rate() clk: sunxi-ng: ccu_nkmp: convert from round_rate() to determine_rate() clk: sunxi-ng: ccu_nk: convert from round_rate() to determine_rate() clk: sunxi-ng: ccu_gate: convert from round_rate() to determine_rate() clk: sunxi-ng: v3s: Assign the de and tcon clocks to the video pll clk: sunxi-ng: v3s: Fix de clock definition clk: sunxi-ng: sun55i-a523-r-ccu: Add missing PPU0 reset dt-bindings: reset: sun55i-a523-r-ccu: Add missing PPU0 reset * clk-amlogic: clk: amlogic: s4: remove unused data clk: amlogic: drop clk_regmap tables clk: amlogic: get regmap with clk_regmap_init clk: amlogic: remove unnecessary headers clk: amlogic: axg-audio: use the auxiliary reset driver
6 parents f7887ee + b1712f9 + 2a5cebd + c60b953 + 0b4ff5b + 8e76682 commit e3abdd1

File tree

96 files changed

+3334
-4238
lines changed

Some content is hidden

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

96 files changed

+3334
-4238
lines changed

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

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,16 @@ properties:
5252
- renesas,r8a779f0-cpg-mssr # R-Car S4-8
5353
- renesas,r8a779g0-cpg-mssr # R-Car V4H
5454
- renesas,r8a779h0-cpg-mssr # R-Car V4M
55+
- renesas,r9a09g077-cpg-mssr # RZ/T2H
56+
- renesas,r9a09g087-cpg-mssr # RZ/N2H
5557

5658
reg:
57-
maxItems: 1
59+
minItems: 1
60+
items:
61+
- description: base address of register block 0
62+
- description: base address of register block 1
63+
description: base addresses of clock controller. Some controllers
64+
(like r9a09g077) use two blocks instead of a single one.
5865

5966
clocks:
6067
minItems: 1
@@ -92,16 +99,6 @@ properties:
9299
the datasheet.
93100
const: 1
94101

95-
if:
96-
not:
97-
properties:
98-
compatible:
99-
items:
100-
enum:
101-
- renesas,r7s9210-cpg-mssr
102-
then:
103-
required:
104-
- '#reset-cells'
105102

106103
required:
107104
- compatible
@@ -111,6 +108,36 @@ required:
111108
- '#clock-cells'
112109
- '#power-domain-cells'
113110

111+
allOf:
112+
- if:
113+
properties:
114+
compatible:
115+
contains:
116+
enum:
117+
- renesas,r9a09g077-cpg-mssr
118+
- renesas,r9a09g087-cpg-mssr
119+
then:
120+
properties:
121+
reg:
122+
minItems: 2
123+
clock-names:
124+
items:
125+
- const: extal
126+
else:
127+
properties:
128+
reg:
129+
maxItems: 1
130+
- if:
131+
not:
132+
properties:
133+
compatible:
134+
items:
135+
enum:
136+
- renesas,r7s9210-cpg-mssr
137+
then:
138+
required:
139+
- '#reset-cells'
140+
114141
additionalProperties: false
115142

116143
examples:

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

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ 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-
The power domain specifiers defined in <dt-bindings/clock/r9a0*-cpg.h> could
61-
be used to reference individual CPG power domains.
60+
const: 0
6261

6362
'#reset-cells':
6463
description:
@@ -77,21 +76,6 @@ required:
7776

7877
additionalProperties: false
7978

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-
9579
examples:
9680
- |
9781
cpg: clock-controller@11010000 {

Documentation/devicetree/bindings/clock/samsung,exynosautov920-clock.yaml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,24 @@ description: |
3232
properties:
3333
compatible:
3434
enum:
35-
- samsung,exynosautov920-cmu-top
3635
- samsung,exynosautov920-cmu-cpucl0
3736
- samsung,exynosautov920-cmu-cpucl1
3837
- samsung,exynosautov920-cmu-cpucl2
39-
- samsung,exynosautov920-cmu-peric0
40-
- samsung,exynosautov920-cmu-peric1
41-
- samsung,exynosautov920-cmu-misc
4238
- samsung,exynosautov920-cmu-hsi0
4339
- samsung,exynosautov920-cmu-hsi1
40+
- samsung,exynosautov920-cmu-hsi2
41+
- samsung,exynosautov920-cmu-misc
42+
- samsung,exynosautov920-cmu-peric0
43+
- samsung,exynosautov920-cmu-peric1
44+
- samsung,exynosautov920-cmu-top
4445

4546
clocks:
4647
minItems: 1
47-
maxItems: 4
48+
maxItems: 5
4849

4950
clock-names:
5051
minItems: 1
51-
maxItems: 4
52+
maxItems: 5
5253

5354
"#clock-cells":
5455
const: 1
@@ -201,6 +202,30 @@ allOf:
201202
- const: usbdrd
202203
- const: mmc_card
203204

205+
- if:
206+
properties:
207+
compatible:
208+
contains:
209+
const: samsung,exynosautov920-cmu-hsi2
210+
211+
then:
212+
properties:
213+
clocks:
214+
items:
215+
- description: External reference clock (38.4 MHz)
216+
- description: CMU_HSI2 NOC clock (from CMU_TOP)
217+
- description: CMU_HSI2 NOC UFS clock (from CMU_TOP)
218+
- description: CMU_HSI2 UFS EMBD clock (from CMU_TOP)
219+
- description: CMU_HSI2 ETHERNET clock (from CMU_TOP)
220+
221+
clock-names:
222+
items:
223+
- const: oscclk
224+
- const: noc
225+
- const: ufs
226+
- const: embd
227+
- const: ethernet
228+
204229
required:
205230
- compatible
206231
- "#clock-cells"

Documentation/devicetree/bindings/soc/renesas/renesas.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,16 @@ properties:
602602
- renesas,r9a09g077m44 # RZ/T2H with Quad Cortex-A55 + Dual Cortex-R52 - no security
603603
- const: renesas,r9a09g077
604604

605+
- description: RZ/N2H (R9A09G087)
606+
items:
607+
- enum:
608+
- renesas,rzn2h-evk # RZ/N2H Evaluation Board (RTK9RZN2H0S00000BJ)
609+
- enum:
610+
- renesas,r9a09g087m04 # RZ/N2H with Single Cortex-A55 + Dual Cortex-R52 - no security
611+
- renesas,r9a09g087m24 # RZ/N2H with Dual Cortex-A55 + Dual Cortex-R52 - no security
612+
- renesas,r9a09g087m44 # RZ/N2H with Quad Cortex-A55 + Dual Cortex-R52 - no security
613+
- const: renesas,r9a09g087
614+
605615
additionalProperties: true
606616

607617
...

Documentation/devicetree/bindings/soc/spacemit/spacemit,k1-syscon.yaml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ properties:
1919
- spacemit,k1-syscon-apbc
2020
- spacemit,k1-syscon-apmu
2121
- spacemit,k1-syscon-mpmu
22+
- spacemit,k1-syscon-rcpu
23+
- spacemit,k1-syscon-rcpu2
24+
- spacemit,k1-syscon-apbc2
2225

2326
reg:
2427
maxItems: 1
@@ -47,23 +50,35 @@ properties:
4750
required:
4851
- compatible
4952
- reg
50-
- clocks
51-
- clock-names
52-
- "#clock-cells"
5353
- "#reset-cells"
5454

5555
allOf:
5656
- if:
5757
properties:
5858
compatible:
5959
contains:
60-
const: spacemit,k1-syscon-apbc
60+
enum:
61+
- spacemit,k1-syscon-apmu
62+
- spacemit,k1-syscon-mpmu
6163
then:
64+
required:
65+
- "#power-domain-cells"
66+
else:
6267
properties:
6368
"#power-domain-cells": false
64-
else:
69+
- if:
70+
properties:
71+
compatible:
72+
contains:
73+
enum:
74+
- spacemit,k1-syscon-apbc
75+
- spacemit,k1-syscon-apmu
76+
- spacemit,k1-syscon-mpmu
77+
then:
6578
required:
66-
- "#power-domain-cells"
79+
- clocks
80+
- clock-names
81+
- "#clock-cells"
6782

6883
additionalProperties: false
6984

drivers/clk/meson/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ menu "Clock support for Amlogic platforms"
55
config COMMON_CLK_MESON_REGMAP
66
tristate
77
select REGMAP
8+
select MFD_SYSCON
89

910
config COMMON_CLK_MESON_DUALDIV
1011
tristate
@@ -106,7 +107,8 @@ config COMMON_CLK_AXG_AUDIO
106107
select COMMON_CLK_MESON_SCLK_DIV
107108
select COMMON_CLK_MESON_CLKC_UTILS
108109
select REGMAP_MMIO
109-
select RESET_CONTROLLER
110+
select AUXILIARY_BUS
111+
imply RESET_MESON_AUX
110112
help
111113
Support for the audio clock controller on AmLogic A113D devices,
112114
aka axg, Say Y if you want audio subsystem to work.

0 commit comments

Comments
 (0)