Skip to content

Commit 0999df6

Browse files
committed
Merge branches 'clk-socfpga', 'clk-renesas', 'clk-cleanup', 'clk-samsung' and 'clk-mediatek' into clk-next
* clk-socfpga: clk: socfpga: agilex5: add clock driver for Agilex5 * clk-renesas: (35 commits) clk: renesas: r9a09g077: Add SPI module clocks clk: renesas: r9a09g056: Add USB3.0 clocks/resets clk: renesas: r9a09g057: Add USB3.0 clocks/resets clk: renesas: r9a09g047: Add RSCI clocks/resets dt-bindings: clock: renesas,r9a09g056-cpg: Add USB3.0 core clocks dt-bindings: clock: renesas,r9a09g057-cpg: Add USB3.0 core clocks clk: renesas: r9a06g032: Fix memory leak in error path clk: renesas: r9a09g077: Use devm_ helpers for divider clock registration clk: renesas: r9a09g077: Remove stray blank line clk: renesas: r9a09g077: Propagate rate changes to parent clocks clk: renesas: r8a779a0: Add 3DGE module clock clk: renesas: r8a779a0: Add ZG Core clock clk: renesas: rcar-gen4: Add support for clock dividers in FRQCRB dt-bindings: clock: r8a779a0: Add ZG core clock clk: renesas: r9a09g056: Add clock and reset entries for ISP clk: renesas: r9a09g056: Add support for PLLVDO, CRU clocks, and resets clk: renesas: r9a09g056: Add clocks and resets for DSI and LCDC modules clk: renesas: r9a09g077: Add TSU module clock clk: renesas: r9a09g057: Add clock and reset entries for DSI and LCDC clk: renesas: rzv2h: Add support for DSI clocks ... * clk-cleanup: clk: keystone: fix compile testing clk: keystone: syscon-clk: fix regmap leak on probe failure clk: samsung: exynos-clkout: Assign .num before accessing .hws clk: actions: Fix discarding const qualifier by 'container_of' macro clk: spacemit: Set clk_hw_onecell_data::num before using flex array clk: spacemit: fix comment typo clk: keystone: Fix discarded const qualifiers clk: sprd: sc9860: Simplify with of_device_get_match_data() * clk-samsung: firmware: exynos-acpm: add empty method to allow compile test MAINTAINERS: add ACPM clock bindings and driver clk: samsung: add Exynos ACPM clock driver firmware: exynos-acpm: register ACPM clocks pdev firmware: exynos-acpm: add DVFS protocol dt-bindings: firmware: google,gs101-acpm-ipc: add ACPM clocks clk: samsung: clk-pll: simplify samsung_pll_lock_wait() clk: samsung: exynosautov920: add block mfc clock support clk: samsung: exynosautov920: add clock support dt-bindings: clock: exynosautov920: add mfc clock definitions dt-bindings: clock: exynosautov920: add m2m clock definitions dt-bindings: clock: google,gs101-clock: add power-domains * clk-mediatek: clk: en7523: Add reset-controller support for EN7523 SoC dt-bindings: clock: airoha: Add reset support to EN7523 clock binding
5 parents 5c53493 + f700b88 + b276445 + 7ee9719 + 1c0608d commit 0999df6

50 files changed

Lines changed: 1933 additions & 133 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/airoha,en7523-scu.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ allOf:
6464
reg:
6565
minItems: 2
6666

67-
'#reset-cells': false
68-
6967
- if:
7068
properties:
7169
compatible:
@@ -85,6 +83,7 @@ examples:
8583
reg = <0x1fa20000 0x400>,
8684
<0x1fb00000 0x1000>;
8785
#clock-cells = <1>;
86+
#reset-cells = <1>;
8887
};
8988
9089
- |

Documentation/devicetree/bindings/clock/google,gs101-clock.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ properties:
4646
"#clock-cells":
4747
const: 1
4848

49+
power-domains:
50+
maxItems: 1
51+
4952
reg:
5053
maxItems: 1
5154

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ properties:
3838
- samsung,exynosautov920-cmu-hsi0
3939
- samsung,exynosautov920-cmu-hsi1
4040
- samsung,exynosautov920-cmu-hsi2
41+
- samsung,exynosautov920-cmu-m2m
42+
- samsung,exynosautov920-cmu-mfc
4143
- samsung,exynosautov920-cmu-misc
4244
- samsung,exynosautov920-cmu-peric0
4345
- samsung,exynosautov920-cmu-peric1
@@ -226,6 +228,46 @@ allOf:
226228
- const: embd
227229
- const: ethernet
228230

