From: Nathan Lu <nathan.lu@xxxxxxxxxxxx> This patch is to add first version mt8188 vdosys0 driver Modify and add new files include: 1. bindings documents 2. mtk mmsys 3. mtk mutex 4. mtk drm driver Change in V3: - based on [1] [1] Change mmsys compatible for mt8195 mediatek-drm - https://patchwork.kernel.org/project/linux-mediatek/list/?series=699386 - Modify mediatek,mmsys.yaml mt8188-mmsys name to mt8188-vdosys0 - Modify mtk-mmsys.c compatible name to mt8188-vdosys0 - Add DSI mutex in mtk-mutex.c - Modify mtk_drm_drv.c mt8188-mmsysy name to mt8188-vdosys0 Change in V2: - based on [2] and [3] [2] Add MediaTek SoC(vdosys1) support for mt8195 - https://patchwork.kernel.org/project/linux-mediatek/list/?series=658416 [3] Add MediaTek SoC DRM (vdosys1) support for mt8195 - https://patchwork.kernel.org/project/linux-mediatek/list/?series=665269 - Seperate bindings doucment into mmsys/mutex/display 3 parts - Remove redundent char in mediatek,gamma.yaml - Add another mediatek,mt8188-disp-rdma in mediatek,rdma.yaml - Remove io_start variable setting in mtk_drm_drv.c and mtk_mmsys.c Nathan Lu (6): dt-bindings: mediatek: modify VDOSYS0 display device tree Documentations for MT8188 dt-bindings: mediatek: modify VDOSYS0 mmsys device tree Documentations for MT8188 dt-bindings: mediatek: modify VDOSYS0 mutex device tree Documentations for MT8188 soc: mediatek: add mtk-mmsys support for mt8188 vdosys0 soc: mediatek: add mtk-mutex support for mt8188 vdosys0 drm/mediatek: add mediatek-drm of vdosys0 support for mt8188 .../bindings/arm/mediatek/mediatek,mmsys.yaml | 4 + .../display/mediatek/mediatek,aal.yaml | 1 + .../display/mediatek/mediatek,ccorr.yaml | 1 + .../display/mediatek/mediatek,color.yaml | 1 + .../display/mediatek/mediatek,dither.yaml | 1 + .../display/mediatek/mediatek,gamma.yaml | 1 + .../display/mediatek/mediatek,ovl.yaml | 1 + .../display/mediatek/mediatek,postmask.yaml | 1 + .../display/mediatek/mediatek,rdma.yaml | 4 + .../bindings/soc/mediatek/mediatek,mutex.yaml | 1 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 21 +++ drivers/soc/mediatek/mt8188-mmsys.h | 149 ++++++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 11 ++ drivers/soc/mediatek/mtk-mutex.c | 53 +++++++ 14 files changed, 250 insertions(+) create mode 100644 drivers/soc/mediatek/mt8188-mmsys.h -- 2.18.0