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:Nancy.Lin <nancy.lin@mediatek.com> Signed-off-by:
Paul-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:
Paul-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:
Eric Yilun Lin <yllin@google.com> Tested-by:
Eric Yilun Lin <yllin@google.com> Reviewed-by:
Pin-yen Lin <treapking@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com> Signed-off-by:
Hubert Mazur <hmazur@google.com>
Loading
Please sign in to comment