-
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-mediatek', 'clk-sunplus', 'clk-loongson' and 'clk…
…-socfpga' into clk-next - Frequency Hopping (FHCTL) on MediaTek MT6795, MT8173, MT8192 and MT8195 SoCs - Converted most Mediatek clock drivers to struct platform_driver - MediaTek clock drivers can be built as modules - Mediatek MT8188 SoC clk drivers - Clock driver for Sunplus SP7021 SoC - Reimplement Loongson-1 clk driver with DT support - Clk driver support for Loongson-2 SoCs - Migrate socfpga clk driver to of_clk_add_hw_provider() * clk-mediatek: (84 commits) clk: mediatek: fhctl: Mark local variables static clk: mediatek: Use right match table, include mod_devicetable clk: mediatek: Add MT8188 adsp clock support clk: mediatek: Add MT8188 imp i2c wrapper clock support clk: mediatek: Add MT8188 wpesys clock support clk: mediatek: Add MT8188 vppsys1 clock support clk: mediatek: Add MT8188 vppsys0 clock support clk: mediatek: Add MT8188 vencsys clock support clk: mediatek: Add MT8188 vdosys1 clock support clk: mediatek: Add MT8188 vdosys0 clock support clk: mediatek: Add MT8188 vdecsys clock support clk: mediatek: Add MT8188 mfgcfg clock support clk: mediatek: Add MT8188 ipesys clock support clk: mediatek: Add MT8188 imgsys clock support clk: mediatek: Add MT8188 ccusys clock support clk: mediatek: Add MT8188 camsys clock support clk: mediatek: Add MT8188 infrastructure clock support clk: mediatek: Add MT8188 peripheral clock support clk: mediatek: Add MT8188 topckgen clock support clk: mediatek: Add MT8188 apmixedsys clock support ... * clk-sunplus: clk: Add Sunplus SP7021 clock driver * clk-loongson: clk: clk-loongson2: add clock controller driver support dt-bindings: clock: add loongson-2 boot clock index MAINTAINERS: remove obsolete file entry in MIPS/LOONGSON1 ARCHITECTURE MIPS: loongson32: Update the clock initialization clk: loongson1: Re-implement the clock driver clk: loongson1: Remove the outdated driver dt-bindings: clock: Add Loongson-1 clock * clk-socfpga: clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling clk: socfpga: use of_clk_add_hw_provider and improve error handling clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling clk: socfpga: use of_clk_add_hw_provider and improve error handling clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling clk: socfpga: use of_clk_add_hw_provider and improve error handling
- Loading branch information
Showing
205 changed files
with
9,286 additions
and
4,897 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
Documentation/devicetree/bindings/clock/loongson,ls1x-clk.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,45 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Loongson-1 Clock Controller | ||
|
||
maintainers: | ||
- Keguang Zhang <keguang.zhang@gmail.com> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- loongson,ls1b-clk | ||
- loongson,ls1c-clk | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
"#clock-cells": | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- "#clock-cells" | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
clkc: clock-controller@1fe78030 { | ||
compatible = "loongson,ls1b-clk"; | ||
reg = <0x1fe78030 0x8>; | ||
clocks = <&xtal>; | ||
#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
71 changes: 71 additions & 0 deletions
71
Documentation/devicetree/bindings/clock/mediatek,mt8188-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,71 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/mediatek,mt8188-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MediaTek Functional Clock Controller for MT8188 | ||
|
||
maintainers: | ||
- Garmin Chang <garmin.chang@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: | ||
enum: | ||
- mediatek,mt8188-adsp-audio26m | ||
- mediatek,mt8188-camsys | ||
- mediatek,mt8188-camsys-rawa | ||
- mediatek,mt8188-camsys-rawb | ||
- mediatek,mt8188-camsys-yuva | ||
- mediatek,mt8188-camsys-yuvb | ||
- mediatek,mt8188-ccusys | ||
- mediatek,mt8188-imgsys | ||
- mediatek,mt8188-imgsys-wpe1 | ||
- mediatek,mt8188-imgsys-wpe2 | ||
- mediatek,mt8188-imgsys-wpe3 | ||
- mediatek,mt8188-imgsys1-dip-nr | ||
- mediatek,mt8188-imgsys1-dip-top | ||
- mediatek,mt8188-imp-iic-wrap-c | ||
- mediatek,mt8188-imp-iic-wrap-en | ||
- mediatek,mt8188-imp-iic-wrap-w | ||
- mediatek,mt8188-ipesys | ||
- mediatek,mt8188-mfgcfg | ||
- mediatek,mt8188-vdecsys | ||
- mediatek,mt8188-vdecsys-soc | ||
- mediatek,mt8188-vencsys | ||
- mediatek,mt8188-vppsys0 | ||
- mediatek,mt8188-vppsys1 | ||
- mediatek,mt8188-wpesys | ||
- mediatek,mt8188-wpesys-vpp0 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- '#clock-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
clock-controller@11283000 { | ||
compatible = "mediatek,mt8188-imp-iic-wrap-c"; | ||
reg = <0x11283000 0x1000>; | ||
#clock-cells = <1>; | ||
}; | ||
55 changes: 55 additions & 0 deletions
55
Documentation/devicetree/bindings/clock/mediatek,mt8188-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,55 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MediaTek System Clock Controller for MT8188 | ||
|
||
maintainers: | ||
- Garmin Chang <garmin.chang@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,mt8188-apmixedsys | ||
- mediatek,mt8188-infracfg-ao | ||
- mediatek,mt8188-pericfg-ao | ||
- mediatek,mt8188-topckgen | ||
- const: syscon | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
'#clock-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- '#clock-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
clock-controller@10000000 { | ||
compatible = "mediatek,mt8188-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
Oops, something went wrong.