From patchwork Thu May 23 12:49:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671768 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 F1FA2C25B75 for ; Thu, 23 May 2024 12:50:00 +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=UIeUFWprigC846Ah+nV8ZC3+FTDxkPAK4671sZU8oYE=; b=oxvFaNynTm7/5N ig7aWENk9Ha/KtULwgzduWhDSf8UFrZ3RaqQTTS0JIOvYwaePpDvhg6AfHsy5lBAWCCafbw90boYz +KHGyCLkbJa16aat1g/bnG+q6dou/U+fUcrO3NOZ/uRRv4z4LNjlS17qL+JzdyZ98VrElGNWwxYfw kOSCNqAwn3mTcpWxHQ6LxpVdJUEHwcDcpx+Xeo6AxHqfIptA3e+W04mV2Hnl2LcYxiOvihkhHuHKQ 5KJR6rwGXNV5UrnLdg9uF0NP85jN6XNxeWfaF/eBsONMhjyFhqdQiwWymWIgaJ0DViYn+uo8W+Alu nU6qC0/PxI/13sUoq8bQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tC-00000006F7v-11rC; Thu, 23 May 2024 12:49:46 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7sv-00000006Es4-1V4v for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:32 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-351ae94323aso1748203f8f.0 for ; Thu, 23 May 2024 05:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468566; x=1717073366; 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=NDc5dZ2G0NhI2V2Vx4EMLzhVv0NLoW/2hnjkjc8WSGo=; b=2UFFiS5bKIQzz+JQE+M0OA/+4qO3N5EVdhAwiQTNftiyI9p7hnlqvfrcToEcPHNeWr +elZbYQEuKBfqTV6rJSmZt5Iwxbai/TXJyyxXOClWymrcIeo7mF7Wzgv4w+A43PoxFYK QWSjZ2yBXfvDlxDRFBunSUYZ4931AW0DzU80BwXo4GtH0ANU7DgGAGkP85zft9XFg9Q0 RjOt1kkPFhAVu/pNdA1I/6gNwSRoYTXU0WqKT1dIPcnKITqFDVF9zVPaM6wq5PryBJ+U FqIvxlFXDJGx5i6xZVGlIAnwUULAhQxH5r2PIJr6xLY9WcfTJELvdEK/dWUArKoZ6IWG p8Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468566; x=1717073366; 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=NDc5dZ2G0NhI2V2Vx4EMLzhVv0NLoW/2hnjkjc8WSGo=; b=QTiTYo+QUsD2fchk+BMkWnFnMmxxnabch73mdOYa6p28HBrjeRuLHdAGUl6v3A/zMe hHeNbnLh2sDyp5TCCkPDQarDZRb3sEHn727p2oBJWSd7Ths8TXGLvqYZdzxpUBrwWtsP 8g2fPPfdgzrBQcvhPQt33EQsCNotynAxyjt9rI8+Y1fUUEzlUtsD0zsjuGlikeY4iEqu 8FJTkYduj+wPNQV+bY89qNxwyu/pZHC9fneR7560cy8nDl9U2pyNLhwOO/PqpposXjpp 6I/Ur39ZFbdfyJAxMt0sssDs3H6yeORB7gm9id6LLKxvCjYPoWEmCBo9T66hy8CLkJV9 7Gug== X-Forwarded-Encrypted: i=1; AJvYcCVRoNEv6UmxaHPio7/QJxu9ELoK49vTEHSYOBkpeqauDABG5mcWXzzqoZXoshAtFfugHxogthUBx1YVuN7gcbuPdsYI7mcokoTOGE38j4eo4IBwzaw= X-Gm-Message-State: AOJu0Yx7FeL8iiS+v0dbET9/w25JfOV2nueGhs1wDVpfFN92X71qXxR6 wQxOK50KlST9osA3x7CQGuZrN2b47tPMtbCWa6Fi3uI/QLCm9yFNotBWmQwf7cQ= X-Google-Smtp-Source: AGHT+IH8/w/D/ym66Jp2uFgYUse59/CTDw+EvixC5vITkP0BBwv3oWzuRnk1t8GSb3ZKNNdCd/k3Bg== X-Received: by 2002:adf:efca:0:b0:354:f500:51c4 with SMTP id ffacd0b85a97d-354f5005628mr2531090f8f.23.1716468566458; Thu, 23 May 2024 05:49:26 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:26 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:14 +0200 Subject: [PATCH v4 01/15] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-1-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=rYGWQnXPl7e+8ZR2q/kPCuviQpIOkOcbGurCO7CSNDc=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTHJzX/pP0aymwYIu7QjbfH/1r3N3y2tzTEGvp Qh+njumJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURW/LD/ 0ZN8rHNVNvvNKuViGWaqPBEkwuwXd1VhlMXVPSXv1j7GbVtwNjsJbNXSXZenNBqXVnAUqKwSbFl1km 7jYjqzscujGwOt05W3nhbgW2S8onp1G8X+JZkbkyjju/doC/uymiO1LuVXSeY22VGZFkcZwAVXEklV CIsGYSmmcg187TLVBBIFf/XagsIYbphmgzMdlNTVf7f/BP7qHMWQHdWfxCwm3IYTx2PqFa/jjHZD22 ZQDg2MW7Xcx/pmsOxNr9esxW37O8eg6Ckh86y32Sn5KfsNfQeKMWNud9NEsDhdHirwWLFUBCm6p5XE aI+DSCwoCFKtBnJy9DeiRLun2nFtszXfTgfP518hMF7h36vCQCMPbZDDZp2HCfJ/B0BLStYwzgn1X+ 6hyzyDJgTHatE6cXE3V3Ut17QmZryJrFkgHs5/WkinIyT8SURQXURvewEv8v95T3LZrbOo9tnwb+Zq QYXKlf1k0GgpNGt6DWLMGbQrvsXb6qQN/IVVmUc7Q8W950Q1mPs1iktinGiS8AccGGOUaNSviWP458 xJph6E9/jrH7ObFUK4BA+Pl429CwQnFjd0g5tVL4MrN+/tvmGOxEBb9M03ekQKA9XcfuCm0Oh0kv5z Fr1Qrt/7xTf8hqiexLhXY+5v3Y/ZKqgQgvHPsW9VsDt2wf8uiXTfG8+PqYuQ== 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-20240523_054929_458237_BA898C4B X-CRM114-Status: GOOD ( 10.54 ) 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 Reviewed-by: CK Hu --- 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 623cf7e37fe3..47ddba5c41af 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 May 23 12:49:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671767 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 13016C25B7D for ; Thu, 23 May 2024 12:49:59 +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=dwDs5ST/QxOdEE7c9gb6qvKJo4hj6Bb8JWCmdw+j3BY=; b=U0BkTSuFjfRUt1 bY1gu3Kz28AJdjj/xTq4BFmTrRhbyVvb5oxHVyzOH2GlkMd/duuKENeQbLZQd2M5zI5zcVhFfCYUn v7yPbbi8n4WYDjdI5ScQZHGvxcfan/3DQaTIVqsHt5xA0T3oaW7LveB4eYEL009PsPgV75QgJHJJH nOWsOYuZSpp1TbuZvG7PvISQhCVWNWqPKCEtKUyHfi36FCpIRz8kQpm5h25U+F0O1IyqgUyRba0Ec cTaLYUn1OXDhHcKmBULdoNfQGKzq7R0QxCs6U0tOZpyna1EGHpOZ6KoB8LG/w0e2jMYg2YkZlGm/k 2evq9SDEXmDpA+GkUeJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tF-00000006FAn-2Ved; Thu, 23 May 2024 12:49:49 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7sv-00000006Esx-2Fi5 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:32 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3504f34a086so5010365f8f.1 for ; Thu, 23 May 2024 05:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468568; x=1717073368; 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=y0mi1WL/7iRSdUpRf2YRMSaJjir0sEMp/gQx1uv98kI=; b=RhwMuu/iyZXvUlXOusy9GyEU5bhUktJVadFmrJxb/igBMgJrLCuYHvyx6VzYFlQOso j2zhGONOT4LhCPT75LYJliIggIsbI1U5NONJg5KgFB4wDbzOqr30SnkUZFEZeuvMQMu1 EUoaYtu75ChM0/+G1JPuSc3b2ELfwO2/9xLJXrb7mkd2B5CVA48zamV5HtgIUEvOdxuV wO4bDCTGCrksK2DnINdozLJcsRqkMfMkfGN+c8InWgvTgm5lYVjBBi/++MTRjgh6/XBa oRA8TOecIcLHTZk0hrLwkeeV8oDwrPin3dtPIg0rEDc67NHT/+lMU2K3cbOK4YcvLSQs VxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468568; x=1717073368; 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=y0mi1WL/7iRSdUpRf2YRMSaJjir0sEMp/gQx1uv98kI=; b=TtOhfZ/6OSc5kwF9U4/s3hRcDhxXmb2W2QHtA7gJrSDRp7gAmgtNaRDp7Ua84TW5PW DttJ2Bc5yJfVrzzxCrBlf/n2xXfG3i2LnfrBJeTGm9mmzAJ2TDpWoRIqDkNWApTKpKn5 qi7NJ5JmefE3x0iLS7APPcNXuLoEbHX4MxXTY06C/B31JQXenwYRIkEEhAfI16OXBPzK ls2cP7Qw/MZExuompZWSgvOM+jEJE08KSTkBAH8cB6hyHadiqNcy19CdN5itIcESp5cz HmVMxpJMghPGABDi4PLBjQFGLdJBJM5oL3uHYFpEaK82DOWDEUY10tX+LVg+lgsb38Px 5J8w== X-Forwarded-Encrypted: i=1; AJvYcCXIyL05mVn6HP9f7waoS8s7qcC57J5niHI8YJldtigiZb04NMf8abOXUgHrjFt4W8wD2Pte4c0ZtQ2fihdwTaLchD98tMHNKUdeD3g49sag3USmB10= X-Gm-Message-State: AOJu0YxA3SLfI4RA+9CCvOeY+ZcwcuMFp8Le0lV96sr6AfGvqNrtTl67 fdPllymTUkjaJO34zrKmKVtAcSexmFBcoEVcE1VBo8AyzJohT212cmZrhIZ6o3o= X-Google-Smtp-Source: AGHT+IHBLKdIYYu6QC45iqx4D28BFWQ2Pl61zO4qgqZxwAe7jzaeeQgHKXs3Sob/u4RnkADQNkEQLw== X-Received: by 2002:adf:e245:0:b0:354:e04d:13e0 with SMTP id ffacd0b85a97d-354e04d1478mr3622189f8f.46.1716468568326; Thu, 23 May 2024 05:49:28 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:27 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:15 +0200 Subject: [PATCH v4 02/15] dt-bindings: display: mediatek: ccorr: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-2-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=upYLopDUv2sREO316+2x/IDyye/JUMDkTsLPG4uVl6w=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztThGaQtVT5PRllT6P21gaIDXU8tLB5/ByVKkE0 BePaKxCJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURToFEA CNjvAKkIUW8c7JykffXwJogjsEowvMJNe3HDTc7LOREneBMS1az+BXGjSgO5blmyB7fGtgJsL+Zv0R xd0wNYYfAMLEXOp6KAn27MVcpfvIJi5NfP1SEwoEM222Y76QhHvMa08kSyxTal1L/cTL/I3X8qu0p7 ckqMnSguyi04ZTm26UrzewnhaRayEqUUFk9I42ErrJAFj405GkoF+4hzqnIjKCITsH0t0Mj5c9c7Jl pVE4ly7f//JUU7dERFcqF4w+ajQu0eObx4T11VmSa3GRscWZb51v1Y2dh15JzJIZ7EDTtxD4z+CTxo GUNuzimI53FIMnh/pA6pwtIaIIr3Z4P/ql8LnNhf0/RZBfu7w3UgygJTJJdbsyFH2IEW56i8wOP043 eGkiiE72dAhNyUMULnTHC9g9Gy4rh8FJFpfz8jOCnM8OUg7ZDQNnCGcVk+y8vq0gXBMZzoOKN5ouCl EyxNT5BGpLftb7AJibOGth78FavsW2MSW262b7XlnKPtR57/WLLKzsZqsX3Lnc8UrhJbxDN6a3EWyj HgVak1ai3PMyArhLZDYYGuvYLNUVdBljvCp96QgIapouQdmjQpjEchRTg3pn8/EggEKdxkFyK0D+AZ mQdy6aFqRFMDQOgv4qOpetSxiRH6ixvp6qQa08GGSz2ITAv8spirsDS4TVew== 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-20240523_054929_689884_CBD015AE 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 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 Reviewed-by: CK Hu --- 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 71ea277a5d8e..fca8e7bb0cbc 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 May 23 12:49:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671775 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 84E02C25B75 for ; Thu, 23 May 2024 12:51:23 +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=Ho3K+6GyzL0RfSBNbvGi1i4VPwPa0foErcbRwJKn2VE=; b=cHkOVXiBHSlGie 6y9AQ4dKGcWht5bPQsLEd3D8BLW7Ited/oDCi/LNCd4sdoa0qXwALGtOhWAvTOYD9KOVSWRl509me vvaanocAonGsrPDTQyZC9YGCJlPr45ZHBSZQI6bELOSS6m6pWjRBgFyWtWpUdtedM7EUoAGMpj7QO QP9wzJX4bSkecaQULyY0WetyRqiOcmHVhYonCyTHzpgf01DZBbIW06cW48OirbuDhci0fa9OiQR6c 3FZRst1EesFUVsNTis8BBuWjDXDv9O8/YnsAmzJ45qi7UIYgjNDAvkaGu4Drpir2timPtO8CT4ogd 1Gw07X4klT+OSe+lpLVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7uY-00000006G4q-2O2f; Thu, 23 May 2024 12:51:10 +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 1sA7t9-00000006F49-13Ko for linux-arm-kernel@bombadil.infradead.org; Thu, 23 May 2024 12:49:43 +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=ZBEEdHfSM5OUHXjJOAmjPz7SL/vpjvoUncaFIjx2+EQ=; b=qZRhdKnT/dNPVgrNe3LW/CGHTz 7uuAv4QfBymF2IHmc46VLP8KILGJ8FWQM97RTaXejxaG+v9CPJAkZFUm4d3iaSuTB0cLpvVVFnPpd UeNC7zxLPZVHjRcQ2MMGR7LQwjELu0+Mf3eBt8bB52J6Qp6whXFVJCI9XbU2PgB8stvwf/bw2ujKN xphgqI/hsnHa9pIeLJSn1TtJCMPRS8BwpXLxFZUEXmHzDB/RFIKCaX/PSo0Z2Uql6uB4pQT7ZpPVg KNe73dFjfQrpzOGU2V5N6XEbDaRerNeRAyYiHi1/lpkiXuXzM9IWXCWCQuueft1eiyfXAcsc3dlmX k57bI+Ng==; Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t4-00000009JF4-3Zbo for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:41 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-354e0d4db6cso1142178f8f.0 for ; Thu, 23 May 2024 05:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468570; x=1717073370; 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=ZBEEdHfSM5OUHXjJOAmjPz7SL/vpjvoUncaFIjx2+EQ=; b=DQUR+MCVTHfGuQ+GOlhFTvE3hd1GnMW3Mj44m5TOVUJdzzFxAhZ5jdsV9ElvASKVmD qrVOC7OKA4WwEcwiGDv3T27cswXOOO5jPR1qbYK+TQIH/ABs102Wy95ORyVjYEnlzfNc wogvrRYHGjJH0Rmx3zYW2zhxmGp+O5AINxGMpWQeep+VfLY23n3RjTPj/JYhxLXZk7dG PxQapuih/xMskWF9gehaxuHD9AmIqhhIGk7Jzy+eWd12tY/qbZEwtgM6075vuQOZq6Ts EUyOtW4uE17+br1OttNgVY8Q1uGu4525MMEuaSyHDvwPDSOhM9b8Bd35qSYr/wJHVkG0 lT6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468570; x=1717073370; 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=ZBEEdHfSM5OUHXjJOAmjPz7SL/vpjvoUncaFIjx2+EQ=; b=K7XYX1b8eKidIkiCXc9601Dr0iPrUk502UVcJKsK9dvbsq1y0EA1l2WryJ27AhiwEZ n3KJTmpDjs8aYV0CfGvUlrGxlJOYuGohMRDS7kEVxT46pJ/wwJBT66TMxB2IybuByHVk 26OIABP0852L3eDAB6NMNg3KYUXBFhF1h4hoVW4Q6dwRsJiCIJJvwnYNFbiGn72vrOJm we6rHQE7fAWNDFRobnYwXMJNzQIDZ/1Bay0NecGIX3GD1WhW9+K0B/ITj+Dr7UoKRIdT eV1JJI98JTGyPnBTkX0ljWxKHcSv5zsjwztHbtG7h78xIn+EMSRnxEuSxp6F/gjTR06d lZTg== X-Forwarded-Encrypted: i=1; AJvYcCXr/p9KLz6snRGn4AB8hDx2NBmQtjwd8skeFB4LHHcQ/Lrma7L1oeNFm7l/WKHeNytn4jimUE1CC/F+sAu2sdwW5ttxv5UijA2kATz/IX38AfOzhsM= X-Gm-Message-State: AOJu0YzgODzdx1vRrHDvckn5gnWaG8xuCgQz3sTBFuiZxbHn0N6fkq2M oWgJy8lseLTCB82anelWvl5hlcby2wwHpNPV35/AUnCbuMSEmsieHs6OaEWuES0= X-Google-Smtp-Source: AGHT+IGU4vZHSbVWgh8XHQMjlPrDicwM7zOwzh1RrdRHAYdu2gyP1avlcsEUbQ9zz2Hk0+AnCcAFcg== X-Received: by 2002:adf:ee8a:0:b0:354:f622:fc5d with SMTP id ffacd0b85a97d-354f75219a7mr1846012f8f.20.1716468569818; Thu, 23 May 2024 05:49:29 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:29 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:16 +0200 Subject: [PATCH v4 03/15] dt-bindings: display: mediatek: color: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-3-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=HN5/a0+R+JO3pVI4xH3O+AT/j542BX4M1WSoIvyPJ9s=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTadkyVemMx/MqAPbnK25Y1rtjyATSG8gU2vrq Su5Dn+2JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURXw5D/ 4gvgJulo8RCU5wSOn+lQaGtmVqn7FJD6rHiNJckEy4zb3pfcDPgucVGSMrh1KokTOVufWjLN0w/TcF bVLttV6skzv/GEPPlqv1jFNjWf9N48i+obz8Z6wRFhDETvf3XvcR7/LXPqPnZWi/Ts3C+7+6SKYZYz BhW+CqE/5aOliJONAzhtQ1aOk0y2rfUeVLObj932UomPbBaNl32QaPBtb1pvxvJlx1caKHMOmVW/CZ z/D7qOYjRa+lKI9Dh+CSzVfQgZ/8tGclASeij3MPdik/Tbp7tOgB0IZvr/GgpOvVm9rCWBn1dQeP/M 7y0IqSyG19Z0i70JCOqHkJWAkg/R5a3bvO6v3RlNLwb0wWrdIpL9hHu233BF10UILE5pchZLOhbU5v MIJjDX9Pj0bwzex94DcQEQ7lM/6uXDI7wTTg0mcMf57DfEb0SFKm89DWTZK5F7LD6xkY0l7w25tUOj CkcZOw+/lpprx4b+CZYGwkkZa3SpStFEuxW2lu29IFnnAN059dRnkmP6PqA+YkOGUgYzA/iTfLz6Fl LMf8+IkEAvBwRCAeqOvKiIPSz5IJut+kBJiMzZY5GrSSHoK27X4Y3SAZ/WQCeAa5HwSDQQVfWB3TMY QfaM9+N5kN4eN+rpWA0LX5TbhimGy053mjPPhq1WaNvBtAhucq/fksLKTCrw== 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-20240523_134939_264011_2F159482 X-CRM114-Status: GOOD ( 10.37 ) 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 Reviewed-by: CK Hu --- 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 61d040a10c08..6160439ce4d7 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 May 23 12:49:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671773 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 2C3F7C25B7C for ; Thu, 23 May 2024 12:51:17 +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=XYpG5+JkYOguVQbs7bTwaBr1IWHZrr3Ndby3JMnffIw=; b=X+4WslyPViaNz+ yeFcKy9CH9jwfqG/6iXcgykF6tWB5MtsGlxKPdprLFAgR+5Mj9Vnityyh6Ptrx1HYb5Sp0/0T1Fuf kTB8meCTq60NbvtqSbo4HgTlpEfTwYV4YGmtd+S3Opfk96/p1R+7FxSQGcBsS4CiYbPg5VtmCCYT4 vhmvM0jJ/IxbnXUQO9d8HK9TfwpCvtt/XWVXys8DLab3wwgfy/F4UYreGPgCsZ5j8oJlI0S9Fietz dLbACEIFRQp6zcROaOvAZZRwi5pnxTE08eSj7HHt1mtjS5y99xH3b/9YVHror9d59dgyYJH5JTjFh i/53W/bXOP2rvhqy6P5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7uT-00000006G1u-0FmT; Thu, 23 May 2024 12:51:05 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7sz-00000006Euu-3o8D for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:36 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4202dd90dcfso18727005e9.0 for ; Thu, 23 May 2024 05:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468571; x=1717073371; 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=e4+lhQwg6d0dw4D/M2LqzYSihjAzASjj+z4J8l/ZvJA=; b=PsAa608KsqDotJCFzAd1q6QAvzDk7e1ja7aHBtM9u2mbyWKgC8cj+8qwTWzVbQslX1 EkQL/nwToRHU7HuUgEXjgVSJUH8tA7XoWOgrj64DppPKEgcX1qo+ygobWghsFKMnMVAv n3Uqby04r871N438flI+AVSJ4PvYUTMZ7gQGMjL3zIaC3c1XzJDvZYXUWZeZIUUgAuKI 1Vp+jmtXu3ED8LKEw9hEIsc0s5F+AsMY3gQXrzxtx5focyLPl6WkPzx5l1jrMmSxTPQ4 CpA1IYwgmeEFrJEt/L+aazNrY1dVJkiTQBOJJ9EMMYJ2lLDPafBVlFC/2H8meQ+tGafY EO2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468571; x=1717073371; 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=e4+lhQwg6d0dw4D/M2LqzYSihjAzASjj+z4J8l/ZvJA=; b=MTaffvowamzCSvj1k9T9E3Lu/4ffgVeqDT218Eahap4oldw/LKMs5oHvYGGuFUWgsK wPaRAWMwTmNTyf2pA6q8FXgZcV2X4rR/J08GYkNpkZ9Y9vOtQVwHU3iatIiGYIpFM1JT hQbvwRunUZ3/Vj7XJrzfQH86tVRjsijvVmaRzSJw/3dYv9uc9lEHrKGceJ6MgdeThqc8 mlubSnt2PnYD39t+5pBQR1jC4L+XARBz5MhEv7RqhEGC6s3emD2Hy4DshL6JnVxlB1hf f2aueRALugG2S7BYwfw+w414h2dr0aiaciWinmvr7LmP2fH5VF82jhyP+1oiWhSX4R/G ftAg== X-Forwarded-Encrypted: i=1; AJvYcCXLUjZfn44Pz7dj2eDpjCKhYJUNqxIp0Mrp9W3MgCtqQlTRi8qAK4XlEjIEb3vDFMXbYnlXUjCH1/tYmDb/eJBZoyqY+/D+ykbKXz5TKYTZPxIzC00= X-Gm-Message-State: AOJu0YzG/iaxtej164dugbLxQZOKSvHizFmGAN9liWTxuoGwCk4tjayb lEh7YOgbXbwE1QXgmKbbK/TJE6bOWKfQiChy5FTnnUOP6Q1quHm5yrPgfwgsfdk= X-Google-Smtp-Source: AGHT+IGE22UqtsLajB5J2AZLCW6T1wLmkDjk6Ujukx8eL5dtqwesn4j29CTzSuVzDnzCA/oY9cqPCA== X-Received: by 2002:a5d:5486:0:b0:34c:cca6:3d18 with SMTP id ffacd0b85a97d-354d8db5facmr3414527f8f.68.1716468571321; Thu, 23 May 2024 05:49:31 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:30 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:17 +0200 Subject: [PATCH v4 04/15] dt-bindings: display: mediatek: dither: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-4-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=pgul3jyPnwLlRqrVeieDrjKje7AnvTfN/5pB8LOeEww=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTJWMDmQgV1eFukFRne6luvhDCe/jawZVZUNOA UANg9eWJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURddGD/ 4pQDxdcLdE71Q27pfLrGFAI9JkPgBfXW99J0aWLRqy4VHlnPMUPUDxjN4uPw88EKX8/ofiTBGYAReY jVxWJwulOWiVE/UL6hHcI/dZRtlosGVE/nTzt3hM4o/yNfdvClPtgO+huPOGUW32N5UXMjkhW+zXlV L2aIFffducIIGxuuD1pJONWfkBvA9RNeyqZvRj2M5ouTSvnastV5wdWKkz0DDp5250jDvDz0B+/trM /temZhZwC5129b92SQdZqEYq33AS2tU04hHcmlpV23FNBlvWLblgTG5mOSQ50nfxrunMWV/I6ZQzNy ZbElei5EV48g4kbgPdAg8M1rsLaLZ1Inv9zV1AiHE7tly+gtBLAAOm/8bqTq5AFLJyK8z72nA4finq oTZ87Ohrw4Vyi3T+EGk5/EFoPUI4aYWS8O4oUDbN/Aw443qJbjtMrizwXKrTjXtZtJL3wl2Arkdb4I yeeW+Okn9sPqwjb+EqKyAYWA3iVLuT0heByHfKrRmcRFj6sn/CtYtJ+APQCzEC85GoJlcVzqcVCj5o k/QvVNe2a47syYoSyljC2jLLH0D6VyqAWdJ745H38BqBxX60vIOcMNRztD3vkIMgwZWeUqisK/yFqy 2TsKkN97isXcuv/g2FhAR2TSbpHgw38WDbw40Ipzc8htIkhT9fmcWAf4kaKg== 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-20240523_054934_220882_7EA6B238 X-CRM114-Status: GOOD ( 10.77 ) 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 Reviewed-by: CK Hu --- 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 3d4ab3f86294..abaf27916d13 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 May 23 12:49:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671769 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 8D5C2C25B75 for ; Thu, 23 May 2024 12:50:25 +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=HZAdfX6Vv/arbyZlf/hbPXZnHycMBsvflc4blFn/Agw=; b=GBZRac2gTBBkbZ D+4cbbdUIFKDoSPIlmWZfsBMBmfwvu37z9595ncmKv8I3AK9rCAk83LCynXHOfI+7+8LN/i3A57wE 9Vznd+JLsHMszOPx51iwtkWv3ljCZO2rbFjPUpqVd7ULCzrVvXZ3DJymh9XMiLuR4aEVrkw2uqZ4l EJdOtl5iAQRFwKA2sxvylXxKXoak4bvq/fDVIg2xzgRluG+oIbRgfaWirDh2dK3oIyEcards7QYpc Zpd9QNO9jRKAVgJkandBmJrt/xqWsSS+ktjWoSwbLrtTpA6vmJmrmVTTO+SSkigCWkc42dccwP07h q7WjAL1Qya+y618StgdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7ta-00000006FSV-3ixV; Thu, 23 May 2024 12:50:10 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t1-00000006Ew7-27E8 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:38 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-354df3ee1a9so1645801f8f.1 for ; Thu, 23 May 2024 05:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468573; x=1717073373; 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=UIRR3PAsLDPeCVGxCiWamUF0dUalt0OAF0ONs7qTios=; b=fwFlyhAMSmnYceboDoM6Q46uHdkNT5PlFxRZcAGPqm2rHv3HofgFlYI1UNSo4cGD+v a7MjItZQGe3A8afM8j94NM8l7HnSM3M7s/MeFhNdZn31TjFmjAtkyGGcL80Gg8oOIRck DgieF7R+iC22cbGWWerNBoIf4AvNgMfSLtdKvTwjTn54n5UOUqt9bgKmWI+Grp7m4Ncs gafF5A9EEwhp6CgMvGlAOtKZt9dJLVp59vz03/GpqyMbLzjkWKXVHuj6p/eJIdwL6Ita qPn2yUxLS0ph0PRXMxG+cCaXlibhW3BLUsfv7zyU7MeW3AFCdcdlCsXE8MKpZZr23hoQ lR+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468573; x=1717073373; 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=UIRR3PAsLDPeCVGxCiWamUF0dUalt0OAF0ONs7qTios=; b=l/VQ7/cquRGKIUfW2eeP8IzYHV4xdxDta3trdy2Jn4nDK7+tEPClmYG1EjfrSNf9tS eRCoO75WPn51eJLaFhUw6BtbgaASyjyBf/5csc5+uVaiT5XVBjvCxpiuIWwDxnOqdj+C 9jBKbkI/0If+jNPmn3zycbP0ZiLiiFibGq9XCUbHC4JwiseryM+dl57R4uWtKz5QmdH2 IX74ZvIu5VCBPhea8ri1pagA+lxjwgtgEXZppqyCJXbYNMBaYZ8W/sjlRz8beL0lZIun WWnlP5XEG4KxGuRvXN85MSS8I0orIySxLRjv5cmb8s3JE2kPAuZYvRb62kvZF9fdPCsx R8Sg== X-Forwarded-Encrypted: i=1; AJvYcCUrlwtOxbBpi6aEpvCA/VWmqgopMYvGGZUluMQYNz03IWw+TtxYfIYZUtGAiTl54wj2ReTeKs+3K2+pjV+Wjdv929CUytx0M0fzPcUSTYFwZ5RkSIU= X-Gm-Message-State: AOJu0YyTIqzNs/P4SJgXyyaRx4dqGf8n+AzRaf72AqjtbhQ4Dy0yZfDP cE+Rb6HPCgkS7rd73TCFNkKlJUQWwHeqFr+7YSYcPfP7poV2UDTBPVEzUhfmQXE= X-Google-Smtp-Source: AGHT+IG8b4YiHAdHYRablfZZQ6Dn6FlVS/F/SaioWLZ8QofReLYA7LtmbLwTsCsrz9Ysprqw4ksAAA== X-Received: by 2002:adf:f207:0:b0:354:eb2d:be00 with SMTP id ffacd0b85a97d-354eb2dbe62mr3152513f8f.62.1716468572639; Thu, 23 May 2024 05:49:32 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:32 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:18 +0200 Subject: [PATCH v4 05/15] dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-5-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=9kh6UGARON/UIfmPWxGK3T+BbLphijrZt3nYZp9vdEk=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTXxqS0hmmz99kc6jIQPW0PAPiCFWxDDtx6P/n 7AXn33OJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURRbHEA C/PkBLP8vnZIf422AHZD2BfrARu79PMnaDfqDKnbla/IQshdf9BVJjs1L4BAXEA6TTpx+amUNn7Dc2 9jwTLa8jJBcfFWRUV7TS7TYh2Cv7iUlFTXR0e/iYs0cVraWfpa+aJUSKJHM/+M994kskXCHFLvFq+8 lTKzqpjzGkE8TX53gzag+3E7axudpA04GS48/fo53U5i9N2nyQhwjh6kS5RSFxp+G2UCjRFWCKsHY9 uLFywRRlJxu0yJLN75GWz79zfVp5kPjxpTVroUms5GwioA7mp/NGlJwClop5dotRbE51BzhxUub6N3 8uwIcG9Y2DMrhDCE1DCFiuXyMVDGjz8Knw1u0JEQuzCRIfV13wt7VRUsnI9EuynwCdbB2vw1bpqYa8 I3HR1OdVZc6CT+7FBDGIv+9I6PJTbFsB87H+iXQzFpkfUmDmjBf5LBYbbPTZe+lUGkkPRE/sj7pFjm xCM8N/nqjYNPQiSoAIriUHuf/oiSqjbiX+O1rDSYgC0Dm5W4SLUOz5Mh2SzbJEYWf6CZcEg8kFcsPn jeeuPe/HtutARF0lGyaZ9bcb9nYYBgmgM+hvF6c1hLzd9C89tWyZrq2tgbSfLZ8ZTNd7TGgbWAcSjQ 4sq9lPWc75OJQMVKtZfxRs3nUPCRPlUmTuHhN1lMqD3ooqGUTmuARdOWrjOg== 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-20240523_054935_735322_0536D5B9 X-CRM114-Status: GOOD ( 10.46 ) 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 Reviewed-by: CK Hu --- 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 2e9d3d23cbc1..27ffbccc2a08 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 May 23 12:49:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671770 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 61D0BC25B79 for ; Thu, 23 May 2024 12:50:32 +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=6mY/p98UVL2c+s0vWZBp4lGGv5X1j+brxHhBAJzQGi0=; b=WmHCpU4P+7TLpl c/MWmjboxspjJnU42Vteixwh8XPz2IwP/zPYByXHQnPVbMJ9Zhv7h4KMJrURxSSvrYoQEj0QBGk2m oxym2paKje8Su/05VmlAr2x69LtB6rT5KmX+hgrqpyjwIJsLBEqsWalwDdqUysNclMOLhtyIzZ0RA gSCjUPQBDMEiND89NncVplHpaij4TY5kUZQcMWkSwdUdaEbY+hTFTp4u22ekVCt2gIpxPLi+fNq0L PqrxcWZJpx9tGYBGRJ1Zrl57xh8KbzRluhjloFv+9TjlRvQhjHSbomDmFw+2TjJuREq2lHCKyRr+8 cOSAGf4tzMuvJ89hoMiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tk-00000006FYg-0FD3; Thu, 23 May 2024 12:50:20 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t2-00000006ExA-3DkN for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:39 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-35501a905b3so257750f8f.2 for ; Thu, 23 May 2024 05:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468574; x=1717073374; 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=xenplDX50PgsFz2Mhp85GrWLaCXcLNdChHM7TGUmR30=; b=D86zkMWebdotPROpAt1LdhhjUTdYe1iWJrxHtPhttZI7151e99VSwXf7rJ6ep/34gW gSULKRql3sJRtcwZFvwFuu7spZ8NnXr/PkQx68oxrVD8kNjaqQ+0WYTzW/pu+XN9yTNk 8TVVHDz+Dx/EZRw9d/cNP/wGrGc0yWA0OICTF4K3NwrsBnxgpu/3lOsUgBvnEpRy+Xdh s5N3YBF96BSp4purdonvscDICQWMpjANKgX+iR0CxbqDrYhxyrRQBNNVqFuFGHLAh8zJ wUkjXYGKAHmJJJErBB0316c508fPLiLC7l7DoaOxVFV+BOJUVJwLNSTARGKHhTEKkE47 OgvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468574; x=1717073374; 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=xenplDX50PgsFz2Mhp85GrWLaCXcLNdChHM7TGUmR30=; b=CH1rDK8x0hSjI67QfLctmpMgSmAoDBSd4ZUngpsqsUlVhMOwCTMibCZIxyzUgxbNuo 8jVJj72rp0/0nWdSRTvurFTRmU3kKpLrciaShzSyOMoZUvRrFzC8NccH7t+oOawNVkeI Q1oA5HcPXxXS3zpE3yHBNgrJ7RdyDeAmFLc3YPHznlRYIBtYtAubCWU/yN1G3ewoSwJl n45iav72L8p2cBe/l+DrhIgtef+SbAoLFjRBL/apzo3seQ2cxK9mVVvfGFt3vLHCpaJF YTLCEhH+k74gwhTeQFEM12oHXChK0CpSZ2UWLt0xO6A9Cczx/yiLmV8LG0bmcRTS2QNe 9KHg== X-Forwarded-Encrypted: i=1; AJvYcCWyRpwVPHZWLUTDV5K+AQwmxUah7d3l459NbAzAMHU57bDxdJzSPWcT7RWq4+PLMoBSgbr/fNrabatB2Asq+1aA16ATHdoMUdxuVq8HuiqeyoJtARM= X-Gm-Message-State: AOJu0Ywz+pnMrPj/D5TGZkZbQq8fglIwfq+c9GjS3G/7tKEWC+whBpJX wydUJHpS9ffjKObPnMgKdGBF7GZEqdGBumfWVIzYzayUQyZoPRAsXnyXTuiWdvU= X-Google-Smtp-Source: AGHT+IHKcCo5SkmMzoymqkjybudh+EkK1WbZuK5jxJV/cF01Mbd4x198B5LKwj085upJo1QzzuY8WQ== X-Received: by 2002:adf:f192:0:b0:355:21f:be25 with SMTP id ffacd0b85a97d-355021fc4ecmr507776f8f.7.1716468574168; Thu, 23 May 2024 05:49:34 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:33 -0700 (PDT) From: amergnat@baylibre.com Date: Thu, 23 May 2024 14:49:19 +0200 Subject: [PATCH v4 06/15] dt-bindings: display: mediatek: dpi: add power-domains property MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-6-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, Alexandre Mergnat , Fabien Parent X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1726; i=amergnat@baylibre.com; h=from:subject:message-id; bh=XahM8CveSVHt1oE74u7zHenJKYAxVWcUJtTL9lMvR8E=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTZLC6mHLbIv5Vn+HyPUhla4L7qCjuTNx0/N51 3iYjrqaJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURSOqD/ 9tudSYcwhpHYqdJVEwSxMTGCUhcD7VJyYs89HVB8ojqKBOzu1ofAiFlw30gn/v/yupim6rnrAZ1qhB 98esztDXhRsMRf6axAX+D5VrcV3RLdtk68I0mNujM8nTlgUptXYAdc6AcZDmrqpcWbjF5tf4YwOAuQ OciVXFTCK+HbpFXvw+aYmy6C1spxfUDh5GiKP/rQG6mM6JRCV+o75CXmCIbeb3eJ5JVfPMWeufW5LE VTEw2tslXtD/PmkQ5OmH/YWGjyz/+UZxEzvZtAemr/5YJqh+xcS0D6V154dM0NXNWb5KJPX9BdjDdm uw9IkambKs2Kh3FJBZzT4XtELKZ6ssLtKDm2oy18rqr8nw8QnlMZW5QtgCO/KZfFezYgQP4FcX46Oh vl9+BXSXq/e7FCQXF52hMvvUC4h7Xa9ACilPVf2rGVFrIKoSNEUc3C0zumDnkJ7fJlYFDcfyyUrQDR eJ1dwwFmpCGA8llnZaK8YXDp165TWVmW7YIKvsXhWySIL8cz5rXLzr6vsatBOkAsGNx8Fd2gRssmoG tXSVmult4N9W2IdAbmVFxlt2HFoyQVX1uOcF+yYy/pON2sypo79Fttge5+qTDdXWatTZQ2cFlNYCkN sM8LFjNajmruxjPmgQIRYaAwvOM2GuGhnaZPX2NSc6xF9jb08HTnAH62ajuA== 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-20240523_054937_187933_FE75A5D6 X-CRM114-Status: GOOD ( 11.10 ) 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 Reviewed-by: CK Hu --- 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 6607cb1c6e0a..169d054d81ff 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -80,6 +80,9 @@ properties: - port@0 - port@1 + power-domains: + maxItems: 1 + required: - compatible - reg @@ -99,11 +102,13 @@ examples: - | #include #include + #include dpi: 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 May 23 12:49:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671772 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 E115BC25B7C for ; Thu, 23 May 2024 12:50:45 +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=QJCy0/5IH9yV2tDx62fDq4CNzu5P4PMXhUdTuSgBYDc=; b=cg+DjpnOlLzN8P 1W0Vf0Q8zpIFi6UAAhHMutIEnELAoYyQPiLCDyARzBUbjQMvAMZjKoMYw1ynmREXDd4u8JJWUV6Uu wm/q2dwQJDZU2jBHveFaSoxffYDZx9gGWYrSuowlIcfvrS/DVICqf4PuaQUg8NXls8VFe5eiVDVqm WUovF+y7mO406xjR3Gwo0poceD5EKuOABBCCWm/Pez46mRd6hwcJ5tslGrI+3mrwmhfVyp3qVAicn HCVOzwwgfluF6hfv+eWaumncPOYSbfq+v+3mG7c4LJTI8bMLcS3XWAu3q/rQeNk4aJaPh+TGANkdw 9nsZcaCgHGqjTf1hBEuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tv-00000006FgG-2Z6T; Thu, 23 May 2024 12:50:31 +0000 Received: from mail-wr1-f47.google.com ([209.85.221.47]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t4-00000006Ez3-1nzt for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:40 +0000 Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-354dfe54738so1384217f8f.3 for ; Thu, 23 May 2024 05:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468575; x=1717073375; 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=PaynX4CLsc9MHihMomyw8yza7pwT0BGnTWcRWzqsy6w=; b=BsxvzTmC0pdOnf2cfN3OPm44m5NYqYEUp8hDKC+asVUe/HYvIAJMmQD4KxN8XDKGvf vUe4b7zUfZXjS0iKTBWMBbTSe3BIuZKlL57YUo12qQTwOo4pTPLvaiQA38c95EbmfD6X oFWzZ/LLyo2GSluO+gIIM3XN6avhQWvKjq+fSkrbv9WW2jo1Zcalw83TMuibs9mTaUyU WI6t1mHwwo9AC3/5IaEmTEve0Fli0thSTokVbopuXocfakIDv/ed4mOFnYePYUw0ldil IKHJ9c9StjBZLS2VqHznXiIlNOgvJfs1xdpQjp9z+emEKDDzYtDQjYk292w0tzaSUtQg ooLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468575; x=1717073375; 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=PaynX4CLsc9MHihMomyw8yza7pwT0BGnTWcRWzqsy6w=; b=dZfbK4GTSmI5FHs4rGBHAjAMWEsvSYxL1m7iotlQoJl3L/cK4LMo3495qbh1jbeQNX OyBP6FvhRBE1QGARj9H1UlHcHUZEaLS0z1otRnmlxksoFcHYpNZyzPM9SyFEcOFfz2V8 /GGMDHiQGR76cn3eY6nuNAuVlDqCVga2MNBKGqlzcZ9zTDhtdYjEz3FaMNEV6ypV/WTr JANtcp9+0IUITu/2v/EKV7lYMFDGYVakec1Ozkok+0aR6QjPixaCRdVCMRxS0jUEIUW+ s+rdZyzoe8BgMA9pPEjvcrS+IijtkevSOA2OvD6CmNLBaOkdQGy+WudiuImV8VzbZYY2 sIkA== X-Forwarded-Encrypted: i=1; AJvYcCU+vO+Nw4c6cP4l8QKLtwwTlHuNFxNUcJydpw/XbJljJ+NeuAwcbnhCzTNR8i1KMYcdBKHVZBema5s4bX7UIY+2xZ9mTvDf1qWs4liahvSG1SPasr4= X-Gm-Message-State: AOJu0Yx9XizF7//U7kzqBJ97mDXSrsj1e4PxR4vR+1Q5bCt6BKj/P4i0 t/fY6I3YHcy5lvk/GxMTLlyKAPZLy7yNzSf4wc0px8wPMFweMbSsvViiAyO2R78= X-Google-Smtp-Source: AGHT+IHrxKVIn+Ah4T60PhRTqB3+VWnYaiGrW6bwaLsVu7Mv9Ph1QZoghW7iJVxfZBri7m2KYPvfcA== X-Received: by 2002:adf:a456:0:b0:354:eb35:a02a with SMTP id ffacd0b85a97d-354eb35a23bmr2884242f8f.70.1716468575603; Thu, 23 May 2024 05:49:35 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:35 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:20 +0200 Subject: [PATCH v4 07/15] dt-bindings: display: mediatek: dpi: add compatible for MT8365 MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-7-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1012; i=amergnat@baylibre.com; h=from:subject:message-id; bh=ofsgAkx0Hd1eRdaHM58268obvfR9196ltfSHKJAspXE=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTCd5N4Za7TkELJ09Q0aesgnC7TN8Qoc+T5A0V knVQ1uKJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURTLbD/ 91F9gMAuFOYgmF+MAGvE/cY6jranhCAPq8fzGOEdtuqzJ0p7AOpHHhHXC/kZ+OIZabzd3pf02nCIOn XfCymikLALbvweG6G5T5fM0OQkbYANV3defBGV6hFEMjjh5+LZNLSiofRDeGELdRtHc1HtMC2OESWU rDVqy8dLnMYO3MdwpHahhTpT/KAkgOR5uGW6TxFpzYJsNjqPPObt6YadpJiH/RoEY8SgrQ5yI1wlro EpO80JbZqdH9bDyMVh+NxuN22stpZSh9E1ag3pBuAxW6O7/kVG6nvcsQz84BkZH4H4dZ5xAbziAFBo zqe4BxJnDoqiq3iDkE9yC5+pa+1W11RCh8o833mRoz7++dYlU7mmP7kxT24M7OxnReGfOUl+uoJv3g lZuVZvMtv1j/eg6pPRSKC+lkXo5esu+YST/8MJ+fhPW/9GdgzQ+ZJDtcMlyjH8MjwrIW9b7UBoHEAC UOaZvloM4OTolWKfTSswUU4PCvUhvz4WcOOAX4CLj3PzO6KPNjMawmZJcpAGMCV8Of+ouSJo5jAoP3 XFpQuf5bzMOMrHSwFfe/uXvejPpv5LTWaKFO99pcG+Y52JYDWO1mZvrDJltWEsY6XSZGPe+O2AtMh4 eXpg6UyLhdqHp72CcnTYXFaKbknfZkhCtEoFjXk5X1wmbLUl95NOMErcdEtA== 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-20240523_054938_645852_43B31570 X-CRM114-Status: UNSURE ( 9.46 ) 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. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat Reviewed-by: CK Hu --- 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 169d054d81ff..21b93f356901 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 May 23 12:49:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671771 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 400EDC25B75 for ; Thu, 23 May 2024 12:50:45 +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=wPXReCtJfqmcWD06aBP52POKqIyvetbmZFN+jcN7cP4=; b=bUPywMRv0+ga2m JsNfnJndomnBY6zPHGb/EwnAy9ppiWTKyANqNzwCyO0ii6daf5sTVmJnQSPK8RRlVXkf4hA47thk2 MXXJZnj0kVubBIbatqgEN+AEqGqQUjVDXfdP3A8YsmXigNYmiT02vuffz7Kg2T/PdzvpObtxFJjEx ViTHwGHnXArsDTHXgN+TJutefib4fLsPetU3HjBgOurlghA0TzBEf9UdkElkB34Hncsl3dYJBhXtz KWXGQb+oABuc4GyI1Umk+5FWNZjg11Ag6Otadfc+nbF5D0PXrJNZiRPiZgTHbzkFOm0tXcTVe7cU6 8VF0WvljRszEH+heGa4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tx-00000006FhB-1WlR; Thu, 23 May 2024 12:50:33 +0000 Received: from mail-wr1-f43.google.com ([209.85.221.43]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t5-00000006F03-1iGd for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:41 +0000 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-354fb2d8f51so464334f8f.3 for ; Thu, 23 May 2024 05:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468577; x=1717073377; 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=kkJmBq6onyQSq+T7hLJMjqQJ9w5LaJXZraoLV+X8Auc=; b=dPUnNRzkMu/VyEq6ml/nbZcL4yDsDjKFi1H6l6ab4j8eEXXi92Kx8YYTUiUeZd4+mx EFeUZMu91DRJZTU3Y6hKr5fo5OLtyRDkVSDLYgsBivsRiCAW7fuuCOxeVmRI7PBFu+Qo 5gdwX+gKFI12AKId+aRAw1ng+47t0QYWwaNzMYBQhsBiKxYLXZ6m/aVtDsa8oSqyD/ja N/7bbomSNxDMrgC/QJWzjSmHs+PWSJr+gO4VjoJoAHoTpKIlvfPtpS73AxH4tix03PzK /T8xsXgaaZJ8DFRu43pGPbGGsrsyAo3XBtLjxLTRpkUqf7ekX9aLfTeCVD68W/s9saDS xBIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468577; x=1717073377; 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=kkJmBq6onyQSq+T7hLJMjqQJ9w5LaJXZraoLV+X8Auc=; b=Bb+/f1hhcjNG05Kt37AKMKdZko+xgvBY/91WBbfv5wQ0XC6oQrswbaInEn0ui4QhQI TDUOgQ6QWR/AGVsLbGVC5Ga9V7KsAPvJ8uoaKVoyOIjRh9sM8Z0Oz7sL2+LAxH2+pAww raviOOJdSOgcMx2Drtsv6BhG1fMi5kO90IOWId8TVGavLATPTS5JAqrVyOqr/RfnDyVm InwG07LL8WDNfVj6Lk/lxJUIWm+RlvJExkB8MawzkwOp0ID8DjJTsUxoMbJ63DeDey7a t/pCESZlKUWTnp9a20SxNc48TFK1e/Dz1DpYHoZIW8Hv9NChIwH866BKNM0DBvI9YWv3 ydPA== X-Forwarded-Encrypted: i=1; AJvYcCXq8X33MAGOfH2OebBGRUWYVBb5ZWpWElVVDjPm7eRwP0dolEKPmcG/o1tyqEQyoWg8lr7JFqgqYTGHZSVIMTmdV2XR43Ohcc2IFanIvHOFoc/CJas= X-Gm-Message-State: AOJu0YzwRsLm5yWITY8TvS8ib+Ot00jynYJ7WnE9CnxDaax9zfaNKwZ5 m7Yy4yaAFgAdvciftDTkYSojUqkz6aLIuXZLx2jOLAKmx8BHB7sNUiDcaJ1lPoI= X-Google-Smtp-Source: AGHT+IGdHb+2nhRmWTFg31x3CwTvhs3p8/U6MNgzEjblZfe0qTk58c4045NP6jEabYi5nerCmPBVUA== X-Received: by 2002:a5d:638d:0:b0:349:eb59:c188 with SMTP id ffacd0b85a97d-354d8c7428fmr4286365f8f.5.1716468577068; Thu, 23 May 2024 05:49:37 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:36 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:21 +0200 Subject: [PATCH v4 08/15] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-8-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1060; i=amergnat@baylibre.com; h=from:subject:message-id; bh=DEIUlOZDb8oCu073O6xdZzPGpsJSPUdkpGXdE5hcq90=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTYUWDKmTXjiazVz8jH3hWP22eE7eomiqm8qhE 7KBFP8CJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURVWlEA CR4mlMMfr4kWE7n8zvTLVPBqU48Mean15/WOP/9YSkzRk0mkEJlhQZNGddl9H4UEws3ztdlyaUajcE vASa/78GPL64xAd8qk+iljbwhBf46pmz5lPRdNWspQWq/vBk1n2FWYG0TVNyprKK1kZLF77oksMym3 uGoxmsU8St6XPBrptLM+rbuxtvNhnahTdqCr9H3kSs0dGcphK6YgOnfBvzDiMzPtAc9z5WIN4BBG39 3qU+Lh7JtybXGHrzgpYtmKBnipxE79PMZP4Kf22wFt7Q9s/nLh4OOCffZQStJxB8bDfn69OEiB9pW9 lJVWcsxmvd69z5ElMA411LOggE5hHC45I87S1Zn6gGxGTiDrY4BVVtP1EkrDgylFY5SsRoyGKhKssc pKnBA+LuS9eLUTZocmwYHYEL1IRP8Q1ZDC2WLs6FUX/f5EnJs37vysiE8/0lw50RC2qoPa0YfI1J8U O0mzuiHQcMcBhE85ePeztAgrX7zkt0R3cDFvZnMnZwT2AShtOgY/baQaDpZAkipGnQ338BFxWVgOS8 5JNbiL3/aQbUyRDKEZJtCZ2viL1VY57aNhSGVE21IqvKtSk7ZTaYarw+1fFt8fO1kHHz+YpbRPO8b1 4U4mHHm66kI7zTG/XxnycuBYFEKnJPOnXhFyOrCVcFrEc0E9SA4c8KPv3MXg== 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-20240523_054939_608564_4DC39136 X-CRM114-Status: GOOD ( 10.36 ) 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 17f299abda11..48542dc7e784 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -35,6 +35,7 @@ properties: - mediatek,mt8188-disp-gamma - mediatek,mt8192-disp-gamma - mediatek,mt8195-disp-gamma + - mediatek,mt8365-disp-gamma - const: mediatek,mt8183-disp-gamma - items: - enum: From patchwork Thu May 23 12:49:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671774 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 63DB4C25B79 for ; Thu, 23 May 2024 12:51:17 +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=Mksxk9MkXCFRnqyj/Rc1sCFNcpoijIfPUqOkLs35XEM=; b=csNHq1tXXlV4AR iyyiQrWIY57vl6x/F2WeBKodmT3HQ/upBxfIOlNk6yE/xe2CkAPkgfyNan5tnx977NN0j/gguM2eR brvH74+jDizBR7V2m5ik3Tjt1q2qPqQQOqHkHdThA36+SimAvanIY3nrcix1a5jWzSCKCSDBDcuyz t8Apyrl0+rbH169bPzems9RmXTaUG/6KWeDL/m45j0cg12z3iJU/NHHkKp6MruqSwukt6KfBNRG/z dVaKD+0Z+EW1L2oUkLZbFAy8ePXudq3e1OlEGgasNc2Y6llXt3e7mihFB5DhEB6fErXfCh9zEIHRB spAHq622EpjTtd06LYUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7uU-00000006G2t-3rq4; Thu, 23 May 2024 12:51:06 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t7-00000006F0e-00D1 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:42 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-352129e3c8eso5243212f8f.2 for ; Thu, 23 May 2024 05:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468578; x=1717073378; 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=+aQzYfx/ie0kc7+1Z32he9tzRpQ+MgXQM9NknN/D5iA=; b=lFJ/yJneElMOYC7U03D+YhsT83lSLclNyZzhTPEnRAliv9FF1IVC4x6LYeLeHvFukx tw74NrHebKrHHjxgohm3oUr21eQRREld0hJwlhM8B05qsb9Ha8Ubg3OoSX10WXge6RcC zy7/MCpAJ6PSNVCVBFGzyNoMvzR61b3Z8XWh+EgJKO5k4tKNKRx1ThZ9uf6pWX/hXyQR 8uIYkwRfezmVCemzE2/aBolu1BsNMW/2qTn0mJ542Xle0MdQmf1Jmvt0JJXL/XxSGN3p 8HzGl4xl7AqX5RsjleaKYQwR/AMQ6fAxFXV/mo+itgsaJvHLV1BRJvID5HMjSqDAgYv1 F8hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468578; x=1717073378; 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=+aQzYfx/ie0kc7+1Z32he9tzRpQ+MgXQM9NknN/D5iA=; b=I1GRPQgJOI8Ur2L+TX2KWBz+9uMS1bG/cto0vORvUv37X7hTWhNGWygG5ExVIeytbf 0IZUUO45nP0OgKBefgZxfdnR+fk5Ow/8dys9lgFvudQzhrMTcjkCwXxyNBSc4yPb8mTr C/b3TdnNrz4ixCykwhTfCmGPVmadjm249PLLpoZ1SJWlgEcK5+LtyekFF5uwJdsfwo4c m6G2zvXpYER15uLYql7+oS8G7R63MHbv9mUTlR4lCQrS4s703t2C9n/L1efyltwG1z0q gkwPs+sk5rIR1nTfryPWkDgxJG6AYEtM+3FOq144mwk67rbKeubTRI5CNwHm9dwYHvzb DH3A== X-Forwarded-Encrypted: i=1; AJvYcCWkdu172RGkNKancTXS4jmbPkB0BBF4Gcreje/lSw0q+nDVtOsbG7fPthsUfEp5r/mE+lSCtU7Y9v7Uyv0AjV0mkpv/0rqZgpXYVfACqOw7CQLPPoU= X-Gm-Message-State: AOJu0YxpFopiK1Uukj4Os0n1qImNBTEOkBhrtU9l2OhCW8+9VJIR3C62 MyqGnvfxoxA6nOL3gakj5fuFKLW4blcPYitOGpjUXNiYL8w06Js+ebrL0vkPZsk= X-Google-Smtp-Source: AGHT+IH4iGNET6SfDzE6zGc6HrJXgpoDsPJFOQ6KQfsfG3Wg0YhjoGdSQjdBLOB748+cCcpmxdRUOw== X-Received: by 2002:adf:ed0a:0:b0:355:2e7:376f with SMTP id ffacd0b85a97d-35502e73990mr193601f8f.49.1716468578424; Thu, 23 May 2024 05:49:38 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:37 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:22 +0200 Subject: [PATCH v4 09/15] dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-9-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=UlNxnBvCjVx/6W65jQPfxXx1AFy8RRqkUMIMHAwcg2c=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTvT9SVcXKFGF/GCpDExbo0SpPFXpWKioJegyL m8sMYAuJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURTHMEA CCECqLgS+dIQk5Iq1e8TB/sKGUiM4+JLGu0ybDlieP1yzfLUZvaakMMuUvb0c2wHeT8euFl3vT+hUR /hhel+PfLj/+7c5BO6Jal85N8SlgjnErhq/bwMPRpGEjfqgoDbdizJC0o9nsmYMJPzHVeVXKsVnoNo TQFwbGwjWirTY5zIJGNIEItsF8THGHZEhW5AML0R1chmvnfGSiwBPXtCCSOJE1jVHKvwbFErSwbBRc TdikgvrqxVVVZPONucpi3aj9YdzMuefW2GyC4+lfYHUQj+xVFkThOalr8vDA3ul3wD1wkXNP2EdVYy 3rJpcB+WNfKSsfGefWYEo060oeXA57sjJDwRJ+Iy1ImNa+RwvX0eEon8fdvuygMpGt0Z4M8pbGLn+/ VveBekcnfmasbPIVFTjmBUAnYakjWnRkq97bJtVt3WKrgvAHsaZ0amrtvZKdMagOPse5GNqJAi945S XJPf6KuuKHjmk7IEDBzxpgrI6sR0qvtz92ckGoFGlwSxQFRl1Fdt1w8NUYTLEXqovUC2PXkAqB7Vai aITDWPs6S75IIWJxk9Dpd9u6xDSzoSjTCSw5rHHKbLSEXxBDzDHU/FYc54Rf0Wf9NddVmZL5Re2vFq fQ+13hrduYg4lKbs3wZbD++TiLXf2U5H+/QT6C97HjHvFoe2Qow1CrcSZcKA== 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-20240523_054941_133033_BA2E9C26 X-CRM114-Status: GOOD ( 10.46 ) 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 e93f0247bdcc..9ea796a033b2 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 May 23 12:49:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671783 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 54421C25B79 for ; Thu, 23 May 2024 12:52:23 +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=wAnbEaYKL3xyaByDlukvPSP7fC34Wm4xP5BTzKPTQSk=; b=tHYk1xAP7uKygB Z5dziC0NB/ypuaMv2U1fsgFpnSu0JmUxSIxZc/x4NeU1NbO77ZG+IqnER/I6AUyWyBzz5zC0AOhuO tNCeB1LdB+JJq+PMrFtTzq9DOidg9LkF7dbM6GasMB+BSVMSxTasVzIeEdQFkhjM5ScdwplILmXZt RI9Sd3E0csn4/Vcs7cqQb+e3Ko04Riv19ss8m81gZv02Qc7hhTvFCLSCnlGI2PH9t0bHslCdjvBge u+J7UvSjhrEodjxkpLIj8/FU+XkjX/dSVXLi6uT4zxNyLVxca2SdS5sc5PuyGhel9k0U+OA1aHLVA CveRKW41jUkvUqOTQc5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7va-00000006Gia-2mY1; Thu, 23 May 2024 12:52:14 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t8-00000006F1z-492I for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:45 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-420180b5898so50755335e9.2 for ; Thu, 23 May 2024 05:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468580; x=1717073380; 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=0hq7fu9lKeXTgrshzdpFsaVgKo6fIiiCmJ+5OHF+gZs=; b=DxaYcRyFjp85mwenTr8Zj0TwZbe+1ua+VJbMvsTK7uADoG7xjBavKgwO5qRWPd2iVr 2jIsvljNJ6m60MK3EH3mJGM2nmgCqUyD4+sxc2wfWPzoIQNtJ4bevXH9Nmrmy3qkFHjw ucIvO7y8Bx/22iZYfniM1PlBE3aXz6/C5axf6ZP68nQz31OnNTQhPiis2Elh7sFPg5D2 E8DSahZei6p7Cg/68Mcf1zwcaz+LFFYehVKF6dZAgFsJS2xfGQbWXZACr1nvGicBbSOv 9DuEPKxgSr3Tz3YSg27iWvEDPDvTJEe+LjkdpeuH/7R50tc5hFFTtI9RqUAM0S/SSAMe tefA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468580; x=1717073380; 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=0hq7fu9lKeXTgrshzdpFsaVgKo6fIiiCmJ+5OHF+gZs=; b=ZPkZc1DXHex42xsZUw+tllCk/R0wZORJ/5r1eCuXFm/Y9m9Y6GYwBEUkONT69f4L8z gAtai5HBqiD1TgD9aBvMx98U5svrbKAkJT/0lDZMeie5Pdz+Gnuq8aSWOciwaG7RxVS2 Df3iuNeQIoelB967xLpFJSnBHcD9bkAYR60LLpCffdp41sz6DV/x4veivw3SZ3XJJqpG 1rVzE+LNXsHIlOYzFVp7Kmnz+PagfYOqj24ZT9JraFAMcDrQ+nsjWt9f6FIgkreONkK5 gSdAo5EreVSSx4IWjQjNXRnthMP4mLk4PBqObe3ubKmAsdRT9oClrc7D5JeRSa9TgAXK iANw== X-Forwarded-Encrypted: i=1; AJvYcCXOrH9FwlnWPS19It0XIZ4NMSpEKdediSP+jQo7RudrFQIuIk5+FBj272KQ5MJGeRpPhUbXDcr0Km5CwjTU+X9LABzT+CUWQS8GhN8BfRdca2VG5OQ= X-Gm-Message-State: AOJu0Yxo07LJm6OwSxcMdB3Tu1fhdIb8htA5odl9NlfoVZDgRuCoLkRR AeGjMbiRlRLWgFrbDDE3qznHv1T70XMP3qpviMCXWi0LgmmG4Igxo27Au4m92k0= X-Google-Smtp-Source: AGHT+IHtfgcFAHCNKc1JJLUdRiLvcwprOJFdCfAdBFglIGxFEJ4vrqXkikSCSJEtDhSqbfnzmVOiFw== X-Received: by 2002:adf:ab18:0:b0:354:de96:d26a with SMTP id ffacd0b85a97d-354de96d776mr2915534f8f.17.1716468579794; Thu, 23 May 2024 05:49:39 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:39 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:23 +0200 Subject: [PATCH v4 10/15] dt-bindings: display: mediatek: rdma: add compatible for MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-10-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=9RgySSODKXDFtNBIppDoD83d/BgQN7IfDe8Mj9kVPEc=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTqPg+oDl98yeTzoXSSrSOvhaYdFezpli0P5FR JKM6KpCJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURcEQD/ 9EtbGsiu3ulrzzGjMJ5wGDXHsuyanF+WSqI4Z5YunbLAde+LdkO85gVphFDcYO0YIWuC9O42glwNHG y/TXwlPvfq9vD06dRmVngxd2P9BxMQQe4Ewsu0Tx/pXqaQZlJuO6xFXSLi73EjcfrACF+LXwFFSo3s /yvIZbuFDuqPO4l+fISmSq26J1z3rqPPVvdD1ZgKyjvEWg7MGsQ+RaHPhhuet4vU+S+SNjojFMQpJA YjCctmauXTlMyYkt16f41ffwOadhdgF0dPMJYGr2jLMN77d74XDGQ2ZrGqqeTgJ5ReMSls215GFtgR nWcLvLbv7dvRQ7DAM0Ie0XpXxkQqowIe3sz8SwpGkutorS28xGe2lYy3s3+FuKi03neXlPmnKO40UE vYCZtzy0NEziDBPwTDwiI4z7Pe/Xivpm6eonaEcI5x3bFIndvdP44rjNl97teO6vcfjCP5QRDiNGGU WHJwbRtl8ZZyfXp1FZFnNWzUfcsM/DyHtnBqpCorGoz3sgoS/InosNtERdgZKdBwaSFBrzcOrKyg9b 9FpcYphA399Icm1nHIDqKnFvWrCps0aBliBj82wUnp1mbiHSQIAISFpd1/L9DYlqI+x9vbxhHjNTqU u9LXP46Bh5oZGiXUKLnnpKoflsjNGN0pMoml7UHpEXqjGyHR7v8lphTIRbOA== 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-20240523_054943_184844_6826CA75 X-CRM114-Status: GOOD ( 10.53 ) 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 edb8d3b67025..878f676b581f 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 May 23 12:49:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671785 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 6F07DC25B7C for ; Thu, 23 May 2024 12:52: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=5gSOA0rNwUSR43eA63Wqt7Er5TF9FTVAQlBdUpZqHoc=; b=w68/crPRmoPEG8 0kl2YBA/48kCDReuBGNwNccvj59N5gwsnsCDFWwEONpapkN0R2itUCJRVu1mOBABdKt5Dj06wob6u lG/B91x2S8XYw8288/mxr7FVEObY2xzM/hWa3rIuo6Lz39gUP4TX6bkbAMoywdbUYYqS1RcZSvOjN RFCiWwYSJV4n9nbij2+vRTvvZ1kEgbFqaoe/uRtl7olRGPX8TChoZ3aXtFlxc2aNa90qp5ShfyMjM rx4S4KAg9LIikzfTce9990kphxlrHtwImGpkxDa+RYvV4bQOGbqHQgoNLWxBvhi3vcLwogaG+Sfe5 Lt5hzo+0AvmPfWJkIR1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7vc-00000006GjU-2bNh; Thu, 23 May 2024 12:52:16 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7t8-00000006F3V-49Tc for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:45 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-351da5838fcso5857533f8f.1 for ; Thu, 23 May 2024 05:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468581; x=1717073381; 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=28zbSoB8+Zxd+IxXtMzgHHKE2gbwNBphtmm6Xt7tCzg=; b=gmyPLb4EN8g06nQB59qgZBx8pYf/fybsLpZhfXkuLDuqD0J1+zRDYYQvbg2PHtnZ6i bymGdsJ3OlmO8l2XfJKXy15wCAPAn6D4emfos0YAAQLjL6Z1pyr9r8IVDUdB4XZ82f8h F/Y14p0R3Oi5pKC0BN6LbPUdPdMjArpo54HAPrmuWbO7iQSJb/Boktnngye18mWdV416 qwB0gX/XY1mRIVu2zz3mw1OUo6DMGoRh2puh1KpkSQdV3N6bfipgpvn51S1wbtBwAbGH aUYmRN043whSqYSD7KlHGtlqXtAZK+LrkkhfTpzt2JnME/5bsQ48OnvMAci1n/ZqEO1R J9aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468581; x=1717073381; 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=28zbSoB8+Zxd+IxXtMzgHHKE2gbwNBphtmm6Xt7tCzg=; b=uNlVYLPj1d2pkqTO8rYzjYLfcLglEKJ+ZziaBXxYoVmKgwVmtvpO4n5CJ5iUtGtO6p IAWJvno6nrFF/JzcFwFW1U4jOu0IIsV4Smhdn8CESfx+ezG1Z3ibDT8oTTYSpulsvQok PzzFAu0fi0G5dyaboRXruw0h8rwrP2qathLWjDdX9DqbbMVrsbfLympuKYNCqUTvSPZO PnW/t2gNwrVrPKhk8dxH36SVzoO/G60+mHrLZXr6FvvfUtjT39gf5joF+M6s5Yexx5+y 9/k8s8MlN6OBDfwrAmDcD6w9gDmdWXUKsIiMAT183hfBW1NidNi3R7UVfgzvbZuqb8q3 TEeg== X-Forwarded-Encrypted: i=1; AJvYcCW/F5AhEmXnEGJ/xLBMaBsfmbOpMpzesdQukB4ze+aWgpyoHdtImdf/sr+mGSh2Rqt7lsYZLItRTvQV5qrm/DE76SLwa5ScU9vCQpuuN3cFgBXjkcc= X-Gm-Message-State: AOJu0YwSTZ+e5PznSvcs0EGfVvt/z1pNIL5pZKP2ZFU0y2Vex+0UXt12 NCuMaQHmI+xJflsaLNqn/s/i5wJmOIDqp8LH80L54J3pGvDGlL924Wd6nrHQmUY= X-Google-Smtp-Source: AGHT+IH9I1yKELxeEkwniF+9niwDJ4iWhtTnG+NlRhabW9VWGojLsvUwjFjxu/LmyLyU3/BR1jPY+g== X-Received: by 2002:adf:e586:0:b0:34d:963a:12cc with SMTP id ffacd0b85a97d-354d8dbc8bfmr3661763f8f.53.1716468581288; Thu, 23 May 2024 05:49:41 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:40 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:24 +0200 Subject: [PATCH v4 11/15] drm/mediatek: dsi: Improves the DSI lane setup robustness MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-11-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=/0McRX6GoM2+nGIkWn2jaKs7S924L4q446vEYfmzgP4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTlpUBxrslkpM9KkVJFXYtjbSrCv5t3TWgUxI5 XUvLM5WJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURWb4D/ 9wTBNeGwtAKm9fDQEgY3KlVoq3aw7N/I6ggPNiqm7lu48cT3alLmUEiAEH9cxr+ooYaOeF6xddtH9N Avqu+Na9+0o38iHIVyjOU/IB4Nrily2yDRjDJA1hvhAiygXW4A1rr7erHlTrJKuA6b2//3of5lwcpU C2WinPN+uvFvTf8s76ZBBRDLcMwz1YlFJDVcMZtHf9E+dCO1TDJ/LJ2LpyUQzYxDFC7dL9ClMU7bDh aRUcvXBSGYj02LWSk2KUBxbt8uL0pLsU5egoPTh0lwNl9Q/okAbJ31MY9AXCM02DXK/fha8WOx3xTw JhcIVPZo1pHFDMBCXeO00MmXu5eMyLfszMWYIpgAVBUZN7zkaJTlpoGza91wmPCNW7lZPpZLunm67n EjdgwfwctDV8gmmcaZagkU1NzGw/gQPe1/Nq6L/Xvp0LLsWKkYd7IlR/WS8XGhf3akmBJ+njq09a50 DygPcXf13zXLX9yQoQPT499tok9k750eiHUe7iwpZRUlxp//nSGY7rK7GyWBCNjVD488SyNYYHpOxd 3ZvRpJi4DnKnKauaFbFvyIFAJZDd7xzJn7haovlEAzvWt1bhVWvKVhImKpOcepGVrhBx73DT2+2SkV LVMKKq0yd/o08BjawyKMV9I+MVYefWOReRhG1sp/k3yb1r9aGKSO7tNJcPQQ== 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-20240523_054943_318846_1D5D4DCF X-CRM114-Status: GOOD ( 13.46 ) 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 e036d9394c23..cb546a9e9419 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c @@ -643,6 +643,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 May 23 12:49:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671784 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 ECAA8C25B75 for ; Thu, 23 May 2024 12:52:27 +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=tbCxLQVAvNmluw3e4oNK5B5OSlDBrOC+CxNeCGsRbqs=; b=NfVDOB5zIc8b3e A8js7hVwclSISDNz0y/PD+IsWPttaYRLMI00CGKVXp6riijirJlbT3T6Z9AV+s4xGy8AfUb11VJEH 3JlZcATDez03dpFhJqRz/dbdy5nSD/e4ryHueyFykmthlvu6jtjh8iL5f4TWsiAsI6eTy6Il5/VGs e7aDrk6LCp5J3CxnL95/VkmsXK30Hg7q3U2Yt6aEMkz1686NPJjkOEV+Gqig4cVJnTkkHWFvy3tkW eFJVj/3osCUgtxBTkNE0cQDAtaOJ9g4/cwKFj7CvakothtNCCYUrDEEuvTbMDqkHZF+i4/9tOyF7B 3ocrQAAsD0fXrM9egJMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7vd-00000006Gkb-3LNM; Thu, 23 May 2024 12:52:17 +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 1sA7tE-00000006F9L-04LO for linux-arm-kernel@bombadil.infradead.org; Thu, 23 May 2024 12:49: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=oV7UBZ9+FOaGpy1Hnl2xMvcmGJrrQkTOfJMy4GT33U0=; b=JAqPo6eRfwu4LGTE810A3UE4CW ABzJkHKsMQMfNeTv624JwJtFaHAo6UEoRfliFHk9UUl5cIbmdTQgXv0qS3lLIoVQSEcgJrt18sIao oMBcoCnEh+BfgdB67MUa1ulHc2q5LyebeEyeM70cJTWdbeIBL3d9EWKwbC+D8+EC91+qHKeWpxgUb VxSWOrwRBCUuVxyNASdLBgeYddAqvPOmhBJnADNMRMxPLioDxTPi1xWidI9IiCW/6Iu+cEPHY+BBw 8ckDb3K53az1x4x7gB2Zyk450Qia+YlmUxCdplGy3xfD8VKjBzZeLb6Ur4VW+As6/sDIbcB09xcBM qxHNQ4/Q==; 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 1sA7tA-00000009JHm-3cnq for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:46 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-354b722fe81so1985122f8f.3 for ; Thu, 23 May 2024 05:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468582; x=1717073382; 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=oV7UBZ9+FOaGpy1Hnl2xMvcmGJrrQkTOfJMy4GT33U0=; b=rFyl2gzUq+mqz0cw7QzC90VJohQ9D+mo536ueoJGms8tEOo8E2dQD866wlY3rsmwyt oiYYUNgppv+1ONLejzO81/7pBp4KskZcPgIoa+3K0taCPp7E0hGo0ppBIUt84Cq4lDMo Is9su/6yTNfGk/VFi2zS9bovHHZzHfJGTbwmL1tzoRu5skdqzxcARUFT95wFsND/u75T pvfJrVqDUVCT1hzXUGMhREx5hzQKtbTKRleYSVc3kiKBF1WOggh6i5tmdPSjs1gzx7q1 xNqqa/zDfT9HU+Qj6eaCS77+t2WNDZ0cH3/VVLaYnhP8N/jvMmQkdGrWC8le7RUsjd/i hQdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468582; x=1717073382; 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=oV7UBZ9+FOaGpy1Hnl2xMvcmGJrrQkTOfJMy4GT33U0=; b=dnMYz2gO5di/3ftdV4UKEcYZcAOyagiejbV1j2qiB8Gnn/Ki/OKtBCLlHOMk++r0/l wCZKgO/U0UhYfi9MxwY2aVUdP7Jk9KBTIXc22Y7B4OBHY6CMruUSI9MpT56UkGOArwBs OciScyL2sMlpF2d+d6HQr9EhYq/YCqbCjsHwTh3pOytk1SlNsDVwewWJT9YxV7PW7+DR IPz/OEoEWHXLqf0tCxzeYzfbYwbtJ61W/RuJJaS7PA7ybllAoazqVw8+m8EPp2avLbg2 EsdrKbTjaaudF1dDFEYg1syRXr3+yYSRkd0g9NSYD8HYI2ea5W8tur1UwMNrMBvv61F+ mMlQ== X-Forwarded-Encrypted: i=1; AJvYcCXRprbgz1jP2p656KtEpZwSFO2s5XxQ7aYpz2LrH7BZ/3GGp1iJGTE9N1WmmN6eKt7hKaOs367vcVS0eIA22bwqEwc/pds4l/gXtCOH96ZkDU4tbTg= X-Gm-Message-State: AOJu0YwSPx0iVcWxcmxSAtSLkC2AJHIB9mkar6LDsfyC/KEsk6qOaMXG 1Ga0Zroxu4aXc09geWUnTOdfxG1Y+mBWy4VeaodLzYO+qGRaW8iDuWmFMMKQtw8= X-Google-Smtp-Source: AGHT+IHznoqV8aiJ8ieyvNlccfqDAnlHarASle5JQ78h8I9hJnV/p+wU3L9SVwzX72hcSRNDfLxJhA== X-Received: by 2002:adf:cd11:0:b0:354:f44d:a01b with SMTP id ffacd0b85a97d-354f44da262mr2654995f8f.15.1716468582558; Thu, 23 May 2024 05:49:42 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:42 -0700 (PDT) From: amergnat@baylibre.com Date: Thu, 23 May 2024 14:49:25 +0200 Subject: [PATCH v4 12/15] drm/mediatek: add MT8365 SoC support MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-12-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, Alexandre Mergnat , Fabien Parent X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1708; i=amergnat@baylibre.com; h=from:subject:message-id; bh=T02ZuZj0ijmxlVVq8ULLWlzrN07sh07XViJUCnaN+hM=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTmiIN+hH5sjsyB9OiMxaQ+PFDyvdz2GQAG3OY CSOzjz6JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURUisEA Cc6FfVzLDHM6GIBiFrX5C8yWAmpB0sfQBWzm2/LiHReGOMzvEj84wrDpQJRaAHErRiZBkTOVNdb8HE z+CGacZIQhgv9SbUW3xZipNp/2egvC03hrEzaOmQPN9btFE0hSyy2vnM+C6oNN/NpYgAQdFXk1CNyM Kf0xyyH5QH7L8WRbapNjD8A83yMh2cZvoGb7Q2vsCfXWQpK1FwMhi2m4busv8/QNxNn95jSnZKFPHC Iqrfq5kV+wkCmSGBhD3/VyrESQlissctczNW0FbMrhk4mMuWYOMUdr+jSpQuw9LsuquvbbYYpBvbdQ 8Itrnr9R0jaFg2o2LCZ70PuferPP7bBi3BcJjbevQ+H0+wWU8B2MmB0Qm4nvhW6JijGLSS3RRjelak gjB8D9PsgqllVBW7ZKiEqwggDK/LCSUmduby2ppRsrCkeSEqmN1N9Dd9zSDbAhscXNZkxKoiJxaAc+ qn5/l2e1pYlPhmpm8z3+STuZE0OVZrQYSK8RsGHCGDmogWOLpQXKV8mOeThvPc8fiT4eH+QQN+HFL5 iSVPE+L/1Zr3TpF20aZB9aUESBilPV+qbtUEY+6f2GGjWMhKBpEWRVFL3nUGjOlIlmlFfdflvEP0Ey 49OgjwmNz5P82LcR+net2PCW5fGe+fHv+3Fe12bq8/wx5L/XuDF8Wvm50Mpw== 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-20240523_134945_058535_B87E61DC X-CRM114-Status: GOOD ( 11.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 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index ce8f3cc6e853..e1c3281651ae 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -318,6 +318,10 @@ 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 = { + .mmsys_dev_num = 1, +}; + static const struct of_device_id mtk_drm_of_ids[] = { { .compatible = "mediatek,mt2701-mmsys", .data = &mt2701_mmsys_driver_data}, @@ -345,6 +349,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); @@ -732,6 +738,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", From patchwork Thu May 23 12:49:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671781 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 5E4CCC25B75 for ; Thu, 23 May 2024 12:52:02 +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=zx3srXe9nxv87h+TF1XZh92vfhw66kgAmXHOcV3i+bg=; b=1HdcDOeANskGqv RvTe+W+suX67LejIJftkzuPUXxtVKW2eQYOK84c4JOQgl3MZYO6skkZg9ld3I3WxzVa8pNgUt7eYw PLtpWp5ULeyr9DvjsZvZ6rytdOnd7x8A5Cdohs0tsDgOA7RzwNOFVvaGdKsXrjklH5rmBagxlL8Lo 8LyhjAapbLjJ4VrJ84WtE4i3e8mQ5Yv7gT75BG/pnbTY80kwE1AXq9r3hBFbqRnSh28F/gYe/+Jey xM3zDpVRmdfYq1qp8tnjaShU/2OhkfNt13lPtkE7o8PSwQazkf7sUFAHJZ8ZLUUbbYWgY840ShztI Jumnfv4rMchWd9xX3CCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7vC-00000006GUF-2yKB; Thu, 23 May 2024 12:51:50 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tC-00000006F6C-26Md for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:49 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-354f8a0cd08so1001514f8f.2 for ; Thu, 23 May 2024 05:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468584; x=1717073384; 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=tla+QFcP97ewfTbQi7g23xuxojyfOlpLXvPFzq8Qwg4=; b=kfq2KY5KZy2niEJcK/1eBqZ1Gt2SfETmSBTqaTT/iKjze9NPVwepa2o4oFzi33WM3t wnk/rIviSCl4N9AzqODscipsGXnKY7gb2p4/4zlByF7j6ZcblIE0W2jxia/NVIe8oeUF 8HalXvCt/Tz1JH6+Yad+tzp6SF5fUL24tYxyorVh6PHNCUUiVOxCg6Cb4TMRgrvGVw8K NnB2a0UqaFsklxS1wZ7iLg4l5nzlgaCbb21dEioG4emuf/o6MzYmOlT0obVo+VDaRRV6 Nz9XTB7t61KCIOJY8UfE7SB3kT0+IsOaoRw93saBqcC+nsyXgPNZ/jErx+4zbmoEjnFo i2BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468584; x=1717073384; 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=tla+QFcP97ewfTbQi7g23xuxojyfOlpLXvPFzq8Qwg4=; b=s3DLppcKGsudeRLrebOASORcHdHtDh2zut4S6vIlXLaEAqM4CNQ6sCX25k5qGvv52F dUGIuNi1maUOK7z6qeTMuPlNIc6WcJqQSzm/HNV41/CZno/UHtojgDZnh3CNRt25PXaI +raBSIDSyQlBWpaX13x6yDuSUjsCMWNRxU1OcZlypQwtoo1kE0jtpX11guAezboYlJnf oUDNF8AP0jUQjY9e0NzlUsXHlfCITq5143zapugXQhAhH90zLBZ/KbM0FFA/VHfAiKsG Gwl8luQd4spXMJKQIoScTkXJFisuh/Y1IN6B+TXwxw8jrxIR03mxH3JZf5OtTaPAs46R V54w== X-Forwarded-Encrypted: i=1; AJvYcCX/91GrvYvXAd+kJvdZuHMo5jaeWjXCeWI/IWv6G7U70guuZiVrRvZCg8yTfupOQyWoRtGJkFvDY57Qod8XQ1gQgl/Mk5/nWiVkTuvJwwej+4xnZfo= X-Gm-Message-State: AOJu0YyeAgLuVz//GFa/u9fYl0DJT9teZQxFD7hM5cPw4xpqolGdgqFW PD7+oq6beLDlUgpL9PnEcLZQRJZKt9jwOeDNA3vZD6Px3xBrNiD2q+gfobz+tvU= X-Google-Smtp-Source: AGHT+IFLhyC8Xpob3M3s4Cxdqi4ACW/Cye9oy07BDePPRH9xUy37KKFTstNcxwjc/zHabOXrMLcPSQ== X-Received: by 2002:adf:ef8e:0:b0:354:f6f1:82d with SMTP id ffacd0b85a97d-354f6f10b38mr1729718f8f.67.1716468583878; Thu, 23 May 2024 05:49:43 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:43 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:26 +0200 Subject: [PATCH v4 13/15] arm64: defconfig: enable display connector support MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-13-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, 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=lT6J9gv517qEQpypdtd6Iu9RcuwU5IxfY3HAdtX+bNM=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTj7oyWFDNqOH2/emBzEE6Rhg5Wol/HE4THuRE L+4q3siJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURZ8LD/ sFyC5Joy1O1vuXzM9ubKBm4QaSmd7AWbmjAQLbyxBipVHccFjqq0cUG5F1a0/awy6JyazMrSGvTeaS Pw2cJiYytxRFt9wnaU95dJR0iBlzRsHJv9LegsXbVeDQhDdFs62sQoE/GYZx7xXQ+jewDmloFf0x+B WEbrMNiYBy+mNfXPakQRAkudGwHFaNjOjrjo84cdxcFaRw/Yj2VPqNejmLW44onVsu0oPAPKY16LCd 3nDGa5pH4RFvtmh7q2bgdMZG6+EpV8vllDQD4C8rLQtbbgRlSWT6x+1MP/RfAx5fRrHPaA2cu7i1cu 4uJOHNHTkMWr5Q9K5UcfowqO45Ngs/2QCu7gR8fgvpkVTE/7MsWqIxTr2SMEMJ2HjFWbUAeTEvW4d/ SGohMB3IfKQt54delkSDE7qZCiBDCG+gJ3kAXdgwzmZYE/bwcjGQsFMeACBnC/buhruAT1hsJpulFQ /+S4osrgiCBiBRgvg3tggDrDuUrX8RMsyapeXXdkWJ30m+monbTvWJdlFeZtjBrFvGQdP04lwgUtts k2DG79Vq8DhBvHCZQkvAxGy2mE5WGFVTsoq/QCpQmdds8beUX5EgAzb/WfSFYww/d03x/B0kpmyCmJ jcQMzsE1Hex3G6qXQQCVaOFOJBfr8fWMLYQVZ5eCN7ggFPGVFzCVfyXlh4Ow== 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-20240523_054946_855434_8205B62D X-CRM114-Status: UNSURE ( 9.95 ) 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 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 6281975199c4..7dac8f92b0b9 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -881,6 +881,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 May 23 12:49:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671782 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 B204BC25B75 for ; Thu, 23 May 2024 12:52:15 +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=9ZwOu5LaC7DuHNlbzmjYPbbd27Mf+WGbv69asA5/2Wk=; b=Pr1vx2wCV2TcIs xf/cEjU92CL355HVUY/O4Zke2sjhH5xuHqVPooShWzEC6zsMpbOKlbRRgK1TWYEJ+QMnqIe1Vpcv1 ZAeZz+coa0yMqvfjj8SypVMcw7vcvh+6I03YwuTtkdkgKWMtmLzTBK4ezLCpTlxUmSzPCzsjA4xPV Y0KxVCGtl2hbmNKniooubQnvZO9xatp2qNz80m21Wfmz9f+72TEnU3qXDw7rJ2IAGPp4oBnbk8O3c hazsMq+ZgVhuQFKZFzhNPN5330emXkLWw1FKAAi34vldfm3oNx5U3ttvdNXxiIuEKrzjHI/fRLWho 2uwvhQa7NHlMNrwnTzNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7vP-00000006GbC-0oH7; Thu, 23 May 2024 12:52:03 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7tC-00000006F7m-3G6u for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:51 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-354c5b7fafaso2001169f8f.3 for ; Thu, 23 May 2024 05:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468585; x=1717073385; 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=Se5yKiZY3cYmLG86r4HoJS7Sn93sN289pgSkPgaOq50=; b=Msa5DeXLTeq+TemjBcGVDCa2RwP3M8hKx6GZAOnB3iMoJKwm4WNNtE6fxLwO9IhN3l dF9la1x3n/Lw9DYUi6RuJFMrF00b8rDx2FJQuHl7ipwuCFVvkYFYYYIx8alwVpCq05yq uwRkTFGKFPLOaVw2G7JuCo8uk72pmUoP56CwhXTGzD7ieIUnKV7aS64c2HqjsA95i6NI gqpVBKw0IBZNxLfDI6D0MlwkKAD5EQ+cQWKK3oxWAskPoNtk+d7S0MtDMQQQI/slM+9V c1Cv3R/3I33LDLCtaA3UvBF4nSkDR1TaR4ZYIZ/oNV37OhlfZAspOWuo9O21XPWXNkcq +YtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468585; x=1717073385; 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=Se5yKiZY3cYmLG86r4HoJS7Sn93sN289pgSkPgaOq50=; b=bSnjhHPrVPNL3lnVQBvMa+64zfJr2Fr9JsJp+eecFtjx80Syi+KawtNFpsXT+A+z/l d6uGeSJlCipSzmfESvjrmMbCQIbeQI3sANM7Wj0b4u7wgISoaGy/o2d+6p6HINMOS6Lf W9OOl9m4O/EmVTU+83ktecJhbBKuFapihmCwr3hKkFq3Z78jRwo2irR7T6Dkf5i06WCV I2ddRpL82owODWe3A80+tI+Yd1O+pQpMxQekDHdg/SuV1sVUgR1PcjBBVbncprpiuElD cpOtwL9z6DXcugnrL3R5oF9vN7CC9klFVLDPOlgJhb1sCd1jGlBxF5DEtQ195/5U7oev lAFg== X-Forwarded-Encrypted: i=1; AJvYcCW8DRNbOlK5ZDU9h5VHY7swgghHV0CR00HEoMD3iaCvH1oo/xhuAihK+8dDbwzjsIJBJ+VH8qZQcY3UHk2tu9KuFtnexZiCgs3Fk7Hj5SJ55qwpbRw= X-Gm-Message-State: AOJu0YwfSFktte5SsGn7QigsFy4pFF7l4wwsLNu16QRZJCWR3vqT2qxN xhBa5UH+d6qkVGaCrnPxGt8UJvw7nA33gsG34nubzZ7QyFxNIhPg58fbTA18Gsk= X-Google-Smtp-Source: AGHT+IFe0EMNXxp/jyDkREWoIn7QKBFlEltWoXTiTialrbLA2YC5vXnZQFAJzQyRCRWD39PWDNl05A== X-Received: by 2002:adf:cc89:0:b0:354:f1b2:543d with SMTP id ffacd0b85a97d-354f1b254ccmr3454090f8f.40.1716468585244; Thu, 23 May 2024 05:49:45 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:44 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:27 +0200 Subject: [PATCH v4 14/15] arm64: dts: mediatek: add display blocks support for the MT8365 SoC MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-14-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=10844; i=amergnat@baylibre.com; h=from:subject:message-id; bh=lU/uMCxAKyj9AwKsnWy/Ow0+0Mx6C47OWj2fk20wygs=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztTqnu9b2aIaIWJ0hKtpp6UVCNGX6RPUv4DdKew 40JNF3uJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURQ0AD/ wJ5MXROUA1rCDxyx9Zh/bqVBknkCecExjt0trkPcZlYfI60rgOMu6mExpqddwpH//jmORvwkmTrfoa ZJva/9O3YVSBR40g9DnbZi8e3f3JUNPPMl3PlBT9/BzaO90E1x20HljKzSbytkXL42tk7pY8vvt5UJ +9ESt9dMQTkCUG0UOx1wmEv/K4Ns3ouzelOOywp9ldxoNPwy8II+UTShFOhdlT3Sf/lkee++msz1D1 xG2/bY/DUoTGNF1fBUBCodnVbbEvOtZmGqLThfB277uY0Ji43emAmZ36MxyfSAb9Eyp9eN3qj8e+d6 EG2TkKsve6nO19v4s/BNAwZEF3Xp1OuISKzk4RmVJrUGGSB7f5a5dJEaKHDnrBf+usQ62Y+ZROL/6/ 9nC7QqtdpKZTL3rSGF+u626zHep3p5o0vnUTxVXdUASpvEjjC5jdPqGXuYkDUGAWWEzJCKaAw+wwIb NmyIVgzwpQLtddb0fCqIsVP1x/4hSn2lQMAJ9c3mbfIKjyzIZ6cCAfTWqw3LbNYPU87pZVnLnOWOh3 qhlfN2ibFv8iB3JkTUMe8YL/Ws4lqsLtQYtO6tJqoe66PW1/3tWhKVs1VwmbK3PmOx2h0e+zTLlYYI woB1FosuLGBwKI952wUzq7xh3Z6Y2B7qNArUtDuDKAMh+uZUspx0A+qnoDtA== 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-20240523_054947_209664_D5C86B6E X-CRM114-Status: GOOD ( 13.07 ) 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 | 336 +++++++++++++++++++++++++++++++ 1 file changed, 336 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 24581f7410aa..9f88645141d6 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>; @@ -730,6 +762,26 @@ mmsys: syscon@14000000 { compatible = "mediatek,mt8365-mmsys", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; + port { + #address-cells = <1>; + #size-cells = <0>; + + mmsys_main: endpoint@0 { + reg = <0>; + remote-endpoint = <&ovl0_in>; + }; + mmsys_ext: endpoint@1 { + reg = <1>; + remote-endpoint = <&rdma1_in>; + }; + }; + }; + + 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 { @@ -755,6 +807,290 @@ 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + ovl0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&mmsys_main>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + ovl0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&rdma0_in>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + rdma0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&ovl0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + rdma0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&color0_in>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + color0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&rdma0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + color0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&ccorr0_in>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + ccorr0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&color0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + ccorr0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&aal0_in>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + aal0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&ccorr0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + aal0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&gamma0_in>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + gamma0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&aal0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + gamma0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&dither0_in>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + dither0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&gamma0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + dither0_out: endpoint@0 { + reg = <0>; + }; + }; + }; + }; + + 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>; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + rdma1_in: endpoint@1 { + reg = <1>; + remote-endpoint = <&mmsys_ext>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + rdma1_out: endpoint@1 { + reg = <1>; + }; + }; + }; + }; + + 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 May 23 12:49:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13671786 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 570C9C25B75 for ; Thu, 23 May 2024 12:52:32 +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=nmqaAPmZJxhwi84PzXWO9xQ4vUdrUf4z0QmCtx1b0uo=; b=DOOLJZ31iX7hvH Qw2H+ecEKkypYi4CEAu7cC77jZpp2+BAE5scJ1O6bTDrrX34RbGoJ5O3I9MJj0XGRuAOMP35sDHVv LxFKjMw616rZH3ssv1DcvfcW1U4DE4vuSl3/Ogw9Uy9tWnPRPemj1WW4yeuHuFhP/zs4mL5NF5GYd 5FX74tRgPkNCKU57WLDFiHjySh/Of7CfsrYrdlZ83rmavXAjw0U/jxckehO05dAZSRhV94XIJZM9G r5SvP1uNCCT35nKAikeTn8p5y+bZ+J9Ks4/TqXcRyx0wu+5AwnXAs5x2CmZTfiV6szwFI3OM9TLdu lpixAAXI42y1YQCi7Y1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA7vf-00000006Gmq-2UqW; Thu, 23 May 2024 12:52:19 +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 1sA7tH-00000006FCF-3lNe for linux-arm-kernel@bombadil.infradead.org; Thu, 23 May 2024 12:49:52 +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=oycOZ7tNpDXuadcC0Px0ysSti2axPPJ+EdThdDwGHQA=; b=G7M4nbtrOuSXTEGnnu/2pFdmCW h8CS4hnmmIL/HzMyClo39M4KHuwFWEyuVpJNh+1wEfKN9K0tu1B5M9JZmgltp35vaH+OUVEc9C4vG HqGnP0PT1IIU79secvP0Suz47iTSBxLioRcdrNMrupZuhtG6aMvcVulbi+AaraOQW0b/lEciPVE/R 0zuH1w0rn9HUNhLw2oe5p72ay3fqkmlBzGr043powy/POBsOXhbkdzGi7FWr2g+cpR22Ft0vjzoOc gZnUuBKzUT7hXluaeSW9yjRFHgjMQwWFzVj9nXY4TrS3kvz/5jLxQedjN48nALfRh0G02EKRbYdpW oJTpnmrw==; 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 1sA7tE-00000009JJE-36ed for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 12:49:50 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4201986d60aso16361475e9.3 for ; Thu, 23 May 2024 05:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716468587; x=1717073387; 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=oycOZ7tNpDXuadcC0Px0ysSti2axPPJ+EdThdDwGHQA=; b=jX1j+gdi/iN9S75CVO0dDd/+dwQhaszWhPKG1fGVe3zfiwnoajwH7OeGZ67GwH3dld SkjoUJwibBzgUFlH+Iuw+V+EYYdlWf5Q4LeC3+IUSEKNBGYkf/ekvQKAAKfcn/IocHnj DYFr3+PbCPr9KYVKfY4rXSI5gIOSKLVdgQ45S+e75Ug3+jkEtF7s67N7pcBKKW76I3Wx q4bed+Z339Nr/Y+Xd5NVe/5KiHNT9ZDVRJPsB6QPinxuRDn9sEf5StMxyRMKSPcIvM8/ fnlggCF9Xcji13uMo6xWZLIFZZ+t8eP6hgKaBwKUqCOQqwaJSwrzUpzncYW0UOoUuOH4 PVIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716468587; x=1717073387; 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=oycOZ7tNpDXuadcC0Px0ysSti2axPPJ+EdThdDwGHQA=; b=NZ8RvCmXeWIPH/fZ0VHu6le5iqUDiNu6EezmBJ/Denz7OFVM2HPCDpCIA8l4WwXZc1 DpHKBqtFtrhOgu0MsXWKU8WZgEjeMwCE0xGWBIwFU0sPdzYVAEt5+/+XkRP3LtoEx3HM Pae1lUtJOjn2+43eRfEbZPaRngluaa1Quyq7c/QUejfNBhjzjHrmcUoHlL7Jg8PBMmUq lupsA2STzoEt/MZSOaWIBJ/eGs3xHrLRW74ZfWuMlu9tnL+An657+U/yRucT3tRO79Wa haLCPIwvBOwUInLeXL26nUB52vp7It3fdKghRFTvXyXeZovuMY8SgAm4V8BLolAEQJIT ONpA== X-Forwarded-Encrypted: i=1; AJvYcCXlyL9z03THMphjxJzdHNjZAa1HXNxfOCL1e0sRj+i5N4P39MgecIzrr4nEHmy+D5zezAFIgJrUlOEES8BdDuoMOW/+kTwNMH/Qw70piZu9++mMIm4= X-Gm-Message-State: AOJu0YztKM8nDmM+HhR+Sdo+kL0ILbNQQZ+PY7VlxxrzoIpzCp7NGOwU SF0JYDIo59kLW/Qtu+CHQxgnOoSQp5lqrw8dmFJEJEvxrf4CnTddkAuOT93AGJU= X-Google-Smtp-Source: AGHT+IEZBKw4aRDaUfqIZ3HhxIEs0XVj22IR3fb3hJtSwVaakG3EHrDMERpceHbfsvVhrvnaHwM2Yw== X-Received: by 2002:a5d:6e0e:0:b0:34a:e884:977b with SMTP id ffacd0b85a97d-354d8cde868mr3706774f8f.32.1716468586704; Thu, 23 May 2024 05:49:46 -0700 (PDT) Received: from [127.0.1.1] ([93.5.22.158]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-354faf3fa68sm1259611f8f.116.2024.05.23.05.49.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 05:49:46 -0700 (PDT) From: Alexandre Mergnat Date: Thu, 23 May 2024 14:49:28 +0200 Subject: [PATCH v4 15/15] arm64: dts: mediatek: add display support for mt8365-evk MIME-Version: 1.0 Message-Id: <20231023-display-support-v4-15-ed82eb168fb1@baylibre.com> References: <20231023-display-support-v4-0-ed82eb168fb1@baylibre.com> In-Reply-To: <20231023-display-support-v4-0-ed82eb168fb1@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 , 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, Alexandre Mergnat X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=7338; i=amergnat@baylibre.com; h=from:subject:message-id; bh=Miid+XRLrzyZJ6tHRL1QimqZm1BYrPtI1n+pX0IpuHI=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBmTztT5vXYcQ4OqH46y/UQ4yMaKGBks0Vn1gzo0f3u /sBJobuJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZk87UwAKCRArRkmdfjHURfz8EA CxQ2SYZy/golUmlaRHjwXobDoreqHuQxY/59fsMFVIAOlaebtWs6zAjZpasYJyvBXdqsk1zztecnPD P9813ZmEpeETVyb4TR1JBjpkRbZSDIMJZrps3Fcy6jpFo8Lu7zsUj6OcYB2BmVdCDqYJ6IP4Bx+7tJ h2JhhyhIMoSOh+8Sonm6NrQ67pYCXox3ygX5hV1lOUSk7+hlOkQqydg0BWXf8aoVIbiszauu8dUMMc uKe/F/TbNeE5QXy8+ZjDO1QZlMXuKFi+b2cnO0Pl60UtxSAiddfCDPcTLWuTB5I6E/vSRF+aCcjlAw IGQ0wPZ17t52s1YfUtg+KDFE4yX7CwUCKBtMY9VQn1WcLPBq4L1381kJP1hWx4FG/ozo8XpfaAGb+9 SvRST6gL9JnVcbqDCltfVsXOyQcPATDLLFAY8z0FNxnyZ8NY5CHwBlPPBait+4UlkKP90skXAkjK28 DFtDBR/EJNkEvMI8KjxQI2z7xV2WFKSprHVODt8wNKXz2HeGxzG54Po1XMvMP2IZLL1uzGAhtbiLKr epOx0DoRGs5+Q8VTk5P124G7PTSogLkHwyWsLMspSkc6lwwXR+6M6ltAvqHV6URtIuukdqQghyQdOw aNcKNiib+aSHhqDIGIqJMienVEgncy7DwaSFG2+r8zV+zbbHi4kT9WmV2BhA== 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-20240523_134948_952093_206ACC04 X-CRM114-Status: GOOD ( 12.67 ) 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 | 236 ++++++++++++++++++++++++++++ 1 file changed, 236 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts index 50cbaefa1a99..6e972e2c1586 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts @@ -26,6 +26,21 @@ chosen { stdout-path = "serial0:921600n8"; }; + connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "d"; + + port { + #address-cells = <1>; + #size-cells = <0>; + hdmi_connector_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_connector_out>; + }; + }; + }; + firmware { optee { compatible = "linaro,optee-tz"; @@ -86,6 +101,15 @@ 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"; + }; }; &cpu0 { @@ -108,6 +132,89 @@ &cpu3 { sram-supply = <&mt6357_vsram_proc_reg>; }; +&dither0_out { + remote-endpoint = <&dsi0_in>; +}; + +&dpi0 { + pinctrl-0 = <&dpi_default_pins>; + pinctrl-1 = <&dpi_idle_pins>; + pinctrl-names = "default", "sleep"; + status = "okay"; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + dpi0_in: endpoint@1 { + reg = <1>; + remote-endpoint = <&rdma1_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + dpi0_out: endpoint@1 { + reg = <1>; + 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 { + #address-cells = <1>; + #size-cells = <0>; + panel_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi0_out>; + }; + }; + }; + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + dsi0_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&dither0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + dsi0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&panel_in>; + }; + }; + }; +}; + ðernet { pinctrl-0 = <ðernet_pins>; pinctrl-names = "default"; @@ -138,6 +245,56 @@ &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 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + it66121_in: endpoint@0 { + reg = <0>; + bus-width = <12>; + remote-endpoint = <&dpi0_out>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + hdmi_connector_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; +}; + &mmc0 { assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL>; assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>; @@ -180,7 +337,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 +427,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 = ; @@ -377,6 +609,10 @@ &pwm { status = "okay"; }; +&rdma1_out { + remote-endpoint = <&dpi0_in>; +}; + &ssusb { dr_mode = "otg"; maximum-speed = "high-speed";