From patchwork Thu Mar 9 14:22:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167543 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4F5CC64EC4 for ; Thu, 9 Mar 2023 14:24:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:Date:From: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=5FiDC36ntLGrNSZa6vlSUQZ3D1HG3dOuV6xHakTuj6s=; b=OOuGIcRBAzelIo8ANTt3cWL26T jmjXaVXv7RfX+M7PvtWiLmLmN4L3APkka1owShjlK2YfHJKXiPFqBVCcNT9ET9j70XrsDv678PDEC tmxU4T2ws8ZyKRP1+m0jdOa9JppASmCsaOtsmwHgDYWN6dAPOne4cOiW+DA0RGNnBahxSDmP4b4HU 7JB9UUor3AnUeMvDaJ1OWP+d5a18hTuRQol5T18DppfAn38gVFGxP/zhhml95LWffHDgpMqbd+sNQ iu87Jhd0d2sLcBVxXgeBzEOEN8t1n9HDFcHi198Lw1X77q/GPqD2q5VLTKKIV4WbPTQCpNhdne8Zo Hzs6DC5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHCK-00AUh9-Bn; Thu, 09 Mar 2023 14:24:48 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAZ-00ATey-M9 for linux-mediatek@lists.infradead.org; Thu, 09 Mar 2023 14:23:02 +0000 Received: by mail-wm1-x32f.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so3710485wmb.5 for ; Thu, 09 Mar 2023 06:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371776; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=5FiDC36ntLGrNSZa6vlSUQZ3D1HG3dOuV6xHakTuj6s=; b=4bgVjBF2EIMQ44B4JCbDst6J2lfRHr6Df/s/yqH/A/MA7XqcKSgedknTVMJt+hHdII 2y8MeS28U4ah9+9qaoqgPYexgL8d5rJp6gRO6ypJpfiWw1BAxPJv8dAD9uIypmGGDMwX Jq5EFKPFuM1+IBhWXWz9F2rCDEL3MluQeuAq6b87gzNtroDnV7ZbjdkwMsccw0/pymvi MKheeWrf8HdMptW4UwzXi21cd6l+Rwj9UmJiuYOpmFV90iwnyMOHwzVZ7tkgEAG41E7y lTYOxfDvleLWj6Izskq+/0A39sOyVW5S4/yfxo1a4/i0XC19IyPEjrUl8F8CFWC58D77 NTjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371776; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5FiDC36ntLGrNSZa6vlSUQZ3D1HG3dOuV6xHakTuj6s=; b=hbg0Yce2suHu6Rnfpr8OoOAfrRlhLXA5ui19hBH7UbCJhxTNRyj4BL3lW7iwBJEd6S U3RnrcxHyaPjvfvklZDedrk/35Q3qpyTdf+fOKfclKgU7JjCckd6QEBLDVxayeyAPIzH ZdL9px46LQYjBJBDxhe9avTZHlkOJOss+7BP76MTRkIFZEbNqkN85qLSJNHK7dJj01qU ZJZgs6NqQZDrF6+owftJWH1QLHGuwrqH4mTsE/HOvqYJISeLzxpU5Hly8UrN0A+SnvK6 VqoQxp7nFf1B2Y5I0ezdTmth9xYLuH65EamZEOSh5AZfdZuG5kjbZQNi7z/FBsWt+Mxe w1LA== X-Gm-Message-State: AO0yUKUkQITJRRVzj5h6zKWp17nb2dSrl5kkFD5toU2tPskiWqHv4XXN igM4LxZzIbkO7rVnYMK9eo4rew== X-Google-Smtp-Source: AK7set+AWUgkp4kl5uNPa4qUkkZegzSl+qveeVYbRP/r1cC4lTv5CGXYzovfIHV3Z3eo5fLRFcWDPw== X-Received: by 2002:a05:600c:348d:b0:3eb:9822:2907 with SMTP id a13-20020a05600c348d00b003eb98222907mr16466608wmq.4.1678371776060; Thu, 09 Mar 2023 06:22:56 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:22:55 -0800 (PST) Subject: [PATCH 00/21] Add display support for the MT8365-EVK board. MIME-Version: 1.0 X-b4-tracking: H4sIALnrCWQC/2WMywrCMBBFf6XM2kgetBZX/kdxkcfUDMREEg2Ekn83uHV1OZfDOaBgJixwnQ7IWK lQigPEaQLrdXwgIzcYJJeKS8mZo/IKurFZud0sSki0Fxi20QWZyTpaP/z4CWGcnso75farVzFm+w9V wTgzfOH7KvWqZnEzugUyGc82PeHee/8CgBp4eaYAAAA= From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:49 +0100 Message-Id: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=4844; i=amergnat@baylibre.com; h=from:subject:message-id; bh=WKkhfzSHvRiEeoYvfavuHcPlb71GrBA6+XzEpmG2AOg=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+4+b/NVrypUOW/QUVhijk4DknU+QJrtk2dWpu mmhXnOWJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURWr7EA CJa2tpQCs4m6sqoTbnB361LG8FrGq9gfkng5NG8oQnTtRZWb3m/WLdCc/5AAT96XN249Ha5kYCAoUY Z+Zn5bGkJ2/HyzjtPgFiKiRRqN5EMW5w1iL/KHpmNyypxaM3edH7SOFB4MxF2lYzK7OFgUYaHL7Wwh qWuH81WwUTEXvAKExRJbDEie3oYWm41+wYMhn4ToMbAxN2WelKTHCHImG51MLyzmLNXNFqY94ZFe++ DgBueEJyrnCMpOP/uEo1s4ZbncpFmiJe8/RrTZTL1MVWoUBMqQ+I6IP4FgcuUXo4r9b6gE73UQpeWf ghYtj455bFskL9KXjkps5WRebM2ImEr8UguKYt5YwIyTeN/6SPPUCoI1vnpcXp4RU9XG7KNqJXxuqW yxAiOFRAMhvG11DOLdL++2Hw1qIWyofTJTckvT0w2GgK0gJjInbuVqL7TiCY204mIC+K1BVCp4sVxo +h7QHiWOLHnFwW9gqHSISgIhhO33Fk6gO0abqvgAaQMzZd+t8DHXBdC3Z0zySzAJc8l268xmf4SPKs iMmm8+t7oZULKs4FgDSJBpvEUCA7hlnpCRp0Rh94Dv5nh2wn3rC7QJLSziErCZX1Lghw3TbeO/Czna 91u9feMH4P0IqegDZIovsbrfgkOiYvEpEdUtgr83zNEB6zrg1UnH3z7bVQMw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062259_783006_9F67ADFC X-CRM114-Status: GOOD ( 14.75 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The purpose of this series is to add the display support for the mt8365-evk. This is the list of HWs / IPs support added: - Connectors (HW): - HDMI - MIPI DSI (Mobile Industry Processor Interface Display Serial Interface) - HDMI bridge (it66121) - DSI pannel (startek,kd070fhfid015) - SoC display blocks (IP): - OVL0 (Overlay) - RDMA0 (Data Path Read DMA) - Color0 - CCorr0 (Color Correction) - AAL0 (Adaptive Ambient Light) - GAMMA0 - Dither0 - DSI0 (Display Serial Interface) - RDMA1 (Data Path Read DMA) - DPI0 (Display Parallel Interface) The Mediatek DSI, DPI and DRM drivers are also improved. This series depends to another one which add I2C, IOMMU and Power Domain support for MT8365 SoC and EVK board [1]. Regards, Alex [1]: https://lore.kernel.org/all/20230207-iommu-support-v1-0-4f0c81fd52c1@baylibre.com/ To: Chun-Kuang Hu To: Philipp Zabel To: David Airlie To: Daniel Vetter To: Rob Herring To: Krzysztof Kozlowski To: Matthias Brugger To: Jitao Shi To: Xinlei Lee To: CK Hu To: Thierry Reding To: Sam Ravnborg To: Uwe Kleine-König Cc: dri-devel@lists.freedesktop.org Cc: linux-mediatek@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-pwm@vger.kernel.org Cc: Fabien Parent Cc: Guillaume La Roque Cc: Neil Armstrong Signed-off-by: Alexandre Mergnat --- Alexandre Mergnat (16): dt-bindings: display: mediatek: aal: add binding for MT8365 SoC dt-bindings: display: mediatek: ccorr: add binding for MT8365 SoC dt-bindings: display: mediatek: color: add binding for MT8365 SoC dt-bindings: display: mediatek: dither: add binding for MT8365 SoC dt-bindings: display: mediatek: dsi: add binding for MT8365 SoC dt-bindings: display: mediatek: gamma: add binding for MT8365 SoC dt-bindings: display: mediatek: ovl: add binding for MT8365 SoC dt-bindings: display: mediatek: rdma: add binding for MT8365 SoC dt-bindings: display: pannel: add startek kd070fhfid015 binding documentation dt-bindings: pwm: add power-domains property dt-bindings: pwm: add binding for mt8365 SoC dt-bindings: soc: mediatek: specify which compatible requires clocks property dt-bindings: soc: mediatek: add display mutex for MT8365 SoC arm64: dts: mediatek: add display blocks support for the MT8365 SoC arm64: dts: mediatek: add display support for mt8365-evk drm/mediatek: dsi: Improves the DSI lane setup robustness Fabien Parent (4): dt-bindings: display: mediatek: dpi: add power-domains property dt-bindings: display: mediatek: dpi: add binding for MT8365 drm/mediatek: dpi: add support for dpi clock drm/mediatek: add MT8365 SoC support Guillaume La Roque (1): panel: startek-kd070fhfid015: add support of this display .../bindings/display/mediatek/mediatek,aal.yaml | 1 + .../bindings/display/mediatek/mediatek,ccorr.yaml | 1 + .../bindings/display/mediatek/mediatek,color.yaml | 1 + .../bindings/display/mediatek/mediatek,dither.yaml | 1 + .../bindings/display/mediatek/mediatek,dpi.yaml | 53 ++- .../bindings/display/mediatek/mediatek,dsi.yaml | 19 +- .../bindings/display/mediatek/mediatek,gamma.yaml | 1 + .../bindings/display/mediatek/mediatek,ovl.yaml | 1 + .../bindings/display/mediatek/mediatek,rdma.yaml | 1 + .../display/panel/startek,kd070fhfid015.yaml | 55 +++ .../devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 9 + .../bindings/soc/mediatek/mediatek,mutex.yaml | 21 +- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 204 +++++++++ arch/arm64/boot/dts/mediatek/mt8365.dtsi | 147 +++++++ drivers/gpu/drm/mediatek/mtk_dpi.c | 18 +- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 35 ++ drivers/gpu/drm/mediatek/mtk_dsi.c | 2 + drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-startek-kd070fhfid015.c | 483 +++++++++++++++++++++ 20 files changed, 1048 insertions(+), 18 deletions(-) --- base-commit: ae88468858a66ebe3fb5b3116400d75397f03e6d change-id: 20230220-display-53dfb6312ec7 Best regards,