From patchwork Thu Apr 18 14:16:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634880 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 2FBC1C04FFF for ; Thu, 18 Apr 2024 14:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y7BgT0A78M+gBzxmdR+/I2cSLLhnGtEghVANLIRr46g=; b=viyoDjj1Ce7cX0 zTHDCPYwWjMI/setM2U6cW5RZZKP8mOpjqz8BTAN0cdnZ8UlUC+hU4NrGB6eKAJMiNKiQ/5tEdK9A XyCfgTTGoto3+8osOFsgLQDKcIbTXWXzQIgPtKMxudGKT5JiEScXMDx5dHkI9Q1lLYMoDvBj8x8yt 4zNKdzOLit7GJzXzW8Hkd9r8PSendld9Ep+QLJB5qQiKNZo/hn0YNMMk6hFQfaY5BOLxryKxbM1VA fegKS15CqNwYjpM6rXHc6T9WQHSWa36fqqikKL00q5QcYJIdIHbmmM+6RGHtpsHQofTihKP1azol9 AAPsQuZKUhp72HIRESBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZn-00000002YcT-0MO1; Thu, 18 Apr 2024 14:17:23 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZg-00000002YWY-1TTm for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:22 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-418c0d83e61so9979295e9.3 for ; Thu, 18 Apr 2024 07:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449830; x=1714054630; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=qSFnuWZU02Pj+jNQxOwjPB7Yh5V2Ct2ICa/Ty3dFlQI=; b=D2hQMiUtv1eOwBVICHZMo0qNIED+f+24bHAXVnkScyOCnEYAIhF9IyMf2A5qlOcuWn 7C6Ux8SXthnvR7BCgs4nNQBZ3mKY5+cCpEJbGS6ut5IP6vCOVuplPRHvSw8ez288sR6W 6ibPRQXpM+kZqbASwJp5/u11LP5Dbhrjt7hzuu2pyMyUWKUUPAYDdQzznTne1sdR33SH kOdUoSPejNu0V1BczMpRdYqasOibQEN0l18orwJw0Zs7dwE//KM+/iDIAdJ4qPW0dcXW ZlwahVcN/zkC5JT2JWq4jDxp4J/YAk7kt5pXTZGhJYj/Rgs/0Cmk39OJqeizWuwo1w3o 03lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449830; x=1714054630; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qSFnuWZU02Pj+jNQxOwjPB7Yh5V2Ct2ICa/Ty3dFlQI=; b=havXhgyyydvKqNAT1eJZEjJvbiC47uTCjeSXG80KgVrwfplYwYpBkDrb2vD1HbjEn9 1K/FsE87MH90floJth4ZoZR5eYFGxUk2agiXxfp08KXrZRhV58xQ2iZZKS35HFv7ic2p Jn0s9DkzsSaTwcp+ol1igbvTKhe2XV+fdBtVcdqjcB/apnetxozcxVJehZ0PV70CeHxe JO49zhwV9w17ATkN6inYF6HynAF/wzEwHxBqYMt9vMXiwzdeQDrtPxbt92ugsOlOGXwx V3OQH+VJ+FKCNksQIutVjd3CTWoLcwOQtmfFlrRyFc+nyHbiF3Jg4Zcvz9xgOXWDV2Y2 QV/g== X-Forwarded-Encrypted: i=1; AJvYcCXWeF+sh7+WOVoNbV8La3wz9ZQC+demzvFW9iF7JvldQdWXkj6OJc34xRcKZrj9PJcx1nN7MpzVZOOa4Rt9fDBIAxDO2+vfXFVawGXUQmAxBEeCSrc= X-Gm-Message-State: AOJu0YwFTRefNG3YKcDUXNdbGl+boxOmKWzosw4ZqExkbOukpFUYAA7A kKahifuxc6HB7Pm7CoLki11EIpjzIfgNcG1QP4TexFxQ7XCgb+QxsNl7BD40kNM= X-Google-Smtp-Source: AGHT+IFH5zwg0DYunY8MHTPUkoUZW6jYQiwpcrjw84bDm8QBlcdfSqPva29r1m6tFBZKlPW0GU48tg== X-Received: by 2002:a05:600c:3ba4:b0:418:f6b7:429a with SMTP id n36-20020a05600c3ba400b00418f6b7429amr730099wms.27.1713449830604; Thu, 18 Apr 2024 07:17:10 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:09 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:49 +0200 Subject: [PATCH v3 01/17] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-1-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1032; i=amergnat@baylibre.com; h=from:subject:message-id; bh=k+btns924mgO0ndeMmYcNT303bVziMBQNLMXrYRxVa0=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStiwjjQsGMtkIBC4BIIe8mmC5l4Gh+lOg1h4Dhy Wl9VXL+JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURUjxD/ 4g49trsbsJN/Y0FHB0Xht+mvp/FZBOgNuCfI+SZcbNnEti9L32hez80bpcp3eUQFn+6zjwkUYkOhUt xnKm8fkxFakHCTmmKVpP5PzjrJEi35Vs183xIQGs21+HCLShJuyamUu2PwMx2eEPKjuzeOdYch1pDV KWmwe79GtpBowp9iLGCh8tfwd6TzXFSnJw/LvGPNl4WaQ+v9kbzF8d6lAkp9QvLG92ZePSrWlNaqFs 6HsyhyFT/nIFIUiJyxp7buN5jj/XEYQdo5IcXE4fsYvsTXyI2UPvgf2DSCawfMAhy9W0HGB1cpxOfg Sde0gOULET2QSf3qIHvyis2FYE8sLn9Qy6n6eDWqusXKelWS2S+mj7q1zbjLiibDDYuNzdw2L7I3de /akgPlmPvmQxMqkSmxj2CvCF/NkzfBLxva0rXJPwtGbk0vJ8scPqofhiA53B7qSO1I5xDD8BEQsHoT TM8XStsqw6o2O542hSJ5wXolsYXc7O7LT1XVr8dqgSMVel2XaYiLi3MDSUkx8QxWJfRbQukUNHWimz i16o0brEt4WAu9rjERbWeT0Vd+cDN4mz34E6XqY5IxqJd3GMin99psmzCT+x7jGOFy45XxpVKX9IZi oh9FtNak9KhKad/TRYV+tzdn5WpciFi53tMAlBmJE1k7idYTGlXzuscWMagg== 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-20240418_071716_437227_BAE4D2EC X-CRM114-Status: GOOD ( 10.66 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Adaptive Ambient Light on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml index b4c28e96dd55..cf24434854ff 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml @@ -36,6 +36,7 @@ properties: - mediatek,mt8188-disp-aal - mediatek,mt8192-disp-aal - mediatek,mt8195-disp-aal + - mediatek,mt8365-disp-aal - const: mediatek,mt8183-disp-aal reg: From patchwork Thu Apr 18 14:16:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634986 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 09760C05023 for ; Thu, 18 Apr 2024 15:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YHiJQee7n9GEAva64ywiXy7+Olpe62RkYoYHJwS176s=; b=IIYdWwnzU9VwyH GjXIAQnKXZcc9+rle38mrWY8duS2DJsWCpDi2NPY6teSoERhY2ll2jOyw4KenhK/aCNmNpkItVQ66 HyIJd8npgy0ztbHJ5RJxAhct8KAFVft/iWEPubrhi+7X/4IieDvEWl6HxCoTaVBgwLFjYKFUsZvlr hNNRQ25Yhl+xp9i7tYYgHf6QmDdWIA76KbyxQlRTGUtguZZJnxRinWalF+tY7juXBEhz0Mg/rGNm2 iNSya/78JAtY4//EYR5N0PSyaHZiCje58Hjtpahg46loSU6c7q7bWF3iyXoaDCSppSRUfVIL72wV5 WD0ltjN5emttaqcAxdaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxTjL-00000002nYy-3OrJ; Thu, 18 Apr 2024 15:31:19 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZg-00000002YWr-1Tn0 for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:23 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-418def30e50so5732515e9.1 for ; Thu, 18 Apr 2024 07:17:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449832; x=1714054632; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=49BUJCpffUTma/23KKg2oGJXJqjsBZNRYKTB4uG1eb4=; b=oDcLqkg3r6nrF09khcsqnZpyF0CfmdFxJXS/bGjdk51/HarrrIDdpXixXSijFM+kYa 5GmbhVSr4dSOqOYlQRo3ySF21onpmpIJB1vk14rOlSofsI1hkt23LB3q6kYLBPyMSuMu IkDmKvb6EMC8EXzPa5mMi25gNmYnrjcIvz6OPOp6EfhioqqWg9wPtG2w3Dw5qpxS4wDy Y7oWXSYiMO5XhQLdv1BqEeIcEPoOZf1kbW/PftHnqxiHaWxU80LOzympYgowdFSZ6vFg 4TG19lKdd15k86l6z3cyyzf9kjADKPDEe9vap1h5+TNXbl7x6SsOIeiFXlDlQhNFkWcd cEFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449832; x=1714054632; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=49BUJCpffUTma/23KKg2oGJXJqjsBZNRYKTB4uG1eb4=; b=QBPgr2HCjENXmpZn/7SBUKc4Byk4yzOVVgvjvqqIJa0qA9yg59YUR7n9TtsUFrv1Ul 8hGO3/x5dRCPwXBgpkResoZ0czkEVxzkfZcjjv9pJ4jhf73m69Wol4YxhJTXP4dxQBpB Co9NvAC5pXSLfK7pwd35ner/nYERvkgxztDHPNNVkHkV4F2S//TP8sDvcDiw3toSsGR/ m8FJNBB1u6KJkRkDmU3s3IzEP9bF71M0xN83vqGBArU1ZfTcJ9oRK5vhw3AB05TVLhji uv1+JACDk9uFHSJdzArRPp3vnD69mjBrikvXkSDGpgGqUtjxudrbMpLH5A8U7dMZUJxq 3wfg== X-Forwarded-Encrypted: i=1; AJvYcCUJT34mtrXmUX1D+6S6e5q+VOonukwZoCMUJ6VK8YAX5JoKb0T5NGb8KLueNNxZMIQFm+cN2lVC8Qu7uNWJJpQj2+/YpTzJZHQKRrW6/1qw/FBVMN0= X-Gm-Message-State: AOJu0Yx4eQGYpub9WanLTCe9OitpzhZvOqDcpx94Itn0qYe3KBizk8wR 87lKd/5b5DrKKH1J7eEo6iiJKbc8jzL+VOBRAWCzuJQfMxJYU2iJLCtTXoIv5oE= X-Google-Smtp-Source: AGHT+IFTjzRpWK6iDi01DywjVdh8/v4t3z3199bOhoMDOHvDHlFawM4QhxRAJOfj2/Qsjae2GFxPbg== X-Received: by 2002:a05:600c:4710:b0:418:829e:efa5 with SMTP id v16-20020a05600c471000b00418829eefa5mr2601682wmo.20.1713449832214; Thu, 18 Apr 2024 07:17:12 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:11 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:50 +0200 Subject: [PATCH v3 02/17] dt-bindings: display: mediatek: ccorr: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-2-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1102; i=amergnat@baylibre.com; h=from:subject:message-id; bh=DLryLa8O7iEQrZUEVAGOL74G0qHULUzTiJ6209ggFjg=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmISti5dQRvICs+TNWn9PcvcaXjHRymsUXz5cyKmOy gTr2alGJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURTCbD/ 0RoSlJPIusbA/ANyTOZy03WTuf6qpmm/7E76EPyETfQy89dcQx89oVWZG7tbWvZYTCLLYQdqDSIbXJ EW0M94hkg3BbwPvN8d1Y35T+9XjOZj2cX8RkgQt1HJ6mN+j43iIUqY73ZQUMVY5t2xXNqYdA6vy5tG RwvuL8F81Qu0WbD9S4pKCHDdN+yvIvMmA5og2KAw9RKnQZWZvE0DXVkHurMOHgZFGXFwqOppvCLF+6 c7DKgP5D5yLPrGTdHYTjfZf6AI8PacTvv1KcaGGeCW1zq6cSpv6AKfjiGETGhJxyIURzmQ8acFhHYk fMNj+AxQczDMNk4KL3Neuyu38RLeDKmi2pnevus7THXSeOuKWUxHFO9Ns8+gwjAb62vOhiNiDcxR30 u22RhSdXqMhNRnPNX59D1r36QGMrOHsemN7CzpMXxtf0lmdYXIvhwD14NTSkIVDQWdV+Ko2ZcObJyd PjAcqW7cirsORw8QcQAb74RODyEjKrZnDN3DSaNitv++UgqdT+Ph8Jw/K+yYrCnmvS4fXIY5+aEmSZ AQqnjibLgU7WtuTuGSkjjThwWhmlprsOrYQvqGb+bpOna0y9QxbaXpPWgWw2JLgiRyC3Y25ayG40fL gUuyPpivBHlfmrEQ8mvpA6d1e1NypftXdVe5aqr5gJGUXm89nrXYGVNU4v9w== 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-20240418_071716_443132_B184F0A7 X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Color Correction on MT8365, which is compatible with that of the MT8183. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml index 8c2a737237f2..9f8366763831 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml @@ -24,6 +24,9 @@ properties: - enum: - mediatek,mt8183-disp-ccorr - mediatek,mt8192-disp-ccorr + - items: + - const: mediatek,mt8365-disp-ccorr + - const: mediatek,mt8183-disp-ccorr - items: - enum: - mediatek,mt8186-disp-ccorr From patchwork Thu Apr 18 14:16:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634987 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 475C4C0650F for ; Thu, 18 Apr 2024 15:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QvC08jaEtWyQzlDlrgr5iPoc0jjzU+zPu9Jui1C+pm8=; b=EvitVLmoI2jD3M QX0RHEBlPVM525Ex4R2qFobz3DiuVQwiX5jFcSvr6g/Rq+q2hdKMogN4E5YvHsyn9Ti88evcECiBT hOG3B5kprYRwXDpqjC6jaq/s9z/FHNp/A43qHTzuQHfCpbgiQ3qgTa1LmRa0wsp37eQGyarWP8BOc e8wipmnlxzMiZPRJSx2ZzzV9qhMP38gnzxmySoe7pyeuTvXnwSlhTxIwfoqRNNbJqJ2Gy9FX0orrI lbSRWMmFYhj6sLS6gt2sIhyTm5ee8uUBUwZTYmSgzIL7m9G5zUDpiGP5mhzFnAYjCJQojbqLlXjUL AT0iL9jWoXNOwqwvuhLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxTjO-00000002nah-0lYf; Thu, 18 Apr 2024 15:31:22 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZr-00000002Ydw-03Yv for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=dyegayfB1y9965dzTGr/j6svW4ieRpTfgrhf50HfpFk=; b=EZyAWZuMzcQu6/UxqQA6JKFxW7 HSeWpUzkHIQROI6xrgTfnhavwvuQu0GXfQg8SltW0PHm9mX0iyk8G/HfwxA4OAbaJ9BcyFGokESfZ ai2PJjQ3pe8ZQT4UCN+mNFvmSB/8DVJF67fFpmgBLzEbHZU46I7ch5ywZMiGns6QszWABDDtNDySF YG+htx/ZZAeJWWW/tKgol/x5Cm23prkpiBRZbyALlo1+1FZMo84BE0UXoj+SvmlRutosTp4b6MSrC if6F2xKO182Uz0kq8QsXU+jyeXFRIEWqeKLs8o7+6FtlgP5LvxWRhyPwowFnrpDM0dYG7MaBGetGO RJd2o9Hw==; Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZj-0000000C24j-1HQh for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:25 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4155819f710so7797785e9.2 for ; Thu, 18 Apr 2024 07:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449834; x=1714054634; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dyegayfB1y9965dzTGr/j6svW4ieRpTfgrhf50HfpFk=; b=mqvWxErpLQd2QX8I5V5rn2g28cWkhCxq9wrNT3SBN4Icihr0vbD8XvUZtwC280oWIt 27eIcA/5hl+5n8dnOyM2q2RYrn8I6ETybeA4feH0Tbw2ORUFV7IydDKUCUXLbyasTVpC f4AmUuSNAta6VVaxFULRqir+8Q5qP2fK/YpfXimzd3wJqXIEuMg7DDchzYMFMaPVqLky yDw8NqiLR99XaQpEZnFZ2xL0GY+Mdnx+WyDwJ5qOV3xpvyWPBUMLmxaBCTfLcEi3mMW4 KKlKAUkzsC+pdiHRh84VGbRhG1nzdlq6vzwJsI5+PqURhNN9fHEcZlGbGSdLDzdzadGN fOJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449834; x=1714054634; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dyegayfB1y9965dzTGr/j6svW4ieRpTfgrhf50HfpFk=; b=Mx5RhU8FtnaKcSpccKyenbhIvh5QG4LBbKpruNBSV9c6DWYrn2D9XMmtSuU5UWRnNP /53kc2nX3QSw/7RIXjv/DVSOGcRsej0CfKoJZtUu7pCCzmR8/vIpf5zru/47Nds8TVNY YClk37m9o08TPIESA92DrBLJSE/F0d02hazbYzXL5N+awdwG0abRaH4LXbNQtGl3p0QG oJ5FvjKLyPduT8UfcLOF8MGaI2IVEhBncyZLaaEUSjfmzDDz96+wljZ99E2iTARxpN7E YWWJC5hjIRx1X/2hFRcLR2bad7b6pzy95GP6wb4wU+Ft9A7w00BaP4CuVeckggLpLAPd RU8Q== X-Forwarded-Encrypted: i=1; AJvYcCW9GQ94kFIdT4QEf30QQFGSZqZOMcoEjDvF3vt8YPC8db+zDKciJfEl9eBb3GkIbkpWG+/6QKvf+R9hKTpo1DLQcMh3keG/+CFhzMLmS91ayzA5k0E= X-Gm-Message-State: AOJu0Yyb1k04Ups2GdkBh/d8//9l8cRhfovkqIfnVrw1Jahi/Xadne4g XlVPVEZAWM9WPLNutN19vsnVESwsaM2jhuqBx7yITGCQcsU1Rgc/f+u/8trCbeE= X-Google-Smtp-Source: AGHT+IEsM9iGSZG6iMHAcf9KGu692TY/H0uIe2sVr5xtzSaWVovohbIcJe5VQO0JAYzGjB4DDgOfag== X-Received: by 2002:a05:600c:a12:b0:415:46be:622f with SMTP id z18-20020a05600c0a1200b0041546be622fmr2167234wmp.14.1713449833987; Thu, 18 Apr 2024 07:17:13 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:13 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:51 +0200 Subject: [PATCH v3 03/17] dt-bindings: display: mediatek: color: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-3-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1050; i=amergnat@baylibre.com; h=from:subject:message-id; bh=YXHTuzshsIEn0rNsq24IlHvsgB1HSvJsHYliNaoUyEM=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStiBs53eAY3DeO13tdL6QI+Znbz5FwIwD/YoB8q OCNZARyJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURTRxD/ 4gQQKtDeVST7qS57VlXtgagtFc35imlFj4VzD0seKTLL22adDD+Ip+d+eb0gMs01I7sN8dXFEh5bvg YHauScLtPi02KVPxokKXYmQlf2Hnia3Ac4U2CIqQn9qx7ESmnekahSlsMSi/ZDGNJe2E3jC0Nouumr 2GoLrM+cEvvITmIQGxQ0qBYTBFfozVIOnREKwm6q5u1hFe4qm93B8LmboqwV7vnhREXHIpV6jbrNM7 fBILeMgLC9B2iVowiB85EkDYAFkSVRDwLIlPrxWyV4vzmBJiMqKrUxxiZBucBBnDwuEMCCEk45jicD gpt8ZNl2Su+SQ0eZ0II7t2SQAwq/QU3gqqk9bQ0QgIGTZhXXHPd77oOQN79mBqp+Bv1g9kmE0njfQ2 PnxBPb54W6L3g8wPEKq2rpY5FXHfmX8jG6aegE+zbORBnFCapLwB//4rRsRwgT2mOsuIQHZPmYjdfT 9PIwunu5UQr3olFVkGjxPcUpa39bUs5PQzRDsAK3Q0eqixnGSaPsfYJUPUiCx2JjN+TLjVdhT7nIHh 6z83C+zeIX6GFmoqhiGvaA9OtHzgux+kntZFd+kage5z3q2BASkPXoQlxIJpeuNJoMVsgU4k6FmBRY j9+0Orj4mpUdqNvzLk5YXv6L+BccO9fYqL9Hc979dnUF2953s1vxf74BTmKw== 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-20240418_151719_831723_71E0464C X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Color on MT8365, which is compatible with that of the MT8173. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml index b886ca0d89ea..7df786bbad20 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml @@ -40,6 +40,7 @@ properties: - mediatek,mt8188-disp-color - mediatek,mt8192-disp-color - mediatek,mt8195-disp-color + - mediatek,mt8365-disp-color - const: mediatek,mt8173-disp-color reg: maxItems: 1 From patchwork Thu Apr 18 14:16:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634989 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 5E959C071DB for ; Thu, 18 Apr 2024 15:31:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wj3MNTzIdhjzlj4KfbS4RndYYVjV+9rDxKkDgecX2yA=; b=gv0ZmkupgkwJeL gZR57zbQZNRqDqZjruP+nwQ2kp6PyjKz3j1QiuveWI6ol8ZswVwAXSseRdU6yBsKNaA3vr2PoQ5ne 9Zkfwdi3QEqWix81Hj0S8EMETFDGi+PLiJgoh15nVacmAi0DWH5i0qKwxv+BrENenCLHCbAybqmIM UmJqrV1KH/vKo3kEXUVUsqLiQHyhGOsqh4PJ6RBRkM9OpaO7RuM5wprh6y8uAzrgpr+PYt1c9dlyl Q3eQKCi/RKD4b35pynYU5DMkATBDSiRu/yT29w5NDOXLj8Izr2LyC3UXsXlO5iT1Ws5lIk7xcL56g ZPBkhayMbqJyoZxffsNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxTjP-00000002nbu-2cGB; Thu, 18 Apr 2024 15:31:23 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZh-00000002YZ9-1T5V for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:29 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-418bbc690e1so7945705e9.2 for ; Thu, 18 Apr 2024 07:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449836; x=1714054636; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TwD5iNVfbehYnKEJbnpi7hogz0EJMx8yqC29CXBFCDM=; b=jLwZ2pwz7A8Sm5cyNgETm7I0dUVBdd1QPGnjcyHPyd642zVByAqv1bKsXaRdrQ9hUI bjBx9ZYlqtFuTsgFWvzp8IoEaXeF5/3iBry5gTx6QTZzlc3VUDqIota/xqOiig8hZVXh +mG2RfTSrEqw2hSvJG6NBUgG5Yzq1Pn07j4Jot2yXcpDHsSV9wCI98wjXQtxyhdBJ2l0 /pRIi6JPWuBsKTjMbyab5Olii344cHdWX80hZJJv5ipHRBlIobCaLCAqzg/MAryQo52X q9qSz5b8OcNDUQzb+RIy14mz5owAY4xLfhIV+BgKBACMsRyIMuBeqQRu+zY+C/3FH/vA H4tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449836; x=1714054636; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TwD5iNVfbehYnKEJbnpi7hogz0EJMx8yqC29CXBFCDM=; b=esoGbWdzmvkXT++Arce3cFC/k8Tqnc3qCHWtXlIVX4eddW/cDTdE6FjlM/VW2X0mL4 zveMl8kwQSFxdrQ8k4LMpNtUvC2TBSCEV6P6kRaAeigOFEEoZSHPprgP0cc3kR3qu4dD 8GvMDYzesr0gp6IbwBQc4JVSds9uEBZvn7zlaQo5I4wMrG/HJKnk1oHTOAQpBfmZ9jyu TD4db30ocpNhnR/CMHOs8CMN9zL4fpSheQPEGb+qBso2nQ119ZlRUc5dJSqoKlrQt3Ws j+Ko2m/4hNHPtUbjr9uyYcw519hY12A2c4Jwt6JKX+jKnnmQ2A1IV8GG1fq8Q/fleBsI RqIw== X-Forwarded-Encrypted: i=1; AJvYcCWZdN6JCbIdeshne9V+Qp7OKvLvb9R0OhlQUMRyDr4JE71sin6GsC3QEF6k4SEO84P009yVm4SCbRf/5jSheXCJV5nTxGHbIBLRJAfHugL/OZU14nU= X-Gm-Message-State: AOJu0YyrMdhuy7YqCCTdRMBI5F2ST0bcwCu+riPSIEZaM+AfTcPHAgtU VEv13mEY65I9Kl+j52unoHrqDRlx5dsbgGgTS7OlJ7DC4QsYaP3Kq03JLrm5LDw= X-Google-Smtp-Source: AGHT+IER62CdAE5/5oot4D2adTIVLRgUG/egF1vr5z7vePcV4RnBSZGtaXvV2hHCju1kll+OUBkpwA== X-Received: by 2002:a05:600c:a12:b0:414:8abb:a96b with SMTP id z18-20020a05600c0a1200b004148abba96bmr2014596wmp.34.1713449836080; Thu, 18 Apr 2024 07:17:16 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:15 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:52 +0200 Subject: [PATCH v3 04/17] dt-bindings: display: mediatek: dither: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-4-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1046; i=amergnat@baylibre.com; h=from:subject:message-id; bh=zzCIaD8rTG1/kp/ZSileQtlNEnXTYcjPAL1DZHwA70o=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStitcbsX009PW5cbVFw1hXuGllJFI83TYn8zPhf rz/CcdeJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURWNHEA CaKphXLr+uLHFI1nnefySVhPPO7is8O4I83eRLO4ymwrkeRxbJehmGXVQBbDqnwu5zjiP9BmmbP4R/ Y0EVmGTML8JP7vH36fZ6AdfyOiZv6PLmpmQa/J0q2jhqpqnrFAZR0Qi+jt5XK+iKNEiqgToAOL8+LD pTwpgqfioGAjnRQAGLOIK6EvuAhrH/20NKL/PupWSb70Q/S6OyFX0Y6mGMOTeuHUXF1ergSHLcL1HF 0XxUf2EH6vfCheLvExdzBlo5HvULGi4cSriAWBcQhKE5sgMIva7bMRF4QuyFcbcu5GUQVR6AlYb4/z l5YxaiDyxWKJVUM/Sg3yiI2fkS8HEF4B1KZDsmzo2j+vE5oXK1KwU2XzU9Yj7B/OWv3XIgFbbD8N+d xoV7Z8mhSCPE1zhfOPI4r4p0Vvi8LnuoadKK+rZd3fcmVYmX8hIA6RJ61z+cea1rgTkyd5qfty2yh0 FR2z0DLsOJtyX3TKVXcFcU/vhq4YrS5cZvaIvACh35XH7UUWxMvaPJtPEZYXWiNtmUUuBu6QQIzHsB JPEKRk9/8aySxzP1IjYviwc7nuwqUCWDHug+A4+0KuffSSISRMUM6ReUhGazF7tbJIscFuZVWcI3Nl MdCF7okXP0MmThxayji4DOb68QmXDGLOLn1ONLwyZZVH2md/eHgFjvBLh6xA== 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-20240418_071717_426710_09D9C558 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Dither on MT8365, which is compatible with that of the MT8183. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml index 1588b3f7cec7..6fceb1f95d2a 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml @@ -30,6 +30,7 @@ properties: - mediatek,mt8188-disp-dither - mediatek,mt8192-disp-dither - mediatek,mt8195-disp-dither + - mediatek,mt8365-disp-dither - const: mediatek,mt8183-disp-dither reg: From patchwork Thu Apr 18 14:16:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634991 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 423ACC04FF8 for ; Thu, 18 Apr 2024 15:31:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2228khAYH00yyeSDFcmLs/Sd8tPb/UX43RQIb5g/l3g=; b=zb2qUSOgIuHuFK fahFQ+ce93RierOBtg71Cx4W2VjfWq54QHA+ckjOXQhpskx250q1HFG0JQwmPwS3c9HhhGIbp9Q8+ Y3krsxpcsAS2qNvh7IR9VTgkm7nuxFDjNv22O+mA1voQX6WH1pwkXBRHiUfu6bvKC8Uae6p2N6giV 0tVR+GJYurIkEzL0vimga8X7h648XpgTMdK0FdjW2eQqojcrBPitPuwtO8Zi+WW3ngVZUNfGIHksE q47q4sC4hR5WaYP0HzlzjOLOcsRi6gIVN/nfgkbwTTb8OhAuAeJGweOrwBbQabOroyQm3a0C/7K9P EwczmvB9vmzKfUZIYHVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxTjS-00000002neg-3ogF; Thu, 18 Apr 2024 15:31:26 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZv-00000002Ygs-3jRl for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=rlVm2DUZvHbif6Pq4uHc3DKM1FD6wia0Q9c386ZrYoc=; b=bEF/dNeWjkzPo18s3MuGmfO+R7 aJkH9jCQdJ22DfMh6Vni11jHv737tMouIbYR5RCA9UOjfAQ4n7YohZnvbBYhLQj0Sz/ECViInMwDd uo+OG2KLMFosU+ap37JMrkVVRF6nwfNrYgr+d3mrIiYTO8+EZ7OGsZ17ltT5OVysvtlNLnVnoxKR4 bd2Xh7S8bj8fJ4TL5cviPfgCU8g5MkfZmV5CBP+u4JbMRxM/4UfXnQceOQLHBwkqYuTolqKP3nBlk JSGEn9H2yKtrlsaBxt0cmnOtESuhDBecMPi3t9r+MhgJXNmBBupt/nvEu7M+2xcnICHvkyvZ1MoLx eQZ0F1tQ==; Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZj-0000000C24n-449z for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:30 +0000 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2db17e8767cso15175241fa.3 for ; Thu, 18 Apr 2024 07:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449837; x=1714054637; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rlVm2DUZvHbif6Pq4uHc3DKM1FD6wia0Q9c386ZrYoc=; b=zLDIhEXVC7zyaw8SYtHY8ojM4o3Gm38haLGhyUc1CBK+2v1IqHHwS/UmHJc98TbPV6 odOT67oZP1sBLTMRhSpz1EE5mAm5K8Cohh1L27ieEdjL2yvVvwfOgGbL0TqcUGaCcuNR qA+2iXnsGULn8bvhpkmwGIOCMTItXUp5LJVH7TZQfmC+ynJIV7z51cA6eSx4t1izbALr PY0oCwG5IH7V4aD75/q0ad9nrGAtLbdGIt0fq598b9xhpBXpmiEfUdZgeUlkb9d/jkwd 7Ixdij8B8UWB+ZTlldZx5obA86A4Rajskw17FoypmSP9ysiYwqF5twdsJhdvRU2gZMax b0gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449837; x=1714054637; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rlVm2DUZvHbif6Pq4uHc3DKM1FD6wia0Q9c386ZrYoc=; b=rczimuj9Zd1tdY22M6R1GqAtLUCZaukpwjiGqYveUcWbDYfcn3fwbbLfbwqYApylhd upaJx9wxX3ZPQQnwD4Kc1MIMO5HAqr5LsCNCPWOhu4oZWwU27JE2TteEWXZ016n9beJj t6mmKh7GocGv5XLvMQpjGxq4jnazYq1llMzJ4RBF25QqzD9ZBSjjMaaZSXHBy6YiQlBy jcRXhjFoFgawi3+3o8+E7RWb+30sI8S50OiVBxonyxqAzT0/yDbMUmb5P/IT8VFphp7x mLv5rsIaFng38U5fKBozcxkR8dQQFWmIlwvMfQWEUeBPGmy+FvGE96irtiKx0c52RLN/ Z2mQ== X-Forwarded-Encrypted: i=1; AJvYcCXBIDqHJc4K5T+idKAoUPYMjqSROS9pFTBz/8XTHlFdmmSrHUUnyjC3vmAg4bYY7QMle4JFFReyUwKL6JEdYlFzcyOpIwdBm6XRxPTRsZixrNezyKQ= X-Gm-Message-State: AOJu0YwpJlOuKUsvg3zCztzwFbjEaTGTyUgoonRAQI99Qayhl1RayFBB AjmA50WU5h6bfccceLtHYLrbNMPv+/HLzRpLFagYlGxM+WdjTMT3hC1SW5JbaE0= X-Google-Smtp-Source: AGHT+IG29OVR9aeDUGbdzj3TNRPQowmj8/BArbOQQhnLP5iP4zpyAQRi7xFLgRXdY6/+8+QulNMbAg== X-Received: by 2002:a2e:9113:0:b0:2d8:6104:f95a with SMTP id m19-20020a2e9113000000b002d86104f95amr1707719ljg.23.1713449837718; Thu, 18 Apr 2024 07:17:17 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:17 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:53 +0200 Subject: [PATCH v3 05/17] dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-5-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=962; i=amergnat@baylibre.com; h=from:subject:message-id; bh=VLBa/QW0VMhizu6I6UwEaoKrZbEmjO1DzaRZBpi+k9Q=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStiG3vDJ5hjSI1S9skJevxMqAzoslZvCwRiUMz/ ha/l3HWJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURbkQEA CrkzpBaKFv+sfRSX59WBpP/1SWDq7+EFOlk0CU1eVD0GSGXscbwRNrFZRQAmDsmEVPUVagzfH+pZnP ct3eaGmNSH2L+rCfXHCXfun2BJLq6DgTzwIVnhSA14kkSYc7pSA7x9pUqR7BRcRNTz9UZzaNEYdJ4k WbsDMt6LUdGx32iQCqFRPCjkOaJoMUa6jbDy5vXIFnAkti0QnVqaZAmHjydLRprruQ5NstgXTvWo+3 ctdOcjOG/lwznUGT0OBjckvGKmi3XWTGh4Hc9cU95o5r1uSG1prY6QOAGN6pkjUfFm9GuDfdUkLv4h aerO9tB6wmEVRrCdJIBXRZqDDQKe/KlD9sBSjk2zKdblfkWHGef4ApvCCTKiaQoP+xmPjBx4VVz5vG YdnZ6zhxYg5E77TslY4/T0cDmmwqZxJ4RBFdzJKdJX1qi6Z/mDGbRrzXt1ROOjizpwdZ3QnhH5M+D8 cSRVBkMcy2hmxjqs5xl31iFUOB4nVYZBTMtEO3CCsMTOxbGmxkYQfV1OcjPKF2icCpoiOWs3daI00m avkKjpD9lXLsMN/TAR1lKIaQtUhKUQycCSgZQohawoKjnV1A7TN1pscogLIT+IO5jV/p6dJyT5dUiS Cx+kAgmwbMv6CiXzug0cZiI8hMCrTYdkZbThFbKrZlq2JpkGwNU47/bQpP4Q== 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-20240418_151721_244964_9CED54ED X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the Display Serial Interface on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml index 8611319bed2e..a7aa8fcb0dd1 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml @@ -37,6 +37,7 @@ properties: - items: - enum: - mediatek,mt8195-dsi + - mediatek,mt8365-dsi - const: mediatek,mt8183-dsi reg: From patchwork Thu Apr 18 14:16:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634990 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 7AF78C4345F for ; Thu, 18 Apr 2024 15:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qbWZ+LDNd3UuiH4h+gYtW++m2b1sevBLw0SYKhz8jpo=; b=DReGEa5v679iwC whpvcPI8Dn+8xSdKHNIksH8sEAeFQf/CW9N4kHdVVwfZw8l4FYykbWtZKmnrVlubqWsC2Ns7p7hR/ tysWP97XtB0wfypr29OobywkQ1x0vmjmXPq6q3290x41fnPj2aXqUjwB2DJxPxofPiCc7byAZ0NyY vymrntM4vPqw2AtjaQ2UMoY2K09Psk2y2VFejWgaXMD3dpAlKXGKl0H0ZxfRXD1NbrMF8zIdg8hUK rBCD0WvjKY0eAjsQV4JdM5xlAhq3yCJ57ljRKQ28o0EnRfH/q7XWOQspz8jHgieo4SAQJpKkXQzRg 8V+f6jRApm7um4yZYPPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxTjR-00000002ndW-3hLO; Thu, 18 Apr 2024 15:31:25 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZk-00000002Yaj-2STX for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:31 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-418c2bf2f15so7935485e9.3 for ; Thu, 18 Apr 2024 07:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449839; x=1714054639; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0DG0b/DfAuQ0lpoAh7wbcZZOZxcaD5fpXedR92n3Ro8=; b=cihFDl69z3wsuIacyjRfLI/wVPShGJl0X+gE7lv4TcWeJoXbHODpWOLlu6RbPh9hSa IjhqhoUvGo4/a7h7Pv0MEoq/351Yyq4qw39BPGWHio7cQkWwAzFViI6rSNdZWD7BDdSu 7Ha5pXe7QSJjHd/UfS4DrIsAA+bjt7pn73RUnNr73ETSf+KzzpN5MJwm876UZYtJhtzR MMjcS9STGT2A6GE3xLumZkvgjVS0p2rz4x2szSnkdEXMaweXP2Q+uUNSREEmdy1WCjd7 9JumjkK9YTiZ4kjs0LOyy4E4rtIzmtWosY42O5FJWt4uwPU5jDYc3Z+iuJQI1FqW9RTj spgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449839; x=1714054639; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0DG0b/DfAuQ0lpoAh7wbcZZOZxcaD5fpXedR92n3Ro8=; b=wZCm+Szp5H7CgSHLrRu7XuEmYxxqOc/7OhFyW6o+rQyBzlmO5bdxcxM25uGeSNSt9A ADdeifHPlvG0z3kTGf9z1HLSz8sw2M3reLE+dP/8AxTVyQcYcXxzbiEjgZ3m6yYPnp6q U9zxnPMUiGBmbcJu7VeW43qBTWSmDfTw1RHPtqYwnkM7NaIGME0tzLC17KeZ50Rz5F8H TBDYJfQPSMhn6ro/s9laPtjzH0fCYr8LZPoOjbFJGp9351k0/1eJNCee6vfHi9fQTH8d ZO5A519B/EOLPcVqz8PI3SfqjtcjUAbgJ6OH3FBSZTQZqm9j2ngzw6AE0hivcBPkODTN fnmg== X-Forwarded-Encrypted: i=1; AJvYcCXYNyXfSWG/4uXH220I7UAOqbu223/F9iUhUCIVeT4e6qTYl3zTDx/49WAG1qEUvDGEdMOEjihChyX1iTE/sT+C5BCXkDSMqRe6+cgsXHigcFjyFq4= X-Gm-Message-State: AOJu0Yy3rDCiVmK4UThRecFZareXoGaHU6mOSZ88x9FMGG13CDZRMX83 1NiVD4St4SPwhVbMkH1BS8VAqEZBENTLA3bq9fiIud7iVGrllwp8PXxcf+SLgn0= X-Google-Smtp-Source: AGHT+IGc8UkY5hUU0SOlQ+WIGwXJnRwFCQFFnKe6zffCNG3YDmpTofKmmzPBVeBk6KtCqcf7OWNn7Q== X-Received: by 2002:a05:600c:3ac9:b0:418:d3b3:3188 with SMTP id d9-20020a05600c3ac900b00418d3b33188mr2065709wms.27.1713449839274; Thu, 18 Apr 2024 07:17:19 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:18 -0700 (PDT) From: amergnat@baylibre.com Date: Thu, 18 Apr 2024 16:16:54 +0200 Subject: [PATCH v3 06/17] dt-bindings: display: mediatek: dpi: add power-domains property MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-6-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1829; i=amergnat@baylibre.com; h=from:subject:message-id; bh=l0R/nimPplfZesZQ5psmzigcqOrK2Svu7sgk1YEc9To=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStidrUSXn2C+2OPoqTCEjrSs1uAvZ65nuZ80U5B +oCvAVKJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURXPdD/ 9udyeGAimjp0d/Gvu/tp2AHHzp9p4lotNsBdYQo+coQVnqgTR+wMNASNy7Pxt7p9VYRl+Yk8W/H8cl NulRyeef2F1tZPU6nE3gazrF3fGfYmQSe67RTNOp+2mPp7ajGRXJ3MDqabyRxd/qIK/+1W1IsFIYk1 lQuwS4SYghHk4zjZbnVCchG41jsC+O1QzZubAQBmK5HhYWlC/taQ4kWm9oOS/BxDNeuR2yy+jWG7fV gw80gssGmUjFytjwnUERWo9oOnHcAVkCUGxy1uXeyAZ+URnebbF0kz6as9XU0jIBrVnTIP7fRv5byf yWsTpdf9AzdPBQRTXIxIpbWatMvwpPqx2PFWrYmCrRDQc3UY9jA1xDiI6sG1Q5KZ1x4ioqobcPCesy LGzYk59OaS8jSz2CV3saEWvQY8fBrmXhVDUmIL0FkHjSiJzRGOyTU5UaZ/jHVp9tGjWIXu+GxDwb+T RsDgKIzWTpT7Zo/TG0zX1Nbz2CClnooX7PGI5+Vm2CpzQ3ZDPhE/JDdsbnitH/1CLTM3BVKXHJnpWQ iQzNRo2m/H6vOSjrtYOcTXhQWUkDX/l8mTEOlyxfNH+DOyBiMf0w2CrXWp8Q6l07whJnb11QdvciWm pxZCrSkDVuLRY1uvTSbKhR43wBa9+fVtMKoPU9V3C3DhvaC+AcICx3aEC6bA== 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-20240418_071720_767106_D7C10FE1 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabien Parent DPI is part of the display / multimedia block in MediaTek SoCs, and always have a power-domain (at least in the upstream device-trees). Add the power-domains property to the binding documentation. Fixes: 9273cf7d3942 ("dt-bindings: display: mediatek: convert the dpi bindings to yaml") Signed-off-by: Fabien Parent Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 803c00f26206..e126486e8eac 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -64,6 +64,9 @@ properties: Output port node. This port should be connected to the input port of an attached HDMI, LVDS or DisplayPort encoder chip. + power-domains: + maxItems: 1 + required: - compatible - reg @@ -78,11 +81,13 @@ examples: - | #include #include + #include dpi0: dpi@1401d000 { compatible = "mediatek,mt8173-dpi"; reg = <0x1401d000 0x1000>; interrupts = ; + power-domains = <&spm MT8173_POWER_DOMAIN_MM>; clocks = <&mmsys CLK_MM_DPI_PIXEL>, <&mmsys CLK_MM_DPI_ENGINE>, <&apmixedsys CLK_APMIXED_TVDPLL>; From patchwork Thu Apr 18 14:16:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634882 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 3CB30C4345F for ; Thu, 18 Apr 2024 14:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lir7kV79shsRGcepbrnrHLhEUrmr8iZWOosF473nYKA=; b=EVpfBqCS8Tyrsz Ad0lCdY0AtXVgNzD2Zy/RpOYTWfTh2+ZGzzZnfyilWgMxkxM+bHzKlqF67yqTWONmS6TJMWFXTYRB Usp3joCiIhyITDwtTzDjjjPPamYOOxmFZ9A3PcnaOzuoaaEOJDkJjPrvLbgEPK//H1lLrggK1rrfR mhX3Kf4eQq29sKckvYFCn+dCuCr24k1LAXfI9WvrCGzrRLFtpG6bEYWFGbYcb0bp5B+umSWs7xEzL MibsNKPYwS3WfkClCPqRE1hLElLG5XaIclC9uW0W8Fo5r9db7dGNd/CLnpTef7fMMN0Hs+xvRxw9q Pf/Uq2JxxSrqLWzsWMUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaT-00000002Z3Z-2jc1; Thu, 18 Apr 2024 14:18:05 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa1-00000002YlL-1A09 for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=A95n4qk+OzmeppmcDHJlgcxg2vp1t9jUT+VVZ3XCGv8=; b=HSC5U7W929IeYJX/k7k4vue0xu Mr7+xHjIHlzsoFNDovzFLp3f4dDlyPeJr2xuRg2HWYnXcan2exqAkis/qZX4N0sWmg4hrvP2zJbJM 4mKbUhHe6ugeXtRcFzHGyr0bq7pKcnxGs4kzd1vFM2ovFxHjjDU6PpY4NAemQDCsSPLi4ayYALYzK ZeTXzqO3KDnDjqdFoI0zMdkYzcMb7oRlBUEBkqruvgEcSr+qpHRjjfAGFLh3Jkzt37E9TxySnRAwX It4ff3Sx8VVIa4meeBKSM73oImFdOCH+iwR92lcnpi4L/nBm+konbqHuHGwAIpTs1LwqBNDHiXhUM Z/gP7EUA==; Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZm-0000000C264-3cEh for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:36 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-418c2bf2f55so6782025e9.2 for ; Thu, 18 Apr 2024 07:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449841; x=1714054641; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=A95n4qk+OzmeppmcDHJlgcxg2vp1t9jUT+VVZ3XCGv8=; b=LRiUdtktexCzFGui12jOdy4/iq5NmbdQYjNQkuQd5lm5vTJBItZ5JJlirV6CfRg38f gHLgb2Kg0LUvAwjPqpKp6lR1c4mBSAkPDSKmq9IVyTvrduVskt5rfYi8Ehz9KKaYeQ7w GarzTCW32eMTfA4fHhbNJXw7DEBnGrqV6x0nlcu2Ewxax3sdR7b2hHoHriFsl/Mq49ZO 7m9dRTKzRod6iXk3ylgeM31HEErf2qIyddcVDD4PPoq8LccHEdv26Xj5RCJx9kqrTZnR hRpcBzIFi8m+i1G3TMzZlfwW7YnjiO3LXm0KyCqXQ53eQupbsFSJX7x2AuUrjigL2Oq9 E/KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449841; x=1714054641; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A95n4qk+OzmeppmcDHJlgcxg2vp1t9jUT+VVZ3XCGv8=; b=n405edSOcLrr2fTa0E4pVdf5EYOa3hYIDT5s7EgEkp3dxZs2EVxW8biCkEvt90tQOU w9Y2s9jCHPTdUbtmIPzoUPlKqiuJjFitar6HQsPJ/cA/ZS0OQHueS/IrIQM4TVkAPdNm HJ3rC5BWhkUldbuc/066PRRWZTbKvqKvfSdeDxvTBjzcv69iMBGcbGnk6Q97xGZDHBK8 Nc5L8yoQWx7//yVqygn3x79+l1815y6sRDhQ7SwakzFNPRtpBe1TgskSQjjH4Y7nFjPv /bjFnzSHyYoEGeQQh76ueNDjsi6VOrhfB4a+E5qI9O86uPw8bArb7YJZhTbWvabcCzIb V7bw== X-Forwarded-Encrypted: i=1; AJvYcCVSAP2LpElWzCvU8EqDStsmCUHkCP0XCL6ZYiHg9dqw22/s+xDwRup9YsUFV7nLkX3/6xY9vc8qA1i3Mp3FkR0xAC/rQBqBGSHTjJbKGQAkooDjAuU= X-Gm-Message-State: AOJu0YyskH76xZKPTooDur3GsbckbZut4YWi91MQs3Yy330ge3o82Wsc s0AZmodk4ROZIPi64v8ts5IwR+Dp47TLjsu7oFVtHqqFB0r00Tm2amtz2RIF6vw= X-Google-Smtp-Source: AGHT+IF4YULCsvWkwwwfg53QmQuiwnTv5bGuVI1fQmXCyyYK/3/4b6rzPvnr3zpMfDOh+P6uhyoMDA== X-Received: by 2002:a05:600c:1d01:b0:418:f991:70f3 with SMTP id l1-20020a05600c1d0100b00418f99170f3mr368992wms.8.1713449841187; Thu, 18 Apr 2024 07:17:21 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:20 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:55 +0200 Subject: [PATCH v3 07/17] dt-bindings: display: mediatek: dpi: add compatible for MT8365 MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-7-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=882; i=amergnat@baylibre.com; h=from:subject:message-id; bh=RqJmpnpajyvLw+L+E8GifAX8vmrSQx9ohtd5V3Opzk8=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStiiccS2/CHLvgvZSrpjPICthqNkoAqRcoDoW6S 2gSyudmJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURdNjD/ 9SlFNusJrPYkweUcHXLeozsIQWKFiZuo/9SIS9nySjCqGVF4stQP8TvKOQV2Hr556zdgKw52kw3ujV aa6XgY5nxnsuWanKvXkY6T1niKytAaHsN/rK/vt98+AumfpMLwc7pIhQ5XrwglNUx7PqMDK0UYx/ND BlFmdZcgbaXm6HY7SqZ1d/oidoqhDa4Wr+d+fLwiUJPC5qJ9rWkBAVJ5FuXD0rGVBbu9m+M7JG0+uw 4b1c6n/GyfiDCOLCg6+aTgkVbzsjNxCVihXU9YI6B7QwHBfbYQECzhzopCcsRuwJckIR677Hpenj18 7LbZwmbNBREmKXmfMCuB7AJIgaDK8eQp9sw28TxKUQwuyfGCRcGqYREcImDOGW0FmxdLD4b9Ot81eN /g8hlHrHs3nBgUBIIGcswvCj9oDqnkiF8Dvp2GU0Vkzn11iduL4bvivgYs0qIH8b2Z9vvK9s2BKdAm KiPQsS3+kUDnWgi4Mz7blpAttddVstOVX/DLRLJlsh8p+wuSxPQr0l0WvwervVe4+2ZGDbSAOE+aRP mkgoC1/LfOKKXNsGyHRoBguRRlX1+eRDO7PbNVWkxIGLESQOgKXpfkXpiX8VDlRQ2aTuEENrXN+ISu mUjkNdi1VEJcnQRE3vs3PzRbDQi7gBh3Vjaj2Kmwy9AfCJ5QYl98CcN6XBfQ== 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-20240418_151723_188019_4DA8C6A5 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index e126486e8eac..75d0caa4ccdc 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -31,6 +31,10 @@ properties: - enum: - mediatek,mt6795-dpi - const: mediatek,mt8183-dpi + - items: + - enum: + - mediatek,mt8365-dpi + - const: mediatek,mt8192-dpi reg: maxItems: 1 From patchwork Thu Apr 18 14:16:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634885 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 E4B8FC4345F for ; Thu, 18 Apr 2024 14:18:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QdB+wX4z6gzfTPYIcecvkqEboY0DZlxsvj6QZC/Gk70=; b=VugGjW+5Ue3frK IMu6h1XAHOej3pYzHgBVtK8kOhZfo00iXc/Ld8PS6g9kxnrfvQFzCrRhxRQK1iVGJtPJwI7gNrOH7 8L8ik9zo3mEleGs1JbF2RJJvgz+kSAVWskCW4eBwdbLNHk1K+dTVC1PWBfEU77sq5T1PbyA1x7ahR 58uVlNtn9XLE9clEf8Nbvbjz+Sk5BY41QvbqM5NTi2hLk6x7ApJp1D8p22wJDC8LaWiMb2GVu7YzF 85R7NDfMDDCKbdGR0CxSYpFOxH9+i/D0gDdrqb+GVb4VFCpw/K2bnccCyxhu6e2w/zRrEeRBjPWj1 65Frp2y4SYCV3S9N9HzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSay-00000002ZKx-1aOC; Thu, 18 Apr 2024 14:18:36 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZo-00000002Ycm-2ujY for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:39 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-41881bce4b5so10006015e9.2 for ; Thu, 18 Apr 2024 07:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449843; x=1714054643; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ILqnL0OktQ/LIYsgUIgYWy5kPsb7wTxeiRyz6t2wdXc=; b=oRCz9fYJfwQu5CezsYSJA/HSLzKR5USTY1sbA4C1v6/gHAYAEmbCfPJchcLBFJlSbp e9w5I1avYtBkOOKE9zvZqyOYsax8IEbq7bgNqa0nL+jE9mTkZQ5FFXB60gJCIsJjcoCd Encz96+Ix0gU8LBH/hbyQgw8R2gCSB+ks2FkY2np6PGudT7ZymD+rH/oyf/iDnJkWNEo L1wFtgTDFLlv1TUG/l9MUY9QfemY5f9Qicn6DDg6OYJc0/m1ZllKKqv2b9y8HHBgd757 qembKDWc3WnS1tzKIozidWFLeEqYBK1ITUwxE7McuF8Yfkp0ElbDuLna48Aly30Pimwm id1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449843; x=1714054643; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ILqnL0OktQ/LIYsgUIgYWy5kPsb7wTxeiRyz6t2wdXc=; b=VqUkyC+GBj8JAX/4hs6LcS1woH2cZlgRX428eMbfl7GgVADOUafXc7aJq8GJh651f1 KTi1uobwsWARA9kwdMfPmXDNF+Fv2RLKODPPUkl4cAQh14ssOx4FEgRfbpNK0WxzlOQ5 n1hGJbCgFLgloHJN1oXpgQgBGuLZQDZ7T6me3HUp6iOAJk+KluETane1Luj22UQ6bD1f 3lVaMKgIYOrUvxH34jknflqXli2W5QPfdg7DlTwz/rgzHA0yWtQX9bzAWd73dHDMMew1 2MZtzKbCeqakOLHVzxfSH+RGwT4Iqe8E/iiygT/oS8rMzHCnDrRV4baaiAPtHDWZ0mPz rMDg== X-Forwarded-Encrypted: i=1; AJvYcCVw+Un7le/XoQaQwDTgEsBAagr5AeDdgPIjATLrHSmSV323olLzldLpAgKIsJAqsNkbXbOjJ41vS+RbOyLedUH73qFUEu4dxQkArRqK2XUW8rD8m5A= X-Gm-Message-State: AOJu0YwEtJ2SQUC2/+YoAwgTmQ7BnBbJc6MSwtiaSHbHknmz/q9gYVEA K6xeKzrd8IBxgRKvg9cq2T8ZRHDC5UDLyKuA2BYkC2Uine9tzJzr6q7p6quBEq0= X-Google-Smtp-Source: AGHT+IHyKsYwGwO7ULrRiYYwF8ZW2m1ZUJ2Z3L1zSIq/n7fTc7G0u2ITdvLEMVBKLfBuIWSClRaN8w== X-Received: by 2002:a05:600c:3587:b0:418:f8d3:ba12 with SMTP id p7-20020a05600c358700b00418f8d3ba12mr520839wmq.15.1713449842833; Thu, 18 Apr 2024 07:17:22 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:22 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:56 +0200 Subject: [PATCH v3 08/17] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-8-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1035; i=amergnat@baylibre.com; h=from:subject:message-id; bh=BKhifuqO0sy71Nu4A1KSbxN+I1Z+YvJLs6VRSUaEjAA=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStiATNoA7GzsswL1g6KqC0AIwEpZuwbB80csMVY gEaBTUWJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYgAKCRArRkmdfjHURRBkEA CzoHzDB7d/jXZ68yDDI7WwNkPP1vmd/ZGPXUEBmqiWP8vu6+XmRUK4YlwIjiYpcA3XxgUMLfaT8ZJp ag3s8rhIZU/DVNJJMMwGjqdwUyrNrVI+Gv6mZCS71CIaFfDd4qeL+jxOURPhZzEeK+z9ltzMSJbSHJ YeKfqPR5ezXo3g0UeVztuVZryzFfIAgc8d6zEKDaCraxvokkqOAmtAFGqDDmmHNGxEkZ4b7OkiICVg UpAkyoMi+8uWBDe28vgRid4Aq78DGXXTN1zQfMSrzNbmN++duumQ8WjAU1SvO7YLtWT7h18YP+h6gT pdQoYT8KVT9q5sxc8cS6SBTl74cYwbaDc108PlBb5ijKyQMLraCp9Q9vKOY49C4/oYdSATieUfzwMj ocgWt1F2nM9d5S+SdOd5PPomDk1NLP2eEHvbnbvpl0zzE1P4oHHgUcOigHc8+Ur38jrON38ebeVALo h3HC44zC0tzmrMCGlAvT0ue5k22adRXynT5aaBbO2+Dv1FodPuoKaNyhA1m7b0GEZGlJMGPOtp+nvz zhxoctdBZmiH9+jkulsDpepNJRiH6PpixE1y9uGxi1ZmcMKD3k6uQY7HIIfKCsWxFG4KGmeJKiSAuG uDuDZgG73dCYhnwzYhSyatIpQ/BZzkXGVm2oC4EV86ZgXoZIz661a7QOCrmw== 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-20240418_071724_823973_C7A91D72 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Gamma on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml index c6641acd75d6..f447f4320e8b 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -34,6 +34,7 @@ properties: - mediatek,mt8188-disp-gamma - mediatek,mt8192-disp-gamma - mediatek,mt8195-disp-gamma + - mediatek,mt8365-disp-gamma - const: mediatek,mt8183-disp-gamma reg: From patchwork Thu Apr 18 14:16:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634883 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 A9BC0C4345F for ; Thu, 18 Apr 2024 14:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kAbGCE7lZOqsbkaHAxRlBhgG0+IF06jt5oJ4ybJnqvM=; b=PlRVaJO9WTLcV5 s+ZZmTT7VbbCkwU018zUK+ELy19+w3ULARIprKN1NJ45/O4dQ6JeCOfcT2kEC4WRfrTOEstOb69b9 9485SsDK/sxL10F4VMd0JqU9BEEaEYWdwq5tG+Xq26QpE5+AmecELVPVxYCLFoiCjBjr/LARqID3C j57p8MfZM3VbB+aJ/aHZRQlumIHL8UZ3gOG8l8QVOy+ymQVJEKTXvm11uzcha8ghUqQ6rdkrgYduR ROtyJ7GouxpsOOMwf0JPfMnXF+vq7ORmRxRO8I9EXadKbyR3O9os+nyxhi6/NSy09Sa9QWH1h3VtO DeuTLiqcjL1V12/ygo2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaw-00000002ZK0-39TP; Thu, 18 Apr 2024 14:18:35 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZr-00000002Ydg-0b0n for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:38 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-418e4cd1ffaso5421725e9.1 for ; Thu, 18 Apr 2024 07:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449844; x=1714054644; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GDKYuiqKi2lKHFjV6hEj5ZeFkUw2j/++ERAAAvYfJ+0=; b=FuO3Mkcs5lZ+SziTB3+0VzcRJpK/x9v/KhqfIxJxxXH+e4eplSLq8RFjZPxA3Jd5y6 9DoBk1IqBuoDvdKJVzGKyIElHhSxzej5NODJ6yBHh0pk0BgDcRQlyT+eHw8zGUP9aaPH bSMxrbbz4hDr0tUe1r0zxbMe/6jKt7jd5kVCoUC0CmrCMDcIEnGedXQ8Jnuw4PRVsNvr 3JiVffmOOsU/ywreLDxjVpqKFaxNzOwU78BheO1VR1e8JmTmgREbFdmzeej0htbGtJEf BqqN+QUCOdBehte6JYc9KmnfhIJCtvxvkIBc/mSPCRtpzjY+HHMX090B1PKrokToaB3C 51WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449844; x=1714054644; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GDKYuiqKi2lKHFjV6hEj5ZeFkUw2j/++ERAAAvYfJ+0=; b=OJr7RtWlTyo3qJ0crM1bYBtq//5Ee6gLJwe4u9EhBGQZZWtTI05XxvpV2LVclUfc0T e0KKnmw/meQqE3YpZi1sCrubcx+lYUFps/KQ1gaEEAV9eoGush81nWBbcBP0wN6muVB5 oDnElVY5LMoLS4AQY2BX2tvhKHMjuH2+vz8/N6nRvg7sGSjwmACzTJl2Hf2VeSaQ/x+M 0dMjTicwUH3FW3dB/mCAv8OmozuJaGGWU0LCLY4QhUBhX9uT2ZBNi5jrzMwnDNOMAPdS yo68eWdIXRPYWJ/Tw7h0LWYo/tQLPkTzm6nfsOqYGfx49DPVHD4F1Cr7rETYPqsHQsz6 R1fw== X-Forwarded-Encrypted: i=1; AJvYcCXAcA1B/zm7TXBYKlnFlqETEkfz/Uo0HJ7IllrfEXHZuxbkHx5cY3/ek09Ks2XM2M1OMoAGvHbJw3KJk1/LbgV/qNVfc4lt6D/BVPailaE8s50GoIY= X-Gm-Message-State: AOJu0YxHVAGCyB48oXxXCsvKD4bup78HMTh0N2WUjj8iMjFZkyYyughk kD/gHHwK7IysZPSnet7kenPbbSq5HOW8wue91XCTqn/LSxVHtwZjr6ubDxO5sCY= X-Google-Smtp-Source: AGHT+IFZpHUd3KKJqTG8Fspa5WV+CGK6XUr6/zHywZgyWssPB2EZ3Ze0JTvaDZBJmIElV5Y3Uwlkxw== X-Received: by 2002:a05:600c:3555:b0:418:f400:4af1 with SMTP id i21-20020a05600c355500b00418f4004af1mr763350wmq.38.1713449844499; Thu, 18 Apr 2024 07:17:24 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:24 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:57 +0200 Subject: [PATCH v3 09/17] dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-9-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=968; i=amergnat@baylibre.com; h=from:subject:message-id; bh=muTuIXTt3JZ+adeVzSiBV0lvPUUpPPEXnWM8MyjFIfI=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStje16i3Wmletd3SAhUG1Wug6cEanDayKjSNnvt 7/PVI9SJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURfoOD/ 9gj3zgWQpv4BHx8KjNy8JDlZ0g1G2rz8wn3r/LiH75+rS9z1En5UetLdAjaERRHZRZFnApgNefHFvm MDqQyGfUNJk8+/K61L1TliZKKv4e7NyIbin/nzyCU2ZvScW9eQxofpZTZO0SUHHLr6cJB9HmxfXjvq 7EZukXjZ9rKSr7fyJEqe3yx+illLUJF/RSIQoYIU5LhqZYFAPY4JfzmCJIgePfDpRJseUCthCgPsvX 7mFUINNRHx/ngBxT+lcn1n6DlCXSPEeDu+9iRU1p6tvedD1g4zkXuUIIX93hAyG3bNF+OkBZRXdcLa W8FtyrgbSrU3nJ8MwP9OvtHimV9XIJxNY98EmkrY/TvIBasg8Hn/8qDhYKBkjvlZl8PtcgbIIhSoL1 oby07eKpk1xgzf8eYmyXTdOEZumXcxUvmo8Jnq0Zl44wARwmuXFwGwq0sB3BRaCFkAckSiMAlG2lfL cjqdMhKJyn8pTYNVlo+Cvls51wlCIvir1CdnwzQxlv+19DIxt49XPXFUqzto64HtBCleLlVYJElILG pXA/MBvVLLFjgWV2X1yGSMU5yKcfqCOxKSgyn5RsRHQkTYFAZTuvQ4AEocDh7tppX/ZrjKKjWCqaeA IIzKhwiqMfM6d9/X+qZpbWPzvVA5mUeGTrZihTQmAFz1xemNVViMYtiXHzlA== 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-20240418_071727_282936_7AAFFECD X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Overlay on MT8365, which is compatible with that of the MT8192. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml index c471a181d125..d55611c7ce5e 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml @@ -44,6 +44,7 @@ properties: - items: - enum: - mediatek,mt8186-disp-ovl + - mediatek,mt8365-disp-ovl - const: mediatek,mt8192-disp-ovl reg: From patchwork Thu Apr 18 14:16:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634884 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 C4D69C04FFF for ; Thu, 18 Apr 2024 14:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S9YQJ4HlGmKhCQTJ33aBB/cqW2PV5uMdvMoBwGgn5mo=; b=hCgqEFLj+Adclx UuZru0eWSdoLdQ3omhPby7b5ofGq9CsoZ9WLZj0D0OU2DXFj3uYtsDkCvgFEfmXnULPXR0CcllPB7 KhNatoFmT8X4wJq7O1dLsXAsnvX6DXdpXJedyOLncJBPS8iP0Vime1uuYAJnHUY8Z625UVaiSeSs0 0O/G9XRBc8OflA7ruhCpj8meEOpMpWb9t0gBN6M1pEIEFuwNxsGsQv4XzjlvahbQeOf7mKooSUZWz tsRmPsn9+i9SxLCz8nfmKA5wMJVkGuunoNvn/DZPg7koWK1QIGZ618qxNlJlnSUuZ0zp6I4Nce3NY 0HkwB1syERCzzrN6lmuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaz-00000002ZLW-1blr; Thu, 18 Apr 2024 14:18:37 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa4-00000002Yng-3rkm for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=Xyh9I+7RDjmoXx6ibmqfU5YmUk8cuDqOZ30bQAqDPzU=; b=fAWUXlbFMSaUFdeEdLCtpCjBih FfIBLuNm8tPJXinpZg0znryGzk236x6KHyk48UX1PXHCKQ8DAfQ2Bhl0nDL/FnE2frrS9V+Wo85ML QBEzLpiaNBJEobQ4d0BuWyGJ3LYb2IwZRwlioAiSiVgN+k+rU6pTXKd1Sn6idyWmfcnrnJyP9gsAE chldhR3YJduQp5kfPnXCZFqJVFpHEsxZTSxBozpSgCF/fuYZNwc57fnngCCpCsSPLcx3u5q/VLu5o eq2J9811tswP+m7B1VHBTW0oDuYzhGW2D36P1s4ZaX4dXYaDTaFewQyyS2jJG7yXMnT/xwOelXQFa 2YPz/TNQ==; Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZs-0000000C27i-0dCr for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:39 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-418c0d83d18so6903495e9.0 for ; Thu, 18 Apr 2024 07:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449846; x=1714054646; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Xyh9I+7RDjmoXx6ibmqfU5YmUk8cuDqOZ30bQAqDPzU=; b=oa3UZ4Gw8l6Y5aBznw8fUMjPDbrsibvSx8zyzf9eq+jWMD758TqVL34rcThPwq2gJl 3wK7c+KGSXcfE1uW+eCcHOQS6d2SDojjK7E5F0wdHctdrq/9gQVMu5TudRDLzc2qylLW wZjJ5nrPdrdjQEeAK70YC2Z77Gqx4adOwvqcp2ZRghdJDyiXqe/j5fJLGqxQ2IvqBv1O hFOiJ36w1B7PaBTXw3ekzIt8V+SE2mNmgbAlOIbEUo0tVh4U4SxqKrW/1ZZE6hen+xY5 gHX4XOUgMn86DJ1aLkRIiLaLOOTjgdjr6jrHAto6xgdozxXqIUx7vbyG2QwczWcdo3ep BcUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449846; x=1714054646; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xyh9I+7RDjmoXx6ibmqfU5YmUk8cuDqOZ30bQAqDPzU=; b=MUdm+O8uc13HlOO8qQfqriwMO3zdKXwyFFM6c28gOQkfggndhCsctX+YPJwgTdaMfu f4UCYhSndUOse8KYDblWHeJkxySalFWuYCQ/gMCYeV/l+2OH9nvpIZRbVvtrNVzcVfip lblJ94Gl6s+4DN61JG+D5Qc/j2OsWmqHd8ZV6LvOdQ0npVplQApDBGqLee9DLobfnQWv gbRmmahCsPwXUFCi+UG1LuAX2U9VApmnQzM6mI1Y+dZ6Xn54MeCqsl02DyQ44dj1ktny U5QFh2yp/sJ+lZXx/ljN7LaJ5xV6Bqgdn03i5Y9bLcHCaihJ2qdXpYopbMnxaQ2DX8MD /zNg== X-Forwarded-Encrypted: i=1; AJvYcCV4jq3ikY4uzMU6Pv0xRMv21GTU1bWB7wo7hapGRxxgjH9ZF0Zzp1VnnFxT0gG4c30DX0crlfVOMOaBqeV7U8SItO23jF3JriUsbJp4h1kohsrloNA= X-Gm-Message-State: AOJu0YyZw2o+ZbDdRauTTZ17b5oYM1x+duXSv1xgUOyVNh9S9S+N0D2B P5vdXQfOEw1zWSoyX4xbl2NiAAank/POfc1vLi+oivP+95z7xk2+vt5eXL6JHRo= X-Google-Smtp-Source: AGHT+IEToY2RaHfp8/SGhr+SzxRU5xE6X46yItp1fzn/NmRrntSYP3f0mFM/gMKeI8XS0GnztZrbrg== X-Received: by 2002:a05:600c:3d92:b0:418:bdee:d58 with SMTP id bi18-20020a05600c3d9200b00418bdee0d58mr2125448wmb.12.1713449846274; Thu, 18 Apr 2024 07:17:26 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:25 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:58 +0200 Subject: [PATCH v3 10/17] dt-bindings: display: mediatek: rdma: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-10-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1014; i=amergnat@baylibre.com; h=from:subject:message-id; bh=FZE4p38am23Wbba4sdDEsuVyWoBZbiLCeYBCcNU5TdA=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjb/g6WWWPTVLJUfpwBGujfY5yXZ146n2j/DZr MvPY23uJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHUReRND/ 9YQd5KWvjqnnV42cCyJN+vg12K+UwcFK9Rqo+3q0ESv9jvSgt8Dsv4UtzVW1uX+WisefO/wnHatJF7 zmq/rIHOBgG0QUE3W48x/w7n7grwQbevcTrp3Ob+WdR6huTGfLIZNJtaYPzRfQrwJ29iPZS4+vFjyS EehxV87xYf4zKrcZzqIv/MiJL4YE4DgHyb50p9iRHfHqk3ckmNP5DYih9BCPMg0M9F0aEFmnHvIHV/ J0VHAwMNctlR15SuKaxx603N5YhNwSGake9NtRGU9yR+EhVwZd3ekYKWH3hpQKcNoWCOw3zDz9xLd3 uxggMjXj3E98lG6sfnVMGyQBqd+FWL6oGD1+Q5A47BQmaDQ+UCmZzKhTr8PPAyIUoyizJgXlreYXfU BAzAHe8Oiri/BtY4WAiGk6E++oY5VRR9Q1itentGNWiFJcrRqwjE52EVRbQ50WglmkFQ6If24plmxX 5ndkqBsorM0ZOh6Qwado9dAe8FPWQtCux2D23eajIOzbqWp9EqP1k9/JNVUKkwOAtNX9jf8HMyBWBj VqAhCrYJfqblrISh0Q+iWgRKeKXGTFpBpneWVrfGqwMO4k1M0vWqi+Zu7aRoiAr60qf5cLKBPDH09+ SBTNBjmjJBIRW8CV4F9gOKqoPW0hgoaz8D/jPji/HoRoudHa1889JQqqCOmw== 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-20240418_151728_306024_A71B7811 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the display Data Path Read DMA on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml index 39dbb5c8bcf8..4cadb245d028 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml @@ -45,6 +45,7 @@ properties: - enum: - mediatek,mt8186-disp-rdma - mediatek,mt8192-disp-rdma + - mediatek,mt8365-disp-rdma - const: mediatek,mt8183-disp-rdma reg: From patchwork Thu Apr 18 14:16:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634881 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 A5117C05023 for ; Thu, 18 Apr 2024 14:18:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aQkNaPm6MKeaeQgOqX5aWSHP2uRJISy0wK3lBgt1o9U=; b=WwD1SokNKQDJ6O KlgmrWLyEXcFdfLi/J1tNV6IK2pM8RouSVqbiSc1WS25UuRyXGq5c8hgzq3WuOXt9dEBAw60MVCGQ kmucNcxIjDpA05vg/NRXbUHqg6vSi4TiL03bJP/hwZbtvPyQWWYG5Vn4TkPqmrKrepAomzKjGxV/a TUKGAxi5n3Fgjhr4vigKaC4Cyc66xkjwloKFHCIWW5wb5SkQRlYDbqEyv2lhndDCLHIW8kQYp1L7P mZaYELmNdnxYXx1l1jqUiAhmUJV9ZwzIOBRVUWKLcMZwYTIZb/xNQlRYRmJnfHqqoRnEDTmY2IVKs LfRfZvMblOjCg/JOBw0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaF-00000002YuF-10oa; Thu, 18 Apr 2024 14:17:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZy-00000002YjF-2CNt for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Cc:To:In-Reply-To:References:Message-Id :Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender :Reply-To:Content-ID:Content-Description; bh=oGzmq8QnAnILeJxkfq5XlHyhyuBWc/rv+PBpofcSXVw=; b=OCHVRFVDawM2hHG7PqtNaXrhY+ +0JbLxSrUNaKjSnxu8faXjPluwjINMh0Wisdmq1YPDfx4kLRpp1jDN6t33tCmwNoIQ/0/3i3tN8RK F7fSNnPaAENwIA6C6L7FD1PTun9R6fmLPo7k9f7I5FTt3gCvL2KnSJhzOpRfHxWg+Vs5q0WrNbOi+ +0h8KwNSQxK9BObMdQxsK7bnRbnzfEQTqj7zAjLRh8iclWwCivBOX5Vi5RkIhMoO0BiROkDk9VQWr yHnPMmSfNB/Mg/lpzWgqWTpQIuoYEK6LV1f/ltkMdj+mNPsG+6xV07TLzoGl/j8nfTVv4veUAwwqm LsR1MVRw==; Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZv-00000005Utw-0jgT for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:33 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-418c2bf2f15so7937295e9.3 for ; Thu, 18 Apr 2024 07:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449848; x=1714054648; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=oGzmq8QnAnILeJxkfq5XlHyhyuBWc/rv+PBpofcSXVw=; b=IF2cvUrLSz+0enMzHoK3A0vLU6vsC+zxf4t7qJqmMOG8s18oa7sO6aN7LD23gAi07L QU6PBqBetzXk9UKXbgVj0EhZ8+4GH+CMo4kyEiqTAUctlnLRzD65dC00pd9xIbqOAafd 8jAgWHo8oEWVCibPpuN4oUVEZ1aXdGFk0eEy8zVLG9neQrLVuUQPjBfS+bXifySnIit5 czpouJ8bP2jRPGIKM49ZOJmvprT1LuT+qIF92C4NmwJ6lDA6Wd/Rgwyl/6KGLn4sjo5c Vg1B6ZTkSFWW16Sa+JnJESB0IMtTqHehmKtLLfLHdd8R8Bm3H1ZderbbC8WLa4kmwjtK nnvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449848; x=1714054648; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oGzmq8QnAnILeJxkfq5XlHyhyuBWc/rv+PBpofcSXVw=; b=jqMRUHvO1LoNi+uL6o2mltP8TtIGNbfNu8cwCFziMvDbFgzxtyJ0sroFUyCziC2ARE GJQ3x7ClzFev6rifp7314wuhCJuwgHYGEjPnF7wEbhoUPh3Hp6W5S2FV5UA3nIsIiDaQ NP8oHu613Toybz/wDZc39Svl+IEyQCR2hVjdAIU41NgeOvRvN077iS8ApcHyqdh2E4Xl CQoIPnJj/+L5Bq27h5L3gI50tIrYXYHBi/ARpjYt7gGBHba7MwexJaE2ZnY9PT+eqXVx 7XoTixR2XxVLbeasSpDJZow7gUhMO6k9XVXBINIozfvmlJBFod67dykaKANs2Q8EG+hx voHg== X-Forwarded-Encrypted: i=1; AJvYcCVvRMzmY4QUB94cpPgABeYQX7ncre8m1jvlhVu+34J5xfLSWaZunyoHQ3hq/6WSKzVzXdEZ/y9jSfqAiWTb4+CkoXhzGqayBneBgqwTWDM90gX0EVE= X-Gm-Message-State: AOJu0YwPfsXP1XLQsXvablW1eF8bHehsaFazj7xbDtSp4e1r/d36QTXH cPrbrJWbBbF5ZebLPk3bPJCosX+4a8gumOG5+DjUyOwEHQCXfeapKN/cNXZ1cWQ= X-Google-Smtp-Source: AGHT+IH7KCEY/+ul2khGMzI5unaRDPYns3Jufon1f5mBA1gxs8y+0LQ2wo1qRc6yrxJLUkRxT6qr2g== X-Received: by 2002:a05:600c:5106:b0:418:58ac:7477 with SMTP id o6-20020a05600c510600b0041858ac7477mr2195309wms.30.1713449847851; Thu, 18 Apr 2024 07:17:27 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:27 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:16:59 +0200 Subject: [PATCH v3 11/17] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-11-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1057; i=amergnat@baylibre.com; h=from:subject:message-id; bh=xfN+lyYPuhvRvUCTQ8fIHMVrlQBTO9USYU3uQp876/k=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjTCXO/kUbOBJES8/4FPPfBPtu5tsAadASQJ5Q ma48FsSJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURcnRD/ 9fuVuGB/ZNl/NDOctvn/uK8rqOLuzMTsxWThurH5KOOR3wLElRmnLPlCZJoOY8hPH8ky9VCDmvOeie Ov4vV4n3KpWluEDpvlytyGy0011ck6nSh1qurg1gM/r07AzRPwTtb5QPI4lzAsI0xu2K6KVhIq0XOO olXckfxw3cZE4UGxhRW4GVhnzk0r8DACbnzzUbZiKq2UIjRv7ClEhSEJrA0e+NEL++VgYh93BWo1w8 kYNsqiKsJA1ISRgkFbnV/Vt7w35U7dDd2Qi1vzSb7ua3SzoDFJdcFPVmXX8K5r32wWoPtCLLv9CGA0 ZrwAZrQ9q7zcUCuuRhtRB2v8MEligo9yK68lNYH4Bm5x5A+cm54SYPCzRoPBvHcDI6CGYoItoHDROT sXb5KSDBSTU9f7THTcdrwWpKjGo3XdWIWe9P769nRoqdMfs72hwNnODLryn4k3sUT6WokdzLv4GNVJ rtHB6TLkYhnBk7yVZEcjZhdcF5SWiboLtdAzwbN08A8RT/ITXSyJUvgh8MMB6lCmGRdNL6f6UkveAH e5TS2MIPoNyayjfZXq0sq3HdX3jwNakd65BKkKwFs7U9VX41sABjcRKWr+gNedlDD6hDXJSKo6Rgyy RbkGMV1CVMQyqFyYPmby/z4U4TxeSVSxS7q4issBY3actLHYQ599rGIehXpg== 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-20240418_151731_271684_C7AE8A62 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a compatible string for MediaTek Genio 350 MT8365's display PWM block: this is the same as MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Uwe Kleine-König Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index f8988af05287..180dd8366935 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -31,6 +31,7 @@ properties: - mediatek,mt8188-disp-pwm - mediatek,mt8192-disp-pwm - mediatek,mt8195-disp-pwm + - mediatek,mt8365-disp-pwm - const: mediatek,mt8183-disp-pwm reg: From patchwork Thu Apr 18 14:17:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634887 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 889D9C04FF8 for ; Thu, 18 Apr 2024 14:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jwtDySvFWAC7VwimL/6N5RezwEj7Nhd0lFJUkiaEQ7U=; b=ZUMvqSfTgHJvs/ Lql8qrRG8IRnq3W7HJp2khjmLBdHOguHhQ1YZ15Ro+xERh1H/+Ko2Z4yqX8ayBUIiyq493Mu0uLe9 ge1FeEPuuPQCoYgBX+WLu4p6JcW15cfXWfspYhYB5yA5Onb6nk9srk4F2jDsaVekuKWqiwEdThv/Z ODUlDf5pVQlUt5EcNCPPHB5Akmll+43pKiZ0Jrv8ZrW6wtwDNJVbW5DEWczZR9XnVqaaDqfGkeAGf JixLALbNMLLKy8F2WfEa0dJ27hDwex8srCgST2hDqlTUkjbBp1p0gshUhEAWwQpDCC0PeLP/wmMOp Y+H1K4G6AIiSMtReu3gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSbA-00000002ZSe-3yoG; Thu, 18 Apr 2024 14:18:48 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZw-00000002YgK-1Hff for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:44 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-41551639550so6571055e9.2 for ; Thu, 18 Apr 2024 07:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449849; x=1714054649; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=h3otSZuiUA0RBdwKSB/5nO1/TIttSyxWSp9sd21V3FQ=; b=QhK4QOqKyNw3ZRPbnmB7UmJUczNuUHZSLTUxjYz7MScPkn/gCm3cQ+3QG5JR4LmY/c 3uHlMl9rPueWYzEi62Ss+olZNb1xBjSX3renb5osBnfYNtwq1CRO4u97KnYDyeTWxmqs usnxU9uVL2lSsmwGdd76TGMeVQ6aLRVESoMTtxnNbVwlwRTBKyCvPYthBdqlVhj/Krl3 gBA5QaHa1+3BLHrQ2nit+fSHBWKqWEyz8fWI7pePqAP2UKaxAMPmFCVqkpNUYeqA7kqy KFwlQSkt3IVhdmwmw1qeReGYlZQsiWufvPpE5eKrYrh7p2Zh3oXY9psr1ar6y+JXCpKs XtkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449849; x=1714054649; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h3otSZuiUA0RBdwKSB/5nO1/TIttSyxWSp9sd21V3FQ=; b=hRg1MkHYjoOZu7eV7H+mOvJsoHtYI9xxe+oY4ZSzq2oYhAZjA3yMPvtyHVqpVIsKY/ /xKZzfZX+KWvkmMXEGmohhEhOlq4c65Y++Tbpf4fH/zKaI28fMFAGUwSf8T1xKBJpoTm fhQF5Kg4HgCfVyUGofym3ljcz+IgIW/nc8ePTd6IatH4f9uwvqR0Am0vQCTnori9tp9L l36f2Pd11B61+MBD21rW6NyIbV9s7xh3CEi/lUmMzd1ztYG6+dTg68+96lWCvTAJjOo7 BKCv3RwcweRNjp/VQbU9qWs6GYRUaQD3hcX8lNLYeAgY99KgEWarzp762oOT3drdlLA+ M72g== X-Forwarded-Encrypted: i=1; AJvYcCXxDXk9kDApqOwdeTcKsIwDKv4xwrvHzXzB3s+VHOlwOvDLY+eqdrPbe0M2ZYjNsX7BFi7ZGRjtzaiVN9d13D90+c1uDST45lJugY6kfu2gE/GKbxY= X-Gm-Message-State: AOJu0YzEluSSzIy5poFQAwE/feFDpOXrdwksrxb+cwU0exc3o255rW+B O4cUu8j0bnNCDn11RDQ538HPv8dnway9N8lTKMn6IZVJySktE0G2K+c4y2bNhWA= X-Google-Smtp-Source: AGHT+IEiQUufXTv7FJcYkp/QB82CY+QyZl0A6G8qICn/+gCfoWDUcq8617KoBHtq/0X/7mU0hAwvqg== X-Received: by 2002:a05:600c:4ed1:b0:418:d2c5:5c65 with SMTP id g17-20020a05600c4ed100b00418d2c55c65mr2438790wmq.37.1713449849699; Thu, 18 Apr 2024 07:17:29 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:29 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:17:00 +0200 Subject: [PATCH v3 12/17] clk: mediatek: mt8365-mm: fix DPI0 parent MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-12-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1471; i=amergnat@baylibre.com; h=from:subject:message-id; bh=CxkLUlifqvxz1G/Eho8b8T4Is6DgFjTZfGPXl6VYPH4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjTlVje5tb59O8ee6DHe2YEYRuzYS3qUOt1aEr ArPtZJaJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURQqNEA CYVXzwd+84f6xIO7EyRZqTIThqTCaSd0BOLeBN/VzpJk8gHezkxoYZHgiCRin94aHkjaR7VSMB/Quk qBq+TiWTMhA1/zaXb41ylAI+Dyew3JUPmpZ2M5T8yDYNnbEjiOAmGrAM9/+9bsp18Y72CDZgcRkkT3 +VyS01NGZZsojIayz9SpoHYeJfa/MUxZ3tUyle4MMHJYbvkMs9MNQ619sgiQTWiE2+Q41Fv9dY9VoF mbVjtEs7R3f79z7ueli540F92j2WQZ4oJZ6LuQ0fGsXezsTGv/qfuoTmBHIVXRVY8p/9ciqrrnl8BP LVfYA2WXi8SJBZxYMYEOspJ2EYlIQyIZ03FG/bPJsvB7CYsuC0f4yqlwA8ARd2T6uoG0xHT3VeKS6Q sLNan3y/BScJLyDClVjWhMQXRW2CjNcSRVeM32pj6Ja37+B3RfnaAE9k4jf5pfbRkWxvsk7QPDCrCu IvPTDwRJhuyrC7BFmfac8T3JAUirPF00v1tjMXILiYfeA3K+Gm2K4SVmd+9EWgjEJcbf6ucCjlQU/p Mz7gTttZFPwcSGfcOzz67IGjCR6OlEXErvSLeC7em/u4Sq1gQIleQ5ecPpwKcZ2V5k4TcHwQn1/IyQ AREJ37OCcknpY2fMYZGW6FkM6el89Lz6S94SzjFiEJxeyBPQeCxEds2+saJg== 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-20240418_071732_458936_AF2550CB X-CRM114-Status: GOOD ( 13.69 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org To have a working display through DPI, a workaround has been implemented downstream to add "mm_dpi0_dpi0" and "dpi0_sel" to the DPI node. Shortly, that add an extra clock. It seems consistent to have the "dpi0_sel" as parent. Additionnaly, "vpll_dpix" isn't used/managed. Then, set the "mm_dpi0_dpi0" parent clock to "dpi0_sel". The new clock tree is: clk26m lvdspll lvdspll_X (2, 4, 8, 16) dpi0_sel mm_dpi0_dpi0 Fixes: d46adccb7966 ("clk: mediatek: add driver for MT8365 SoC") Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno --- drivers/clk/mediatek/clk-mt8365-mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt8365-mm.c b/drivers/clk/mediatek/clk-mt8365-mm.c index 01a2ef8f594e..3f62ec750733 100644 --- a/drivers/clk/mediatek/clk-mt8365-mm.c +++ b/drivers/clk/mediatek/clk-mt8365-mm.c @@ -53,7 +53,7 @@ static const struct mtk_gate mm_clks[] = { GATE_MM0(CLK_MM_MM_DSI0, "mm_dsi0", "mm_sel", 17), GATE_MM0(CLK_MM_MM_DISP_RDMA1, "mm_disp_rdma1", "mm_sel", 18), GATE_MM0(CLK_MM_MM_MDP_RDMA1, "mm_mdp_rdma1", "mm_sel", 19), - GATE_MM0(CLK_MM_DPI0_DPI0, "mm_dpi0_dpi0", "vpll_dpix", 20), + GATE_MM0(CLK_MM_DPI0_DPI0, "mm_dpi0_dpi0", "dpi0_sel", 20), GATE_MM0(CLK_MM_MM_FAKE, "mm_fake", "mm_sel", 21), GATE_MM0(CLK_MM_MM_SMI_COMMON, "mm_smi_common", "mm_sel", 22), GATE_MM0(CLK_MM_MM_SMI_LARB0, "mm_smi_larb0", "mm_sel", 23), From patchwork Thu Apr 18 14:17:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634891 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 8B63BC4345F for ; Thu, 18 Apr 2024 14:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JWhNuhC+Up/CQngHgz6h1Gqkc+W955s/iDmNl8VFQ7A=; b=0rNucpAAYUqkQw HzQDXsFharK4iNVqGpAS85AS8tWc8hqkY672G6iK5QkTY1lJxyBf1cs3LA7cTnmUhznplkMWwidZO 2J7Okipkz9psn9C8C0sgqbd215AY9Tz61TmvYPqSDK+bapFxQQlULT4mIS1sPr6+CISxVnXzGl8Ci oyd5vqUkEOIDOgy0q6nrwoc1HfbYkG3bc9gtIxex8Ph+nocGHvjdLGAbQcCqAJGZK+647ZUSArtJV PkZb0ZDKoPeLRFTvI8q2L0dt+jeWQ9+EqcCfbrQ4SvCKuw5KUJbp2iNR/9JDMseO7cr2XKgfiq6F7 3DERNiUww6MObmeuBYcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSbx-00000002ZxJ-07DQ; Thu, 18 Apr 2024 14:19:37 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaC-00000002YsH-08Sj for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=hFmw2QUwgoo6nZ5hxL4W4XLY0gvCpX+AxZ6V2ssaQtQ=; b=Z4jOqKyZkxanga51CXtFnlj2zt 7ihajRYxEk04iiJYh5Rg6Wd1HaF6sbq0i1tu6V/Ghy85Z2q9ObfGrN/EhfKtGdC3n598FVoLHGZm8 +7uaZQQOzEdN5NEk0ppAt1zUZPBSDHJGgZsO8rjP9zL/aTpKXyKmF9ibddEJw0UX54s2z3T2xmgFV hVS1j8FW3+P91wQVvHY4cuVFfu5Azqep5tPn8HWotyTcC12ZDHQG92zUychVIO8OmWeVp/Kde3kc0 +pios4HlZMiKxFoVrQ1bcJ9r370kyvU5e4PA1+ohkC4PGmVEgBKM4anH/3ubNBLNeWcsdcA395MCC zdEKTpIw==; Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSZx-0000000C29f-0p4d for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:46 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-418def30e50so5734595e9.1 for ; Thu, 18 Apr 2024 07:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449851; x=1714054651; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hFmw2QUwgoo6nZ5hxL4W4XLY0gvCpX+AxZ6V2ssaQtQ=; b=lERMhsPkGzEAmDymkxW3lIyo5QPYrXyYoB6hNtxs1wsIOFiI8UToS0qrQW08TZ2ztu dDJgSQxvNcdZqeVABUd9hZkXDJaMzhz2W+ZCDwDzuRYWChKjYesB05lKWi7bm0xrdNd3 vR/NdomPTNanzVdQWAEMdeDkeqn38DV95FIOx6aTVwSHFP4icFrGAi5hqn50eyv5avGA 4+ZXY9vSLigNC052agoiocwvYUmfaHLWVs6U3ZZzTbSMwnsLa6T+ZUm6Zn/1LL+RtOxe CN8itw/TTK5n9LMynHBCTmUuX+AtIxOwFQYtvRz15c7zpok3/dvyOEBQN/Nb+zuP+cWm rHdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449851; x=1714054651; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hFmw2QUwgoo6nZ5hxL4W4XLY0gvCpX+AxZ6V2ssaQtQ=; b=GRCXR1tqSc35goipiN7HhvwPBZnMEgHh20b+4rz7fzYny6IUZ9cc62Goesra0ecOmo 9NoysRt/Oi9YhDyFGBcpCyzMB+SMzpPhKGUbbtRfTq1cdrZraewwulskWoL9AUM3eR/r 176ZjluEq0rb0E2T76RMgIZL5OMBxuYSe1ASGU5gc/cQyJ25TnEctuiAT29NAIOwrD/q oNpJPYXHyyag5aHpxCdG3pLVD9H87mVU6v+g9+1BKEioIlU0aoR6bA5uHW00G8VXghWV axg+DhB1YACuR/lH4IWy4p90X/OWlOd/63Y1IQTAwVPTeCrLs9Xcmx7fg8A26FuKty0M hO6A== X-Forwarded-Encrypted: i=1; AJvYcCVR0oFSXkOn4ykZ/82XOzx5NIS/F3TQ9zfdbmGzrYgjpgN1SO3z5EkbJDuI4kDvH60gmqsEGhDrBCvkUyJxXdbJ5leAVLF+LO5gZ7wG8o6hUo3hAZE= X-Gm-Message-State: AOJu0YyJrC2WE/Cz5uW/shk+QX5UqR94VvX99yFhEStcBJNoRXXqbxf4 qzueRVuZ0RlevrGgyXczwCC/nm+EhaljkV71sAx/WDj5DuulL2TNSkiNIsR8owc= X-Google-Smtp-Source: AGHT+IHtNCO0sT/PuF83nF5pCjl0HM21KlAZ3i4WM1ZCheFdqhUBy0/ydJhAL6oh54QPdztAbJgG4Q== X-Received: by 2002:a05:600c:45d0:b0:416:902e:51ac with SMTP id s16-20020a05600c45d000b00416902e51acmr2889189wmo.39.1713449851402; Thu, 18 Apr 2024 07:17:31 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:30 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:17:01 +0200 Subject: [PATCH v3 13/17] drm/mediatek: dsi: Improves the DSI lane setup robustness MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-13-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1234; i=amergnat@baylibre.com; h=from:subject:message-id; bh=2MnuLxaHZbaJPVARTKFt1rzwpEZuIuXZwcM1ZfvOkrE=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjyt1Phgb317q5nDWLxlAExPeDpj0mMTjN61F/ BDu61hiJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURaLPEA DD28UlYK6wanAEBb+/8HdIb9cDlvSkVu3mDiWADx1o/swuPpU9jbjySikAfXKlWCxzTgzT6lutDaj4 vIwXpt9XbpZrbPOG+Tget6ptvQdD56G/OEcCbmm1YcvFVbkzXPdJ3vVQFPqVXskpbigxF5lnTntCAa FJQBnbFS30JMcTpBUpIq4SqW3JtxAioMKYcOfbpuv0JJjDgMImsgZ2NqsTPUUgXkgHU9pqUicDNziB tACcMWlHs8PPuZS6x2RqA7e0/EfBHs34gTsyTqkpHBRT73N831a+A5oE9kND+dcMxjwlmefeXMOww6 4gQ1U2T7DSkeS9yTVYR8AsbEM2cBnbhFXUw2c8v3kCwjdrNxllliUSuR1dZnhNMUbd3rmtslBJPuIn PEUcsmJemYKuYCBtvx1P/a46vhGIOLSpJnjVsfnpC7jR7i/JQnirmYHsrdfDs2mG/tXihgWSq+4pMq 7dyFGV0egvh21DBo2c4YFPzgoOhrGzEqsqStXbC4VLcRpewhHVww3ZPEqrx+WEby4Cyxl/W/VCSRnU rYMfrRhVr8zR2tUwjXad+n2EMdD7qeI/xHaJHhfjOEkhi2VDhj0pA9qUpXhWYd4XxabIlQYtF0gP2+ 44HrHaDC6UD1n4NL298nlac7LHpz0tj5kGjXtmURjGBcutBuiak9qpaBctZw== 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-20240418_151733_469018_CEB2690F X-CRM114-Status: GOOD ( 13.64 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Currently, mtk_dsi_lane_ready (which setup the DSI lane) is triggered before mtk_dsi_poweron. lanes_ready flag toggle to true during mtk_dsi_lane_ready function, and the DSI module is set up during mtk_dsi_poweron. Later, during panel driver init, mtk_dsi_lane_ready is triggered but does nothing because lanes are considered ready. Unfortunately, when the panel driver try to communicate, the DSI returns a timeout. The solution found here is to put lanes_ready flag to false after the DSI module setup into mtk_dsi_poweron to init the DSI lanes after the power / setup of the DSI module. Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index 9501f4019199..b3f33d4d3d5c 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c @@ -642,6 +642,8 @@ static int mtk_dsi_poweron(struct mtk_dsi *dsi) mtk_dsi_config_vdo_timing(dsi); mtk_dsi_set_interrupt_enable(dsi); + dsi->lanes_ready = false; + return 0; err_disable_engine_clk: clk_disable_unprepare(dsi->engine_clk); From patchwork Thu Apr 18 14:17:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634888 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 0D4B6C4345F for ; Thu, 18 Apr 2024 14:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p8C+c/mqevbhsRJgYJ9rSSLxWXyRVMDKkmq43bMurvk=; b=R0rvQaE39392jH +wmNjB3lLOOvfvUaPx486j2XHKzZ/rsQa50ZU4dmxaKTvMjaUfzGvcl/YcVJOoPbroBm0DHSQyqhA UjaqRmYEuozyRtxp6VHGwQsjZKkrG4ga59H4HxpzDTI4MpNjbQDbnmFWNSIdwAFhlkUczboy4SiYY IfblW1DhRz1uIl7BaERokJsX3wM5YG7XBSFiIy6WBFZuShBZTMk+XblOrFOMki98M5SnmubHxzwJ3 FJp4QFQlwQi8DUb7DdMUE+teJQfdXapCT7gPfsVU4bkz2EV09vM1eNNKYNepkUe97s77MevTc0ets caI6CBv2QrYhDIFbWRGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSba-00000002Zkb-1HaM; Thu, 18 Apr 2024 14:19:14 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaC-00000002YsI-09Dj for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=nGhN4tMDnWFook0es8LuAXt5ZA9TrdmyBXYcCQvtS3Y=; b=GXMqtyDu0oaG+OnvRIc4IEp9Oa Cb4uVBHz8o5YOeb4NkakxuL0A7tZ+6FA5dmQ0ISRlJ8kXkfiI5gBACFD3vJhruMC+/KnYCEEnpbe1 MwSimXEdqzIGc7d3YfUm4VqNRsaxLw5kZCgJ+gDovguHxr4sj48DkPlL1MaosRVgsCbP1wzjVfW5h V5HmPEzAHEsvjGulYxSss7U5NC86NLuLfHKKBDCsp7jdVN4ZsLJl2gTyM/eV89g0Vxpx/CZ/SF/+/ 7YA8TRXrqf7Vyo5mTad+5cC3HX3szHGdX+IJ2me3kUuYi4o3d++q3Oz4BSzYnfdDieS0uMVNeIKC+ zqVJfzeg==; Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa1-0000000C2Ad-3xFs for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:46 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-34a3e0b31e6so70825f8f.1 for ; Thu, 18 Apr 2024 07:17:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449854; x=1714054654; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nGhN4tMDnWFook0es8LuAXt5ZA9TrdmyBXYcCQvtS3Y=; b=gqokIbCXsV7xad0gTVhNzxFHznHUgYP7DYPDiDvz+5VDV/+zlHYTh9mPCffDGiPBL/ tFvqxg7qTOS87kNDW7NHeOPgwNSRJ/40G9Feoxha4+lbBXw/RU8DULuvZUmU9pz8vZj4 EbAwZ5HL5Lf0CNQ/iY+d6vVbRVE8e34dd1/22CwaRBWMHECtL5OmauZ712GmpxpunhKd SOFEnu4NabS2zWaJ3G2UL7wKevAc3wnddFXNa+ofsbBEEgs1BnpJNF+wdIfOtj0OHsAL aZN3JZUulaBcUTTUaAnUd2UYnRJN2mRSuAoAxg6iTp50rZkpzFc0ANm6KXoooFPNso7J Eizw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449854; x=1714054654; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nGhN4tMDnWFook0es8LuAXt5ZA9TrdmyBXYcCQvtS3Y=; b=oQtjZGuxwcqEFS2fDmVxLDVk1IaHiCoHX5Hd19GJFrlBeEuS59tT4PKBLBn1e+6zXX NQoMZ+L8FlF5hC/jnXvxsg9RMl4e3t06xQiEcKqve3J6CSuaPr+oVAUImXG/QkB3TLGS Hdjm35G/X1HWX9u1kAhyuE9Iiv9F3YF+vEBom4o5l298eLHu3Jemot7tA/HByNv+wPeh yjFzG5VHB6xylD2gWPJZ0pNAYuJVEkbF2v5ycPOo1tcszGrpfxAi5S0qIRvcmQkF8OJB wC1frlm2pBB00mFxigmh9vWbNYJn7Siv91/XyyX4msuJuOFrpb7iXbB5/znHXxDAu7RI wZ+w== X-Forwarded-Encrypted: i=1; AJvYcCWfbJaJg2DuJmPiAzPamTgiRZCegYzKByopUzZTi79roCXp/bNumz58OphZKZQVQTeBALcRHc4VPbLVwVDZg13YrD4GjofA2W/JTHWOn25gPL725Zg= X-Gm-Message-State: AOJu0YxmBlnCpcvj0tS6GLtz78RrnvyirpeMzIDxWjcBtGWSh7E2+xbO L+IMU8lUISjEyn+wZ1kVJi2Z9E3SGHhbCelohZ3kWh6AdLjZx7a1GeYD4sgDFzE= X-Google-Smtp-Source: AGHT+IF6b8Hyds+Df+n8d6GSZC2InYLslqfLyS56mvk1H/o/i0jSb1a/hK0ROLJ6MHV5vWZ7T6O6RA== X-Received: by 2002:a05:6000:bc7:b0:343:d06e:51cc with SMTP id dm7-20020a0560000bc700b00343d06e51ccmr1672638wrb.66.1713449852974; Thu, 18 Apr 2024 07:17:32 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:32 -0700 (PDT) From: amergnat@baylibre.com Date: Thu, 18 Apr 2024 16:17:02 +0200 Subject: [PATCH v3 14/17] drm/mediatek: add MT8365 SoC support MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-14-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2801; i=amergnat@baylibre.com; h=from:subject:message-id; bh=r/rf6DH3u4/RIc/AgVSnOwA+TJLknIEXoBhT9allVNg=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjypxHC1AF4L3x0vY6H1KMKdkKlh+jAMEpcQ+v Z2my7l6JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURauoEA CNdHASvLccHSGQBaHJPhaHKidU6MEYpyOyYukACG9Xl+CwO9iEmJaksqelQGe6Ma4DNNKYtKkfq5rP EiITw18CFONG9zkfEjO66VywxOu6sqVlLDDINpjOFSwPYfLuMLARTlcuDucts21j5aJTNLkAMGMUpd dy0gI53b6IryirzeYxRt4oMF1hscMI3ndCJoVWOr0Z9vlsyAmwPJHpsUSrlfCyABkhy3qAntmg7U7I Wo70cMcWQdW29iapeE1i2aQ9TGlhXnQnwTl0o8C6T/TrnvRCvNYEymzCwTVk4S6uIcIqklr+Yd9mBF bHAG0f+VCz8hWMjchFasbVlJQUfvHQlEwAVYCHl0Ons5U/hd4knfKY8ygtCzGoIwHKcMR6NcUu4sEA EO53KI+/V4rdp21R+IouIAS/+0h/3vP3CSw9Hsf4XbUJfbC7wdEJDgfQ8JINXJCDyTJx97yaED/Ekm RbY6i6UPy6XJVtO1YfLK+SfoVuGnVAvLXUCn7EeefvcX1M0Z/FSs1peMpBnOv3pTlnv7dmR03KrA77 N7Q+bq8PRbbKgIb+SUzq6kIsFDDqSvzrqQ88Jc/O2/LNaLTIjqFYRup6Z2hY2+tITUHXmet/yppM9G ZnVOp4B8GPlaYGX7no69f5+YFPt/zLsiDH9ry0t20It8KZJz0RbfWffcMJjQ== 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-20240418_151738_183282_2390A752 X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabien Parent Add DRM support for MT8365 SoC. Signed-off-by: Fabien Parent Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 74832c213092..427b601309c4 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -230,6 +230,22 @@ static const unsigned int mt8195_mtk_ddp_ext[] = { DDP_COMPONENT_DP_INTF1, }; +static const unsigned int mt8365_mtk_ddp_main[] = { + DDP_COMPONENT_OVL0, + DDP_COMPONENT_RDMA0, + DDP_COMPONENT_COLOR0, + DDP_COMPONENT_CCORR, + DDP_COMPONENT_AAL0, + DDP_COMPONENT_GAMMA, + DDP_COMPONENT_DITHER0, + DDP_COMPONENT_DSI0, +}; + +static const unsigned int mt8365_mtk_ddp_ext[] = { + DDP_COMPONENT_RDMA1, + DDP_COMPONENT_DPI0, +}; + static const struct mtk_mmsys_driver_data mt2701_mmsys_driver_data = { .main_path = mt2701_mtk_ddp_main, .main_len = ARRAY_SIZE(mt2701_mtk_ddp_main), @@ -317,6 +333,14 @@ static const struct mtk_mmsys_driver_data mt8195_vdosys1_driver_data = { .mmsys_dev_num = 2, }; +static const struct mtk_mmsys_driver_data mt8365_mmsys_driver_data = { + .main_path = mt8365_mtk_ddp_main, + .main_len = ARRAY_SIZE(mt8365_mtk_ddp_main), + .ext_path = mt8365_mtk_ddp_ext, + .ext_len = ARRAY_SIZE(mt8365_mtk_ddp_ext), + .mmsys_dev_num = 1, +}; + static const struct of_device_id mtk_drm_of_ids[] = { { .compatible = "mediatek,mt2701-mmsys", .data = &mt2701_mmsys_driver_data}, @@ -344,6 +368,8 @@ static const struct of_device_id mtk_drm_of_ids[] = { .data = &mt8195_vdosys0_driver_data}, { .compatible = "mediatek,mt8195-vdosys1", .data = &mt8195_vdosys1_driver_data}, + { .compatible = "mediatek,mt8365-mmsys", + .data = &mt8365_mmsys_driver_data}, { } }; MODULE_DEVICE_TABLE(of, mtk_drm_of_ids); @@ -729,6 +755,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DISP_MUTEX }, { .compatible = "mediatek,mt8195-disp-mutex", .data = (void *)MTK_DISP_MUTEX }, + { .compatible = "mediatek,mt8365-disp-mutex", + .data = (void *)MTK_DISP_MUTEX }, { .compatible = "mediatek,mt8173-disp-od", .data = (void *)MTK_DISP_OD }, { .compatible = "mediatek,mt2701-disp-ovl", @@ -793,6 +821,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { .data = (void *)MTK_DSI }, { .compatible = "mediatek,mt8188-dsi", .data = (void *)MTK_DSI }, + { .compatible = "mediatek,mt8365-dpi", + .data = (void *)MTK_DPI }, { } }; From patchwork Thu Apr 18 14:17:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634890 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 22160C4345F for ; Thu, 18 Apr 2024 14:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pBwXF/47zQJbfPmJTfxpjTEg8X9SRNDCh+0hMLGsL5E=; b=ByNyDJ0a/m0YXk ipNRuvzizruH4uXvZ4cXKWmhJ86hgQoSvxIuO95ZE+X/JhaOg9ujKPn1chfCbUu6zobWOu1B1/gUU 7SeCAqo8ELW7kQ1+fHYN0XmdtCb5AgJ431FoVvfVbakllTvvzfo6j0bIUn2MsxlPFx060pIIpdHGO MyJ+tkJamuLVtT0iiYt3Vsp3ANFWDQwpW24CQU9jUyqPuQ0I43O7OueJzxfx3wvBlk2XFlkrcUF6V XxhCMCQ6tuhDkdOhjsIQtSptKDFNbR526BP3B/QQAkMeKY0wZyggZKRilA+KYntmBXa0WYpoa8j2u mUneuCKcVEyL9rjGNa+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSby-00000002ZyV-2hDn; Thu, 18 Apr 2024 14:19:38 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaH-00000002Yv6-1n4Z for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=6ngpZb20B2h9Qc9IbX5I/ZiczUNGoVVnils8jWsBLdA=; b=kT1Vaw5/3lv1lllNoQHeyKb8BG W8Ys05qvTesYyZw5iFxI2UskQkDxDiP0uohCW15BrHYkQMzkTfBjxud3kJhhX3NxBvjUpHOXCXsMb pN+FvxdJ61iGBdOQpjEW5XH0lylS3LeRLJY7/TimdXHBkRJqPCgIJzviyauXOWJEoHXRs58FJvVXE GSGs2xzHZKynZYk59Yiqv9l929z6fKVbfHqFAP2loaGUCEd9JIslv92x+a/M/rV+K4MVv9NCzSBNz rpDmMfU0RzADOYNeBOYLpPwE9InS+p2zegYkgD6ceTalGF2gct3aaR3YpEhvpcJEnDSbpJYgJcVr6 9UfCRCGA==; Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa6-0000000C2Af-2bXs for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:52 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-41881bce4b5so10008315e9.2 for ; Thu, 18 Apr 2024 07:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449854; x=1714054654; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=6ngpZb20B2h9Qc9IbX5I/ZiczUNGoVVnils8jWsBLdA=; b=hoinRxqjjp/Ury8KEfUbf9R88Telext3KQEGxVzDMRppfiKe2FSnaWQzSpbD0yygFV yZUf9mEFnfy+t0TCv49MNqpCwZh67bhcbmxy8GPuvK9ZjuM2IoSxvMKkg9VcgVRtfWXN WUh2YCxzc0MnyRjGOMxPcgrinIVX5E3C4STYlCPvnGuUhxjoeRclijR9l+TwFpEIchn1 GA3xiGanUrcySlLz3qU4yifKMmuMidi3fsHST6Vbj8uHnb0uZR8d4GaM6Richww+aF2+ gGK8t/+aATOBepH86LYdc6pjwphbmMX4dKn3WXpoQbdmio9fr2tBQHGLIFhjVGXng30X 3RzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449854; x=1714054654; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6ngpZb20B2h9Qc9IbX5I/ZiczUNGoVVnils8jWsBLdA=; b=P0AOX12nzoZfh5SohvKnMuuFvBWWq+anA/Yyb71IWxHsCXNUXLC6XUUTPfScR3lHJ3 AvI+l2OhtS+zAo8+hUNAhrYpEhcPYQJLtAallBiFow5Ne82UanldeqJxm275fVoIrMuX Zy6bWUnCexXLP/Ezpoa+uK956tGFMnayqr+EH6C/9qUG+qutauy2VuDOvTsb3JYKzhrp piRLX0UQjh0AgqaWTYJx0zyD+d3JetMWS4nOARTy7kV2F7JES4nBkEvOcMj4NjpVzIz8 X1vKqigjVsGS22DJa0KOjGKxGstNib2H4G5VAjiuy0dF7GHwgRu4JCUpGzzMvP2h/6c6 Gf6w== X-Forwarded-Encrypted: i=1; AJvYcCWksFre8QZG4A/4zgAJM7S1Zal2oHJF8fEHGZSYEcZlq6Up80KnABvG3rDMiR5aomZL2454nSXISOesAIPPIbrVgOHRMjlI7IDnmDz/k26zlENqU7A= X-Gm-Message-State: AOJu0YwdhrkZByoLHL1T3dV2U9eUmb352iih7EDvlZDiTQko5nqMz+hX 34/NTTkA1CIEklJU5P7O8PgFcE28b2/LKDP90x2O77BRhKXsb0r2sY3Bj0JEmSE= X-Google-Smtp-Source: AGHT+IGNk7+q98Dt50c94htj2Yax4/KnYeuA1Mwztlc7Yw/kKE9BWFSk6X7OkJkTV8uxkSAExv++dg== X-Received: by 2002:a05:600c:5254:b0:418:fb6f:5f3d with SMTP id fc20-20020a05600c525400b00418fb6f5f3dmr290856wmb.17.1713449854525; Thu, 18 Apr 2024 07:17:34 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:34 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:17:03 +0200 Subject: [PATCH v3 15/17] arm64: defconfig: enable display connector support MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-15-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=693; i=amergnat@baylibre.com; h=from:subject:message-id; bh=woF6NgCy9sWp4jU9xhCym7WDVQPI/tzmO1lBDEzOVXQ=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjXZeg5Jh2Is/gAHWoRmg5aIyMiEXbGdEHozO1 0cFGgByJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHUReAhD/ 9Yax8im2q4PngGvAwi5mmyFvPkrrQweqeFZGttybB7sZdfiirXSiQhiPajWkHJ5qYP3CaLIdpsBbwO Rly04rqoR9UjnSnssubHEZRNV8FDtUpWG2kx2KI8YtrPQXLedyoviZ5yXRMhrIo4YQKztKVAM1anaN +4z/FdycM/OVy+qFYOtxIBm5OZVvmTBFcaobZ7N/b8dnOVarjKVjWcJMqc5DvBg82J9pfb7i5a32+j qkq7SMbQJPWRhsJJ1p+PmDZc34BROzx6SdrqIaQTJnDjE3jg9ejPrn72qGRpeCHd5u+WRMmbRlWe34 QjAIUX44315fL/fLIduyc01lfQV48zhoOFVjpUGN219Rl/nbxQdtQizyG9s3C52+sBnHtBtCKGtM5p KeRTXx1RnMx3zK5gkElzJRvnWP3BpiS7jkdcymFux9TZriFYx9saLHrclsMJIMoAgdDwNvi+2YDgbv ZFd1zRXXRB3wFltaeIYmv61ET5XbsgRNVlB3erg09SjegSD5W4C+dUv8X7DTr/JNQYk5xB8c0r5kLA S1ZmTU+T7QLg2br8fX3i9CU7FZDBm4vI+C/FubNpkg75I5aXe2dOy+RetsN0udQ96a/LBJPDmKFksS ZnLWgsJyU/bn4dG+J0ziy4jI04KodR1dokrbqRImv1aZvrEx8euPdeTU6aiQ== 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-20240418_151743_035434_F1654C46 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable this feature for the i350-evk HDMI connector support. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fce98a150014..1df337882835 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -872,6 +872,7 @@ CONFIG_DRM_PANEL_STARTEK_KD070FHFID015=m CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m CONFIG_DRM_PANEL_VISIONOX_VTDR6130=m CONFIG_DRM_FSL_LDB=m +CONFIG_DRM_DISPLAY_CONNECTOR=m CONFIG_DRM_LONTIUM_LT8912B=m CONFIG_DRM_LONTIUM_LT9611=m CONFIG_DRM_LONTIUM_LT9611UXC=m From patchwork Thu Apr 18 14:17:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634889 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 AC676C4345F for ; Thu, 18 Apr 2024 14:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uzwzXD40B2/BCuInDETTWNg87n1Rh9OT9e5rdRho1O8=; b=m3kX/1yXfIvt/R GFu4jTQ9aD7mDbARp17T7oykXxVbr4AeGVeQ27VFPFVvE21/EN0nD/awvvKt1UfiWV2pr/StZ814i AW8NV30N7Tn4dEtxbSTWx27/KqXgVn4PFAFAg8s6UstWZZOnQN+ipJAgl3R329PLwbRkMP62Df1lf tUkxKlRT3bMI452egR12ZLYNoojFfRw8YZ5mcaepcS1AX6HfBLJ+VofcQ8oEboB0qOSGlQrgf9mIn 9AsHErHcQzmJnSz37uv9CX0E+SlazdonkM3//RtdRSj+oRNmtcw1m5KwrSmwyeltcceaRMYzXYeQn iwAq2ZfX8dDK2SIiuFoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSbm-00000002Zqm-248y; Thu, 18 Apr 2024 14:19:26 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSaD-00000002Yt3-3VL3 for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=BKnhFSmX8zSOSVxyc9nDkp/gYNXTQ5M2zgPpBqUyXTg=; b=qOmCh5pgunfyjU/yETYkesRNmM tyABBIpmmraNPuZTpeETs6ADMrecgcCMz4KLYR9fyEHFAyi5zqcGqphIZTul8vLUQU5JUNzZqkyDE hKondAjN/ugo4Stox7C+yHCsrOnBYunXRXj/QKJipWcvsB8GY0h9OVeJoQOKYcP4C+ffI8uBPTDZr mQJigGd5pb+mIf2TWCBHpJoiM/I4yEU2Bb32dkRhD/9jNP+pucQsiM+UVjGBVixloGdRsHlKeB+1G p7HytYcb2wCgbykiHLg3ySe2dBk5bi4lHfr9dM0Ldrdrp/Gg7qmUeTqx5OI5jDf6kBFiYpGyE4hCU +o/ikILw==; Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa2-0000000C2Aq-1Be2 for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:48 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-418dde387a3so7063565e9.0 for ; Thu, 18 Apr 2024 07:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449856; x=1714054656; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BKnhFSmX8zSOSVxyc9nDkp/gYNXTQ5M2zgPpBqUyXTg=; b=TegvqeENVoKUyCSDD5a27p9URXoK9C+ci8hA3YhmIfkTMsJbffhXD0kOwnvNCj9lbI /Incl6zbtXuAn0N656rmQLSU+ruf72t+uML3eUhY403S+DyuzfaoRtTIAYtY3XTAYRDd CF4sk7N0rXiMSJzxzMJBKpnvhdRn5yoqRB12OuejBC6KyX0nvN0aza7s45l3aTqa6xms daiBrPfE7sKVHPxxkjIClWINoY8SzkD7h0dKIqVqj9GxLHwRmqGQUhMpuyWdLmazfVS9 nl9NKk92mleYU2WMLlggZd8HtZPspgPc7DCOQvTgyE630jl0VFrIgJtA4dYk1Lgj03Dr Sk0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449856; x=1714054656; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BKnhFSmX8zSOSVxyc9nDkp/gYNXTQ5M2zgPpBqUyXTg=; b=YEhAmJGsXEE4IZkzXpObwjNPdoFNidJqzGe7b9q3OHlQohw1I4iPSaVJtmQpW+KW6H Gd+0vdw2KUD5A6Xs5I5zJbyqeejobtokIOUvxPXuOqwX40RU7YjKVbwbCR/fPtLhO0BG hWS2S84d4DSnZwH0hf6snElMVRNcnw/fckc1zgUfgGTRJzY4XSajrONUHDHkqbcyiL52 7jXolNZ73V7UDQKhwW8H5pyRsCUkWLuRPEyaJ4lgsS7d6RpZXodnMH3QVIjT3kbFUl43 G0XC3z3VM3W+O+6SV+WM85v0UoSPgW7TzrdFptFglgVjVoYUSoc1jcASb4isUk49iZjj TvMw== X-Forwarded-Encrypted: i=1; AJvYcCVrhjAQs+pisTdBuudPf9rVrTxlHas01oxaY7rWe06Efg+QJU8fHmxzUCv+zd63YgOYzcpfVNqyLuNHbjD+L8RadB8xGHi7N50w4cF9iyaRRSvT/mg= X-Gm-Message-State: AOJu0YyfN5FuzJuC40aH7eJbfVFSDtE+1QQRYeYimgt0G1Z7aBCFCcJS lIu7MGMqDsBrcLsM3lCLOHNLctSX1eV9TGWpSgLD9ZwzKaEiMdlBkBfNXfN0N0c= X-Google-Smtp-Source: AGHT+IHV6YC7NiCV8wvsPwyJwjBjjFxowgPmgZfERu3x6iWLoTi9PZue++xGzmyJpfGKLQL/ABBBIw== X-Received: by 2002:a05:600c:3b27:b0:418:a7a7:98f8 with SMTP id m39-20020a05600c3b2700b00418a7a798f8mr2547667wms.29.1713449856103; Thu, 18 Apr 2024 07:17:36 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:35 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:17:04 +0200 Subject: [PATCH v3 16/17] arm64: dts: mediatek: add display blocks support for the MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-16-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=6863; i=amergnat@baylibre.com; h=from:subject:message-id; bh=WWkNfvm63b8mfbdUkjQECD7o+l4Hcro7XXjY2cPobPM=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjHZhIa3fY5nxorBC0R3lpzo6CCzKyGQm7MXb2 Bk0bklGJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURXrDEA CHSpmGb4lHyRMDF2zf3UxtaZp7opzlLezB3PtVoL3AHHGLUsdQPIsXtmkGdw5Z1vWoKCYUvwRdvpib TIw6xMuunM5ZvPi/Esn4gR8giEmd2khCCS5VrTo/UgbN+cVEiblK+CbnV8+RvenHaMCUOoSFK6KTo7 h5pcvuuMx8Hsdverr6bLh9MSYPpK7BOMFam0AJ4goQ9s5VXzGWlpFPWigBgro62f0Y7+5UmISZcVOC cyeKvqiDzGzxE4WOliscb4aWDHmsj69N+TlpojvskSYbkthZOq6NbqfneE2w2ri0XZO9/V4nUubu7H E1Q51YVP0Un6MRInc9/RelQ7ukhlrc1Bt1/24EmKHfX9w0rrKDI+iIKVsiPwELDHpwHDELu+M/Abmu 5LjEsME6SaXuVMhQaq0QOuyPYcmXZYy7mk+gfTCFLxCtYKHQMFCfyGFQwzSXPcnSvvpiKOa1RL6HH7 aN16Z9/+93DKCrPMQZEs+Xm3fLI1LzCch7R/1micwdOEaNhwJ/sBtJsqQXavvVYAd1yo2un28Jprro 1Bo/LQ1i9EeQlztlxqNpOhZhulB0kVfWOVTKu4K7RNeOhmB0VqpFOWmnsBsOP3pgVjFJVZOroys+jI nlSigI7Y9lZhHWZnkv0GeeXq5ojEUZtIPYLm0ZHHo+ay/GfOvL8afNHgLlcg== 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-20240418_151738_553972_C8337970 X-CRM114-Status: GOOD ( 12.96 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org - Add aliases for each display components to help display drivers. - Add the Display Pulse Width Modulation (DISP_PWM) to provide PWM signals for the LED driver of mobile LCM. - Add the MIPI Display Serial Interface (DSI) PHY support. (up to 4-lane output) - Add the display mutex support. - Add the following display component support: - 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) Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 133 +++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 24581f7410aa..d34519a33c90 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -17,6 +18,19 @@ / { #address-cells = <2>; #size-cells = <2>; + aliases { + aal0 = &aal0; + ccorr0 = &ccorr0; + color0 = &color0; + dither0 = &dither0; + dpi0 = &dpi0; + dsi0 = &dsi0; + gamma0 = &gamma0; + ovl0 = &ovl0; + rdma0 = &rdma0; + rdma1 = &rdma1; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -607,6 +621,15 @@ spi: spi@1100a000 { status = "disabled"; }; + disp_pwm: pwm@1100e000 { + compatible = "mediatek,mt8365-disp-pwm", "mediatek,mt8183-disp-pwm"; + reg = <0 0x1100e000 0 0x1000>; + clock-names = "main", "mm"; + clocks = <&topckgen CLK_TOP_DISP_PWM_SEL>, <&infracfg CLK_IFR_DISP_PWM>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + #pwm-cells = <2>; + }; + i2c3: i2c@1100f000 { compatible = "mediatek,mt8365-i2c", "mediatek,mt8168-i2c"; reg = <0 0x1100f000 0 0xa0>, <0 0x11000200 0 0x80>; @@ -703,6 +726,15 @@ ethernet: ethernet@112a0000 { status = "disabled"; }; + mipi_tx0: dsi-phy@11c00000 { + compatible = "mediatek,mt8365-mipi-tx", "mediatek,mt8183-mipi-tx"; + reg = <0 0x11c00000 0 0x800>; + clock-output-names = "mipi_tx0_pll"; + clocks = <&clk26m>; + #clock-cells = <0>; + #phy-cells = <0>; + }; + u3phy: t-phy@11cc0000 { compatible = "mediatek,mt8365-tphy", "mediatek,generic-tphy-v2"; #address-cells = <1>; @@ -732,6 +764,13 @@ mmsys: syscon@14000000 { #clock-cells = <1>; }; + mutex: mutex@14001000 { + compatible = "mediatek,mt8365-disp-mutex"; + reg = <0 0x14001000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + smi_common: smi@14002000 { compatible = "mediatek,mt8365-smi-common"; reg = <0 0x14002000 0 0x1000>; @@ -755,6 +794,100 @@ larb0: larb@14003000 { mediatek,larb-id = <0>; }; + ovl0: ovl@1400b000 { + compatible = "mediatek,mt8365-disp-ovl", "mediatek,mt8192-disp-ovl"; + reg = <0 0x1400b000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_OVL0>; + interrupts = ; + iommus = <&iommu M4U_PORT_DISP_OVL0>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + rdma0: rdma@1400d000 { + compatible = "mediatek,mt8365-disp-rdma", "mediatek,mt8183-disp-rdma"; + reg = <0 0x1400d000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_RDMA0>; + interrupts = ; + iommus = <&iommu M4U_PORT_DISP_RDMA0>; + mediatek,rdma-fifo-size = <5120>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + color0: color@1400f000 { + compatible = "mediatek,mt8365-disp-color", "mediatek,mt8173-disp-color"; + reg = <0 0x1400f000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_COLOR0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + ccorr0: ccorr@14010000 { + compatible = "mediatek,mt8365-disp-ccorr", "mediatek,mt8183-disp-ccorr"; + reg = <0 0x14010000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_CCORR0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + aal0: aal@14011000 { + compatible = "mediatek,mt8365-disp-aal", "mediatek,mt8183-disp-aal"; + reg = <0 0x14011000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_AAL0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + gamma0: gamma@14012000 { + compatible = "mediatek,mt8365-disp-gamma", "mediatek,mt8183-disp-gamma"; + reg = <0 0x14012000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_GAMMA0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + dither0: dither@14013000 { + compatible = "mediatek,mt8365-disp-dither", "mediatek,mt8183-disp-dither"; + reg = <0 0x14013000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_DITHER0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + dsi0: dsi@14014000 { + compatible = "mediatek,mt8365-dsi", "mediatek,mt8183-dsi"; + reg = <0 0x14014000 0 0x1000>; + clock-names = "engine", "digital", "hs"; + clocks = <&mmsys CLK_MM_MM_DSI0>, + <&mmsys CLK_MM_DSI0_DIG_DSI>, + <&mipi_tx0>; + interrupts = ; + phy-names = "dphy"; + phys = <&mipi_tx0>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + rdma1: rdma@14016000 { + compatible = "mediatek,mt8365-disp-rdma", "mediatek,mt8183-disp-rdma"; + reg = <0 0x14016000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_RDMA1>; + interrupts = ; + iommus = <&iommu M4U_PORT_DISP_RDMA1>; + mediatek,rdma-fifo-size = <2048>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + dpi0: dpi@14018000 { + compatible = "mediatek,mt8365-dpi", "mediatek,mt8192-dpi"; + reg = <0 0x14018000 0 0x1000>; + clocks = <&mmsys CLK_MM_DPI0_DPI0>, + <&mmsys CLK_MM_MM_DPI0>, + <&apmixedsys CLK_APMIXED_LVDSPLL>; + clock-names = "pixel", "engine", "pll"; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + status = "disabled"; + }; + camsys: syscon@15000000 { compatible = "mediatek,mt8365-imgsys", "syscon"; reg = <0 0x15000000 0 0x1000>; From patchwork Thu Apr 18 14:17:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13634886 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 EB852C4345F for ; Thu, 18 Apr 2024 14:19:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ds5QtO78czdbOCgEoHbkct6yk+vlYbD0Sp5WLyiJHxA=; b=T3rnCOIyVRqfaO 5Tsimbvf1O9mZdGDDiEbK1nozv10VxTNYuov5cOrouJCt6p7RVWjmz6Q7VUOry4h18Hd6ZO/zmjC+ tQGpN491Eejg3aXR55qAUun+XCFMFzpYr2WXI42tljj9VgAh9mZnfsAioqS23InsCDhxSDGO/yd7Q 52OSUjkCXl4gyxBnX6uhjgk6xgK36TPmEQ5aSjvXEQSqDoXeL3fqJMA8gowxjnl0ZLN5h/d8/zg1q neTY0Of7ZIx9pXQaheFYhrCdO2oNetlTDwzgsCLjUY6YN+b+qBjt1HWCvop7FZGE7Lg2BlrCNYN/h xp3wTUGRvh61s7lbdkng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSbD-00000002ZUF-0XdQ; Thu, 18 Apr 2024 14:18:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa8-00000002Ypn-3glc for linux-arm-kernel@bombadil.infradead.org; Thu, 18 Apr 2024 14:17:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Cc:To:In-Reply-To:References:Message-Id :Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From:Sender :Reply-To:Content-ID:Content-Description; bh=2LxZnDfBBsSZsbOynZIpZWzKEzA7XkCmlsLul0hC9xI=; b=ROwhQmL7S1gYuuLH1MAYTx7tBc M/sq3FeVsDyuQHic7UhkNKrfVsNPX/BkFtJp4IVMrgrs3+uYqV3Xgx4yT3+K7ZZDj1+Y123vLFTUt q9ioCfJUq2oPC395STjNKjxRI47GASS8tubJgiF8+Sdl4ulBDNWf78qLJzkYzE5XEpMdQrEMEkook IlT7C/D1lbgZrpg5/ewL1NTclhxXiv6QfCS6t/xyrskeh/UU2EsEWuqLZv+I+SgfXXTH+aGPtIZNQ qQ7kUV8UuGruO4LxOepL0MlQd0XpVeeLJuuq9Z9QmKQT10wO8Gx8EJS6zmJY3R45Knxhb5S45WWwa GrlJt9/w==; Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxSa3-00000005Ux4-3JdJ for linux-arm-kernel@lists.infradead.org; Thu, 18 Apr 2024 14:17:43 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-34a32ba1962so259298f8f.2 for ; Thu, 18 Apr 2024 07:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713449858; x=1714054658; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2LxZnDfBBsSZsbOynZIpZWzKEzA7XkCmlsLul0hC9xI=; b=mSyBESpXNw2u2HxZeAON1I2sLyGmyG0FDWnSVxNQssAsHC/FjCFhhiX53MdFL2Yp8D 5FSP97ejrcW3zprAUTLTJCdKfAVgoHgd2L3cXfZ0mExBbhuJV3QeWCgh6gRc1/SZnI/o m49EcrB0z67sxZN1IE7FRGdUUUMQjqZjwiAo+M0UPXXqfYrEXWS4IMPOHI8bO+wWuRj8 MnRPHaxX6I3Q1g1HI1C/KRwka2ZQ3gdKM+m6SMxYhkKsZ4r8Xzytz41w5DjtsJHNblSf E2lHoGB0TQxecOfjswP9BBf+bmJWzgyWHFHnK9YjMlz+CSNrDZQAmD/MxImoShImKKkU RtkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713449858; x=1714054658; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2LxZnDfBBsSZsbOynZIpZWzKEzA7XkCmlsLul0hC9xI=; b=HWYmh/CgOeMFxEd9p+LtCigcIMRjKFQMuD+cfLisFtMNtWWgz6FUrLM6EibUOZuUFj BkdXtQuZMfAm8+jjiu1Nky6cjczDNH9zTDzmybB1pxwwIiGn1aUDqLO2yy11prA2NR7y opplw4BVH8owy9SWfKOFkTCR/WRo8JHWKnU8YpPSE3lkWnwKehmvDvnjBgIG5TMQcR9h 3t3crr0EL4CmVc1/vQBU0J6z5qTtYGLBHmrgOdDXT2hsV/lHAzGMWDFIgYFUSed9DBjD 6LOH9jVNe551qY0RwgngooxpFMhLcu+39GR4z8MZiBMwWc6k6fBOWzgrqr6SxDK0d+0E JayQ== X-Forwarded-Encrypted: i=1; AJvYcCX5rCfX86hpw6INJpz8EOcT+lFaDDlxFgX4Y4pJviJqe9lZa4CjO1NYA7/StIDb3xEt7aZYFV+iqrFKuE6l4dtJjMhsgYdW4rdemx+apzxv+w7QZCw= X-Gm-Message-State: AOJu0YzoBU62m4LLWh3MAHJmOFaA6q90eZQW0vqfkRkYfoXDx4tkhgSU 8mYyh9WCnLgYU9a30gTjgVvdQmhJ4Pj7KWa16VkXHD1z95PGdtVLAuNmF2F/bOs= X-Google-Smtp-Source: AGHT+IEU/vGe7iKZX75StE6zV/YVZi9beeEUMWK/cihBcPSqLnKclRzqeY7lx/4gLXX5NVON66alWw== X-Received: by 2002:a5d:560e:0:b0:34a:6be:6565 with SMTP id l14-20020a5d560e000000b0034a06be6565mr1567571wrv.64.1713449857877; Thu, 18 Apr 2024 07:17:37 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id i9-20020a05600c354900b004180c6a26b4sm6267510wmq.1.2024.04.18.07.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:17:37 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 18 Apr 2024 16:17:05 +0200 Subject: [PATCH v3 17/17] arm64: dts: mediatek: add display support for mt8365-evk MIME-Version: 1.0 Message-Id: <20231023-display-support-v3-17-53388f3ed34b@baylibre.com> References: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> In-Reply-To: <20231023-display-support-v3-0-53388f3ed34b@baylibre.com> To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , CK Hu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael Turquette , Stephen Boyd , Fabien Parent , Markus Schneider-Pargmann , 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, linux-clk@vger.kernel.org, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=5974; i=amergnat@baylibre.com; h=from:subject:message-id; bh=7BtbvWn/1WLef8Gz6HxaX5K+etTb0ncuoq9W1NCXqak=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmIStjLgW3EAk32znYUVI1ZaO0Xua5lmE2DEFI+Qdh 8LCDdASJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZiErYwAKCRArRkmdfjHURSngEA Ch/ENx3t4Ig79YfihJ3EREr6shdqqEyaJN/2srC67mJJOLMNsqAE6RVsiENe/Yv/xh6QKuRwpbZmOs kB64M2L/9cYH1TdjKz0nCzouFeg31PFSNyW/CIpLctTSgqnpoV9yLQgUj1hDn3QRxvVmdZYjxePTAS qd/m0yDFqJxV58o0+WPSUx4af/If+zvo9jQF0ouC30IVzXAbsZ+98uiqpUb0kfHT5zey4mbL9SRW/O bTs5UxtgZCBs/4I/gZwqFoLQfWBjDL18Qhjg39RyXRi9PnumSIn0TvxDV76EWvvE1xU5Y16RBebxVr vSK1Sk7gc6K8WiIU/2I8TyUJUS4wLQyGuZbvqcmg0sBwJnVcOBObz4e3WscNROfpZpnTKPxaMT+k4y NVenlRTtisW7id6oH9jwt0y7MHbdqqzmSQEc3RPpKbdsk2ETLaIqQIGlp1e81HxAsQBwR1MLeg3OQW 2S+ymgH4RyjSeL/1BQTt1OOCK6MPHaizS6W8ZaBcHG7PID6ec0K+8o3EDtHf1ZV08kIUHQEqQgyvJM Hg81/kyHax7kmUIY0dxKwV/66aoLXkw2rjFQqm+D5job+Ijra0/OyoDEVHYZZ5n7xXRgh9z30HP2y8 bqnayBKJ6L/pgZoZv3Qlqb0CFswo2bv5WGGho08yodYcr20GP1pKqqFf3cCw== 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-20240418_151739_908870_52574FD4 X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org MIPI DSI: - Add "vsys_lcm_reg" regulator support and setup the "mt6357_vsim1_reg", to power the pannel plugged to the DSI connector. - Setup the Display Parallel Interface. - Add the startek kd070fhfid015 pannel support. HDMI: - Add HDMI connector support. - Add the "ite,it66121" HDMI bridge support, driven by I2C1. - Setup the Display Parallel Interface. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 180 ++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts index 50cbaefa1a99..1aa3426f561b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts @@ -26,6 +26,18 @@ chosen { stdout-path = "serial0:921600n8"; }; + connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "d"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_connector_out>; + }; + }; + }; + firmware { optee { compatible = "linaro,optee-tz"; @@ -86,6 +98,55 @@ optee_reserved: optee@43200000 { reg = <0 0x43200000 0 0x00c00000>; }; }; + + vsys_lcm_reg: regulator-vsys-lcm { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&pio 129 GPIO_ACTIVE_HIGH>; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "vsys_lcm"; + }; +}; + +&dpi0 { + pinctrl-0 = <&dpi_default_pins>; + pinctrl-1 = <&dpi_idle_pins>; + pinctrl-names = "default", "sleep"; + status = "okay"; + + port { + dpi_out: endpoint { + remote-endpoint = <&it66121_in>; + }; + }; +}; + +&dsi0 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + panel@0 { + compatible = "startek,kd070fhfid015"; + reg = <0>; + enable-gpios = <&pio 67 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>; + iovcc-supply = <&mt6357_vsim1_reg>; + power-supply = <&vsys_lcm_reg>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + + port { + dsi_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; }; &cpu0 { @@ -138,6 +199,50 @@ &i2c0 { status = "okay"; }; +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + clock-div = <2>; + clock-frequency = <100000>; + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + status = "okay"; + + it66121_hdmi: hdmi@4c { + #sound-dai-cells = <0>; + compatible = "ite,it66121"; + interrupt-parent = <&pio>; + interrupts = <68 IRQ_TYPE_LEVEL_LOW>; + pinctrl-0 = <&ite_pins>; + pinctrl-names = "default"; + reg = <0x4c>; + reset-gpios = <&pio 69 GPIO_ACTIVE_LOW>; + vcn18-supply = <&mt6357_vsim2_reg>; + vcn33-supply = <&mt6357_vibr_reg>; + vrf12-supply = <&mt6357_vrf12_reg>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + it66121_in: endpoint { + bus-width = <12>; + remote-endpoint = <&dpi_out>; + }; + }; + + port@1 { + reg = <1>; + hdmi_connector_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; +}; + &mmc0 { assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL>; assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>; @@ -180,7 +285,55 @@ &mt6357_pmic { #interrupt-cells = <2>; }; +&mt6357_vsim1_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; +}; + &pio { + dpi_default_pins: dpi-default-pins { + pins { + pinmux = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + drive-strength = <4>; + }; + }; + + dpi_idle_pins: dpi-idle-pins { + pins { + pinmux = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + }; + ethernet_pins: ethernet-pins { phy_reset_pins { pinmux = ; @@ -222,6 +375,33 @@ pins { }; }; + i2c1_pins: i2c1-pins { + pins { + pinmux = , + ; + bias-pull-up; + }; + }; + + ite_pins: ite-pins { + irq_ite_pins { + pinmux = ; + input-enable; + bias-pull-up; + }; + + pwr_pins { + pinmux = , + ; + output-high; + }; + + rst_ite_pins { + pinmux = ; + output-high; + }; + }; + mmc0_default_pins: mmc0-default-pins { clk-pins { pinmux = ;