-
Notifications
You must be signed in to change notification settings - Fork 2
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-cleanup', 'clk-renesas', 'clk-mediatek', 'clk-sam…
…sung' and 'clk-socfpga' into clk-next - Support for 5L35023 variant of Versa 3 clock generator * clk-cleanup: clk: analogbits: Fix incorrect calculation of vco rate delta clk: Use str_enable_disable-like helpers clk: clk-loongson2: Switch to use devm_clk_hw_register_fixed_rate_parent_data() clk: starfive: Make _clk_get become a common helper function clk: ep93xx: make const read-only arrays static clk: lmk04832: make read-only const arrays static clk: ti: use kcalloc() instead of kzalloc() dt-bindings: clock: st,stm32mp1-rcc: complete the reference path dt-bindings: clock: st,stm32mp1-rcc: fix reference paths dt-bindings: clock: ti: Convert composite.txt to json-schema dt-bindings: clock: ti: Convert gate.txt to json-schema clk: Drop obsolete devm_clk_bulk_get_all_enable() helper PCI: exynos: Switch to devm_clk_bulk_get_all_enabled() soc: mediatek: pwrap: Switch to devm_clk_bulk_get_all_enabled() clk: davinci: remove platform data struct clk: fix an OF node reference leak in of_clk_get_parent_name() clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check clk: mmp: pxa1908-mpmu: Fix a NULL vs IS_ERR() check * clk-renesas: (24 commits) dt-bindings: clock: renesas,r9a08g045-vbattb: Fix include guard clk: renesas: r9a09g057: Add clock and reset entries for GIC clk: renesas: r9a09g057: Add reset entry for SYS clk: renesas: r8a779g0: Add VSPX clocks clk: renesas: r8a779g0: Add FCPVX clocks clk: renesas: r9a09g047: Add I2C clocks/resets clk: renesas: r9a09g047: Add CA55 core clocks clk: renesas: rzv2h: Add support for RZ/G3E SoC clk: renesas: rzv2h: Add MSTOP support dt-bindings: clock: renesas: Document RZ/G3E SoC CPG dt-bindings: soc: renesas: Document RZ/G3E SMARC SoM and Carrier-II EVK dt-bindings: soc: renesas: Document Renesas RZ/G3E SoC variants clk: versaclock3: Add support for the 5L35023 variant dt-bindings: clock: versaclock3: Document 5L35023 Versa3 clock generator clk: versaclock3: Prepare for the addition of 5L35023 device clk: renesas: r9a08g045: Add clocks, resets and power domain support for the ADC IP clk: renesas: r8a779h0: Add display clocks clk: renesas: r9a09g057: Add support for PLLVDO, CRU clocks, and resets clk: renesas: rzv2h: Add selective Runtime PM support for clocks clk: renesas: r9a06g032: Use BIT macro consistently ... * clk-mediatek: clk: ralink: mtmips: remove duplicated 'xtal' clock for Ralink SoC RT3883 clk: mediatek: mt2701-img: add missing dummy clk clk: mediatek: mt2701-mm: add missing dummy clk clk: mediatek: mt2701-bdp: add missing dummy clk clk: mediatek: mt2701-aud: fix conversion to mtk_clk_simple_probe clk: mediatek: mt2701-vdec: fix conversion to mtk_clk_simple_probe * clk-samsung: clk: samsung: Introduce Exynos990 clock controller driver clk: samsung: clk-pll: Add support for pll_{0717x, 0718x, 0732x} dt-bindings: clock: samsung: Add Exynos990 SoC CMU bindings * clk-socfpga: clk: socfpga: arria10: Optimize local variables in clk_pll_recalc_rate()
- Loading branch information
Showing
30 changed files
with
2,419 additions
and
103 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 |
---|---|---|
|
@@ -31,6 +31,7 @@ description: | | |
properties: | ||
compatible: | ||
enum: | ||
- renesas,5l35023 | ||
- renesas,5p35023 | ||
|
||
reg: | ||
|
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 |
---|---|---|
|
@@ -4,19 +4,22 @@ | |
$id: http://devicetree.org/schemas/clock/renesas,rzv2h-cpg.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Renesas RZ/V2H(P) Clock Pulse Generator (CPG) | ||
title: Renesas RZ/{G3E,V2H(P)} Clock Pulse Generator (CPG) | ||
|
||
maintainers: | ||
- Lad Prabhakar <[email protected]> | ||
|
||
description: | ||
On Renesas RZ/V2H(P) SoCs, the CPG (Clock Pulse Generator) handles generation | ||
and control of clock signals for the IP modules, generation and control of resets, | ||
and control over booting, low power consumption and power supply domains. | ||
On Renesas RZ/{G3E,V2H(P)} SoCs, the CPG (Clock Pulse Generator) handles | ||
generation and control of clock signals for the IP modules, generation and | ||
control of resets, and control over booting, low power consumption and power | ||
supply domains. | ||
|
||
properties: | ||
compatible: | ||
const: renesas,r9a09g057-cpg | ||
enum: | ||
- renesas,r9a09g047-cpg # RZ/G3E | ||
- renesas,r9a09g057-cpg # RZ/V2H | ||
|
||
reg: | ||
maxItems: 1 | ||
|
@@ -37,7 +40,7 @@ properties: | |
description: | | ||
- For CPG core clocks, the two clock specifier cells must be "CPG_CORE" | ||
and a core clock reference, as defined in | ||
<dt-bindings/clock/renesas,r9a09g057-cpg.h>, | ||
<dt-bindings/clock/renesas,r9a09g0*-cpg.h>, | ||
- For module clocks, the two clock specifier cells must be "CPG_MOD" and | ||
a module number. The module number is calculated as the CLKON register | ||
offset index multiplied by 16, plus the actual bit in the register | ||
|
121 changes: 121 additions & 0 deletions
121
Documentation/devicetree/bindings/clock/samsung,exynos990-clock.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,121 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/samsung,exynos990-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung Exynos990 SoC clock controller | ||
|
||
maintainers: | ||
- Igor Belwon <[email protected]> | ||
- Chanwoo Choi <[email protected]> | ||
- Krzysztof Kozlowski <[email protected]> | ||
|
||
description: | | ||
Exynos990 clock controller is comprised of several CMU units, generating | ||
clocks for different domains. Those CMU units are modeled as separate device | ||
tree nodes, and might depend on each other. The root clock in that root tree | ||
is an external clock: OSCCLK (26 MHz). This external clock must be defined | ||
as a fixed-rate clock in dts. | ||
CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and | ||
dividers; all other clocks of function blocks (other CMUs) are usually | ||
derived from CMU_TOP. | ||
Each clock is assigned an identifier and client nodes can use this identifier | ||
to specify the clock which they consume. All clocks available for usage | ||
in clock consumer nodes are defined as preprocessor macros in | ||
'include/dt-bindings/clock/samsung,exynos990.h' header. | ||
properties: | ||
compatible: | ||
enum: | ||
- samsung,exynos990-cmu-hsi0 | ||
- samsung,exynos990-cmu-top | ||
|
||
clocks: | ||
minItems: 1 | ||
maxItems: 5 | ||
|
||
clock-names: | ||
minItems: 1 | ||
maxItems: 5 | ||
|
||
"#clock-cells": | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- clock-names | ||
- "#clock-cells" | ||
- reg | ||
|
||
allOf: | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: samsung,exynos990-cmu-hsi0 | ||
|
||
then: | ||
properties: | ||
clocks: | ||
items: | ||
- description: External reference clock (26 MHz) | ||
- description: CMU_HSI0 BUS clock (from CMU_TOP) | ||
- description: CMU_HSI0 USB31DRD clock (from CMU_TOP) | ||
- description: CMU_HSI0 USBDP_DEBUG clock (from CMU_TOP) | ||
- description: CMU_HSI0 DPGTC clock (from CMU_TOP) | ||
|
||
clock-names: | ||
items: | ||
- const: oscclk | ||
- const: bus | ||
- const: usb31drd | ||
- const: usbdp_debug | ||
- const: dpgtc | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
const: samsung,exynos990-cmu-top | ||
|
||
then: | ||
properties: | ||
clocks: | ||
items: | ||
- description: External reference clock (26 MHz) | ||
|
||
clock-names: | ||
items: | ||
- const: oscclk | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/samsung,exynos990.h> | ||
cmu_hsi0: clock-controller@10a00000 { | ||
compatible = "samsung,exynos990-cmu-hsi0"; | ||
reg = <0x10a00000 0x8000>; | ||
#clock-cells = <1>; | ||
clocks = <&oscclk>, | ||
<&cmu_top CLK_DOUT_CMU_HSI0_BUS>, | ||
<&cmu_top CLK_DOUT_CMU_HSI0_USB31DRD>, | ||
<&cmu_top CLK_DOUT_CMU_HSI0_USBDP_DEBUG>, | ||
<&cmu_top CLK_DOUT_CMU_HSI0_DPGTC>; | ||
clock-names = "oscclk", | ||
"bus", | ||
"usb31drd", | ||
"usbdp_debug", | ||
"dpgtc"; | ||
}; | ||
... |
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
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.