231+
- if:
232+
properties:
233+
compatible:
234+
contains:
235+
const: samsung,exynosautov920-cmu-m2m
236+
237+
then:
238+
properties:
239+
clocks:
240+
items:
241+
- description: External reference clock (38.4 MHz)
242+
- description: CMU_M2M NOC clock (from CMU_TOP)
243+
- description: CMU_M2M JPEG clock (from CMU_TOP)
244+
245+
clock-names:
246+
items:
247+
- const: oscclk
248+
- const: noc
249+
- const: jpeg
250+
251+
- if:
252+
properties:
253+
compatible:
254+
contains:
255+
const: samsung,exynosautov920-cmu-mfc
256+
257+
then:
258+
properties:
259+
clocks:
260+
items:
261+
- description: External reference clock (38.4 MHz)
262+
- description: CMU_MFC MFC clock (from CMU_TOP)
263+
- description: CMU_MFC WFD clock (from CMU_TOP)
264+
265+
clock-names:
266+
items:
267+
- const: oscclk
268+
- const: mfc
269+
- const: wfd
270+
229271
required:
230272
- compatible
231273
- "#clock-cells"

Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ properties:
2424
compatible:
2525
const: google,gs101-acpm-ipc
2626

27+
"#clock-cells":
28+
const: 1
29+
description:
30+
Clocks that are variable and index based. These clocks don't provide
31+
an entire range of values between the limits but only discrete points
32+
within the range. The firmware also manages the voltage scaling
33+
appropriately with the clock scaling. The argument is the ID of the
34+
clock contained by the firmware messages.
35+
2736
mboxes:
2837
maxItems: 1
2938

@@ -45,6 +54,7 @@ properties:
4554

4655
required:
4756
- compatible
57+
- "#clock-cells"
4858
- mboxes
4959
- shmem
5060

@@ -56,6 +66,7 @@ examples:
5666
5767
power-management {
5868
compatible = "google,gs101-acpm-ipc";
69+
#clock-cells = <1>;
5970
mboxes = <&ap2apm_mailbox>;
6071
shmem = <&apm_sram>;
6172

MAINTAINERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10601,7 +10601,7 @@ F: Documentation/devicetree/bindings/soc/google/google,gs101-pmu-intr-gen.yaml
1060110601
F: arch/arm64/boot/dts/exynos/google/
1060210602
F: drivers/clk/samsung/clk-gs101.c
1060310603
F: drivers/phy/samsung/phy-gs101-ufs.c
10604-
F: include/dt-bindings/clock/google,gs101.h
10604+
F: include/dt-bindings/clock/google,gs101*
1060510605
K: [gG]oogle.?[tT]ensor
1060610606

1060710607
GPD FAN DRIVER
@@ -22761,6 +22761,7 @@ L: linux-kernel@vger.kernel.org
2276122761
L: linux-samsung-soc@vger.kernel.org
2276222762
S: Supported
2276322763
F: Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml
22764+
F: drivers/clk/samsung/clk-acpm.c
2276422765
F: drivers/firmware/samsung/exynos-acpm*
2276522766
F: include/linux/firmware/samsung/exynos-acpm-protocol.h
2276622767

drivers/clk/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ obj-$(CONFIG_ARCH_HISI) += hisilicon/
125125
obj-y += imgtec/
126126
obj-y += imx/
127127
obj-y += ingenic/
128-
obj-$(CONFIG_ARCH_K3) += keystone/
129-
obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
128+
obj-y += keystone/
130129
obj-y += mediatek/
131130
obj-$(CONFIG_ARCH_MESON) += meson/
132131
obj-y += microchip/

drivers/clk/actions/owl-common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct owl_clk_desc {
3232
};
3333

3434
static inline struct owl_clk_common *
35-
hw_to_owl_clk_common(const struct clk_hw *hw)
35+
hw_to_owl_clk_common(struct clk_hw *hw)
3636
{
3737
return container_of(hw, struct owl_clk_common, hw);
3838
}

drivers/clk/actions/owl-composite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct owl_composite {
108108
}, \
109109
}
110110

111-
static inline struct owl_composite *hw_to_owl_comp(const struct clk_hw *hw)
111+
static inline struct owl_composite *hw_to_owl_comp(struct clk_hw *hw)
112112
{
113113
struct owl_clk_common *common = hw_to_owl_clk_common(hw);
114114

drivers/clk/actions/owl-divider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct owl_divider {
4949
}, \
5050
}
5151

52-
static inline struct owl_divider *hw_to_owl_divider(const struct clk_hw *hw)
52+
static inline struct owl_divider *hw_to_owl_divider(struct clk_hw *hw)
5353
{
5454
struct owl_clk_common *common = hw_to_owl_clk_common(hw);
5555

drivers/clk/actions/owl-factor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct owl_factor {
5757

5858
#define div_mask(d) ((1 << ((d)->width)) - 1)
5959

60-
static inline struct owl_factor *hw_to_owl_factor(const struct clk_hw *hw)
60+
static inline struct owl_factor *hw_to_owl_factor(struct clk_hw *hw)
6161
{
6262
struct owl_clk_common *common = hw_to_owl_clk_common(hw);
6363

0 commit comments

Comments
 (0)