Skip to content

Commit c619781

Browse files
Fabobebarino
authored andcommitted
dt-bindings: clock: mediatek: add bindings for MT8365 SoC
Add the clock bindings for the MediaTek MT8365 SoC. Signed-off-by: Fabien Parent <fparent@baylibre.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Link: https://lore.kernel.org/r/20220822152652.3499972-2-msp@baylibre.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent f882a1e commit c619781

File tree

3 files changed

+462
-0
lines changed

3 files changed

+462
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/mediatek,mt8365-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek Functional Clock Controller for MT8365
8+
9+
maintainers:
10+
- Markus Schneider-Pargmann <msp@baylibre.com>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- enum:
16+
- mediatek,mt8365-apu
17+
- mediatek,mt8365-imgsys
18+
- mediatek,mt8365-mfgcfg
19+
- mediatek,mt8365-vdecsys
20+
- mediatek,mt8365-vencsys
21+
- const: syscon
22+
23+
reg:
24+
maxItems: 1
25+
26+
'#clock-cells':
27+
const: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
- '#clock-cells'
33+
34+
additionalProperties: false
35+
36+
examples:
37+
- |
38+
apu: clock-controller@19020000 {
39+
compatible = "mediatek,mt8365-apu", "syscon";
40+
reg = <0x19020000 0x1000>;
41+
#clock-cells = <1>;
42+
};
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/mediatek,mt8365-sys-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MediaTek System Clock Controller for MT8365
8+
9+
maintainers:
10+
- Markus Schneider-Pargmann <msp@baylibre.com>
11+
12+
description:
13+
The apmixedsys module provides most of PLLs which generated from SoC 26m.
14+
The topckgen provides dividers and muxes which provides the clock source to other IP blocks.
15+
The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks.
16+
17+
properties:
18+
compatible:
19+
items:
20+
- enum:
21+
- mediatek,mt8365-topckgen
22+
- mediatek,mt8365-infracfg
23+
- mediatek,mt8365-apmixedsys
24+
- mediatek,mt8365-pericfg
25+
- mediatek,mt8365-mcucfg
26+
- const: syscon
27+
28+
reg:
29+
maxItems: 1
30+
31+
'#clock-cells':
32+
const: 1
33+
34+
required:
35+
- compatible
36+
- reg
37+
- '#clock-cells'
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
topckgen: clock-controller@10000000 {
44+
compatible = "mediatek,mt8365-topckgen", "syscon";
45+
reg = <0x10000000 0x1000>;
46+
#clock-cells = <1>;
47+
};

0 commit comments

Comments
 (0)