-
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-ux500', 'clk-mtk', 'clk-tegra', 'clk-allwinner' a…
…nd 'clk-imx' into clk-next - Convert ux500 to clk_hw - Add the two missing CLKOUT clocks for U8500/DB8500 SoC - MediaTek MT8186 SoC clk support - Move MediaTek driver to clk_hw provider APIs * clk-ux500: clk: ux500: fix a possible off-by-one in u8500_prcc_reset_base() clk: ux500: Implement the missing CLKOUT clocks clk: ux500: Rewrite PRCMU clocks to use clk_hw_* clk: ux500: Drop .is_prepared state from PRCMU clocks clk: ux500: Drop .is_enabled state from PRCMU clocks dt-bindings: clock: u8500: Add clkout clock bindings * clk-mtk: (22 commits) clk: mediatek: mt8173: Switch to clk_hw provider APIs clk: mediatek: Switch to clk_hw provider APIs clk: mediatek: Replace 'struct clk' with 'struct clk_hw' clk: mediatek: apmixed: Drop error message from clk_register() failure clk: mediatek: Make mtk_clk_register_composite() static clk: mediatek: use en_mask as a pure div_en_mask clk: mediatek: update compatible string for MT7986 ethsys clk: mediatek: Add MT8186 ipesys clock support clk: mediatek: Add MT8186 mdpsys clock support clk: mediatek: Add MT8186 camsys clock support clk: mediatek: Add MT8186 vencsys clock support clk: mediatek: Add MT8186 vdecsys clock support clk: mediatek: Add MT8186 imgsys clock support clk: mediatek: Add MT8186 wpesys clock support clk: mediatek: Add MT8186 mmsys clock support clk: mediatek: Add MT8186 mfgsys clock support clk: mediatek: Add MT8186 imp i2c wrapper clock support clk: mediatek: Add MT8186 apmixedsys clock support clk: mediatek: Add MT8186 infrastructure clock support clk: mediatek: Add MT8186 topckgen clock support ... * clk-tegra: clk: tegra: Update kerneldoc to match prototypes clk: tegra: Replace .round_rate() with .determine_rate() clk: tegra: Register clocks from root to leaf clk: tegra: Add missing reset deassertion * clk-allwinner: clk: sunxi-ng: h616: Add PLL derived 32KHz clock clk: sunxi-ng: h6-r: Add RTC gate clock * clk-imx: clk: imx8mp: fix usb_root_clk parent clk: imx8mp: add clkout1/2 support clk: imx: scu: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage clk: imx8mp: Add DISP2 pixel clock clk: imx: scu: fix a potential memory leak in __imx_clk_gpr_scu() clk: imx: Add check for kcalloc clk: imx8mn: add GPT support dt-bindings: imx: add clock bindings for i.MX8MN GPT clk: imx: Remove the snvs clock clk: imx8m: check mcore_booted before register clk clk: imx: add mcore_booted module paratemter clk: imx8mq: add 27m phy pll ref clock
- Loading branch information
Showing
135 changed files
with
3,845 additions
and
1,006 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-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,56 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt8186-clock.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: MediaTek Functional Clock Controller for MT8186 | ||
|
||
maintainers: | ||
- Chun-Jie Chen <chun-jie.chen@mediatek.com> | ||
|
||
description: | | ||
The clock architecture in MediaTek like below | ||
PLLs --> | ||
dividers --> | ||
muxes | ||
--> | ||
clock gate | ||
The devices provide clock gate control in different IP blocks. | ||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- mediatek,mt8186-imp_iic_wrap | ||
- mediatek,mt8186-mfgsys | ||
- mediatek,mt8186-wpesys | ||
- mediatek,mt8186-imgsys1 | ||
- mediatek,mt8186-imgsys2 | ||
- mediatek,mt8186-vdecsys | ||
- mediatek,mt8186-vencsys | ||
- mediatek,mt8186-camsys | ||
- mediatek,mt8186-camsys_rawa | ||
- mediatek,mt8186-camsys_rawb | ||
- mediatek,mt8186-mdpsys | ||
- mediatek,mt8186-ipesys | ||
reg: | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
imp_iic_wrap: clock-controller@11017000 { | ||
compatible = "mediatek,mt8186-imp_iic_wrap"; | ||
reg = <0x11017000 0x1000>; | ||
#clock-cells = <1>; | ||
}; |
54 changes: 54 additions & 0 deletions
54
Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8186-sys-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,54 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt8186-sys-clock.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: MediaTek System Clock Controller for MT8186 | ||
|
||
maintainers: | ||
- Chun-Jie Chen <chun-jie.chen@mediatek.com> | ||
|
||
description: | | ||
The clock architecture in MediaTek like below | ||
PLLs --> | ||
dividers --> | ||
muxes | ||
--> | ||
clock gate | ||
The apmixedsys provides most of PLLs which generated from SoC 26m. | ||
The topckgen provides dividers and muxes which provide the clock source to other IP blocks. | ||
The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks. | ||
The mcusys provides mux control to select the clock source in AP MCU. | ||
The device nodes also provide the system control capacity for configuration. | ||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- mediatek,mt8186-mcusys | ||
- mediatek,mt8186-topckgen | ||
- mediatek,mt8186-infracfg_ao | ||
- mediatek,mt8186-apmixedsys | ||
- const: syscon | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
topckgen: syscon@10000000 { | ||
compatible = "mediatek,mt8186-topckgen", "syscon"; | ||
reg = <0x10000000 0x1000>; | ||
#clock-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
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
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.