Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1270008rda; Mon, 23 Oct 2023 07:41:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFnMQmibNU6zNSdkyZNF4tN864vRjx8GWvXQM6q4GyMsZfzDcQf9dn6wWHAxzMOpmNG/aU X-Received: by 2002:a05:6a00:158a:b0:6bd:2c0a:e82 with SMTP id u10-20020a056a00158a00b006bd2c0a0e82mr8125740pfk.7.1698072079795; Mon, 23 Oct 2023 07:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698072079; cv=none; d=google.com; s=arc-20160816; b=RrMvgfkqOXlLl1g3lzq5qkokVyYJkqvW/qIMJPEeSBXbSzxtCpy7yvuD7mwe4FFEC+ 7AOtddrEJeCIxlZraCmiyNoy3NitM3OpxCrx5hGOYYOC4El7rc7ErP09jnIGBwmCYwem TXZaIMqdposW1Q7D7QHpvum104rdWRqyc//ql7jKYA4hypBxIVT5i9LB/WWOViEiMHlI HIdGDFDP2jY8+zCcKFUe86mMSnKc9JVUCQa+gzb8LYHuXVQHw25SYA0PlmzTSKrA2OtV sMUaWlsEesm1/e1EAdPRsn+oeE7S9s8Lw39QOGEPhduZEuKC5LRWgngcQbuJ73n98T4v bnUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=s9ub93Cdf9wtgxlTJaFYfR1eZIPMZ0+ANxwjapwdSNg=; fh=7mujd1y9Yg+tisUxafGKZLIGlzUfDWh1y2rkTjxT0Aw=; b=t5KykxBia23xqJeVmeh4Dx9lGCY0bRroneNh+jo3MHQFoBH1xejpTLonq3VFYPM2jd inFSkCyCQdOkNPx/x5jpu5CbEiyCwpX1/nDoGwKBp/uSsBOPMvj1eyaVjBUiHPVFibpj hWgnh5rcbQumbh91rW9g0wtJz9TwN4F72jKJu/hd56seFV7jSmq8Xphku6pCggqURsXJ mzN6cNuV+90ExYdOGRr6x+2NiWp3+0IaisWgSvbOrpNr9v2ujS7/o5nynex2u1FdrQNW 99wugOzg/CLygdSLaCkhj1WKXY5jYst7e0DfpGTUfsSVxN+8y2FbHVQ/eASFwDWJjjCh IbMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=ZW0rhwYV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id f22-20020a633816000000b005af9c2da89esi6554489pga.74.2023.10.23.07.41.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:41:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=ZW0rhwYV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 88DDF807C85C; Mon, 23 Oct 2023 07:40:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233343AbjJWOkY (ORCPT + 99 others); Mon, 23 Oct 2023 10:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233638AbjJWOkW (ORCPT ); Mon, 23 Oct 2023 10:40:22 -0400 Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 074BFD73 for ; Mon, 23 Oct 2023 07:40:20 -0700 (PDT) Received: by mail-vs1-xe33.google.com with SMTP id ada2fe7eead31-457c82cd837so1071209137.2 for ; Mon, 23 Oct 2023 07:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1698072019; x=1698676819; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=s9ub93Cdf9wtgxlTJaFYfR1eZIPMZ0+ANxwjapwdSNg=; b=ZW0rhwYVaclP9otKrzZ/X/GOkeGCb95AmtlYpt/H+rFrLqjpeP0x52jjuVzWX5sZOH PMgLfTndbdC1Fo1i2LFF94glXyDoLufslPNWPXD1ApnTHOvYmHlMvCTA8YBRLQJfDfWw njIHzzLv50xgilX0E0XMF8ADZ3sDEXyKDT65sycopEtNa6gAgDxi1YzBx+Cyz8c+mj5m 9csrdRxvVFYe7gOf1zUKzVBLET50aujx/JiSppTwtCviwhHiwTXJqSX2L379d2R9g7i3 Ip7mQFGBP9k7Qp7DHAqrZUTGaLj49OK/mcgOprJCWj+dSefDwNTYqucdYRQZZjRNm8YK b3iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698072019; x=1698676819; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s9ub93Cdf9wtgxlTJaFYfR1eZIPMZ0+ANxwjapwdSNg=; b=rJ/1oYDsLIUTIMHXW/jgFnNQmmLh4Jd/hetEz3pN3+8o4FiLdw7yotXg6/4rPmXmyO 6+7xzkRGmJIRaxvuxwEFuDles9KRirVbF3ZFwtqaHMOaV1zfBOODtMV0tMxYDeS9/Aon 0wNdpUgXC+7ALPphUVd9VrJZBdYN1xNlceih13KOxt65N9VRVQxVGBx9BGu8J0I3pUJO SeYrCFU4xG1A4eNvieOWADxQ3y/gFeC1waMjgEivtw2RUXzMWONT/zT+erfKpC47xANx zYbM6G52yneRn5Z2VrFHAZOvHWqFIM79D/+ciOpL2biog55awlT6RHIQL+luTFuOhwgz o5AQ== X-Gm-Message-State: AOJu0YyncXT101EGm7lLQ6WmaRbuY5rIyduyIFMD4+Swr+s/9LHNU4ew kt00AZmnd0mojbzEmdYpaQA/kw== X-Received: by 2002:a67:b742:0:b0:452:72ed:7020 with SMTP id l2-20020a67b742000000b0045272ed7020mr9517700vsh.32.1698072018696; Mon, 23 Oct 2023 07:40:18 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id f1-20020a05620a408100b007789a3499casm2725020qko.115.2023.10.23.07.40.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 07:40:18 -0700 (PDT) From: Alexandre Mergnat Subject: [PATCH 00/18] Add display support for the MT8365-EVK board Date: Mon, 23 Oct 2023 16:40:00 +0200 Message-Id: <20231023-display-support-v1-0-5c860ed5c33b@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMCFNmUC/x2NQQqDQAxFryJZGzAqYnuV4mJmjBoo45BMS4t49 45d/MX78HgHGKuwwb06QPktJnssQHUFYXNxZZS5MLRN21EZzmLp6b5or5R2zRiGnkbfNdzTDYr lnTF6dTFsl5fZMl1/Ul7k8y89pvP8ATvkV+V5AAAA To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , Xinlei Lee , CK Hu , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Catalin Marinas , Will Deacon Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, Alexandre Mergnat , Fabien Parent X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3206; i=amergnat@baylibre.com; h=from:subject:message-id; bh=DdZ6/V836kfp880KhEXam0/pg2tqhWjEoh+kbca/7ro=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBlNoXOTmxXiiwg+V6sYJXd2VtFuu8rpxi/5OZ3Bsqm CqwoEM+JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZTaFzgAKCRArRkmdfjHURakDD/ 0Y/V7nSPbcGNYbM6NM+UqrWkjU+MFWZUZLEATcbdpLuCUIcgdBNyWF4+ocFPmgoy79rcrLY4jR4w+2 tRDQaQR5qvgcN608HPRe16pHW9WavVDQUggWNMuGm4ePifBnu9bImn5/FIm89fp+CF8fhkh0QEVY9S T6sSplH35tU250AEM4lXGhIwJNhegUQbWfBeixu01aOlVxzOCXOLfLr2aMBkZktYy93zp5B6o4FiEH oHexmjDRB2kNmAS08GEQI4mMXQX98ZBb7sgjdh3IbXsHYKTinFUFH5sbr/qDoBrb7FgbPd/nsxQvEo 1GfhIRNRPvhPsns+1Vf3IbW5bXMrUVDV/2vYTHL6B75ZTKhCDh86E0ykHoqHope+9AajwNwXZnJs7C v2ibGrOHI+6896fihV9LKC5YGrooRFqHLNChFrrOEGikLsYYZOc92gZZfNnI6fSCmTTBnQV7pQNGVM rcQd5AO0BuXPBAad+mSgYXGa5uZTbKynnMzV8zQXsgGmurakj9aqYDcakn1lyxre0w7+bwIPau4vj5 z7FerJFtDahPtdvRDp1+D0G2AdgAzfvP/WyG0DMUDQbNaaN9xk+mPtuJkoSeJNz6YCzbhAWHSqeNAa h8YHMoFUk/M/2q2U1lJZaCuHBh7UT53hhnVr/H/suz0GKZrdMSGRNieqzBWg== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 23 Oct 2023 07:40:32 -0700 (PDT) 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. Regards, Alex Signed-off-by: Alexandre Mergnat --- Alexandre Mergnat (14): 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: pwm: add power-domains property dt-bindings: pwm: add binding for mt8365 SoC drm/mediatek: dsi: Improves the DSI lane setup robustness arm64: defconfig: enable display connector support arm64: dts: mediatek: add display blocks support for the MT8365 SoC arm64: dts: mediatek: add display support for mt8365-evk 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 .../bindings/display/mediatek/mediatek,aal.yaml | 1 + .../bindings/display/mediatek/mediatek,ccorr.yaml | 3 + .../bindings/display/mediatek/mediatek,color.yaml | 1 + .../bindings/display/mediatek/mediatek,dither.yaml | 1 + .../bindings/display/mediatek/mediatek,dpi.yaml | 24 +++ .../bindings/display/mediatek/mediatek,dsi.yaml | 2 + .../bindings/display/mediatek/mediatek,gamma.yaml | 1 + .../bindings/display/mediatek/mediatek,ovl.yaml | 1 + .../bindings/display/mediatek/mediatek,rdma.yaml | 1 + .../devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 9 + arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 183 +++++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8365.dtsi | 146 ++++++++++++++++ arch/arm64/configs/defconfig | 1 + drivers/gpu/drm/mediatek/mtk_dpi.c | 50 +++++- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 ++++ drivers/gpu/drm/mediatek/mtk_dsi.c | 2 + 16 files changed, 455 insertions(+), 1 deletion(-) --- base-commit: d27bed55ce32b0732ef65561851fec3dc8d01852 change-id: 20231023-display-support-c6418b30e419 Best regards, -- Alexandre Mergnat