-
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 branches 'clk-range', 'clk-uniphier', 'clk-apple' and 'clk-qcom…
…' into clk-next - Make clk_set_rate_range() re-evaluate the limits each time - Introduce various clk_set_rate_range() tests - Add clk_drop_range() to drop a previously set range - Support for NCO blocks on Apple SoCs * clk-range: clk: Drop the rate range on clk_put() clk: test: Test clk_set_rate_range on orphan mux clk: Initialize orphan req_rate clk: bcm: rpi: Run some clocks at the minimum rate allowed clk: bcm: rpi: Set a default minimum rate clk: bcm: rpi: Add variant structure clk: Add clk_drop_range clk: Always set the rate on clk_set_range_rate clk: Use clamp instead of open-coding our own clk: Always clamp the rounded rate clk: Enforce that disjoints limits are invalid clk: Introduce Kunit Tests for the framework clk: Fix clk_hw_get_clk() when dev is NULL * clk-uniphier: clk: uniphier: Fix fixed-rate initialization * clk-apple: clk: clk-apple-nco: Allow and fix module building MAINTAINERS: Add clk-apple-nco under ARM/APPLE MACHINE clk: clk-apple-nco: Add driver for Apple NCO dt-bindings: clock: Add Apple NCO * clk-qcom: (61 commits) clk: qcom: gcc-msm8994: Fix gpll4 width dt-bindings: clock: fix dt_binding_check error for qcom,gcc-other.yaml clk: qcom: Add display clock controller driver for SM6125 dt-bindings: clock: add QCOM SM6125 display clock bindings clk: qcom: Fix sorting of SDX_GCC_65 in Makefile and Kconfig clk: qcom: gcc: Add emac GDSC support for SM8150 clk: qcom: gcc: sm8150: Fix some identation issues clk: qcom: gcc: Add UFS_CARD and UFS_PHY GDSCs for SM8150 clk: qcom: gcc: Add PCIe0 and PCIe1 GDSC for SM8150 clk: qcom: clk-rcg2: Update the frac table for pixel clock clk: qcom: clk-rcg2: Update logic to calculate D value for RCG clk: qcom: smd: Add missing MSM8998 RPM clocks clk: qcom: smd: Add missing RPM clocks for msm8992/4 dt-bindings: clock: qcom: rpmcc: Add RPM Modem SubSystem (MSS) clocks clk: qcom: gcc-ipq806x: add CryptoEngine resets dt-bindings: reset: add ipq8064 ce5 resets clk: qcom: gcc-ipq806x: add CryptoEngine clocks dt-bindings: clock: add ipq8064 ce5 clk define clk: qcom: gcc-ipq806x: add additional freq for sdc table clk: qcom: clk-rcg: add clk_rcg_floor_ops ops ...
- Loading branch information
Showing
54 changed files
with
6,666 additions
and
1,042 deletions.
There are no files selected for viewing
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,62 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/apple,nco.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Apple SoCs' NCO block | ||
|
||
maintainers: | ||
- Martin Povišer <povik+lin@cutebit.org> | ||
|
||
description: | | ||
The NCO (Numerically Controlled Oscillator) block found on Apple SoCs | ||
such as the t8103 (M1) is a programmable clock generator performing | ||
fractional division of a high frequency input clock. | ||
It carries a number of independent channels and is typically used for | ||
generation of audio bitclocks. | ||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- apple,t6000-nco | ||
- apple,t8103-nco | ||
- const: apple,nco | ||
|
||
clocks: | ||
description: | ||
Specifies the reference clock from which the output clocks | ||
are derived through fractional division. | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- '#clock-cells' | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
nco_clkref: clock-ref { | ||
compatible = "fixed-clock"; | ||
#clock-cells = <0>; | ||
clock-frequency = <900000000>; | ||
clock-output-names = "nco-ref"; | ||
}; | ||
nco: clock-controller@23b044000 { | ||
compatible = "apple,t8103-nco", "apple,nco"; | ||
reg = <0x3b044000 0x14000>; | ||
#clock-cells = <1>; | ||
clocks = <&nco_clkref>; | ||
}; |
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 was deleted.
Oops, something went wrong.
87 changes: 87 additions & 0 deletions
87
Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.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,87 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/qcom,dispcc-sm6125.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Display Clock Controller Binding for SM6125 | ||
|
||
maintainers: | ||
- Martin Botka <martin.botka@somainline.org> | ||
|
||
description: | | ||
Qualcomm display clock control module which supports the clocks and | ||
power domains on SM6125. | ||
See also: | ||
dt-bindings/clock/qcom,dispcc-sm6125.h | ||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sm6125-dispcc | ||
|
||
clocks: | ||
items: | ||
- description: Board XO source | ||
- description: Byte clock from DSI PHY0 | ||
- description: Pixel clock from DSI PHY0 | ||
- description: Pixel clock from DSI PHY1 | ||
- description: Link clock from DP PHY | ||
- description: VCO DIV clock from DP PHY | ||
- description: AHB config clock from GCC | ||
|
||
clock-names: | ||
items: | ||
- const: bi_tcxo | ||
- const: dsi0_phy_pll_out_byteclk | ||
- const: dsi0_phy_pll_out_dsiclk | ||
- const: dsi1_phy_pll_out_dsiclk | ||
- const: dp_phy_pll_link_clk | ||
- const: dp_phy_pll_vco_div_clk | ||
- const: cfg_ahb_clk | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
'#power-domain-cells': | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#clock-cells' | ||
- '#power-domain-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,rpmcc.h> | ||
#include <dt-bindings/clock/qcom,gcc-sm6125.h> | ||
clock-controller@5f00000 { | ||
compatible = "qcom,sm6125-dispcc"; | ||
reg = <0x5f00000 0x20000>; | ||
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, | ||
<&dsi0_phy 0>, | ||
<&dsi0_phy 1>, | ||
<&dsi1_phy 1>, | ||
<&dp_phy 0>, | ||
<&dp_phy 1>, | ||
<&gcc GCC_DISP_AHB_CLK>; | ||
clock-names = "bi_tcxo", | ||
"dsi0_phy_pll_out_byteclk", | ||
"dsi0_phy_pll_out_dsiclk", | ||
"dsi1_phy_pll_out_dsiclk", | ||
"dp_phy_pll_link_clk", | ||
"dp_phy_pll_vco_div_clk", | ||
"cfg_ahb_clk"; | ||
#clock-cells = <1>; | ||
#power-domain-cells = <1>; | ||
}; | ||
... |
86 changes: 86 additions & 0 deletions
86
Documentation/devicetree/bindings/clock/qcom,dispcc-sm6350.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,86 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/qcom,dispcc-sm6350.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Display Clock & Reset Controller Binding for SM6350 | ||
|
||
maintainers: | ||
- Konrad Dybcio <konrad.dybcio@somainline.org> | ||
|
||
description: | | ||
Qualcomm display clock control module which supports the clocks, resets and | ||
power domains on SM6350. | ||
See also dt-bindings/clock/qcom,dispcc-sm6350.h. | ||
properties: | ||
compatible: | ||
const: qcom,sm6350-dispcc | ||
|
||
clocks: | ||
items: | ||
- description: Board XO source | ||
- description: GPLL0 source from GCC | ||
- description: Byte clock from DSI PHY | ||
- description: Pixel clock from DSI PHY | ||
- description: Link clock from DP PHY | ||
- description: VCO DIV clock from DP PHY | ||
|
||
clock-names: | ||
items: | ||
- const: bi_tcxo | ||
- const: gcc_disp_gpll0_clk | ||
- const: dsi0_phy_pll_out_byteclk | ||
- const: dsi0_phy_pll_out_dsiclk | ||
- const: dp_phy_pll_link_clk | ||
- const: dp_phy_pll_vco_div_clk | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
'#reset-cells': | ||
const: 1 | ||
|
||
'#power-domain-cells': | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#clock-cells' | ||
- '#reset-cells' | ||
- '#power-domain-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,gcc-sm6350.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
clock-controller@af00000 { | ||
compatible = "qcom,sm6350-dispcc"; | ||
reg = <0x0af00000 0x20000>; | ||
clocks = <&rpmhcc RPMH_CXO_CLK>, | ||
<&gcc GCC_DISP_GPLL0_CLK>, | ||
<&dsi_phy 0>, | ||
<&dsi_phy 1>, | ||
<&dp_phy 0>, | ||
<&dp_phy 1>; | ||
clock-names = "bi_tcxo", | ||
"gcc_disp_gpll0_clk", | ||
"dsi0_phy_pll_out_byteclk", | ||
"dsi0_phy_pll_out_dsiclk", | ||
"dp_phy_pll_link_clk", | ||
"dp_phy_pll_vco_div_clk"; | ||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
#power-domain-cells = <1>; | ||
}; | ||
... |
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
Oops, something went wrong.