From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D34A8C41604 for ; Tue, 6 Oct 2020 19:33:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 89EBE206CB for ; Tue, 6 Oct 2020 19:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727162AbgJFTd3 (ORCPT ); Tue, 6 Oct 2020 15:33:29 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38180 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727097AbgJFTd3 (ORCPT ); Tue, 6 Oct 2020 15:33:29 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 6FABC28A7A9 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , yongqiang.niu@mediatek.com, matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, chunkuang.hu@kernel.org, CK Hu , Daniel Vetter , David Airlie , Philipp Zabel , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 0/4] soc: mediatek: Prepare MMSYS for DDP routing using tables Date: Tue, 6 Oct 2020 21:33:16 +0200 Message-Id: <20201006193320.405529-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear all, The following series are intended to prepare the mtk-mmsys driver to allow different DDP (Data Display Path) routing tables per SoC. Note that the series has been tested only on MT8173 platform and could break the display on MT2701 and MT2712 based devices. I kindly ask for someone having these devices to provide a tested routing table (unfortunately I didn't have enough documentation to figure out this myself). For the other devices (MT8183, MT6779 and MT6797) DRM support is not in mainline yet so nothing will break. Thanks, Enric CK Hu (2): soc: mediatek: mmsys: Create struct mtk_mmsys to store context data soc: mediatek: mmsys: Use an array for setting the routing registers Enric Balletbo i Serra (1): soc: mediatek: mmsys: Use devm_platform_ioremap_resource() Yongqiang Niu (1): soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 34 +- drivers/soc/mediatek/mtk-mmsys.c | 429 +++++++++++--------- include/linux/soc/mediatek/mtk-mmsys.h | 33 ++ 3 files changed, 263 insertions(+), 233 deletions(-) -- 2.28.0