-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'qcom-clk-for-6.4' of https://git.kernel.org/pub/scm/linux/…
…kernel/git/qcom/linux into clk-qcom Pull Qualcomm clk driver updates from Bjorn Andersson: New drivers for Global clock controller on SM7150, IPQ9574, MSM8917 and IPQ5332 are added. New GPU clock controllers for SM6115, SM6125, SM6375 and SA8775P are added. The APSS IPQ PLL driver is refactored to support different PLL types, support for the Stromer Plus PLL type is added, and support for IPQ5332 is introduced. Helpers for settings sleep, wake and retain bits of CBCR registers are introduced and used in some of the newly introduced GPU clock drivers. The platform_driver remove callbacks is transitioned to remove_new, as part of the system wide cleanup effort. In the Display clock controller for QCM2290, the MDSS_CORE reset is introduced and the non-existent DSI1PHY clock is removed. IPQ4019 Global clock controller is transitioned to parent_data. USB GDSCs in SM6375, MSM8996 and MSM8998 are changed to use retention as disabled state, to avoid collapsing them during suspend. The CX GDSC in the SM6375 GPU clock controller has it's disable-wait value corrected. QCM2290 SDCC2 src clock moves to floor_ops. The two EMAC GDSCs are added for SC8280XP. Relevant RCGs in the SM6115 Global clock controller are moved to use shared_ops. PCIe PIPE clock operations on SM8350 are updated, to ensure the mux is parked when the parent PLL is disabled. GDSCs are added to the SC7280 LPASS audio clock controller. The RPM clock controller is transitioned to use the managed version of of_clk_add_hw_provider(). Missing XO clocks are added to MSM8226 and MSM8974. DeviceTree bindings are added for the various newly supported clock controllers, the binding for KPSS ACC and GCC drivers are converted to YAML and a few fixes are introduced. * tag 'qcom-clk-for-6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (57 commits) clk: qcom: gcc-sc8280xp: Add EMAC GDSCs clk: qcom: dispcc-qcm2290: Remove inexistent DSI1PHY clk clk: qcom: add the GPUCC driver for sa8775p dt-bindings: clock: qcom: describe the GPUCC clock for SA8775P clk: qcom: gcc-sm8350: fix PCIe PIPE clocks handling clk: qcom: lpassaudiocc-sc7280: Add required gdsc power domain clks in lpass_cc_sc7280_desc clk: qcom: lpasscc-sc7280: Skip qdsp6ss clock registration dt-bindings: clock: qcom,sc7280-lpasscc: Add qcom,adsp-pil-mode property clk: qcom: rpm: Use managed `of_clk_add_hw_provider()` clk: qcom: Add Global Clock Controller driver for IPQ9574 dt-bindings: clock: Add ipq9574 clock and reset definitions clk: qcom: gpucc-sm6375: Configure CX_GDSC disable wait value clk: qcom: gcc-sm6115: Mark RCGs shared where applicable clk: qcom: dispcc-qcm2290: Add MDSS_CORE reset dt-bindings: clock: dispcc-qcm2290: Add MDSS_CORE reset clk: qcom: apss-ipq-pll: add support for IPQ5332 dt-bindings: clock: qcom,a53pll: add IPQ5332 compatible clk: qcom: apss-ipq-pll: refactor the driver to accommodate different PLL types dt-bindings: mailbox: qcom,apcs-kpss-global: fix SDX55 'if' match dt-bindings: mailbox: qcom,apcs-kpss-global: correct SDX55 clocks ...
- Loading branch information
Showing
63 changed files
with
19,667 additions
and
1,082 deletions.
There are no files selected for viewing
49 changes: 0 additions & 49 deletions
49
Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/clock/qcom,gcc-ipq4019.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/qcom,gcc-ipq4019.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Global Clock & Reset Controller on IPQ4019 | ||
|
||
maintainers: | ||
- Stephen Boyd <sboyd@kernel.org> | ||
- Taniya Das <tdas@codeaurora.org> | ||
- Robert Marko <robert.markoo@sartura.hr> | ||
|
||
description: | | ||
Qualcomm global clock control module provides the clocks, resets and power | ||
domains on IPQ4019. | ||
See also:: include/dt-bindings/clock/qcom,gcc-ipq4019.h | ||
allOf: | ||
- $ref: qcom,gcc.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: qcom,gcc-ipq4019 | ||
|
||
clocks: | ||
items: | ||
- description: board XO clock | ||
- description: sleep clock | ||
|
||
clock-names: | ||
items: | ||
- const: xo | ||
- const: sleep_clk | ||
|
||
required: | ||
- compatible | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
clock-controller@1800000 { | ||
compatible = "qcom,gcc-ipq4019"; | ||
reg = <0x1800000 0x60000>; | ||
#clock-cells = <1>; | ||
#power-domain-cells = <1>; | ||
#reset-cells = <1>; | ||
clocks = <&xo>, <&sleep_clk>; | ||
clock-names = "xo", "sleep_clk"; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Global Clock & Reset Controller on IPQ5332 | ||
|
||
maintainers: | ||
- Bjorn Andersson <andersson@kernel.org> | ||
|
||
description: | | ||
Qualcomm global clock control module provides the clocks, resets and power | ||
domains on IPQ5332. | ||
See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h | ||
allOf: | ||
- $ref: qcom,gcc.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: qcom,ipq5332-gcc | ||
|
||
clocks: | ||
items: | ||
- description: Board XO clock source | ||
- description: Sleep clock source | ||
- description: PCIE 2lane PHY pipe clock source | ||
- description: PCIE 2lane x1 PHY pipe clock source (For second lane) | ||
- description: USB PCIE wrapper pipe clock source | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
clock-controller@1800000 { | ||
compatible = "qcom,ipq5332-gcc"; | ||
reg = <0x01800000 0x80000>; | ||
clocks = <&xo_board>, | ||
<&sleep_clk>, | ||
<&pcie_2lane_phy_pipe_clk>, | ||
<&pcie_2lane_phy_pipe_clk_x1>, | ||
<&usb_pcie_wrapper_pipe_clk>; | ||
#clock-cells = <1>; | ||
#power-domain-cells = <1>; | ||
#reset-cells = <1>; | ||
}; | ||
... |
61 changes: 61 additions & 0 deletions
61
Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/qcom,ipq9574-gcc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Global Clock & Reset Controller on IPQ9574 | ||
|
||
maintainers: | ||
- Anusha Rao <quic_anusha@quicinc.com> | ||
|
||
description: | | ||
Qualcomm global clock control module provides the clocks, resets and power | ||
domains on IPQ9574 | ||
See also:: | ||
include/dt-bindings/clock/qcom,ipq9574-gcc.h | ||
include/dt-bindings/reset/qcom,ipq9574-gcc.h | ||
properties: | ||
compatible: | ||
const: qcom,ipq9574-gcc | ||
|
||
clocks: | ||
items: | ||
- description: Board XO source | ||
- description: Sleep clock source | ||
- description: Bias PLL ubi clock source | ||
- description: PCIE30 PHY0 pipe clock source | ||
- description: PCIE30 PHY1 pipe clock source | ||
- description: PCIE30 PHY2 pipe clock source | ||
- description: PCIE30 PHY3 pipe clock source | ||
- description: USB3 PHY pipe clock source | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
|
||
allOf: | ||
- $ref: qcom,gcc.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
clock-controller@1800000 { | ||
compatible = "qcom,ipq9574-gcc"; | ||
reg = <0x01800000 0x80000>; | ||
clocks = <&xo_board_clk>, | ||
<&sleep_clk>, | ||
<&bias_pll_ubi_nc_clk>, | ||
<&pcie30_phy0_pipe_clk>, | ||
<&pcie30_phy1_pipe_clk>, | ||
<&pcie30_phy2_pipe_clk>, | ||
<&pcie30_phy3_pipe_clk>, | ||
<&usb3phy_0_cc_pipe_clk>; | ||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
#power-domain-cells = <1>; | ||
}; | ||
... |
Oops, something went wrong.