26bcd8a530
For MT8188, VPPSYS0 and VPPSYS1 are 2 display pipes with hardware differences in power domains, clocks and subsystem counts, which should be probed from mtk-mmsys driver to populate device by platform_device_register_data then start its own clock driver. Signed-off-by: yu-chang.lee <yu-chang.lee@mediatek.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
70 lines
1.7 KiB
YAML
70 lines
1.7 KiB
YAML
# 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-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>;
|
|
};
|
|
|