Skip to content

Commit 68e4ebd

Browse files
committed
Merge branches 'clk-remove', 'clk-amlogic', 'clk-qcom', 'clk-parent' and 'clk-microchip' into clk-next
* clk-remove: clk: starfive: jh7110-vout: Convert to platform remove callback returning void clk: starfive: jh7110-isp: Convert to platform remove callback returning void clk: imx: imx8-acm: Convert to platform remove callback returning void * clk-amlogic: clk: meson: Add missing clocks to axg_clk_regmaps * clk-qcom: (62 commits) clk: qcom: gcc-ipq5018: fix register offset for GCC_UBI0_AXI_ARES reset clk: qcom: gcc-ipq5018: fix 'halt_reg' offset of 'gcc_pcie1_pipe_clk' clk: qcom: gcc-ipq5018: fix 'enable_reg' offset of 'gcc_gmac0_sys_clk' clk: qcom: camcc-x1e80100: Fix missing DT_IFACE enum in x1e80100 camcc clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays clk: qcom: camcc-sc8280xp: fix terminating of frequency table arrays clk: qcom: gcc-ipq9574: fix terminating of frequency table arrays clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays clk: qcom: gcc-ipq5018: fix terminating of frequency table arrays clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times dt-bindings: clk: qcom: drop the SC7180 Modem subsystem clock controller clk: qcom: drop the SC7180 Modem subsystem clock driver clk: qcom: Use qcom_branch_set_clk_en() clk: qcom: branch: Add a helper for setting the enable bit clk: qcom: dispcc-sm8250: Make clk_init_data and pll_vco const clk: qcom: gcc-sc8180x: Add missing UFS QREF clocks clk: qcom: gcc-msm8953: add more resets clk: qcom: videocc-*: switch to module_platform_driver ... * clk-parent: clk: Fix clk_core_get NULL dereference * clk-microchip: clk: microchip: mpfs: convert MSSPLL outputs to clk_divider clk: microchip: mpfs: add missing MSSPLL outputs clk: microchip: mpfs: setup for using other mss pll outputs clk: microchip: mpfs: split MSSPLL in two dt-bindings: can: mpfs: add missing required clock dt-bindings: clock: mpfs: add more MSSPLL output definitions
6 parents ee2d2a4 + d963f25 + 151c31e + 27ec6a1 + e97fe49 + 7a1b0e9 commit 68e4ebd

File tree

100 files changed

+6283
-1279
lines changed

Some content is hidden

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

100 files changed

+6283
-1279
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ properties:
5353
power-domains:
5454
maxItems: 1
5555

56+
vdd-gfx-supply:
57+
description: Regulator supply for the VDD_GFX pads
58+
5659
'#clock-cells':
5760
const: 1
5861

@@ -74,6 +77,12 @@ required:
7477
- '#reset-cells'
7578
- '#power-domain-cells'
7679

80+
# Require that power-domains and vdd-gfx-supply are not both present
81+
not:
82+
required:
83+
- power-domains
84+
- vdd-gfx-supply
85+
7786
additionalProperties: false
7887

7988
examples:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Q6SSTOP clock Controller
88

99
maintainers:
10-
- Govind Singh <govinds@codeaurora.org>
10+
- Bjorn Andersson <andersson@kernel.org>
1111

1212
properties:
1313
compatible:

Documentation/devicetree/bindings/clock/qcom,sc7180-mss.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ description: |
1717
include/dt-bindings/clock/qcom,sm8450-camcc.h
1818
include/dt-bindings/clock/qcom,sm8550-camcc.h
1919
include/dt-bindings/clock/qcom,sc8280xp-camcc.h
20+
include/dt-bindings/clock/qcom,x1e80100-camcc.h
2021
2122
allOf:
2223
- $ref: qcom,gcc.yaml#
@@ -27,6 +28,7 @@ properties:
2728
- qcom,sc8280xp-camcc
2829
- qcom,sm8450-camcc
2930
- qcom,sm8550-camcc
31+
- qcom,x1e80100-camcc
3032

3133
clocks:
3234
items:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ description: |
1818
include/dt-bindings/clock/qcom,sm8550-gpucc.h
1919
include/dt-bindings/reset/qcom,sm8450-gpucc.h
2020
include/dt-bindings/reset/qcom,sm8650-gpucc.h
21+
include/dt-bindings/reset/qcom,x1e80100-gpucc.h
2122
2223
properties:
2324
compatible:
2425
enum:
2526
- qcom,sm8450-gpucc
2627
- qcom,sm8550-gpucc
2728
- qcom,sm8650-gpucc
29+
- qcom,x1e80100-gpucc
2830

2931
clocks:
3032
items:

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@ description: |
1414
Qualcomm display clock control module provides the clocks, resets and power
1515
domains on SM8550.
1616
17-
See also:: include/dt-bindings/clock/qcom,sm8550-dispcc.h
17+
See also:
18+
- include/dt-bindings/clock/qcom,sm8550-dispcc.h
19+
- include/dt-bindings/clock/qcom,sm8650-dispcc.h
20+
- include/dt-bindings/clock/qcom,x1e80100-dispcc.h
1821
1922
properties:
2023
compatible:
2124
enum:
2225
- qcom,sm8550-dispcc
26+
- qcom,sm8650-dispcc
27+
- qcom,x1e80100-dispcc
2328

2429
clocks:
2530
items:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- enum:
2424
- qcom,sm8550-tcsr
2525
- qcom,sm8650-tcsr
26+
- qcom,x1e80100-tcsr
2627
- const: syscon
2728

2829
clocks:

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

Lines changed: 0 additions & 106 deletions
This file was deleted.

Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ properties:
2424
maxItems: 1
2525

2626
clocks:
27-
maxItems: 1
27+
items:
28+
- description: AHB peripheral clock
29+
- description: CAN bus clock
2830

2931
required:
3032
- compatible
@@ -39,7 +41,7 @@ examples:
3941
can@2010c000 {
4042
compatible = "microchip,mpfs-can";
4143
reg = <0x2010c000 0x1000>;
42-
clocks = <&clkcfg 17>;
44+
clocks = <&clkcfg 17>, <&clkcfg 37>;
4345
interrupt-parent = <&plic>;
4446
interrupts = <56>;
4547
};

drivers/clk/clk.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,9 @@ static struct clk_core *clk_core_get(struct clk_core *core, u8 p_index)
418418
if (IS_ERR(hw))
419419
return ERR_CAST(hw);
420420

421+
if (!hw)
422+
return NULL;
423+
421424
return hw->core;
422425
}
423426

0 commit comments

Comments
 (0)