# 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
