Commit fe95a75e authored by Nancy.Lin's avatar Nancy.Lin Committed by Hubert Mazur
Browse files

BACKPORT: FROMLIST: soc: mediatek: add mmsys support for MT8196



1. Defining driver data and adding compatible string
for different subsystems
(DISPSYS0, DISPSYS1, OVLSYS0, OVLSYS1, VDISP_AO)
2. Adding functions to control top clocks and ddp clocks.
3. Updating the probe function to initialize clocks and
enable runtime PM if its node has the power-domains property.
4. Adding functions to configure ddp components and
set default configurations.
5. Adding the routing table for each mmsys in MT8196.

Signed-off-by: default avatarNancy.Lin <nancy.lin@mediatek.com>
Signed-off-by: default avatarPaul-pl.Chen <paul-pl.chen@mediatek.com>
(am from https://patchwork.kernel.org/patch/13935610/)
(also found at https://lore.kernel.org/r/20250110123835.2719824-8-paul-pl.chen@mediatek.com

)

Conflicts:
   drivers/soc/mediatek/mtk-mmsys.c
   [Paul: change mtk_mmsys_remove type]
   drivers/soc/mediatek/mtk-mmsys.h
   include/linux/soc/mediatek/mtk-mmsys.h

BUG=b:384077322
TEST=emerge-rauru sys-kernel/chromeos-kernel-6_6
UPSTREAM-TASK=b:379039599

Signed-off-by: default avatarPaul-PL Chen <paul-pl.chen@mediatek.corp-partner.google.com>
Change-Id: Iaf3ab2b1b0b0750409090c7e9e47b50f22950d68
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6181671


Reviewed-by: default avatarEric Yilun Lin <yllin@google.com>
Tested-by: default avatarEric Yilun Lin <yllin@google.com>
Reviewed-by: default avatarPin-yen Lin <treapking@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Signed-off-by: default avatarHubert Mazur <hmazur@google.com>
parent 6f8058d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment