mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

Add bindings for the MediaTek External Memory Interface Interconnect, which providers support system bandwidth requirements through Dynamic Voltage Frequency Scaling Resource Collector (DVFSRC) hardware. This adds bindings for MediaTek MT8183 and MT8195 SoCs. Note that this is modeled as a subnode of DVFSRC for multiple reasons: - Some SoCs have more than one interconnect on the DVFSRC (and two different kinds of EMI interconnect, and also a SMI interconnect); - Some boards will want to not enable the interconnect driver because some of those are not battery powered (so they just keep the knobs at full thrust from the bootloader and never care scaling busses); - Some DVFSRC interconnect features may depend on firmware. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20240610085735.147134-3-angelogioacchino.delregno@collabora.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/interconnect/mediatek,mt8183-emi.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: MediaTek External Memory Interface (EMI) Interconnect
|
|
|
|
maintainers:
|
|
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
|
|
description: |
|
|
EMI interconnect providers support system bandwidth requirements through
|
|
Dynamic Voltage Frequency Scaling Resource Collector (DVFSRC) hardware.
|
|
The provider is able to communicate with the DVFSRC through Secure Monitor
|
|
Call (SMC).
|
|
|
|
ICC provider ICC Nodes
|
|
---- ----
|
|
_________ |CPU | |--- |VPU |
|
|
_____ | |----- ---- | ----
|
|
| |->| DRAM | ---- | ----
|
|
|DRAM |->|scheduler|----- |GPU | |--- |DISP|
|
|
| |->| (EMI) | ---- | ----
|
|
|_____|->|_________|---. ----- | ----
|
|
/|\ `-|MMSYS|--|--- |VDEC|
|
|
| ----- | ----
|
|
| | ----
|
|
| change DRAM freq |--- |VENC|
|
|
-------- | ----
|
|
SMC --> | DVFSRC | | ----
|
|
-------- |--- |IMG |
|
|
| ----
|
|
| ----
|
|
|--- |CAM |
|
|
----
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- mediatek,mt8183-emi
|
|
- mediatek,mt8195-emi
|
|
|
|
'#interconnect-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- '#interconnect-cells'
|
|
|
|
unevaluatedProperties: false
|