From patchwork Thu Mar 9 14:22:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167565 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 A0C99C61DA4 for ; Thu, 9 Mar 2023 14:26:11 +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=Rst/SWPhXMEZGMPj+uYK20cl4QOUqwUPpZ1yBm7G0wo=; b=wjS5DZkvew7Kcf RhQBM3DZORMMvk8rihVmln0uPJevjdWgJrAZs7VQMt/6+u/JuJAAGT4QhKrwtIUGCJlN4hViwQc8q ibgY+0eJwXgfaYCaI9GAsljgNQ4EUaDrCKrTVmN0d45N4RRYqhotOn1wJLwDyACCIlZ04kT29R5G2 1ega6lhsT5zv+pgQYsVeWIKojthe0lL04J53TGvNyEKv0IzWOdEDY0uFCKH+zTALiNciX8bSgBs0O ZgFFuclqud0tlGkpPouRI60qJxwj8+PzkE0NrJs7QkyHKIO0mnY0eAMGWEKKoAL7g+o1HhWmDjxLy heKJ15xGqcVc2rbQOG/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHCV-00AUl7-45; Thu, 09 Mar 2023 14:25:00 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAa-00ATfz-Vp for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:03 +0000 Received: by mail-wm1-x331.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so3710570wmb.5 for ; Thu, 09 Mar 2023 06:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371777; 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=oIAq75lH2Ms2bL3QI5/GLr9JphmlHB8/ymqV5IkJpKc=; b=iQ/Z08i+xnf0+QqJE0gYVxQ4HzKmXpqQEAOp8qp6ZOh4Bah0fbXKiDFQcJii6ajJ+f lj9QKiceDCt7X0u/RNFd9QMU6wnsrC4Stx9kDpsQrydI4GTt7yGozhUGTj4zBDZJ4ufT 0rkmkcJgQse9ID1Nu4c48hz33JrvyeYhkez5o9TpFnmq/8BNKZKz7bfyvwZEHY/xOLkY 74IC7uqk6UiuQAdvyYmbsfTj9OZuYjouSQSzIFf5xnvlgg4QKzCMoZXzl3xaeDdg/4l1 NEuyqEkuf9MekN0owXFrv9vl3hVDmB0loaok4kLdi5yf+e5YpHn9LNVz1jz2Zi7OMYSy 1VsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371777; 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=oIAq75lH2Ms2bL3QI5/GLr9JphmlHB8/ymqV5IkJpKc=; b=mUfLsKGyxmtx4moMXVo8tvlTtY8Ht5oCB1LP48NuTxvOFoWpL8qQ3juPVwwl6yKpMC 1Mdut5ZRpxXu5A9i/lzpq9jaZPJzx1llPmlD+Iu3NBIWj06HTRm4DNejpnS/VdhODfdS mK3GU5B/jQjWl0NV6WL0wYWkBcRTJBkNS8iR/ukweAktaqCNtjhGbyGOzFTlYYR7mggB 9oaLecs7Cx/zNqQSzbEnYLNxEFuI0tbZVkUsQ64b+vuEfl8bMANicVx6EHKfvoBcw5wZ j8zbKjlLIGNuRqACVDBM0gr6xtMXYINJJ+BgaK+yS3Aqs0P96Ducu1XobwCzEt9KYqvI a7Tw== X-Gm-Message-State: AO0yUKUBc/C8RePfTOj1SulIOGvjwS+x9qs2f9csVVaFl3jLPV53Fscj MEZkj6ukjngFk/5HeMb7nHedsXYdIwYHyLnZLHY= X-Google-Smtp-Source: AK7set8x+PI0RC1jqr6FcGHLymEePMs/0jRVfw13/HyaF1qSj0O2qlIoeWJ4Fj1seTcF8i4J9aGxow== X-Received: by 2002:a05:600c:5127:b0:3ea:dbdd:66df with SMTP id o39-20020a05600c512700b003eadbdd66dfmr19528568wms.2.1678371777251; Thu, 09 Mar 2023 06:22:57 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:22:56 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:50 +0100 Subject: [PATCH 01/21] dt-bindings: display: mediatek: aal: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-1-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=927; i=amergnat@baylibre.com; h=from:subject:message-id; bh=WEnU1yh+Xf5Fm/UQMnsfiUO7zkGJUQGiUbGopVaYs98=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+4sd0fzV97pSR5UsZOhCfXfr87D9x2eqrQp2p 9rnV6IOJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURewmD/ 0aPeRYQ6rCDSvjWKnRIJcolIOK3MGqzimlQ2PN5YzvyIhAHyJdWyzxAOuU0O2zE1Oa2NRenPZ0cJ89 xA4XdvNTMwDrNpieSu+6K/mreygJWymCHanAtu8M4lZnRIc1QQiAB0S2PHxSuuLTiLVA74b3hUljao VLDcOtl3WxrlxKMe4rv1BtUcGN9a0v4I9qxSNC9aoWzZG2/hyuZtk38ziMe+TzT8G23n749o1frHZg RILO/9bTJYihnhwtjCV9ujmOM6e6weak2msm5Hu8ua9KWFOaFAgyGoN09Ox0Nut+YwkxfEp99cQnId oao1ipTTAkXcZgfjpuUgWLhmIGsiJvvZFRsdOtXuX9g/H1b/mmfojPnHrokuOi0XZxhBiaTYg+WdeG 8quLYTLR9Vtp2PfaaZXuDXAWcFKGW+tvDy1dFpkqqPTXI9KQeA/wfWIIDosdlAqLnC9rXG8FCfwCeJ kIJGMGAQIvEWoz93A5aSvaM4KHOevj5mfm5b0nssksvKEZ7wP0gxpM1YVTCrj+vTo1doIhTzxrR6DS G6HqmHhulONoHNM+bvJzYiH00fPMIRsteIuQIa4HdyLweEvcQMYhF0IgYGtNdLnDH253Bxc4fOnFer 7MAlBwHSlvzkuZbjwvCMcpDFTjeHkeJGF2Wq0arbAIN5WcntO3VeWC1vNwKw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062301_051306_20B8A9D9 X-CRM114-Status: GOOD ( 10.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 Display Adaptive Ambient Light for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang 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 d4d585485e7b..d47bc72f09c0 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml @@ -33,6 +33,7 @@ properties: - mediatek,mt8186-disp-aal - mediatek,mt8192-disp-aal - mediatek,mt8195-disp-aal + - mediatek,mt8365-disp-aal - const: mediatek,mt8183-disp-aal reg: From patchwork Thu Mar 9 14:22:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167564 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 254B1C61DA4 for ; Thu, 9 Mar 2023 14:25:26 +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=x5QNrLJ0DdGTjgQaPwkbfJVv8W+M9SFjR3jzror4MpM=; b=AIN/fWUnc4V6OK W69uIm+nZBwyFJ0AmBUjSpaTF6VUfB5NNGO6LrPL/Mz1qW9sKLX69vpBrm5CQdvNbEsi+B3Lpv1pF hBTfV1MkqOm+qcY/5xDWNaIT/Mr5UNZsB3snW8Dm4wZcQvavRUT4pEyU86DAyoAUNGA8fqtvCQZLR dxU5lpk5gZfN5iorZpuK3t8LbsLD7Oq4Oy/NaDgzCcHh8z3jR1qTW2OrXbaAeEbYRlk1FShzFDCH+ MTAqBd/1k9qe9idUMOGIPDl7e4Mx08XujVUXXrmhSdWVRAytRkL3qFp2/gTYOiwNMCJ0QgxUPC+Fs m7ETBb3YHSdpOJOvLreg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHBu-00AUUL-Tn; Thu, 09 Mar 2023 14:24:23 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAa-00ATgc-Fc for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:03 +0000 Received: by mail-wm1-x335.google.com with SMTP id az36so1274394wmb.1 for ; Thu, 09 Mar 2023 06:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371778; 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=4HGXP3dztTrnQjlCCkBVLINYyzIjFA5vv4MQlPWgtfA=; b=034QB5Y0+lS6JX3VHLfCbMLKOw3Puj5QP3kkG18+a5j6LclHoFYu2AHV73XtlQ+cCL c7XuzGEgBa+5eZQeEexsCKVioxq9q+GLiLVasXwe/8wQzOQeIh2VEeWunv4wsEOfBz9I o0Q3fnV7MxT/wF2oN5Ve2OWgX0WnQQAvYpZlNp5sU2v5quTXjiU4F6r4MPg/BGueIEZX nB9NaCsfiPvXH6kYatW4bzYYo4JnIsu6uHIm7d+HFB3Utms0AdnCKZjUSGr9/OR++vNE 3AZG6Z/fbPokdTAhRQ31wXQteokZZ3SWIGAWGMacyKjk9dwla5dYpfMu6xPBzDKY3zO3 VSSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371778; 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=4HGXP3dztTrnQjlCCkBVLINYyzIjFA5vv4MQlPWgtfA=; b=TNva8B3NZ6Km+x27ZghDVjBHeErxmRKXbZ5dVSeHpKRO4JghWjLYXJW3V/PhWZhOro p2AOz095V4cvsdzenT43lnUxSxHuBetmN/RJeZhzssBSOYPOAL2mvw6KUIqkXkAD18Ee VjpqtC6zI+mZOk9mo4ZEBjz7d/unQocfL3yeObzCXaNSZrHCmXyvXzXBbBg8d1yh/0bf 6dMIDUh6sfcPwL7BHm/5fgfGqNGrN5uG3hsuHdT3s5MS9IuhHEnSTs0LcUdZ+boxpVGT p6tdKyMZw/0mnsDZAq5KVrC5za/rJ0d+4myx4MnULYWXLnVkt14hdHBB+2muX1hTHH6x ycEQ== X-Gm-Message-State: AO0yUKXtiaPuf86Sn+aRaWgoXFL5p1qrfmaOJxXDvPAP7wxFu16dtclC Gbizn/x8UtyAgHmVcEfFNIGMLG58W5QrZg+HWOA= X-Google-Smtp-Source: AK7set8LBA7kJVWdMBXxuiElbjEob4ABHNs0P+w6UX/yyJGPqOclYqM6FVkDJEJjKe4T4cCEx6FFYA== X-Received: by 2002:a05:600c:444c:b0:3eb:39e2:915b with SMTP id v12-20020a05600c444c00b003eb39e2915bmr19673513wmn.31.1678371778461; Thu, 09 Mar 2023 06:22:58 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.22.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:22:58 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:51 +0100 Subject: [PATCH 02/21] dt-bindings: display: mediatek: ccorr: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-2-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=888; i=amergnat@baylibre.com; h=from:subject:message-id; bh=C7jd7hPJyNNK65umqiaqv8dPlJYkmQJemWR+tpy2or0=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+0ew6YaHQB5gxrKawL2Go78SiMBY25/zTN4Z2 MRX1zaSJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURTHeD/ 0ZAamMi7T+h2vz6GHOVNWgosBIBUISGisRUy+7NzqleA2E6NBx5WeM7D27F1qOLovxDYPlTo4MPfqD KpDgQTVD6HUqmO6GbVpUYpOxLUCRIJ4R2I3LzqJeopB2Q644bdO6i59E5JxsBLYqx+BHEKbusVVbqW 6VIvz9g1Jh7/oHqCuCxH/wM7Jl1cDjLB4e7xxH+ikBLfP7/4Ut4d9krtxEZthCLCyW5nBeIoCApaak ixzLu6XsWhGP6Ochs++nUaJ1+H+8JiS0bygnM4F/JyVQo/NY/Xx1SwNrt8UPBoDzMEOeqGkH2VtPg7 JQtWf0HqXftZbe2FCLvTfPVsn6hwJTXvJZuKIymeMu6eSDiq/hd2v3HbcTzLlZ7k+10ejDi/2fD2my OytIuUhmihdhn7FXT+OFr4ZLE7TgeVXJBwqrALhdDqm3Qo5keCG5juCY4xOIYeJ8flcRRYngzqVLJl CFVkOAQCJeAuZ1XG2/LuZv/sGWCCDdEiA7jf+1Uo2rJE86KgTkgAK5Qi0MwdXY2KiwFmk8SQXZapgh HIUej/Ux3FH2LrmRsqWWzp6TULX/lR8raDTk/nHbLQgr476hOBDzn63rVuvVXBicZSdy31VRO2SdSE 2vR/2pqUG1VVmOizx3ImOzJI/esDslVyHIyYLiYZB0cpztNZQd7jmdh2l6Lw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062300_563121_4BDB612A X-CRM114-Status: GOOD ( 10.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 Display Color Correction for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang Hu --- Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml index 63fb02014a56..fc999e614718 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml @@ -32,6 +32,7 @@ properties: - items: - enum: - mediatek,mt8186-disp-ccorr + - mediatek,mt8365-disp-ccorr - const: mediatek,mt8183-disp-ccorr reg: From patchwork Thu Mar 9 14:22:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167566 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 692D9C61DA4 for ; Thu, 9 Mar 2023 14:26:52 +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=BzlQRxzzhwQ0k4K14Pc5RWWvqZZrP3ezxjGnGKCembg=; b=aGSZw6TLZnN9HM eqtMDn7r8WJl1TUXnEnL/VaJw5KB7Y5kqm/7mzY3a/KuDW3x75G+Zvib9BDdC5zGIPCa9t5WWf+6R 6uLLGi9eKnLki1NReCFS+TiSSyp87zVcrmoDZ5+3pROzPudpCOBtA6xCN3L6RG9lUL3R+EdlJvTDU 3aawBfD2nCQ9BjBgGg/pB5Br8GK+HqR5dxitB/SIvLWDxC2Lqu1ch/RB7Jz5U3vE5WjV1aLB08Xur /404HJIHMg1w723FIANCDZzc7YUqzgaF3Zg1qWeR/Ap0LYxreNoiCqR+8+fwjFITQqJd5+q/XKmnM 3J7yn0G5WPGOH+u+fy0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHDH-00AVB3-4Y; Thu, 09 Mar 2023 14:25:48 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAb-00AThx-K3 for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:04 +0000 Received: by mail-wm1-x336.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so3710678wmb.5 for ; Thu, 09 Mar 2023 06:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371780; 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=fq8V/33dVQgHge8n1w+kEKrBuJXvNdZoMtd/dxWzcHk=; b=pH9jhSeWxNT5/kU6L7MNaM5/ur6uhg76pTZHmXmxPPrb61jwjkoI82J6fxbrcHYltU 2f/rqdQIJbpp064BX0xuheTLdE3q3o9b8UdVvkxdQ1Fju/PSvgZWv9P3mVor/51H9uY9 3tzK4x420PKNRNRmn46uVcvCNAIc80+NHW81zTmCtXXDCegldGmzuKNXcH8iwbKqaCjk 2liI9a7jPl1hjRvUzJ1N1/cuDECTPoF1zaEpIU9DYYnnpWRyeO8oxDNf8kiOogHHvZuN iNRVCXT07tdieptyyjPFeRSLo2qMw6SUJU7dpXzvZbvIDpaIWfBPN38tKcV3/pEjimCF Blog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371780; 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=fq8V/33dVQgHge8n1w+kEKrBuJXvNdZoMtd/dxWzcHk=; b=A/B8wpP/a/HErQ4Ncr9KUr+BTCzOa1+91n4eNFITKpvi+Hor6PI/7gmVecrQ50PRvR o6/+G25hRqDW+ZQfGfA5mrJ9YfxjhOgMkmpCj1Tm86hqjvQLMDv8gi1ENiLXZvU+FYAe FuZzmcZtZhFfuXLh60EAIgCjr/KCfmppFXGyNQKNAAO2mniO8qF6LVbKnFlqWYO5xLlH peXUy+YwH11HONe7pS6yqaLLpbHNVdRLBH3PwZ64Ukc0myDkrPdLdTi60WaIAkb5082p xsEXdAokY5DkiEcw3cAs9L76J+O+WVbplR/GMVYDuWiwmmzH48ChIBVCnWDTumg7i3+T X3Pw== X-Gm-Message-State: AO0yUKVFvdZPEJRZtniL1787OoFc39eh6EJIdvQur/czYXYvTEuvnjIZ UfBQL00/ZS4oP6Ck5EHB6j6axhVf2a5ETeZiGlI= X-Google-Smtp-Source: AK7set9+xV9RaAG44ZqWCnxRFbCjr4oxsivxsX7sdBfuzr/CZXijhbsdH233AjK4P62T/QKd9PMESQ== X-Received: by 2002:a05:600c:1548:b0:3e2:1f00:bff7 with SMTP id f8-20020a05600c154800b003e21f00bff7mr15742801wmg.12.1678371779863; Thu, 09 Mar 2023 06:22:59 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.22.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:22:59 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:52 +0100 Subject: [PATCH 03/21] dt-bindings: display: mediatek: color: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-3-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=945; i=amergnat@baylibre.com; h=from:subject:message-id; bh=OsM4WLgGtmA0GySMLOWRA0K7CaicDuwTJXkW1UXnsOE=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+UGUPeIJ+S2D6dPzbrAMg7/oQlmswOc0ccN7P u6wGgy6JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURRgsD/ 9Su2CGheXWgumO/o1+RtFbfV/2NPJ6oPnQjRHboZ76/4aMHfZHlNwom726c+Uenp9FmszOcvURGcIj TmX/9MWQYbfvYkztFwVfy4nmU2Lp9yYQICKEqve6LhHz+dgepAxZ9CuwYoGI9TgWVAkWg4EXt/bPe+ eZFkaY+QNGiZeveyB6YGxdH31b6UsulSwPoITDaTQWDEBbkTM3aSTN1SWim6wsWaMBsDV98L1DI3CQ QVmRdfyEx/HclVCmAWgjR0TBQ7m9tWZjvvjgjq5UIu7174p+aFba4UJWap88qZMkhJjthXpn3/35w2 DbMegV/TT7IpdjFdkK1hjjoTHU2jTuiqEV6uf42D/hZij+QsLsLGFinuYbnKLpiO7fT7Uo6+C9YghB EtVsjcvH6jX3ceOhLtOOyyuCclwfemAenUYpDko6mgzobmuv0vQkSYvphhXvZ+SuII8RFPOZP9sy7/ 9XiXkH4j+x28Eld4fgVTZ4YPMMqW9o1Cejxh3AtMX+dfoUpMDDR3ej7BYo1dtmc21kOT9+pgFnuvVg TD6NTjMQb+ganTbeOvSHieHp87XYjw+owQMRDDnPpfD4AkqLG/LP9QfdjuZszkCpO5ZP8365csd8lI NeHt9xAJ3ArAgCBZLinXAckqQzfm1ebYJKKw/CNcjt9IlH8SSdSQ9KgPctuA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062301_758307_2A7CC891 X-CRM114-Status: GOOD ( 10.03 ) 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 Display Color for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang 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 d2f89ee7996f..9d081da433e8 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml @@ -39,6 +39,7 @@ properties: - mediatek,mt8186-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 Mar 9 14:22:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167567 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 16715C64EC4 for ; Thu, 9 Mar 2023 14:27:41 +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=akm2HCoi5GtwrEvmHYZwUz2+dxa3CpLXr5qMX6FfBsw=; b=GaQvTKhSb9KeMv PP0hXpDqd0hcMsR6V/a2YFaRHQNGWe7z7honmEewvC0wA3pxFSpQGAookh8cvcbMhe8v4KhPCG1rY uq+ItX9HpSzVTxwFzQCT61vaWPYkDwf9R5h3wfvpE154hWk2fLJYftZssBr7f7dUxoYVr6TT41CzI Pq3rceqHd7+qYACL4d2pcCJBlIeBbmQ/TvcEkwy96QtVAoZJh1izPXktr0ML75RiQfmqIqZnB+BGj CgqpICoCxcDLSqQTIxtevwjVp5pIXWCROJK3H4kLoeQlTXk2YIxivooqQXBjpBXKCOakbzSpo59dp 4hz46Lg5xNmMjXMhvzYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHDu-00AVXA-6S; Thu, 09 Mar 2023 14:26:26 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAc-00ATj8-Ov for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:05 +0000 Received: by mail-wm1-x335.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso3746194wmb.0 for ; Thu, 09 Mar 2023 06:23:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371781; 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=r5tFAYryPkgwX1r7/qPOO99uZEKbGLFSC5Llqip43Ss=; b=xZRhsWgnHZETMZ+7hMlLILnjcF5D1pWv9VWo1MiheTHaxEOGXQClDa5lVA2PrIl+SK pA0DaVcgXXFtZixVwbV6JSEhgDLG+j9XJggKbCyuExzvkp3G9U7H55cU18ZVKvEWGY9A ZFrKljmbuGiGxAa8nCltIeCdO/4YvCwDYcd9uS01cKMuW5SJrrWa1+ezopl/TtrY1Za/ GSGszlpxFMTel1nFRPuW/42AVU4GkLqKfeWP+NPQuPDVF+AGPugR3h6OKsdK2r+kbXEs 49HbAkdCx8O/1kc5/o0eW/6Zc8NRO38gfIuXbQ+Uf6iqBjL35ugX0w/xAHE6ben9KgHC v8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371781; 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=r5tFAYryPkgwX1r7/qPOO99uZEKbGLFSC5Llqip43Ss=; b=qzlaqDKSyG+VntMhMZQimQBGBOMx8H7bpf7EWNxm+1Cvm1h4vreVac8JssbVDiVN3a OY4FCNFzu0rSIHGbWvbw3nUUMHD89nrW/WtiN4+zfoCxhOrOmrkMHu3Df/AyoVz2XaA7 tzA+mBzlo8fbCYoBy9S/gEayME1kqggixuBv8BCQtqlyUvIZDM1JeoGy4zrdjmLBafS/ 2eUBuVxMw2DUo/eeD1BgLRNqmWbVfuSAzCvhIhzEMcM8FwBb+e998lOznJVxceaED2ZY +gr0F27dyiJ2xaP3sSEN0ojp20MB+V+Ysa0CVF3EjHj7L57Jq8FihE3ukmj1K/bcUAg3 QZtQ== X-Gm-Message-State: AO0yUKULL7za3oVe5LIitM5PdrzjH82pqJDuzgFxxC/KON1F3iB6CmVA uvAZXEB2QXzSzuw4HBc3+xvpOtCgJIVUCmRjmp8= X-Google-Smtp-Source: AK7set/9aDqDnERz+HDQ19uwAGDde4zAOHPr/7EAcg/27Xne8kcfT7S+MbZ6P7q2aic45APWmADp3Q== X-Received: by 2002:a05:600c:3c89:b0:3eb:38e6:f659 with SMTP id bg9-20020a05600c3c8900b003eb38e6f659mr19551678wmb.15.1678371781168; Thu, 09 Mar 2023 06:23:01 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.22.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:00 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:53 +0100 Subject: [PATCH 04/21] dt-bindings: display: mediatek: dither: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-4-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=941; i=amergnat@baylibre.com; h=from:subject:message-id; bh=p9WnbjzFY0umwLZFv0SgtilScjmilWuJtI0Fz5hWU+4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+eRNBAwvwm908UaJder4B/sytamsEVnOqizHk xhBbxq6JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURYJFEA DE19EKGUky9naHlydmvw+XzI7X1WyVlGGorfLqUc3pVinntzlz+XfphHhqWgS1/507xbZ+QmHAwoxi FmfoUcAfYPlONd/O5tqb4kb2iqbsmyb26kINAUcZynHLObEcWEpTNJCTaBDK4b3o0BDkcsiWs+JOji uZV0IXQ/ac1pDnS4+bhIpvHFvcaMsjLGQqAu5PRZUvHE+JR7bCAaV8C3VFb1VanL8tvkXBLNteNK3D abp2LStp4gVUi/3hYsd0ZrHGS0J7Gb/eUb9vuYbu8nH/JVdHgRTdn6QXsMYlIa+IU/gBSKetyevjrF Zbm/4tOqva28VQ8eltnzj8Y2A4jEk26viKQ07hgQtwL/UWqX5jatmZKkB8c8UcG+vQotNuxObJoFVq i6e0ciblMdhn7lJGu2maX2gCzGbSbTXiFhLqjln6YFk0kI3mrqp3VdukR9elQVPpr8dOGE7voPs+Dp q17eTddsAV744xShy6+dfYbbmyJFf8hFKZeoozFTu8wHiJJTfyHbpzFGMs9YCv9EH3Jq6cVrUaop7Z jx/SyJ9ZyQNL/04hvHOHs6pdCc9rWKCIEyjD6TQpaTYbI5FkWS65jMkKh4euvKcFq9hs4cHahOq4gc 6A0hzj67tC1VBr11pymGNPIrp90wXmZhIMzYtg+X4hmB5cXs/YtcS3SveOIw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062302_844835_CFBC5FF2 X-CRM114-Status: UNSURE ( 9.97 ) 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 Display Dither for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang 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 8ad8187c02d1..a7706cd65675 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml @@ -29,6 +29,7 @@ properties: - mediatek,mt8186-disp-dither - mediatek,mt8192-disp-dither - mediatek,mt8195-disp-dither + - mediatek,mt8365-disp-dither - const: mediatek,mt8183-disp-dither reg: From patchwork Thu Mar 9 14:22:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167676 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 45E53C6FD1F for ; Thu, 9 Mar 2023 14:51:49 +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=e9lF8/uPzMCQT/PQg6flb6lkx06ve6yTuO28RnQidtY=; b=v4gGvIKGUY8V19 DRhoqQdPEwyF7hiyNOLqVlgW6ZVsqPrFi/FfPx0zeBv/t7zwrbdk0C7dpJhvnFupgMT41lyGXzOU8 ZDbCEeTbNYlo/ekPpqPAjpSTi9p4OQdj9ZlujhI4DVPMrb7UvrlW+uC4YGFDJQerDaVQUE6siz3xl nTGKM9M8VW/XM8X8Nem+QovT3aIwTW6iPmcms9hoNEKqOC9CPCNi0ZtOdUogW+wpkDNxeXErDyMWD UMf/N9EDeHYZoLWZygQ9JJ9BcckziTLXsyp7FtnHn3alaJRduZkYZsLTf/gkfQBj5gJ6dkH6KeFId q/VS4MH8vg4fqE6ZhAMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHbI-00Ag0k-S4; Thu, 09 Mar 2023 14:50:38 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWo-00Ae57-Lp for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:58 +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=KZC5qBAJSZoc9F7aAJWQir3KEki0DQ4UHR0bP3Rd8Do=; b=mw22SePdXmVJt4ueeUbHsZu7E4 U46g8B+2gfET4UYod3SPqsM5Ax76iHwZEvzHh3OKWWZAXaI36qGo17RKkCxDQG6Wm4lO+s4IHe2Op Lzul41uu8qxjdWmvscGh3acXSQNjashZiYb6/xX9k64RBRVYRTJXlX4UseQUrGEawjhCxUpNoAaSq i76ThPFK+dTKtn0Om2AE2OwDF7X8Eij8UrfghGBumuUP3viWjjAbovulSzxhrr+tWzbQfMv3zmU7Q S6inBNkVB5Faf6Ff+UqB6e/8TLMQTmuHEOyyQWBmBa4Ke7EP5+eiispgvKyRJ9vawvgpz7CAmtU/c VFO1viHQ==; Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAh-0008UF-2e for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:11 +0000 Received: by mail-wm1-x331.google.com with SMTP id o11-20020a05600c4fcb00b003eb33ea29a8so1363117wmq.1 for ; Thu, 09 Mar 2023 06:23:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371782; 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=KZC5qBAJSZoc9F7aAJWQir3KEki0DQ4UHR0bP3Rd8Do=; b=oP0/Lrrq4QP7wG1xGKH1MmJdPBYEDwgyHwrwkjyr2Tq5EczUgB+S8p5ir7hnn4bkoe txH9Cu7PzrPdW++3Cr4Jh5Sx8c49BQ5o6QRE9lNrq/yehjO+ZYKxaDXqlZQKlLE63fbw Q/euy6mNPh7YutiFYWDCBxhy2x50NVFwvO3tHBcTM3Z5bhNSMwUo6Mg2sgqbV5fB0SUA BJ1pxJvHbJKw2Sa1YB/7xxqz9+/aNK6yR45z1OioaqkmIaAgMS3Cpl4Jl1Igypk6kSq1 n68EIZF6kEk04/oTKS/zau+SXTvEjviqfnTJiK7+7jBR2UILSZmSB1wgSew0RzqKT27v 7YmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371782; 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=KZC5qBAJSZoc9F7aAJWQir3KEki0DQ4UHR0bP3Rd8Do=; b=uXRT7NeR6l+EhD/KjGxQTg/uqbI9+++CQmjHgTEuYkqGJ8QjjNozD4UBwcA0soYHYC XM+NnMrlfN1E8Otu5i/Z/I7chKy8jNhadK7kQpI2VR8ZXO3IGsvHH3rFsufEfGQE7u+W Wd7svxBTt6ZuR8chtZTxSjRcfcyNHw25J5gwmomnkpUaCxUE9G4gLO0PJLmnlnRwq/F2 sDzOgYMBuJCE52VjYjM9Wss+EAFcKzbpPMRFuO25orMp5YrzUpXmKCdHZ0Kc7R6c12qp ZhkbZN1kCr+NdFkIQ8UwnJeezh7Q2AhxrgWDZOFrgVHQil948cl1ymIN+7WqcsFauJi8 DMsg== X-Gm-Message-State: AO0yUKUl7E7TL92ql11k+E4/n++LDrQFqNuVKRKbssr6kXa26A80ufCE KnM+Y6SbT3UGo7FHnJxVv0kQ3elb5PXyk2bx+wI= X-Google-Smtp-Source: AK7set+xR4QnuyIEHutoKQUxDYs1BLAEQW1vv2GUMN/llQrli+vHu9zVnxMe8Jp+XhFb5k0pIeKO+w== X-Received: by 2002:a05:600c:154d:b0:3e2:f80:3df1 with SMTP id f13-20020a05600c154d00b003e20f803df1mr19947002wmg.19.1678371782245; Thu, 09 Mar 2023 06:23:02 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:01 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:54 +0100 Subject: [PATCH 05/21] dt-bindings: display: mediatek: dsi: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-5-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1314; i=amergnat@baylibre.com; h=from:subject:message-id; bh=Z+PD/HG3NE11BJ2mTh036njJugWMt2nd1u2eHOQBoCM=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+GCL8xvWFL+ptlpV3sehG4PpJ38RbAQS5rbt1 +Ile0c+JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURSWOD/ 9RfuBFai2OHgcbNDhBzV0pUToxawUcIM3OnPZa0zVRov//1BJKpVqfY5nB3uMzU7aUXdTFXILuEV3Y XMk6nGH/5WIoS/TXKdPQKAKItedpW9wJWMg9YycRwSgObQVHiqtbDYwPxueBiWcGr5cNTuzegKCQdd nHqP0LzC4lQtM8swPcR7yTVL8d6o1SDIl9/3jSLzfDm32lwOt16s/MjjRFSddVisyGhoRm0oa+DYA8 uFsY2Vc7ZwRN+iQk9uSGjvirfJwR10NhMC64IcsEcZcGlTO8nWnmENG8IOX2FLOwC8n4O5G91bYeOf H+d2lMt3ASfXD1ag93MJKISomTdNek7is8WhVqvsq3UTFuepZfZyZFSpnP0nEl7uOCjgGsAu/QkisQ gWhI9IoW+nw39HKpiyYLVJpIFXgxp2YHTAv7jMPZZVcbqvS2jPeWh7550ejhGVYM1mQ6vZp2zqrbOz Dif9LCNYN7Cm8QKZHVdZ1U6I+/oxaChwQDdto+TitOT7YUfi3dQpnMG0kYQwun5aFedwVscYdb3t88 kC6eJ28KWE35E/k6FrIkEP+nTZPi33eBFRKRGWbj0ye+e3YBNKtsWfkT5deDzJv+Q7lWGemrWREABe 2QfQw9AbCo9mgtDvpa7aTIfyx//JKOTRJ+imxN14T1j17fenhKSfRrzuFqRQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142308_448132_A5502EC1 X-CRM114-Status: UNSURE ( 9.65 ) 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 Display Serial Interface for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang Hu --- .../bindings/display/mediatek/mediatek,dsi.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml index 4707b60238b0..b6579d3effc5 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml @@ -22,13 +22,18 @@ allOf: properties: compatible: - enum: - - mediatek,mt2701-dsi - - mediatek,mt7623-dsi - - mediatek,mt8167-dsi - - mediatek,mt8173-dsi - - mediatek,mt8183-dsi - - mediatek,mt8186-dsi + oneOf: + - enum: + - mediatek,mt2701-dsi + - mediatek,mt7623-dsi + - mediatek,mt8167-dsi + - mediatek,mt8173-dsi + - mediatek,mt8183-dsi + - mediatek,mt8186-dsi + - items: + - enum: + - mediatek,mt8365-dsi + - const: mediatek,mt8183-dsi reg: maxItems: 1 From patchwork Thu Mar 9 14:22:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167677 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 007FFC64EC4 for ; Thu, 9 Mar 2023 14:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=swmTFwgNTFqI9j0U4q9ljdLBcq1yBBNY8WO2u6KafiQ=; b=4hc51m7ZPsEy0N 4uYjnb83KhY8dRInXYbIYnkcevnv/xdaY1SdLPTZCjmDFO2VIcYTdDALVkqvCac7sHLWvgbN3A4bb qhkvS36o0KLUrnl0HRNiXXAizKpJRTn6tRg8X3xo+yLZSf4EH6AuFq1v5olOseNRVgfqExKZdzGvt Kz60q+VhwNFJgu4z3i41kQ8siyAkzEVdU4gt0BQXGgYbYoxg7QT+vgk/fmB0LrbdzyyVaBbeHNSjR TiQFkxuBks65szPkpaqeWs3AI+R0KHkxP78Qk5O79Zv6sKW6IoPbDKLHa01gPVEJ+m240Pn9xS4Of RV744QQXd2f2ss4CoX3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHbu-00AgGv-VC; Thu, 09 Mar 2023 14:51:16 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWp-00Ae57-8a for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:59 +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=d+yQgUupWPpIlOiQqba9JZgbizsM+tf3A5vNzGQQ6cI=; b=RhT84oO9rSdDTBtJm4p2mPZ03n DBAeBGHbQoHidEgEqGSYKQ/dphOjQ4PQYNX1Ogi7dDaTZMb4Z49//aN9/+E3748aHyHbzf7gGKbyV bJ4YiUTDsZJ8EwWs+iRMJm9V3CMYe/1xNrePm2VKtLdCsoUZRpkM9Gsm0Ywcw9FyaAPzyTCgc7MLl Aeapo/W//NEMA/5Y+bt0uDFxtyQxUH36SUNEy4fO3wskQ3y9G3thwJbqrhPAivTSXWPKAqjJ5rSGJ vS16kTK4I8S3TAQJUTZop67TUUChkjb+rd1JwNbAoyOIWBL5QMcfYHpZs/9WjjaV7QqKJKQZLRzwf oSfCH6OQ==; Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAh-0008UI-1R for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:10 +0000 Received: by mail-wm1-x32d.google.com with SMTP id k37so1285486wms.0 for ; Thu, 09 Mar 2023 06:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371783; 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=d+yQgUupWPpIlOiQqba9JZgbizsM+tf3A5vNzGQQ6cI=; b=mzfJRi3rr3ADiB0HkiogBnHWfujR6PEq0KFeLVkc+Ap41u72IOxKgs/bJddmQG6WsF xzSjpYUmWdr5l3Eg3yVDCMvfQjYWgvfrIYAM0s4z7iqr2jBr2qPODb81q8CF8bkwWnSv 3ris5wjDrmLrcDtBTIY7VkTwbNV+rL4RnlHMgPL/Xc1eXRg0Vq/eKd4Uth4i7tk2AOeK f+Pa70sCkDyq2+9+Oppxwhi6jUQt/UqbJRnEAI5ImRvzSmr+ejhcw9luOI7sK4VUpMbp /ItQOGkcw4Jiv/3XOwZDcB1hZG9g/0lexQk/mB7GbnxvpA2pbRBd7aDkSNRj/JCBdRxK Dccw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371783; 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=d+yQgUupWPpIlOiQqba9JZgbizsM+tf3A5vNzGQQ6cI=; b=g53R35THGQSZ/f7fxfsokS/MuQ44MThCBC70YmZV7lu7iWa4THSllEM2RnhcwkdNOk thBvOthGtyIKpA8F5aUgYqGzV3T8rsUV2A8AK8IuuFVpLOFbQ+fGN3Hiho6dodTWWF8B BDuhE0Ea8tn9WPdVn5EnCAYnhEiOTtY6QYy/6/44xKoTa43tqfAYdXHx1fBFFde5fQi5 eVQkK/bqISKStxRg456PnnS+o33K0GKVy9FxmUVgSe8C1VjIrJ0cKtUkAMWlj8QxxkmV /QRisAe6Pkp++TjOofke+ZkhxamGry9eErBN52hSI3h8Gx8zSUeQKVw2q1ve7ZF5bA42 uA1Q== X-Gm-Message-State: AO0yUKVWPpb+YPfsRQS4tXv2FHnhsHM6P1FBWZedxCjiLS6Kjh0DE56x WKnrmR5qML68aeJGJj+R13qABn2T0hcABOcGjlk= X-Google-Smtp-Source: AK7set9MEaiRkz2A2iRRrRwUb0ZOdN3nxNICaLPL49D8FlcJGe9+rcOV87KkfjUqCDMibzNpj5DFEA== X-Received: by 2002:a05:600c:3b9b:b0:3eb:3998:36f1 with SMTP id n27-20020a05600c3b9b00b003eb399836f1mr20191268wms.41.1678371783396; Thu, 09 Mar 2023 06:23:03 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:03 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:55 +0100 Subject: [PATCH 06/21] dt-bindings: display: mediatek: dpi: add power-domains property MIME-Version: 1.0 Message-Id: <20230220-display-v1-6-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1612; i=amergnat@baylibre.com; h=from:subject:message-id; bh=8XdhUHkypetWJdIFuKJdeu4W8TGTvxJ+Za8X1maEAM4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+DRa9AL2CpzRP2lVUsmPaWmgwYqlEIq/98IQS KxW0QIOJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURRLFEA CVeyHA49RQBUUtLf5rt68aPlBSTSNZkV/4dybTnvo5XD3DTtL6SxXVb8PIRFZ8Z0BMtQ14vow360rZ yg2n67jDC8IU4XUGYs6VJJMVmjqPKzJ8bo050n678ZXKt8yoyLCdDUUAt45ejLZ4edK2uZ75PvUMo9 PxpxL+K9W6sXhoUfiSGCB4MA1afJ8nPpE/aQK0S2SoXwWV2Vi/wU0Om1KZOFh7twso6EWjEn3PYv1b Csr4Lpz2u/aZYStBN7UDDB+/TTzRqG2G1eShU28auw16uz3TtHeEMOXaIDUldiaWdXEv7qIqgIUfKQ u5gsnp5+vPI5tmOJZAzbFRfy7kOONpq+5GVAb3szqGNZ1zrAuHMXy4REe0HT50itJRpppIIfac6UgE mCkqQFHnfZKTev3r4/l0L9NOVzblrsf3yn3b6wG+JpTwNLRe/sm7yUABonPMq4b/4m8kE7EwJRVqlh 1FKA9j4X6ncZNs+i3Z/OSYaOgZ7zriJXwg4ofFAeE5DG3wTsUXShUE/ZddrlMa6ufbWVrJqaocmQ2F 6XttS3JG9mRxq5WanmPs9304xVzo09LYXBMhZZu4bfOtm2w8yNex7LRbJ0UCMMYA09xrvhkLjLs2PW MhQz21g5o+7F2PdHm2ISbY5tpDhbSWtIEHSOfAji7vKN4VQFTjvDKur01vKQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142308_450581_4BDC610A X-CRM114-Status: GOOD ( 10.94 ) 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. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index d976380801e3..56511c4d4b9b 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -59,6 +59,9 @@ properties: Output port node. This port should be connected to the input port of an attached HDMI, LVDS or DisplayPort encoder chip. + power-domains: + maxItems: 1 + required: - compatible - reg @@ -73,11 +76,13 @@ examples: - | #include #include + #include dpi0: dpi@1401d000 { compatible = "mediatek,mt8173-dpi"; reg = <0x1401d000 0x1000>; interrupts = ; + power-domains = <&spm MT8173_POWER_DOMAIN_MM>; clocks = <&mmsys CLK_MM_DPI_PIXEL>, <&mmsys CLK_MM_DPI_ENGINE>, <&apmixedsys CLK_APMIXED_TVDPLL>; From patchwork Thu Mar 9 14:22:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167568 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 88B2CC61DA4 for ; Thu, 9 Mar 2023 14:28:21 +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=Cli48Jdy0/y7lNKsBef/KcHD+JR/9IVw0Wafp2aRM0I=; b=3CP5VMrTIzF7/O 6XMl9KN12k9hceQbCpmW7928e3OeR/RI8TAY1zkybTnl6RT360dhw6TpQhDSwOWrgZaIuwneGkzcL wOAuTZYGRE3jioGl6JJurwU3vmpnpHmniiMoLhPt+tKQAhvPWrAhtSToLBPXYNyCut6EkzQMr22Zn d3PreG6Ak0kpyTdo8z/+krkorvFcQFnSau/vGXucOvXStTBJK7wXrZwG7olAcMHVbjSZ/jn/a6QlZ Rr2b0RIiGA0/SHE5Shl3qYjoJO61zu5zzQue1kEBGeM/EEO8s0Xh5cFNwaJtTvA0+CHLE6KL9dC4o bvexxwuYXibRXX6X1ekA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHEa-00AVsR-HK; Thu, 09 Mar 2023 14:27:09 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAg-00ATm9-9s for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:07 +0000 Received: by mail-wm1-x334.google.com with SMTP id p16so1260922wmq.5 for ; Thu, 09 Mar 2023 06:23:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371784; 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=jyBGY+jvCJOKXJP8ldMkSDuOdIH93pHfswBkaYg6AMg=; b=ooRqerabbbAmmSKiv7+GfEuHOW5HHY7ANUnilx/QxU5RMYgE8KNAUhlDllDyul1PYL dMJM+kcwHj2XtWwIK0E/Pp8bNfFGiH+HS4NcxF1ORpA2SsSgZj23/Uk4urMpfee14Ym2 Ia5+osju4pxuQ0o4lVSQbb/ihW71zy8B+XbPdGQzUF/2ZKUYVe7UDDYeyqj+kHybGjFt DbSMkWZCvsJNX+zBbJU+Cfsn/4N1tTxKaofD5UUmjHjtnHkw8mApyaPu8UhO4ANmyLBr 7MhJQuYXXL06ICEduUTSCJhjHwJIS09+nVtWgAL+d1njolaMW2/pXqDQhO9xgG84sstD F0Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371784; 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=jyBGY+jvCJOKXJP8ldMkSDuOdIH93pHfswBkaYg6AMg=; b=dcQzsMJ1P8g8MhQ8MOr9wK/maZXj7chf3Gbw6U6XG7ldsLAeNRcPmFis8i3GrJTu7F E8b6gmrs1OHNs3kKCmZQ8uO32LxMCqKr6VyjDhji3YmrYXfPApGoYT9mtd9vZIZYHlEh qZ52LZACrFJefSjrBF/4t7idLZIhdY96DSx5pkqMp9/cwHXJAiUSaQXayLE4LIQc7uDf 3hXsK/TR0MuCj/xhMmLpXLYITF2I/0pAmOEP9HFE6lxyEut1Jt1Df/kMXJwxxYVx6nTv TNq3KniI0HZkmYhwwyWQVtWD9Z9z/vA/VXwgSUpmM18ASqKsKSZVfsIPcLBDLeKemXt2 IDgg== X-Gm-Message-State: AO0yUKVlpJ/HMQXR4JGer+EtroLzylowrpYdeOl1fDr4fOMlcFMteom8 MXve2OSPh9HaJwEEXapZMhKcf9hY+a+Se1XjeyU= X-Google-Smtp-Source: AK7set8FO5JcyNQaHX02anFtnUYwcSLi1PLmBq6lm7daIhornxQMnEtC1Zaab7o9C36y9+u0YiHk1w== X-Received: by 2002:a05:600c:4e8c:b0:3e2:dba:7155 with SMTP id f12-20020a05600c4e8c00b003e20dba7155mr18514567wmq.20.1678371784719; Thu, 09 Mar 2023 06:23:04 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:04 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:56 +0100 Subject: [PATCH 07/21] dt-bindings: display: mediatek: dpi: add binding for MT8365 MIME-Version: 1.0 Message-Id: <20230220-display-v1-7-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2483; i=amergnat@baylibre.com; h=from:subject:message-id; bh=0m3zQ+CEWwgmrDXTxocKv5T5uh988OgohoP13JFGvXc=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+e+5OVN4x2QxLmEE5u1X3dXSeY6CNuN0k5GVI QKihHiiJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZKyEA CUB1Vr884ZhpoJG3ZZ6pM+Es90TE4OVOsyE/W9F5MZYwPYysxyUtsoakP4mp8AdxHB/CY70J09XWxm rAf2lHvzhuMnniDkC4t7MnpN2zWHJJ3T1i1EgTfyf97ZH8ZTIFCa1NRk4G3MEWG9R60b9/5qqP7Y7B LZIrtIHHfO82TNy86Ucu91SAFAl1tc/0j+NFW5fYFYjkhspr2LrJ65zB//+q1/bMxcaNLaMjs0KUYc IKGhyx4EHz+7o/umb4AQUUf9CnUj6DCv0mi8pxe10G2VlvuuMB7IqfQwPuq/q8SmXPcuyx9Ci+/pq/ Lmk79E89NH8dAIsfbLG5Wp3o088KlYsVuV1X+Rn9YFkqldc1J/3nEkD6ZQnwhHUC5n4Q2XSN90BN6z ox6glkhvOCrC09T6tTD5YImQh9G5h+ljy3Wvu7M1DF0FP2eXnB0JreoP9XcgiFqZSGn3RY7R0+rRKt wQ+tctTbK587mXRuQbDIhIJT5TxdE4LckU7HnALxRycvHQ2NwjY4DwNRvoTgFYJI0L0LQM4ORVr3+d MmIlteaG1/UekLWNWSv7UWO+Y/APA8E75ICfOWd2sdo5NMMgP6IZ4y8PRbErxmrlH3+mGXkjbpuC5s 4LI8tZvMrwUvVM+P9xeTd63t1H7r8XDr1nQxW5DHd8oN+ytBdL0I4gERH8PA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062306_366963_68D3F4FE X-CRM114-Status: GOOD ( 10.97 ) 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 for MT8365 is compatible with MT8192 but requires an additional clock. Modify the documentation to requires this clock only on MT8365 SoCs. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- .../bindings/display/mediatek/mediatek,dpi.yaml | 48 ++++++++++++++++++---- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 56511c4d4b9b..3f6cca81340c 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -17,15 +17,20 @@ description: | properties: compatible: - enum: - - mediatek,mt2701-dpi - - mediatek,mt7623-dpi - - mediatek,mt8173-dpi - - mediatek,mt8183-dpi - - mediatek,mt8186-dpi - - mediatek,mt8188-dp-intf - - mediatek,mt8192-dpi - - mediatek,mt8195-dp-intf + oneOf: + - enum: + - mediatek,mt2701-dpi + - mediatek,mt7623-dpi + - mediatek,mt8173-dpi + - mediatek,mt8183-dpi + - mediatek,mt8186-dpi + - mediatek,mt8188-dp-intf + - mediatek,mt8192-dpi + - mediatek,mt8195-dp-intf + - items: + - enum: + - mediatek,mt8365-dpi + - const: mediatek,mt8192-dpi reg: maxItems: 1 @@ -34,16 +39,20 @@ properties: maxItems: 1 clocks: + minItems: 3 items: - description: Pixel Clock - description: Engine Clock - description: DPI PLL + - description: DPI Clock clock-names: + minItems: 3 items: - const: pixel - const: engine - const: pll + - const: dpi pinctrl-0: true pinctrl-1: true @@ -72,6 +81,27 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt8365-dpi + + then: + properties: + clocks: + maxItems: 4 + clock-names: + maxItems: 4 + + else: + properties: + clocks: + maxItems: 3 + clock-names: + maxItems: 3 + examples: - | #include From patchwork Thu Mar 9 14:22:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167574 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 06344C61DA4 for ; Thu, 9 Mar 2023 14:28:58 +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=egiU7/lDb+g7L9zaMNeF/gwhe86HMsZTzZukhHI/R2U=; b=kqB0ujEl0J9qNE V0CiqWCSvoggzhqpsMeIp5r6i9Lt0e3h26OXKBeTY3ca/CU7IqxDsT00s8tFFHnhjfL4y8Ujm8QBj hLV0OfXiuF+eBR3r6Y5SNsYsbdzKlICvTamyTofBeUrJDbkBB6rM9Lrhi6WNUzm47ZxNYBKwPpTD8 k9S5JCV76v/QyP1IuMFxRJ42toiMShFjnR+fpdGbGmsoD2+1WA/8RfmjBIxUSMyVAHGaHQXn070s6 AIT6bNoyfxNa2qrObzZb6TJKDeGARfMGvTE+IFQHyDJpm4VwzaALyMI4lNxOOFJUra/IMLOadDfwW rOd2iDzWDV3hOlsweykw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHFE-00AWD7-TH; Thu, 09 Mar 2023 14:27:49 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAg-00ATey-Ej for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:07 +0000 Received: by mail-wm1-x32f.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so3710908wmb.5 for ; Thu, 09 Mar 2023 06:23:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371786; 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=bQBBpVaIgUK0Rl4J+27gzzqfLCx1MN+pd5yYkTAPDPo=; b=tirdIG97NJ0q5V9ezLWBKrLIKboiWYAsMS+T2HNJptRoI15qhbvpI3/QBO8xlfgnhM M1SiL8X88XxFgmAjmarPZZdBx+hWesIKhRM9l5eHtalvvsNi1NaDVL0QSWMc/sz9ITxN fGl8OLsBXG1xEhTYzafczph/2f866nUXbX+IM9NWfGdjagS2UeNguwE96wvfp/Va1MMr 9BrGln7ScLojmHb9iaWxSKxxI0gFYp2V1vxF32wQQ1OiTIAVpk9VgmpG7qqCfwny4ek5 Y8biNMhkpP735SiSIl+8G1O76CKDogLEMMxPBpyh5G65aToywz3ZuuwK2+oY/EYBnHe5 R0Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371786; 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=bQBBpVaIgUK0Rl4J+27gzzqfLCx1MN+pd5yYkTAPDPo=; b=s4m2R3r5oc2Qq2C04z3YkT9VcnqoXvLkad6QdSk/FBfNV9O7WaFeHwH1uV9qiCNN/b PQV292804nH4Il7bfUG8NNYw6q4Rw1p9MB6sSE1AAZsuFByHNPtlF8Fvyi29P5F9ypaN uxPbr/ps88GImHijQAqRVPBQ68vATiboIHouRIHp0IQ8IO4CCxOIl2//lCrsQAtIKaTF 5v0bWk2RTFR4QVRRgjK5v/zbVN0WKfdoxjpGcvyMQ0XFxh6ZhR12ePjV9y5m/5pvx1st noI0g4EBxaogXXzioYkz3vF4WJi9Lxs0YpvxihkG8R7siLx1m+hBAdncEc8av4Pbsm4e M/Zw== X-Gm-Message-State: AO0yUKX2iClr367WftPgNQg56PaNjUgkw5O8HtAY9F7MJycecs1e9mY+ eyZm9+V8ELKPSjHojj5a6AhONM4lNJXZej+8lgA= X-Google-Smtp-Source: AK7set/Zn5fKLXmXdaKz4vQTYomyjS35f5C+OYc/Sfrm9FP4uqi4MCSseAditkhKpIAn90H5J/vqGg== X-Received: by 2002:a05:600c:1c9e:b0:3ea:f883:180 with SMTP id k30-20020a05600c1c9e00b003eaf8830180mr19624210wms.7.1678371785809; Thu, 09 Mar 2023 06:23:05 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:05 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:57 +0100 Subject: [PATCH 08/21] dt-bindings: display: mediatek: gamma: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-8-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=930; i=amergnat@baylibre.com; h=from:subject:message-id; bh=5HYYOhtuGUlOpyHwZ7LVltjoUezJ19v4l/4h/6CSVGo=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+VhKJ9LQzHj9VxhsKxYsiydf/VF/RzLpd9doS p/S1TfeJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURV68EA CrpSeTubBhwYkMws/m8sMKVEppmg0ezRxgHhFia1QKuf/Qb/X6+dGncxyjlZNfGS0ar826v6ItsCP7 F942GR0ouavp2NDUZ4ZBvTzuC9v/RYUivU6ijr54JQSDNpIZt3Z/1RIf2TnwC7cHCuU3rhdIP5+/Uh G5UitSz+osQKq5KHqb+uaYDmqAfhJtaE5KSDuS5IzTZXdk8HDyXMEhcHnLQTZqSkFgXsfAb6P63wD/ a+7e69DuUGhyFTlEwcLzeTGxsRs5e3atv9hIj2IkjZI742Gs7iC+OkCXNVMzMhnxaJHDTfCU+OVb5s yjY0Zj+zfs//wU4uHKb7aZTpeazWvPdKFNt1SXoVaOexx8St+YVfnhn5btj1PuBKhqwzyHFYctXuau IG7/AD7kq7EpmLnNZ8PTW+xGoFKWt9cV33JNTLBr92E6EBpiKE5ZCouTYJMRi3QL0+mBNJMZlvHA8f 6l86QRox+1zuXWohcQYFt8NFfXIql5tV4AEGlCC0FUndzCtn+QkSShypWYRHCWePclo2R14EoBCajf 7q6J/xdUo+1xqqMBxOQGV7y8OBSRpHeRxvVcd2emG0x6cb43LKA8snoWHvXhJSVpemAWojP+twvzzs qEmb9BQUClARJ4ftqmFUB0T9vgoDIxmyvrsxFZnjE+/4FvWifJndDTgwq47Q== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062306_566426_84A3054A X-CRM114-Status: GOOD ( 10.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 Display GAMMA for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang Hu --- 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 a89ea0ea7542..f54859cfc97b 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -30,6 +30,7 @@ properties: - mediatek,mt8186-disp-gamma - mediatek,mt8192-disp-gamma - mediatek,mt8195-disp-gamma + - mediatek,mt8365-disp-gamma - const: mediatek,mt8183-disp-gamma reg: From patchwork Thu Mar 9 14:22:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167646 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 0A9AEC64EC4 for ; Thu, 9 Mar 2023 14:46: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=5siJ46gdIDV2KJIBCggVQ9emfNMJ3JCv1ufT9spPVec=; b=m4dZDbarGHWyOp jjd5z46R56p2AAxP2bzXglkmHDx2OZeST2LFIGYMyleVnE6lldy1WOlhMkW8fS33SLH0tUDD3Prss RhX2s+PXl0uotrTaEvlKer39lKuAQcMVEXe0og3Xq4R/dQd7qtPM24nd/adva4zPkogi5eNTiSIeN EFguYUD6yP1gS3WQZz+9ayFY1RPySB4z2NmzlbAa2BfGYj+9twoUPO1IhhCVKyCdTe5hyndayDkiX rtHdkXVJ/wOIf2+NmW2i8TMz6c7SiDxGPdbTEzO1gyd+YPtj2pcb42oxXkWLAjBWBldBMqxG+9+fU XHGX/2IAlkDPwBM/39Qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWP-00AdvO-3C; Thu, 09 Mar 2023 14:45:34 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWJ-00Adue-Hr for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=8/8S9zAhITTz9ARvUIM6rB3SshY/72TljcOdk5LeQ3Q=; b=dXt1nI7l2JtsEG9lIs3+HPDuup Nk4C8jXD/kHUQh7I0T+GbEHw2D8aeDJiAFmUXxgQ7zBZRE4/MD6geEYE/vC5AjXLPKxSd7DuwoQcm q1fdQTtmHpO7SlbGZRE5uZ9AF3czEyTFMKShM+sMluAmG9Q9vw8/skxyIamh2Oe1ytlyXwT6fcJ59 Q7p0Awya9dY0155w38xiPrw23TW5zUzOBZNrYhrfr+70brfmes9Zjrd3GvH6WP0cLtlCFAIn+cBsr eHhPGKadmTVPqu6xd2tEivMoU1WSrCQLfCDZSNcNyScpMRt7y2PQwcMVfuUJz5wM7FO3MwXnllzy8 /dJpcEyA==; Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAj-0008UP-0O for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:13 +0000 Received: by mail-wm1-x32a.google.com with SMTP id t25-20020a1c7719000000b003eb052cc5ccso3714993wmi.4 for ; Thu, 09 Mar 2023 06:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371787; 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=8/8S9zAhITTz9ARvUIM6rB3SshY/72TljcOdk5LeQ3Q=; b=Paw4lE7rgteiCmJbbCRSeVVGrswcjh3BFd8nPfVyBZ3qdom9iSJHtdx4mBHU8s71/G M+T5o6EMJy8BABjhb9Ep9NOpZpgHbYyOQuzm0hcfi1uXS3fHungtEqsxb7G7TMBKpadj dq14YlhWe5BfA+ubm9gQsad2YUTGsbmpq96lPY9MMY0qqmOLubh9rZGMnujrIoKZDF2c jscwueBQ9tM5SlsFHiJkgg7gu8MPXGIwDsjX0DBl0vzxK+WRqfZZMJl31eN6ElPolkWs I8dDxaKxdZX9rKZKEveZ9rrXk3nfKJnvmwlHT9z0kNJ1cmuTqfOEAuencjDWmeOjGagB BwUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371787; 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=8/8S9zAhITTz9ARvUIM6rB3SshY/72TljcOdk5LeQ3Q=; b=nPAi29PSK2bhitMaRDXzQ+qjNwFXBmPJT9uQC3ihMR9YCqYEsZdufWqK/lLBUJ5Y9S 7Cwtyyh5YKI3JQW5Jue4hB7vjeSHQI7Ngd8LY7R22b4OURENZoER+tKGIiWa1UEKaIVc thKYBrZzghuzy/jql549DvGQ9IGeUdghSoj/uHJZH6QVDmgAyQvjB+TOz+gV7YVQs6QQ 24TDYmwZ38p3j2Wyej4IWgo4muhzMNUrMPFdyyJLhIvtjTpv/73uLLWPCroeb2vDVTm2 EMwKyfvtQpWTlcNYKgW946HUZ9w5ByadbPefUktbQjpb4sSpmaMGLd76P0eLwrd+0URE GRIA== X-Gm-Message-State: AO0yUKXB9FWDMICZ54HqFDKBUZiz6bqHWr8dVmen9mXcANfGWT07DMGK DbxbNugZVh6pDmipVpqMSGPkPZ2hM0ZtMBYeFuw= X-Google-Smtp-Source: AK7set9TwqlVJpH/8L0NR2uEUyatF1sOiuRce+ItUudlwqE8a6hDQbfysi1GTjePfgyv2cl9fWrcEA== X-Received: by 2002:a05:600c:3506:b0:3dc:405b:99bf with SMTP id h6-20020a05600c350600b003dc405b99bfmr20382301wmq.15.1678371786930; Thu, 09 Mar 2023 06:23:06 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:06 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:58 +0100 Subject: [PATCH 09/21] dt-bindings: display: mediatek: ovl: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-9-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=863; i=amergnat@baylibre.com; h=from:subject:message-id; bh=f+LlFWqL4iGgBIpxFelONT6kK+k+XvcRswfNvN3MNAo=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+di7JzQQWl74+GKipXG0KRdPPts/MfRxqEUVj mCLLlwKJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURYYNEA CiXLD4ykIDwMU7sPiuItu/LUUcOiha1Izgc6NlWsxwBtccyIEZOxGxwTYFe/zYzCasLTRY/ux4E0F7 /B75r5GMN3ef5WSWHAmw/1ogSmADe9IN+pIyoVoyAYewx+upkEDW9iXk9IH11rGJ3xxfaQSy5/Ww6k 4kdB20shkoPrF4yHBs4kKBKFwHMf0gnNqxG6SwGqiI/hhI//4jMAE1//hUbefOCylvKZk4dUdA7gwV VjAISC7+SEmpuYuK84ami0QwftaIgZq9XZsjdV5N9iJXIxIOcDcpynPSR2EgZmTmFjg0Ce7I2Cv8ua 3M2sY5K7ovJyJ6Z8aN0zRdj46P2n6XViqiqD9vi07vJxj/yQCcJeCgPvcRdel8ahAuFiaTL/sWxdGm 8g6ldbUOu+JbKnteOZQtwp5vifrRz75asn0P1YuaQkuYzGVwLGt4Qj62xTtWkdM9qPkfa5mGmAKI8v BsoPIdLdz16pcViwP6bkRftEoP1y9+URkKPYore33ra9xLX49V4pTuPhMVoGmaDZWCKqz0CtYtiUb6 uapQIS/7ycwhGVDvTYtg2DiH1gFld9VWQoKjqwDdbrqf5pQGfwQOmrZqexT61gdtajcNn8PzoUXVC9 My54ek3cXzXKpB7xh/HxWpqAprRIskSMxwuKvvLPhPbUThj1YvCFXTdhYoUQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142309_516873_73FC43EC X-CRM114-Status: GOOD ( 10.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 Display Overlay for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8192 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang Hu --- 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 a2a27d0ca038..20e4ca4fc915 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml @@ -41,6 +41,7 @@ properties: - items: - enum: - mediatek,mt8186-disp-ovl + - mediatek,mt8365-disp-ovl - const: mediatek,mt8192-disp-ovl reg: From patchwork Thu Mar 9 14:22:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167576 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 D8CFEC61DA4 for ; Thu, 9 Mar 2023 14:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f5g+twlBcIsu4LiYgjZUDIuIqFi1Q7580zr9pCwXjUk=; b=woFbq/FtXJ4PQW QYbQmqkmxoYeI0UacC8NVQA4TCxgJqVT1LszoNaHrW0xWYHIOpvpU+i0WVbH3/6rLUargmPT6u7EW APiJJI9WKHP0F2InMA744fRtqbWTgeLEm5sFxOZ2H4y1b7X6ZQp8iHzyEMzKoxZMhvwhbbi7xmf9/ IEi5lxPEaka/F1OVcX7r3VSzUQpLYZ9znkVmsw89o09rbeZsei+cr2bfxFCSg7ElF6cT1Toduq4Zd jOtond4eikaCuxHiwxdRiFEJJL3JsNGrvdxA6Q8+ZmUXWt/7zEqOWeCsEdrk1JAlfqGOy40Bqz9kd nXAtnW15Lph21kxYZ9YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHGa-00AWp7-2P; Thu, 09 Mar 2023 14:29:13 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAi-00ATm9-Pb for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:10 +0000 Received: by mail-wm1-x334.google.com with SMTP id p16so1261096wmq.5 for ; Thu, 09 Mar 2023 06:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371788; 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=6y0EgOYSdMDz3+KorrQ0r3k6K66g6XiX6jBZImtrVOE=; b=7N7405SRRIId6Fw9WiPQgwLQVdf8pBao4SjQy4WjpeDtFbYOlj1zaSVkYButa1kbc5 3R5RoGJY7oYCD5pgDTSSWb8JOvKBIOS8hwAv6ZpeMDc555SqmuE3O9wIIMaDRUoavKcY jmvNjQYpmDsAWn46qMoLNchn5Umbgzcy+bUzTfgkZEOnqgJEJuh/Soa9eBTXyIounf8v lRon0sAiJiOyEVOQvah6GySvSz1w9ot1MpCQ8I/q6bZOploCxsOMmC/zTOnfw8RYulO8 uhDwcOWMZNtYvMO4kLHCH/U1IrhmOymyLU1AIPx9sYox8GXwVy35gP8w+e6dDbj433Zx QUsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371788; 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=6y0EgOYSdMDz3+KorrQ0r3k6K66g6XiX6jBZImtrVOE=; b=efDkpcebSb0TSEYcltVAW4wYJGrEVhBXFwRqRecGm05BZM9GGHIDpuJ2w9A+ty+ope 2jOwiRstxUeVD3ej/qjEkkL4skVrzmGXXH28W69cwIln27TBo4sMXjcaJprSfjd+U1fT YjNbF2WRFPx6HJZr817I37Kyi9JH/7cvbnZSK526D18RCQ7a74ScgnsEk85UjsCSYVSp r1j1x5RGHiF2F9XOEPX+sjpHEQJ6EBVOqDgsiSXEkG/CEd3VP4OlwzqDLYpr4MEgTuWo O/UWs5stciBjRLRU6rYjpaIRK0neoQjf/Ux2/HId7ihhNSVOfB3dQNZwQczj+iQgchaM uY8Q== X-Gm-Message-State: AO0yUKXbhuf1LOkVpyDjeA5bVDxeprUeTPIeI40k2GqhKwOU4aKUdkBX 8cftV1GkeW2sMttcSiGYFAT1U2dyI9jFGfFq6bI= X-Google-Smtp-Source: AK7set+9KAEqvfkzyPxOe24xna17NfixCHnFQT1MzH0SsBzNDwwIU8NvgfCPuEJSgKKoNJIlQbqsKw== X-Received: by 2002:a05:600c:4509:b0:3eb:3c76:c241 with SMTP id t9-20020a05600c450900b003eb3c76c241mr19333471wmo.13.1678371788034; Thu, 09 Mar 2023 06:23:08 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:07 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:22:59 +0100 Subject: [PATCH 10/21] dt-bindings: display: mediatek: rdma: add binding for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-10-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=909; i=amergnat@baylibre.com; h=from:subject:message-id; bh=0pXneIWCTN50mIGf1jyLG4V31thLbsARL6qKXISFL2g=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+xfM/cZ2Igd63sOwyiQObtBeytnZiIiEDXquP icSKEGeJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURbr7D/ 4g3s/MVLsDH/3hXDBWmGYtJJhkxZNvV99ygtDkG/1d07uedV8fDZC1xWkFzzQdTXGtHD7DvP4UP/qP 5fWoD7es0JAbByTDpeOzLp91dk14rgxRxlnCpROWB8ELu8KpvgsEknBlDAAn4gF2MOFGuApXNCMF36 qhJR2HV1xBXmAKf5w+9sfGys6a/gGEJ7PBduVWaOo0LPtD4ml72Eb2VSRjeP3IkTqB3Qv2R78IdTpL OQi160kpwpKFzFkg27rshPSre9WkKfxA1Xilsh7LdcxHCWOh7R9Azq6HXYkjFasqv91sxXsOA9awvZ szc4mNAlvbT2PuIjeXL5Sa6gfIeKxRopFfw86DraLV7ORN4J9m3mq2mxUpgEcRIfVGOO6S6F5NS7LO pgbgvxclOWGcElkO0RuwiNYDKjZ/hjPfaYJvR2sBHt35csV2ySWw/evGi6M4x7ow+qL5UxrhhL056O Pj391MDejNNLPRKEDjTxsJk5gXECD2GaosO2SIuPneuevFav627LA9mTtm7ChW+yx9CqpdR61pcipg Ux4yIHqdgEofk8tvOahsTlnUKggEx1Xmvzi+wvpXfl0mCDAaoomfsmsCFMtxqHgcnWN9RaQDZQr+uJ UlW2q749LwKncbuiEdySOlmmyV541tw8J0wwzFSYRN8i5R/pBBsivBrMqGsw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062308_885194_4BF953C4 X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Display Data Path Read DMA for MT8365 is compatible with another SoC. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski Reviewed-by: Chun-Kuang Hu --- 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 0882ae86e6c4..3bc914785976 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml @@ -40,6 +40,7 @@ properties: - enum: - mediatek,mt8186-disp-rdma - mediatek,mt8192-disp-rdma + - mediatek,mt8365-disp-rdma - const: mediatek,mt8183-disp-rdma reg: From patchwork Thu Mar 9 14:23:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167575 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 53D53C64EC4 for ; Thu, 9 Mar 2023 14:29:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YLyyVwVqu9z/zgC9lPts3DquSeRtJpoh0fNiBdY+GFU=; b=FBfY6UCEKjvxKT KHRBBnuhlTpKMKHVbiw+plF5Im1wa2Y9GMgOy1/L+cPUwmKyZ4Ipv31de4xJHPtXwYQL1kqO0C6yj Kfqdd8+iQ5C07kXnsWBhZ06aTj5p8G6UE9MmyxS3AuoDyM+fHIfWozWTVBr5SClClHDxZyApc8Iez Cdj0YHHYuB+NsIPb6CF2c1kM7W+r7zsuvK2eGIuSvzzlKC62GweKRFEvGJm7nQuhhvfYN5x8hDjr6 SLYNqbfMqtCGmvfxosiEEdaEtRAbgUdSkmwXRlMhBk72zXCfEe8wOggs9WTNioDLVx3aRxRNiy2ev ouqVz0gsF8L/oE7z3Aaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHG0-00AWa6-Ne; Thu, 09 Mar 2023 14:28:37 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAk-00ATfi-0N for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:11 +0000 Received: by mail-wm1-x32f.google.com with SMTP id l7-20020a05600c4f0700b003e79fa98ce1so1358649wmq.2 for ; Thu, 09 Mar 2023 06:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371789; 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=lE1bZPp7KRJkG065jA7BrjRq0e2c3UVRIFLdkJvreXg=; b=e3wRyPCxCTCbhqioIV84fwTJJWN1NAlFg9iXSquWHMB+55KKB4KLqzARSuOjj8DPMQ N8be9sHKY0/KWVtlU7to5JigikApJnETiCwDE4KDojZ7aLJ/9UPVd9zcLpYHBgOaSvRl 8J+Xfw0FSp2HyMaVrMNbUMvVWlWEWwr4O5/Jc3wCXyOB7wCF1+s6eOAnraLRo8C2+EKS Cnszz064QmUgyYI3/hdj7izmvQpmwpSmx3n6Wsv/n2F/PCU1kvqL7T8v0Wc5vUwFtXAD G8++H809aE7XHRhumpMOl+4O+8YF22/f+3sCSvo2ZH7MRyoWfolCvwXxeZRpo46tBkLA vBkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371789; 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=lE1bZPp7KRJkG065jA7BrjRq0e2c3UVRIFLdkJvreXg=; b=Z4iRR+lh8Qvl/X/ERfyJdOGdFhAO6pw9ho5cosmnKDXxxJ68B22gkOZ3oth5vFDU3U eeSp6K7QKJEk2k/YEYy5AWJCch564eK0FuYxalMnh9FJfC1sJEMmSXH3u8EQWbQbt/j0 F6t5ViyYx6n8kmhSJH2XvqomooYMmvtmjCNhvi4cW4GW3PnOlz7ShdZTghILRxvt41dk 7E2yTF5hCEd5bJxJzrRbTB3vNDQv3tD+lc78p/SGU9HqYJDdfXFaBs1DGE9sJaUKimSO qSzgOORFeLHiUcLzUUo4wwCKemTDMYFbjN+cKqGBeGv62a7XABWh07IQnV/KV2RgmcJV 1vsw== X-Gm-Message-State: AO0yUKV4R2OmilRLpBjNxUyRLeh4yLGM93Ft18LgsHyphpaOr5xXBX3e Vyg5hxbmmHazDJIoOHAXLmbrAu07hEAWQfhYnSw= X-Google-Smtp-Source: AK7set/01szVVaeiIC4yN1x9Gpt/mNzvTYlHq94dchpbp1MYvvz4Fq2/M/RreXzcMvHUi3XBWN1Yhg== X-Received: by 2002:a05:600c:3c9c:b0:3ea:bc08:b63e with SMTP id bg28-20020a05600c3c9c00b003eabc08b63emr19961784wmb.2.1678371789194; Thu, 09 Mar 2023 06:23:09 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:08 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:00 +0100 Subject: [PATCH 11/21] dt-bindings: display: pannel: add startek kd070fhfid015 binding documentation MIME-Version: 1.0 Message-Id: <20230220-display-v1-11-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1648; i=amergnat@baylibre.com; h=from:subject:message-id; bh=ZIT7zMlD8Ybmnc0MAE48dSiLfIIrFPqxzQFOQLpl7hE=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+G0qVP9OBtyeMgMvHIxMf6oq0XMUO3rJqXik3 LjvSat6JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZfED/ 414WwVYTAUFUxJE4CwHKrWcmoCVewOA/dd32LBGVdTz8vaKpH+2d1a5N9ovuTY4GW3H8kjpVJORADx 4Xmkf/2xqpoSp2G1tnQjX7gpPaiW1qEJmk0ItcAcOfzItflGiFnbiiYaVvZi6uigXBr77DusoqtZ2e 2d7TuAG86s+vZrISj3CfXsnZY6GOwMBoIz++ha8QV1WUuXMOE53gUBKUt8VSakC9Tj1HYP4L3UBox8 G2MrlJr/2NjismzZdJ1UEThjH3/kp9qZMJKNNDkimfX21jxvr6owH+AiEMBIM8bC3W6KAfidyapQn8 XzaXRfinr5+s/OPzcMvcJJhJwuZjsEpb1OQRZ5JSElVpYzvEwnvJ+6ZZC0XpgX721HbW3zE8UUMpSP JSFkEn5NCpZ0FAbhlcKPn6yH0mzb5VO5I9n9PLHamCgcjmpBB3UZ+GKK7BbC5+14TZk4XUYM1S8UlQ JPa6sj8/2jjLZWZDPvHGTgXyZcYf3kbHU+/HphFNdWttWktnm3y8MXF5oUdWXieUsGzEkrLokGPp24 RmmcS/f5beFeHXDKvVrBW00w7qJst/aHHOCXlUowrBgYy0cAHPBXdEX4sC7IKiwqb2GQbfs7+bUWMz H/TVDMy4mN1ewwGa0HahS+2c91dONKmtyyo/WEvhj3C/5kMC6yCiAXSWI7bA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062310_110853_FC1F1B4D X-CRM114-Status: GOOD ( 12.12 ) 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 The Startek KD070FHFID015 is a 7-inch TFT LCD display with a resolution of 1024 x 600 pixels. Signed-off-by: Alexandre Mergnat --- .../display/panel/startek,kd070fhfid015.yaml | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml b/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml new file mode 100644 index 000000000000..5fde552838e5 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/startek,kd070fhfid015.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Startek Electronic Technology Co. kd070fhfid015 7 inch TFT LCD panel + +maintainers: + - Alexandre Mergnat + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: startek,kd070fhfid015 + + dcdc-gpios: true + + height-mm: + const: 119 + + iovcc-supply: + description: Reference to the regulator powering the panel IO pins. + + reg: + maxItems: 1 + description: DSI virtual channel + + reset-gpios: true + + pinctrl-0: true + + pinctrl-names: true + + port: true + + power-supply: true + + width-mm: + const: 178 + +additionalProperties: false + +required: + - compatible + - dcdc-gpios + - iovcc-supply + - reg + - reset-gpios + - port + - power-supply + +... From patchwork Thu Mar 9 14:23:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167577 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 54FE4C64EC4 for ; Thu, 9 Mar 2023 14:31:19 +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=Gn1ywGeR7ETxdWLjGMimpqufayEk0mOd+Ni1tRGBxoc=; b=mj9XLNESH3tkZh ubaBiRhdvpTuSNrev14jyk0onGkgKmPeHYrYTdCYoPntcqB3DIqv/pWh03x7tqN2wzl59lrKNZUYR VAJE6/2UsZQVRqI92qVyLLxrKdNZI3Qv66At4tHWV64jTA79KRI6vRbDivgJV70g/pPeundxmsJDA G8NJiDlYkk47XyBZT59ue2MdcdhQimQUV8rQGuVRPCafl+l2fgbZxK+yIsNcAnzidXjQblO31slPQ JY4K3gNyyDrkjvUqCo1YJH0RnLD83FMMYUAQMI7CLTYv2Hw0iCEkGuDAh4bXfVdqZ2IyQ6j8tjkXo j3CFAv0UVuE5wEgsimtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHHQ-00AXBk-FW; Thu, 09 Mar 2023 14:30:05 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAl-00ATgT-1b for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:12 +0000 Received: by mail-wm1-x336.google.com with SMTP id m25-20020a7bcb99000000b003e7842b75f2so1333848wmi.3 for ; Thu, 09 Mar 2023 06:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371790; 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=kcvQAWEayhngzcYvtkzp+4NmbmEVpDMUSMsfJ+/Nd7c=; b=inzIoiESMhVJPKDWmSnc9rq2d5ZEHWXybJCCmws/aUqZ9N63Gok7tgyN44uwDRAZ3Q UM4gzSxTfDcSBaxMS84sw5MD+7rZnKrDnp2i04kTZvORGGNimCHpvo4G6GY20OQOhkIN IDFZTcueS7wSuNuCwG+hk5AlFsHPvBA/cPG/OUFPLRcQHyrFeMgOUf7co+dooowrPCu4 V1Wfb9jkKcAUFRKsbuIeof9fKBPA/WABcUpfsDVXw6BDmgtKrrYYQTEQ6QxUqL4U/PK5 AH2CkaJZPkbFEAsGXHTQdaxUfkQWgBd0TXAJ55fhXB0vP9OEQcyHGEkj1K2PUntekLDR BMTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371790; 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=kcvQAWEayhngzcYvtkzp+4NmbmEVpDMUSMsfJ+/Nd7c=; b=KxRRFSyTKSdO45mfPNAP/endlb5VQ7WrwgZUPz7Cz42u/l/X92u3ev29H5017kBTjL WXRmq5kN0P2FQMOoMA2GwmF5Rno7kL+wbT5zAdJLEwHHcl3W97tohJpn3UC35lh61/Wq 9obydEMeteAEdW+9v6K8oBThv4fP1FeqAIhaU1m3GLVxOpb85QQeBw/fEwcVEZ48eIQU CwSGEJXYOU5kg+ELiC5Cr8PHn5U2/AP/s9VkFQ/xgy8zyDPFZ8c0JH5mOowUBpTfbCpC Le7waa97Urk5N7RzGa45XJnx8oJCVLk+K9V696jkYp6elNu6i8pPCdPkr0tfG+54StCR HWNg== X-Gm-Message-State: AO0yUKWCGRUJ8qM1Iy1GhXeSzlZSnfySu5MT0U3PbNsPNy0FaF68L6ti NWXXzDeXP0snXqB2UVC4p9rW3+KufnZuagFiySw= X-Google-Smtp-Source: AK7set8M1EUCCZusFz4TtaKBc+jWDVOuRwllEILSYeHIvDvv8PEH9RZ87dmG5kiHvo7WJQGlJ75mhQ== X-Received: by 2002:a05:600c:35cf:b0:3d0:6a57:66a5 with SMTP id r15-20020a05600c35cf00b003d06a5766a5mr19297104wmq.0.1678371790305; Thu, 09 Mar 2023 06:23:10 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:09 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:01 +0100 Subject: [PATCH 12/21] dt-bindings: pwm: add power-domains property MIME-Version: 1.0 Message-Id: <20230220-display-v1-12-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1514; i=amergnat@baylibre.com; h=from:subject:message-id; bh=kJNESBJYj6hSPaR8ChRMowMRY/WR5pgSKuWA0748F5c=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+nVEDPPb6Gdh+AgHCjdauH29RygOJmjr7a8NR ctAw6CiJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURa2PD/ 9YzFDJCjDZcgP7CODOpyVYt/cRNXs9p9yTLCepRSRWMz1elUPgasCjdl78j9LEhjdZnZJ7+bWsn4sd 3pWRltutH9daZALNPyfqq2TuQqg2DxDkAhg25yaJg4DwtBIRfDCPbUYefAfg7dHVq/nQTgp+2Ugwf7 y7obSg5dgNYB+cP8n+8YVEIcW/X9+AzyMDSlM9VLOfhxGwuY1Qhw0Lb35fyj1BsQuIuJZMTVFXo+n4 z9G9Irii/MF2/kbweRjOX4bhoREmwPMBTa88ARJjWfafCOB0nN0g30wrvcGeaEoKHF58zv8slZkx8n Gyl5636sKO7qpvWuBsalHVEw9zOD3mrWD/B1Z+FlQ5VCpspfnMUP1jW22OUwTjDoam/z7yM3iBPrDN 7eghxhBtmd7N4z8jtmXJD1i+1Z4nwaLH6huBDUM7+2OlQzh7FvXQX3XKB5e640YK0GNoLlkBsvkcXD AX3xJvntzyAA4LpSDjGV5jQqE4NTbZQLAXOYQsACtSmX+Jbdp6OJPt2JPGj08J9OelBjwreAL88OV+ hyU5UJ7QxvojlmM/YmXvErdnrwpLlM3r7nCNFKwbRtF5LNgyJgu+QORw0+SJguftIAO1L150JGdBd7 0nLCkQfC7AGFO4tY/0f/dTUpmB8+P5wIZZpU9SrOuiqIk1Ld5leouoE5JK5w== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062311_146747_AD033247 X-CRM114-Status: GOOD ( 11.62 ) 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 According to the Mediatek datasheet, the display PWM block has a power domain. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 0088bc8e7c54..8a0005a8bf40 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -51,6 +51,12 @@ properties: - const: main - const: mm + power-domains: + maxItems: 1 + description: A phandle and PM domain specifier as defined by bindings of + the power controller specified by phandle. See + Documentation/devicetree/bindings/power/power-domain.yaml for details. + required: - compatible - reg @@ -65,6 +71,7 @@ examples: #include #include #include + #include pwm0: pwm@1401e000 { compatible = "mediatek,mt8173-disp-pwm"; @@ -73,4 +80,5 @@ examples: clocks = <&mmsys CLK_MM_DISP_PWM026M>, <&mmsys CLK_MM_DISP_PWM0MM>; clock-names = "main", "mm"; + power-domains = <&spm MT8173_POWER_DOMAIN_MM>; }; From patchwork Thu Mar 9 14:23:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167578 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 433CFC64EC4 for ; Thu, 9 Mar 2023 14:32:11 +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=1JFS9dMsQdWxaNXJrjsb4UQiw7dMCkGbHk2OwHtRhnw=; b=AIHFQ5aKhnI0Ki hxZJn3hObrkT3GBHpxvlWC2K52vpHenT982Vs62ccKfRZrUfHRGCY+emm7AqF4mWhTZRJs/Fy6+dG 3/XrF7XFEL34kyXBg4TD62B6oqWUr8vRlr7BSafw8f8O0EroYUIK9h2wKGy2rTPBM9cdyO29VQkP/ AWyc0Kfj3qEbi/buKrxCyGlCOLuOcj8366RSmfB1iruke2H4FwTs/cBN/SWaBs3dp/aSbCgBc1Swx moOMC/VfCQ6boiY7BvlOPjXIn4Sv43IG/Ng3r2v6PdVC/I4dlEitIQ/AULRpvgSPO7VNOoWriJaON NznDDVeBAJc1D4c5RZ0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHIC-00AXXM-CA; Thu, 09 Mar 2023 14:30:52 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAm-00ATfz-8D for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:13 +0000 Received: by mail-wm1-x331.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so3711122wmb.5 for ; Thu, 09 Mar 2023 06:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371791; 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=0qqXf5bg2DjJNJhs1P6NgIMh3qzJNF/ahtx7g412ZUk=; b=ndfvLtOXYALHaDJoXtdSp49ENX7vae8EKYXuZFkLtNANAPIAw34WH2YzswD/Nooya8 3ebhfQvLhNLuXY991eVi0dufC1kR0NJQjyFafWcknNRvOk6qWvsjPYMTnnLUGOhnRPxp XBamqA2qJLM5tfm8kDGm/L3lZSPFFDoO0vSgdKDq0rpU9S7KIX/NQrw3scveeaH0aocX PWrHMSaBct8mxhXYatGIDHQaJ87pKP31naX6KtwQWEONyI7U3fNqB5fivuL17n607fMD 9NN187wt/KupgjKichvlHjv+ExNGdwvTXMVQfMAIt24lt1BRmC+LTst+jCBPSz1bFigX gtCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371791; 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=0qqXf5bg2DjJNJhs1P6NgIMh3qzJNF/ahtx7g412ZUk=; b=nfrf9mt/nENWPHVcREVmThVmWZmWAB0gs8jsfaNDPHCh1TnbAbSRNf5zQvvu0Q7etD hpXz6m9RZEcnxZ5u/zklYGdijeQZ8MOMTqRR4FNOpiiITYoehv4lvxo4YIHYvpaZmIUF zTlZ61/SEOfwlLh06liBMqnDAjsrc78Q8a75JjF4RkjsEkP54PLajU43crcaLpBMTU2J KS75eimGiMg7yKcCULi5AFkATFJ2y13GcZsa+PfYgkG4PoFv6FUKtaN0Htco/SSXwC7T eD3ZLiZSYhDyv4aU0deO0JOGse15+oledNeQwD6NbaDc/x2W5ojrg66SpwMvrVegwljY f2CQ== X-Gm-Message-State: AO0yUKUmBvdknVUSjzqabx1i1Td+MV9OEf53Rh1LUyuyufX8E69rg8Bt XuzLbSfBauHa0MRxhiuXDQD0x0fbHy5QqfMyizI= X-Google-Smtp-Source: AK7set+ZmmzWQ3/OgN4ZN4jVYsGr7tlWPXJoWbP47hxERR2B4SJlxzP0Kn/jCQ5T5s3oDQcnLlQkow== X-Received: by 2002:a05:600c:470a:b0:3eb:2de9:8af1 with SMTP id v10-20020a05600c470a00b003eb2de98af1mr19799735wmo.32.1678371791471; Thu, 09 Mar 2023 06:23:11 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:11 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:02 +0100 Subject: [PATCH 13/21] dt-bindings: pwm: add binding for mt8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-13-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=863; i=amergnat@baylibre.com; h=from:subject:message-id; bh=kwXNFyz1fOvgD/9TFtO82uJ5GaLXf7euau/EfzDL2xU=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+imHhsQxqvhUMp6CB6RG/Z7QlHhbuEB4qhZ/W nCE1zsmJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZnDD/ 9HyJuOJIaZ0hAG+nBq1j7h6AbNDdMcZdzmMsE49awO2lTEJkNp4T+infRuAwKaenvmQT9F6zDOxBu0 o8RSBTjcQYdNMN7kVUuNL2o85Twc5+iWy0kqVR8UNgBpQmdMds6ecyW+Z5dc0R3J/ZAn4NcUN1j4eQ 2vueV9asBfmi6YN1FMJ2BKItAMlzNIqG9mQhYxbazbBaBnBESu3Oz159/le0uwfk/0fx4XXtfngJd6 vAySbbBaZnRVep2Ky115GP3RlNXblBeN+0RpA7vPaINCFIT/s6tvDrYHrhio43mPAoUDR+p+iQh8BY btjIAGQ9ot/n8GC7VFnPK4NRl8Fex+PisqrF35RsvAos46iLMGf6QR2M9edbehXHhJk3UzB0EbDX/r vNV6qLdoaTf6d4VQtVNIqHi866Abd71ICI8cQ6+TTvXde/InqVYIFZ3gCGacdqbfZg/YBvCTuYuh/7 LXFlMrLKWCgWOeymxy8eNDpvJgVxcloszuk+mj+YpimxwXMEvfbP4+97FhZoh7G0MynbBQO0s2HeDS 145C5YHOxv9Tq3ouPIoJ99UgRyTUvrmS3PtX/EFB7C399hmrZV3ucxamRojktLfRRUE6ZB6mJ8yoqi fuBJGEBkA6C9sDxeMsACrza/GY9JsEcYJs17H9A6KIBU7dD/VjFS97DnkmnA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062312_361795_F7737171 X-CRM114-Status: GOOD ( 10.17 ) 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 Display PWM for MT8365 is compatible with MT8183. Then, add MT8365 binding along with MT8183 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml index 8a0005a8bf40..889d2b376212 100644 --- a/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml +++ b/Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml @@ -30,6 +30,7 @@ properties: - mediatek,mt8188-disp-pwm - mediatek,mt8192-disp-pwm - mediatek,mt8195-disp-pwm + - mediatek,mt8365-disp-pwm - const: mediatek,mt8183-disp-pwm reg: From patchwork Thu Mar 9 14:23:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167647 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 38EA6C64EC4 for ; Thu, 9 Mar 2023 14:47:29 +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=kuckmNBteOQd3zr6v2x4mvXa54inTGsrr8Ktib756og=; b=gdF7Iyf/J8zMF0 lHzvAWNcmOG5V/l3mfhMh6BTwt59NSTufHwAAdLy8cp7DOUpcHXg55Xjp0kAD0bjJR9Dl/UvHuIwv WedYp+XqP+rwnHHkr4G8yz23fGiO7QSNhaKjTHq0gyP6TVpcixaHnOXuoogEAhKXv6GLUrFwQWvwo YHWPp+B7eAdHl+a2mGoSAtbW9/f2M+W9V/ucDZ4T3T8VXVrbenLScCSEibNLvHnkEH2PIsXySHEsX ZJmCuKTWOJfIukT+k/jfu1SZVvBMACL0u8wIeaV/QiNnfudQUnuVDi7e/6ogf03yGr0VWgDCea1lU c1HCTzZdmRxSibojXrbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHX7-00AeE4-Bx; Thu, 09 Mar 2023 14:46:17 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWL-00AdvD-BS for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:29 +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=V27S5KvL1K2vWz8itNvO9k+w4B1SxfR+kJPCaUnFWDU=; b=aJFNPCzignUZQxgrXDKH1Ekq33 dXMfjDSsDviLocIwbN5177tEnB0my6KANdpuRU8ERERKIsLGTvTpVxPAKMVOYnp7HhcYktSm9VFK6 Z/E8GA82gCVqYYJrKEGvE1YSZvyFmD+JxHO2FBs8Dmmxrom3UTLtBSlJApokG0XMNA2AdVN7rozgs nA2VGte0HCVucntWQdKD8jlQDRm1EyZsUUzb9wSxJ1TPMqvIAoTtcpiq7Lh+sySHttU7tDJqa5w7q r/dRiz2obeCwuJJ/lV7Gh5Jxba3acClWLolm30FPQz4/x06pDm8UKc8pQU9piFKtf2EwRvstxxAgm otSgogrQ==; Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAp-0008XN-1r for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:17 +0000 Received: by mail-wm1-x329.google.com with SMTP id p26so1260523wmc.4 for ; Thu, 09 Mar 2023 06:23:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371793; 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=V27S5KvL1K2vWz8itNvO9k+w4B1SxfR+kJPCaUnFWDU=; b=330zcWuQ1eI0pJTDza3EkL27nNS6CiD3tAro858PFxmg4oIgpsFYyO5TYUdnzrkOzH ALl7GKmyWtJZOlh5t+2Tzuqa1admlGD7PvhfF40lGwmwlkzvi8abQES7Xx79Lzxf5jq1 f+L/ciiLoYzniNS1+FAh5dt+mvCN7ncjNiv7yO/KBDZZ0E6cWyVvsIU44GGgqRR39WIH 0FPunCr3WfT3mQNjFimeRf0wnylgGKonXSvS+SoyeKrqPrD1rpQZxNYgTKlsRm6Tu/aM 2u/2dayRPPdDp5DG8LZYTM26csKitL4sSy7wJ+blX2oYL/jU/lBHT+H7zVfOd7HrfSkH CYow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371793; 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=V27S5KvL1K2vWz8itNvO9k+w4B1SxfR+kJPCaUnFWDU=; b=FEV5E08s/QTZD6FmuUWW3sYWJjBVNy6amWhFOR76J7DBEkD4QbIv12XpLgDsGGPLaO U/IfzEETWNeeOOxTQJA3RGfBri8rFIvJPDpP5khcaxLqEbywNUaNWHITMRcggx9cnS2P PNmVwHxG4QNde4oTG3OribgQ/t3UqGEmOX7H0ot2+8iZHhBCPLw8NKr6V1z9SZCqBBLX ohPF/Wzp+OLJ11UnrlwCf4CS8PHSLtnOtvbqmwi6WrKi1VKBADQaLLBYfKFE+Wei8IV7 bJ3MaciaB1PLVQ/dFk8DjY/QBXAb93PiTKMRdMpj6NjgNUjI8mcSCDU2WyugRx8gF1WZ KA2w== X-Gm-Message-State: AO0yUKUbbJ6fd3+mDG7oe/JSZTW0c0mKv3YpNEuFQtIWOgCjZnZNeqZ2 EyKapVtjdjgSBeBI81Jm2qfeZ821PBP5O5Excqc= X-Google-Smtp-Source: AK7set+ozYT3+VYr7fmgCHW+FD3/4xEoCNIdmOuH3nx6ozTZLs0TLqzYcERfLzlv8Ia7Ap+cejAasw== X-Received: by 2002:a05:600c:a08:b0:3eb:5d17:8ddc with SMTP id z8-20020a05600c0a0800b003eb5d178ddcmr20488578wmp.18.1678371792947; Thu, 09 Mar 2023 06:23:12 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:12 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:03 +0100 Subject: [PATCH 14/21] dt-bindings: soc: mediatek: specify which compatible requires clocks property MIME-Version: 1.0 Message-Id: <20230220-display-v1-14-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1598; i=amergnat@baylibre.com; h=from:subject:message-id; bh=0/sDiX4LVPAp/ORjzlykWzmFkIUKPbZkKZgeehvSSS8=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+S568lIEHHFVVzT7AxgJIhu0UcOZErtd2a/WI ARzoBjmJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURVHND/ 4lG+29rGq6SrgR2EsMecuTDpP5JQLgec8RtkNNvpDmwff13asS+8EIp6zntOA6EGx0ZFTGsqgKbUal UhO3PDb+5GAGF+fR4h/vVo/9dBzgaJfeC2laY1LPKjf0rVzb0L9eSKgg1cBfxk0NVkkNKUY+5QX1Wo bG7EOr1CxaEyILqv6BcMkwACgB5xr73uvlVgu3UyH97fMWLE4H5kyPKG5k/B6VBojkLs4jmxkBZ+hF yxVSoe1fdWj9ZtLApW5i6oXVlxagBxLVdCDpnl8a4KclUKWitJ1Zh1jvOxl8ENBNNSs1K4EY5cK/EM idnI5RODT4ekUztJ96mpwtDfyf3CW5Gkq7OvK+T1QBkHKi7cxWdcrZJVqWas4Q14XURvyDPUAxcSww f2/JdoL4vWHgb4tfRZHhLE66D7eiFhSymurDqyYEbfpXSkkYuQOEuBQZ26odiVVdzneGByZ7f2Ns+4 k0XGdQrs52QjZCHMPw9WJd5KZQy/Am2lFfJmurSQxF9wqX48Nnk2SIyd6S5h31dJTHGaic9C9eg/0g R8bVL0thuPclglLeth2ubZsJNqjXExMyvHBikkW93V2aqrqK30V44ngsGb/7ObMI0w1lvfTIUtzEaU JoB370ECUdcNd8xj3j0aGnlbiUlBn+xfhOZKQB7N759wWIjJPfO5wd97qVKw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142315_782974_37E7D7C6 X-CRM114-Status: GOOD ( 11.78 ) 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 According to the mtk-mutex.c driver and the SoC DTS, the clock isn't required to work properly for some of MTK SoC. Improve the clock requirement by adding a condition which is function to the compatible. Signed-off-by: Alexandre Mergnat --- .../bindings/soc/mediatek/mediatek,mutex.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml b/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml index 9241e5fc7cff..ca0ca549257d 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml +++ b/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml @@ -69,12 +69,30 @@ properties: 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/-gce.h. +allOf: + - if: + properties: + compatible: + contains: + enum: + - mediatek,mt2701-disp-mutex + - mediatek,mt2712-disp-mutex + - mediatek,mt6795-disp-mutex + - mediatek,mt8173-disp-mutex + - mediatek,mt8186-disp-mutex + - mediatek,mt8186-mdp3-mutex + - mediatek,mt8192-disp-mutex + - mediatek,mt8195-disp-mutex + then: + required: + - clocks + + required: - compatible - reg - interrupts - power-domains - - clocks additionalProperties: false From patchwork Thu Mar 9 14:23:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167675 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 2E165C64EC4 for ; Thu, 9 Mar 2023 14:50:55 +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=Coraq8wl9JyyCUCacMu75hGQW1qGz51uBY0flsJi1Os=; b=YU2Lv2Rta1bC3U k0MbhYNNj92taoZMYSXO9w0G87gjhGbh6V9PcZPbptdoQlkmjmofN6TsgNeWfX2AV9Vjy01ExHtxO eA4VnYgX/9T4aOYezGVq6h/YfHzfqBxDWTiax92hzFSXeEbMAt51ETQ1T6vqHSCCexspSpJvecRSq Iuef/5n3OIeoUAvPFpb7kVLNZW/9XpTCzSM2Hr1MgaYZxoo9NyfduLvLb1Cc3GnTAKfLUyE09Fxsq aSZmkWvJN5y1bLq7ONQ1C9BDdVnhlACrUDHG4n0wpfh9jdSfftuT/Bhqm4q+PmTU4lJEE3tCMDeaA qUB+tB1uwOXD83fp4qCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHaR-00Afdx-74; Thu, 09 Mar 2023 14:49:45 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWc-00Ae13-Rc for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:47 +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=LEWU70w2MhwOSDCiluJ5jAZTA7oYz0fVwDWXSQuba3I=; b=LIgZUgKMHKs6JL0W30F0G/bKkc owMxq7NxhkJorlPDzDdj+QQewC8nEEUeXdvGO+O97AjJgUPoJkU6fJmb2lntEbt6FkesQBu9VJA8O WOFJWwq3tOIOlW4wmtQGMuIZyN0+F/Wu0KCPTz0jlf2f5SYgfawThiF0Fgsxu0gkaFB5RC4QbfC9q TWwSSkn0ilO8/qBrJYri/sBjhqHkpzqVj9l/1rLNdk51Fy4b8gFx+44PG/5fJxO50O786HffiaEN7 DKqyDefHRoBzbHkQVoP3QtbBgpgfVVsMMbmaXn4nuFVfU4q2rlhZAdNDpgDLuKWZtu4EDPvVWNLjC VTReDMjg==; Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAq-0008XZ-1p for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:19 +0000 Received: by mail-wm1-x335.google.com with SMTP id j19-20020a05600c1c1300b003e9b564fae9so3724649wms.2 for ; Thu, 09 Mar 2023 06:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371794; 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=LEWU70w2MhwOSDCiluJ5jAZTA7oYz0fVwDWXSQuba3I=; b=Uy9GmSnzmwC8W2IQth4jvzJVz4DF8aIBvb1NDx8cQp1Ve2zLzT8bOKFqLx+YxOjXt1 cQFx5XrS7WwY8coUggeH8EGv8ydWk88riWIo4r3Gze1NjYXUQhX2jl4Ux5DeEpUZzVph +C6VLB+DAcYcxpcJeGEfZcan3vTUk3jw8yUNWr6fhCLz+rGkyOT3f5ecdKbDXbtZT9Gn 80qpXiLU+aGPdAPwXU8f7VBku4H1EisWk9tJN3ssm1m7VfxpKIpAbZGjOMOX9uWiRtCf K3wijJSfKx/SKddo5lieR4EJ+RpsnvVOklyUp3pDR/NS3maet6wEjXWrv4Y1w0zJ+4lz c6uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371794; 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=LEWU70w2MhwOSDCiluJ5jAZTA7oYz0fVwDWXSQuba3I=; b=YQPDDlLX+o86leLPFxyXoYdcKMCqoKULUEr5KEU2vDm1AbAAHNwOO1EIM29JKYrDS9 N9nI/14S2SxQ8nycUhYtceHm2q66AGUJJBmKTvSgkDu6uySS0SyZW70uiqzaXYa2YHQN 9JGnHX5q+G3QC6z5ZHYwduveDw8qjPRHXpGqvKdbaQQQE+qVS4Z/Or1RsVKQqKY/vSwH Z+34NgGMxLEZKvmmc6X9OAoQJPo0BCoJHmoUgAWtLB34nIz2RGxmqoxKu3mru2p+Gwl+ Mrb8fFzJw7PSoS4E9zcrXgHpY7bLoriYaNvRS9xUVvZXHrCMe7YWa5kb+2awqoKHQpxA v4Yw== X-Gm-Message-State: AO0yUKXZfYvVwEKaq+7RWY/O7AH0xxQzXw3RvmWbHqvGXgO5dONAJ7WU x76Wi+CQgMhfufaMBDEJJRRVpT59pay7Z58F2MU= X-Google-Smtp-Source: AK7set8PuvmkXWL+wpIKlle+LrJGYew2mgPn5qNgfXuV9WIQ5mVxYy9ir/mXx1rwJ2BDwYo88r9NxQ== X-Received: by 2002:a05:600c:4e92:b0:3e2:5c3:bcfc with SMTP id f18-20020a05600c4e9200b003e205c3bcfcmr20314611wmq.18.1678371794145; Thu, 09 Mar 2023 06:23:14 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:13 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:04 +0100 Subject: [PATCH 15/21] dt-bindings: soc: mediatek: add display mutex for MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-15-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=777; i=amergnat@baylibre.com; h=from:subject:message-id; bh=u3hjgpLNyq3fO/ZOqA0QoZtYSn63eOyCvnFXS09oJ2o=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+IgHy0ePxrcf/vmepoKgZe4MirijpQmR5gftR LJkifzKJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZW8D/ 4sDyGRtvesianVRgQMTi2XL9jhn8BlDK0xSC5oALNwkWT/4J0u0odLvyrWRWjdPnQTkAAaYi3NiEuw Iz6JvqNM3uisoI++joMSoeB3Ul834EbIRaQnHdUX/pzl8IHQaQHZYPmMKQwBGlge3cVI9Kbdw1ulHL PDW8JHzkAZo6D5vbki5sMTe14J+m1by+SQcPAc+Er0xkZZIN53bI7/bOSqJf9fzVfOxWTx+CsZLUgo zFgSLg7XBf64OSETjMBXvB7QIvWSU8UveRGIvHzbCFxDr1/Ps7WbrPfvClqmIxOgymXaFnhKN1Vinw GHOQgWF+IFIL6Ns4RCq7D7nEnRT0Ed829LLoEg19BPVe6fe8Km+cr16QerYBlWAxBgN2nuazTy2+Ig E88HbSybqrfiEvOnUtMaTOqofvDZ1JHudxw+MYdgHmiNiRn1Z3P+Iwnr7IrEmoz153kJdJfmmiWMDE 00fXsXX+cXZ4VXXbTKYdxaNGfSrw/hAH8Ln1iRo3rk6KqYiQwYAXZWysb+1idgQ13oUvWIEfWfDEt+ 35j6SYoPDMR/PEtKR7zokgwtc1GGNY7j+rDv/I5ZFplyHpnaaxEiYOnlIyVxBzIEE4933UTefedLAa DpOu5gQX726EX6wBi+MllBBCeg7wiN8gj6weycq9ujj994l6p41Gl9Psbnkw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142317_000676_2DC711A9 X-CRM114-Status: UNSURE ( 9.66 ) 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 compatible for the MT8365 SoC. Signed-off-by: Alexandre Mergnat Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml b/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml index ca0ca549257d..931d66893dff 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml +++ b/Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml @@ -34,6 +34,7 @@ properties: - mediatek,mt8186-mdp3-mutex - mediatek,mt8192-disp-mutex - mediatek,mt8195-disp-mutex + - mediatek,mt8365-disp-mutex reg: maxItems: 1 From patchwork Thu Mar 9 14:23:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167674 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 E2B0BC61DA4 for ; Thu, 9 Mar 2023 14:50:12 +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=5ybOmjd9Rsj7tRJIsslD3q4E+myJGiU6cx4gs50PHQ8=; b=roa9NRzd33q6o4 bnYMpj20ju+olsytBcd1HlF59QNCDaYqZTLxuwS/ol+7iKhrSzBU2XV/Iw03JuHV6pYshLpZx29D5 +oDA12pc9jMTBJwFiSV3/pvsO5yrnNyOZXEt+uGhTdtwgUk07pYZFreixxQdlScv0tAkya9NYQUH7 7cKKs4DhBJYpj3hTnSouhkhjiFAKDhkJTkJdpycAmnWoBULMTIxSx8lg0S07R/Rg8T1HG6O/DtViZ D4RdUChtAAzc/bC/WY2YGosfi0mAMAtBu9cBBxG/GsrbmdKYiGE21bWUrE1jci0RDAB7fOzvgfFoB FuWkfcPQQ0yFhWUPwb+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHZb-00AfJN-V6; Thu, 09 Mar 2023 14:48:52 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWW-00Adz7-Ae for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:40 +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=rrHyOJGVVKPZphnDrvAxKhanBrrAGjAR34WdSO60jdc=; b=I32y8WNheRQHIukOxt4ZOAstus gIyzy/8SPUXx6KJyWzouY1m1nzNUnmBy2ESGDykWiwcnQHTLjeHHrsqcssHFJOiJMqgFwlgernmGu RU/xEQWFjkv8zTPB5/lwG0eFDVROwova/9fvd/BbHRgv5iBdkPasbTCreFEL6fnIQt9aM42Vc9Znd pZrNSADPxHiAnNga14OXI0IqcZcVX5hokCnkgUQkTFRlNs+BUIs4Of5UUFy3lZ6rpFmLkNGqn+ZBN +9/jtlmRvL4a3vVxZeNRJ1n5GfB2J7SnG+CFTeCHZGP5/imGgvDTbksZ4U9LcSsyMo2Vsa7UTYrjj gHEl94+Q==; Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAr-0008YE-2F for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:20 +0000 Received: by mail-wm1-x32b.google.com with SMTP id ay29-20020a05600c1e1d00b003e9f4c2b623so3719022wmb.3 for ; Thu, 09 Mar 2023 06:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371795; 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=rrHyOJGVVKPZphnDrvAxKhanBrrAGjAR34WdSO60jdc=; b=Fu4swfnOqXhFan7iDucc7xb3KTvLfmD3rY0dO4+hx6VNDXsQ6VrJLAEg0Kd/A92kEb sTkCKKy3tROj+UX1Yo03rPVGOfrX7nX5uM7DMCkSUjijhW+5JygVuZuYZycc8u7oHNl5 LP7LhiW6x+HzXGTX715ftpirU9KGJt0SRBJJUBoN79Bq51VhUTtUZSYTZRAo8s5F7lV1 k4tDCiNySdZgF/scrr8YXJ2ScL4Pi3y60wbCmA9SkxN0icAELyWorTglAcImb2sLNOak FcvQMWp/O3Ye4GalUaevFyoNmD+x+SqtdjhOrzwhoehs/hfZ/q5D9qntTy11ElE5iso4 gKCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371795; 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=rrHyOJGVVKPZphnDrvAxKhanBrrAGjAR34WdSO60jdc=; b=qB2kf6vzP1f9RHsPYCdp3Af5irWfaa2JqXVY+OkIPfD3WT0RBFFe937p90H2iNJbGs 2VFYbLipOLTmopu+yGCDlHe3XM1VA2+Anv4Kr9f53Kxl+P3Vl6c/usS7e/fddKeuL55B 73+0K0pnmqCKSEn3fooAkWYubtF2yo601Uz8m0nlu1uu9ahlguEHjIFDf9/fnfYhOKcv hh7NgKNjm906YVl82l1dTsUOQe7Y17bqn6tRL+Q++091K1pBVuMJCc47V9WpjqJtVEYO T5vBqh349kOweEJMW5m5sCYJjo3Ky+MXDElNWCWuT6Wd3XyqGZYLXwPUYyTfowuQ8BMI yZhg== X-Gm-Message-State: AO0yUKWKjZtojImujfuOQ7l/1qulT5/G9VMgGGMw3gZwsszw2IkAhZii tOpET+zo5c9imP6zwtz3IF76D4uNMUe8j3YLjFI= X-Google-Smtp-Source: AK7set8QzTG7TmgZJszNonlu47Y/YSVtxnjb2KJag5vLlR/L0+qe97KJTCRO3KumfdwqRjyTKbKa4Q== X-Received: by 2002:a05:600c:548d:b0:3eb:2da4:efe7 with SMTP id iv13-20020a05600c548d00b003eb2da4efe7mr19116206wmb.11.1678371795392; Thu, 09 Mar 2023 06:23:15 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:15 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:05 +0100 Subject: [PATCH 16/21] arm64: dts: mediatek: add display blocks support for the MT8365 SoC MIME-Version: 1.0 Message-Id: <20230220-display-v1-16-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=7078; i=amergnat@baylibre.com; h=from:subject:message-id; bh=Wcti2dvDst5Omc+NFAWMgHvZj4frfA6jiTsXq3Dxas0=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+OIcpvewld8ZYN2Vbsrhev/msnpReDI48gZpB gUl99NiJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURV0jD/ 0RIKT8+GT66C2rUCUHwprqNN6l/IX34iGyrDryWBWohtZ/7DJsJ8UCohV1jdJsuBG8viNEtZRcU7qF 1tcaaiLIbEur70toCIzznb0C1PtwgZp3Uvuf+bFhTuw1VTSgRQPfHFa+L2RztqWtSJe9bQG1V+qIuv mihfSBmY0Tjjsi2WaibcwkgW7HQv8cc0iP9GC1jZWsLwzgExR9ei9iGpjISEISMDgNcsvtwrKrbaSK bbX5VKihbClnWTMCepLMARGxRpV0+l+fqG8NevMM7DE2/ve/RB5k11pepXm0OuehyG26Yc5k/8Sjm0 8cCwZaLmXz8s2UsiSqfx3+jBSv+kmtm5DS+FODBZ7O5qXOk5jWWrzAOHb7w01Off7kezBfJUCdd7LI aF0yB05160XrZYcusXahhOkg2CSLnQ2hTjRwhPGe19K3sAhGm96zywJvm+sH/feoKZfTky0vmNXoZb UhtfN8DW/8Y3RiCOeYPVt9hISjjhxY0lFj95mfmngjv6bbVv80iKwzTJNohLa0nd57fcbdkvAacQA1 7uvnw2WMFWdtpilWbEyNgx+0mVhy7V0pGvQemo2MzmnLX0piT+/zRHnU0e990eJwuyanYp6CAXkJdd 9BCP6ruVjONjuXVlUciJpk8oA17557gSpmRlJFv37I3AZ5rQVsfJ12Nhc2Sg== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142318_277411_8FE268F6 X-CRM114-Status: GOOD ( 12.60 ) 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 | 147 +++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 1034b652dd0f..49d8bf145933 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>; @@ -481,6 +495,17 @@ 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"; @@ -580,6 +605,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>; @@ -609,6 +643,13 @@ mmsys: syscon@14000000 { #clock-cells = <1>; }; + mutex: mutex@14001000 { + compatible = "mediatek,mt8365-disp-mutex"; + reg = <0 0x14001000 0 0x1000>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + smi_common: smi@14002000 { compatible = "mediatek,mt8365-smi-common", "mediatek,mt8186-smi-common"; @@ -633,6 +674,112 @@ larb0: larb@14003000 { mediatek,larb-id = <0>; }; + ovl0: ovl@1400b000 { + compatible = "mediatek,mt8365-disp-ovl", + "mediatek,mt8192-disp-ovl"; + reg = <0 0x1400b000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_OVL0>; + interrupts = ; + iommus = <&iommu M4U_PORT_DISP_OVL0>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + rdma0: rdma@1400d000 { + compatible = "mediatek,mt8365-disp-rdma", + "mediatek,mt8183-disp-rdma"; + reg = <0 0x1400d000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_RDMA0>; + interrupts = ; + iommus = <&iommu M4U_PORT_DISP_RDMA0>; + mediatek,rdma-fifo-size = <5120>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + color0: color@1400f000 { + compatible = "mediatek,mt8365-disp-color", + "mediatek,mt8173-disp-color"; + reg = <0 0x1400f000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_COLOR0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + ccorr0: ccorr@14010000 { + compatible = "mediatek,mt8365-disp-ccorr", + "mediatek,mt8183-disp-ccorr"; + reg = <0 0x14010000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_CCORR0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + aal0: aal@14011000 { + compatible = "mediatek,mt8365-disp-aal", + "mediatek,mt8183-disp-aal"; + reg = <0 0x14011000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_AAL0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + gamma0: gamma@14012000 { + compatible = "mediatek,mt8365-disp-gamma", + "mediatek,mt8183-disp-gamma"; + reg = <0 0x14012000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_GAMMA0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + dither0: dither@14013000 { + compatible = "mediatek,mt8365-disp-dither", + "mediatek,mt8183-disp-dither"; + reg = <0 0x14013000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_DITHER0>; + interrupts = ; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + dsi0: dsi@14014000 { + compatible = "mediatek,mt8183-dsi"; + reg = <0 0x14014000 0 0x1000>; + clock-names = "engine", "digital", "hs"; + clocks = <&mmsys CLK_MM_MM_DSI0>, + <&mmsys CLK_MM_DSI0_DIG_DSI>, + <&mipi_tx0>; + interrupts = ; + phy-names = "dphy"; + phys = <&mipi_tx0>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + rdma1: rdma@14016000 { + compatible = "mediatek,mt8365-disp-rdma", + "mediatek,mt8183-disp-rdma"; + reg = <0 0x14016000 0 0x1000>; + clocks = <&mmsys CLK_MM_MM_DISP_RDMA1>; + interrupts = ; + iommus = <&iommu M4U_PORT_DISP_RDMA1>; + mediatek,rdma-fifo-size = <2048>; + power-domains = <&spm MT8365_POWER_DOMAIN_MM>; + }; + + dpi0: dpi@14018000 { + compatible = "mediatek,mt8365-dpi", + "mediatek,mt8192-dpi"; + reg = <0 0x14018000 0 0x1000>; + assigned-clock-parents = <&topckgen CLK_TOP_LVDSPLL_D4>; + assigned-clocks = <&topckgen CLK_TOP_DPI0_SEL>; + clock-names = "pixel", "engine", "pll", "dpi"; + clocks = <&topckgen CLK_TOP_DPI0_SEL>, + <&mmsys CLK_MM_MM_DPI0>, + <&apmixedsys CLK_APMIXED_LVDSPLL>, + <&mmsys CLK_MM_DPI0_DPI0>; + 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 Mar 9 14:23:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167579 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 587A6C61DA4 for ; Thu, 9 Mar 2023 14:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HyBG7GjY3CYhZLvkjyqsMjOZWToMR9uTQUpoFoVdtyA=; b=WNI/7txuQM19L/ 0aRhHd/pWD0NviAl/E8y6KNkJx8U1cA6bdnJERnE97usm+Nwq9K6XhVTjFfX43L1z01Pnl21yqqWZ HxLCreBP2UtGlHMEyUUanR+oo4j5sUbVPHeiI6F5Y/fY9GMkrfRorXlrK6CJIrsHz9wmRIj/KYMKK jAVWSVdCcdrruQtcyEgEznoM7EserUbyXrNOblrIgInFCkMk6NO02Bo+kP2dPbc1f2/b43pS4r8iM OSHpy0UJq89H4gTWPbHqs4hBmjNFt5JNJR6ZQw8cg8JMJ1BxCY0PXgUJpwYuEsEnEqfNO8sVCVCMu x/yznCqVROMDE1AcZsmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHJ8-00AXxU-RB; Thu, 09 Mar 2023 14:31:51 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAr-00ATm9-Cv for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:19 +0000 Received: by mail-wm1-x334.google.com with SMTP id p16so1261421wmq.5 for ; Thu, 09 Mar 2023 06:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371796; 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=VYr2rTQd5OqqFlwn0mh+b9fBqUxfXxgKh7jA4m3c5ZA=; b=A564OYtNJLEhNE1scz/6CLXDNTdTSS+mgCdAPZuSC0lv4boZlc4P/T6kJMQwWF0TGo 8SbJ1EEXWOCu9lqvgM/3yIQrf9AFY8gWqNHfjGr5xkfry9asdObxjQ2t+r6DQTjaKYLs Ie+1QYG7Qszqg15rIzUBVGbhMU52gbPuYFKrQYqFfyIMQbScm0IzCy8OiUxBTF5SNufv 8CudAesL4secrsbdyRNOL14uztwvxPodNBfIgKXLkK3jTFC4FmB8a6GHm/COF8siLmWt E8xuV/gDUKhF4LYixoi/VSMKPuNN64b74pAumSdH0eSMbNn8ccE/w1RAm8+8V3pm65jF aYAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371796; 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=VYr2rTQd5OqqFlwn0mh+b9fBqUxfXxgKh7jA4m3c5ZA=; b=kFZdIzJ8oVnxUDdcTICYRdmj4eoxX1EXQ5fYvya21LXpVvaP98SclbVFgClC79ACcT nkzajKYEcj3wUPYVFZTfuxPaUamXdULAsY5vSuH4HEaYXJrdWFoGI1caLz5QOId9Z2Y6 XCngcqS+PH3N5Po+u1xybfp2zS6DJsi6j7Gihfk3+zogRYIFIzPuOuhEksT54Uco5anU YyDPfgzESRH/3UWBcRlnBRSzttP8hbsB+St+LAx7ERx2x7clDnKitRJJrf1jYgvR20Wo hFS55mtxJlBnpOdSGhN7eb2RbS3YmOWj8wvRvwdqrFfcMwdnnsckZQJQjKKfIQTXSWFy 3Fag== X-Gm-Message-State: AO0yUKWY7vFs/kMQ6NRNlJEGrJK1HLYOw+yqId39ad1ddZlOSAe7nSoX OihJYUM5I9spHM9PQFCaUbRawMEz8uI90tsXOTc= X-Google-Smtp-Source: AK7set9sI5gZVZZTbNv6xVHUoL83H4u7fW5NjL4o87Wd2GPGYAY1pkmkyjTiFf74CjViJEH/WR6VIQ== X-Received: by 2002:a7b:c8d9:0:b0:3eb:2067:1141 with SMTP id f25-20020a7bc8d9000000b003eb20671141mr20381222wml.38.1678371796548; Thu, 09 Mar 2023 06:23:16 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:16 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:06 +0100 Subject: [PATCH 17/21] arm64: dts: mediatek: add display support for mt8365-evk MIME-Version: 1.0 Message-Id: <20230220-display-v1-17-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=6680; i=amergnat@baylibre.com; h=from:subject:message-id; bh=E1//0k1NYcUIDwg5zv5tn0PC2KL+Uw835ZkCZCGrLDU=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+68OwYw2MU0lI1uTlfqB+5VstpOZ4Z1JEuF4H 6r/nUP6JAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZU2D/ 9On0dg5e8cqzNThvm5WqK0hQjiJvjlBwj+v0KdvCdu7AnXIjTgMYKjDopomNHIemVQubvcG/AUFgCg IWrXEaxaBvpqzDJKulaoR62WfJLcKmCnFjHrWurwUzuCElGMyDW9W1iiCsmwE4a5pRKCmE3DDLROoS TZiLc2rsI1GUGqSbunpInCLZAozihnqUaAuWof7qTvkPZmp+T67MLNjta8679be5fCcPvi8wJFPKmI FNMfTTFBdWpz7KgZPZYz62z6WZ9rRmVRqSpVv3siA3XLqxrVAkGsLNbepfF72zpzbdRUihsJw6DZ8N PkpOgJVrFxRqvz2YhaXyFqDKnZ9maCYf7pjloR391np47FmhvHYNSBz7f0OTT2IwhInJAyTZFwDEbz DLjeC8IknCxa/DCRg1gHHzRuBZnJpISuaVVFQ3iO8uvmjo2b4JNTOoFOuTn0lKvuD439m4wKNVCfcW t1W6vyoUPEklo0q/7fyznM4/wdhCiwOihwIg8d6KcePZTISK45Lwv1dBUr6XcL1nQKUzScgYFcJkzq xqOxjOeaZaqd/XDHzVQs5nSVveIHTRgeM68oTVH0EugD7SzXHlOFgPh7rwMvSeZb7sc2O6EBr4iC94 QpFqj6DuRX6Ah3jmmH+NuWnLgSvaI3x7GU+SaxgG4epU3ur86n//3lGNtLgw== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062317_505897_794BC393 X-CRM114-Status: GOOD ( 12.97 ) 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 | 204 ++++++++++++++++++++++++++++ 1 file changed, 204 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts index 30850e7c8155..793f5a9cbeae 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts @@ -26,6 +26,18 @@ chosen { stdout-path = "serial0:921600n8"; }; + connector { + compatible = "hdmi-connector"; + label = "hdmi"; + type = "d"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_connector_out>; + }; + }; + }; + firmware { optee { compatible = "linaro,optee-tz"; @@ -86,6 +98,59 @@ optee_reserved: optee@43200000 { reg = <0 0x43200000 0 0x00c00000>; }; }; + + vsys_lcm_reg: regulator-vsys-lcm { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&pio 129 GPIO_ACTIVE_HIGH>; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "vsys_lcm"; + }; +}; + +&dpi0 { + pinctrl-0 = <&dpi_default_pins>; + pinctrl-1 = <&dpi_idle_pins>; + pinctrl-names = "default", "sleep"; + status = "okay"; + + port { + dpi_out: endpoint { + remote-endpoint = <&it66121_in>; + }; + }; +}; + + +&dsi0 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + panel@0 { + compatible = "startek,kd070fhfid015"; + status = "okay"; + reg = <0>; + dcdc-gpios = <&pio 67 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 20 GPIO_ACTIVE_HIGH>; + pinctrl-0 = <&default_panel_pins>; + pinctrl-names = "default"; + iovcc-supply = <&mt6357_vsim1_reg>; + power-supply = <&vsys_lcm_reg>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + + port { + dsi_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; }; &i2c0 { @@ -97,6 +162,50 @@ &i2c0 { #size-cells = <0>; }; +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + clock-div = <2>; + clock-frequency = <100000>; + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + status = "okay"; + + it66121hdmitx: it66121hdmitx@4c { + #sound-dai-cells = <0>; + compatible = "ite,it66121"; + interrupt-parent = <&pio>; + interrupts = <68 IRQ_TYPE_LEVEL_LOW>; + pinctrl-0 = <&ite_pins>; + pinctrl-names = "default"; + reg = <0x4c>; + reset-gpios = <&pio 69 GPIO_ACTIVE_LOW>; + vcn18-supply = <&mt6357_vsim2_reg>; + vcn33-supply = <&mt6357_vibr_reg>; + vrf12-supply = <&mt6357_vrf12_reg>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + it66121_in: endpoint { + bus-width = <12>; + remote-endpoint = <&dpi_out>; + }; + }; + + port@1 { + reg = <1>; + hdmi_connector_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; +}; + &mmc0 { pinctrl-names = "default", "state_uhs"; pinctrl-0 = <&mmc0_default_pins>; @@ -150,12 +259,60 @@ &mt6357_vmc_reg { regulator-always-on; }; +&mt6357_vsim1_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; +}; + /* Needed by ethernet */ &mt6357_vsim2_reg { regulator-always-on; }; &pio { + dpi_default_pins: dpi-default-pins { + pins { + pinmux = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + drive-strength = ; + }; + }; + + dpi_idle_pins: dpi-idle-pins { + pins { + pinmux = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + }; + gpio_keys: gpio-keys-pins { pins { pinmux = ; @@ -174,6 +331,36 @@ pins_i2c { }; }; + i2c1_pins: i2c1 { + pins_i2c { + pinmux = , + ; + mediatek,pull-up-adv = <3>; + mediatek,drive-strength-adv = <00>; + 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 = ; @@ -315,6 +502,23 @@ usb1-vbus-pins { }; }; + default_panel_pins: default-panel-pins { + dcdc-pins { + pinmux = ; + output-low; + }; + + en-pins { + pinmux = ; + output-low; + }; + + rst-pins { + pinmux = ; + output-high; + }; + }; + pwm_pins: pwm-pins { pins { pinmux = , From patchwork Thu Mar 9 14:23:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167583 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 8E05EC61DA4 for ; Thu, 9 Mar 2023 14:34:08 +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=Ra4CgCqfeM9/2KbamAm/lYLlxllrjfGiKyx+tKwwViI=; b=1Kpi/0enMzlRR5 ZylseFfGuD4KEbK7O00+iqj79/Su7X+WEyqjAMIxDq2zQPdOWDuEkycgD13bRr7TEI3+Oshy+JVMI dYaDqGKMBzsw9OOrQtppZdub9zeUXsp62VqQuS0WnhdauxD23lxG4A16mqhbwmtUAy2ZQ65na+zt4 Sb9zAGQApwrLoFmM9hS7RjErw391QB+24aG6Y3XDf2dGCsl8y5A83Vfl6cI++rYVFrvk7iRTX8cZd gjkhVKhdG9xpz787nzTnpfZ6V36FaWoPxsFlgMrbJbxBtVA2y7SusHNQoCDuD4LFTX/l/aNCL2bkc xl0SgMzsYMnu/wzAt3bQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHK5-00AYPx-Qv; Thu, 09 Mar 2023 14:32:50 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAt-00ATvZ-TF for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:21 +0000 Received: by mail-wr1-x42f.google.com with SMTP id q16so2055681wrw.2 for ; Thu, 09 Mar 2023 06:23:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371798; 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=9/9vCBz7vbbih/lGkwmf+FEiexLxZqGCZA0WwN10Gcg=; b=iR41EdXLcY9VmMqJ50wJe8DxepsDnm3Avc5gouB6/svk5ih5KOyFUnMsz8p27ckXPI 0gOMwjO162Erp1Z58W9sV/sh8R01CFL+0tE3RO8y0H7wU9ov49zSm+oudXb9sPqMexp7 /xzKoRzA7BS5qwBYi/l81ZDJUAjCr9UVUqAuPAoW3pfuwMcUQbUUdx6mWLr4QfDFHDcc jA5iuY/FR8loTZdfEb567T4q0bM8A/o8x4tCp6GsGOQxyYoLvgxUg/rHmDNiwUVa9SaO 4/gDznsmQqxeHoKtgQI4AnJ6tjAkJdFqfMC8TD2P/z8dL0DnLiW5LXwMjQY0zi6d1uZU Ac/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371798; 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=9/9vCBz7vbbih/lGkwmf+FEiexLxZqGCZA0WwN10Gcg=; b=CESpkoD28DlcMOkfJbyEXeNpljr3ZsrtaGLYwKpRs+JGDKTQc7cCHqWarKME0Kp3k7 ygMTl8kvCl6Nhb6blY3tQIpR0UZvJQoev1BTBn+MpEPaCWVCKQ9NUYFCuN4MxVc6s4m6 oR5QpXF8UojPV3bzczpAAk/Kc5dDCyH1A0pW+u/45BJtw/Ckwz17EE7VFLcf6w09oawr j7tcoGueOKFN0D++KQQjvwi4z1J23oHr0wYkROWyK/8fcrOFJHQ45h8Y6875B7sjKExV hstFIqnS7fp9E2191iONQwbcFpBuTI7aGLiVSg00clEXzwevz3t2DUc68iqQ8vaChFOX jhBg== X-Gm-Message-State: AO0yUKUsoWuzy3lolTZsZwNAhxhW3aRuZu1Gxa1x+d98g1SiGEqfTQFL 5dzcbBy9jcnjNhmS7QfsbqXI7oAOEYbI9XIl3MM= X-Google-Smtp-Source: AK7set+I0/ScP4SoVVLH79fHBqsv90Adjnwakl9v2Z2Ku5kb3jT39ZJyQd/sDPiy8yRapuXBhAaTuw== X-Received: by 2002:a5d:65cb:0:b0:2c5:5ec7:43bc with SMTP id e11-20020a5d65cb000000b002c55ec743bcmr18750369wrw.18.1678371797937; Thu, 09 Mar 2023 06:23:17 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:17 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:07 +0100 Subject: [PATCH 18/21] drm/mediatek: dsi: Improves the DSI lane setup robustness MIME-Version: 1.0 Message-Id: <20230220-display-v1-18-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1237; i=amergnat@baylibre.com; h=from:subject:message-id; bh=EBgpLyWateYNZX8XUe74shY32q1eVTHyK4Cgywlf4I4=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+czZ0Nf/pPTdrIG0J4SybkuXb2pnV+MfQKa3s 6O0w84GJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURRyID/ 9CnYh9rUbc4xP78TqMzB81pS2PcGxhOcRpKPDqDPBsQ8MkxsoG8+MY3aHW0oWOYwkkCKJILq1eWvrZ FcGBxafCafObuCEud3eX/BmgrilCpkw9k14ReSAhoLBleabN5e4BHhxGwdY4MppGPkp5z4tcO+cBKo 3NLvSlo7vGuU6t0pyo20+qO+Lgq7gyDW3qRYDQKyq8IaxIKxdTBJYJNUaZ7ys7TuQ4ljzSqdtle4xJ l2BNqkNuQfsq8NQ33JmFcv8fr8OjREJ1MkMJcGQ8yjmF7odFz0S00bNX8mOTCDNkuyL/gbUpMwym7j UDpymWJ38bRBsUoDiVbCZvFkpLyxmO9FD4OYNAK/FsSDWLAHsuSbWiEVSTIoUEpTz40K5hrN4MTVVX ZMY6bRv+KWIIfOqflp4HPRxHbMEPykdomliNR+UpGXU9RbGmiOVSIox47gyIK2ehXUPi6uR0hYmMA+ meTS4KhKpspzecO0R1jj2ocU73Bj8FMaBsR1ZeZQBxehsGGEyZnuPBeI87HC6zGceNO4bfmtxQMEoO qpVdgs/c2cZ3lBj7PKzAw29XuxFAzFRq6UIJPYku+GJtrC/ARlfmxQVgSbfP53xN+TxJ0znX0YGjAv qruUaP/4i4Vh0y3GHvZeBUTuyBur6wgU6j9w+hojKtE0FBIRpZOvzCRRta5w== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062319_980563_C78B73E0 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 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 3b7d13028fb6..35c36cc05c04 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c @@ -667,6 +667,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 Mar 9 14:23:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167649 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 7922EC61DA4 for ; Thu, 9 Mar 2023 14:48: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=wGqBe7gz4I9KtUE5W4nC5r/z9MdHrk8dMskcsCYEBeI=; b=Oo0urXWx96/GhA h7UReAzvQEFE6NkmR5fGZzMcUeELVeJnjFhcPFwkYySJM95LiBoA0LrQhsCW+vppuWjVTgDUd/Mzp TKjEOpIJQ9DzSJfXb4D2pBGZKDZppXPzwmtqNTPU59hJkpCr/YAWlzDvlfsr2LVqYhZ7ByYaFc5wC /nM45b8dNli/a2zUdTuiHd5PbYBjS6pqMidRSFvVI9OpJuBQYHlaCe4nDGBp4zj5sVUlmcCj2gP09 t+NADUKUrItgWgzLSfPJiGkPUKC7zOKrYkfx7/jGdyspmaqbKkO0FPohsHJFEuJNSNDueE7gNc76p rlaCNZtWU6x4fc1NI8kw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHYa-00Aest-8q; Thu, 09 Mar 2023 14:47:50 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWU-00AdyS-Lj for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:38 +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=alc5ZV/1pwYoBZ2ycwbaMzjt9nufHBTeIsNkvP9Z/qA=; b=lAfbHezEwiZMtwn1R8MdTroWQ0 wjbjOYvpTUwtdyYxkHTYJL22aZbywKLJKSrhr//wm9Gw3Yve7F1hVzAwBXlVquUeE3iKkIUYehSAa p9C7rAYWGrzobzdBsO6cME5Wy2cCmACGMJN6qv9+nmds/27kwpHCNToy3TbyvYM+kkKspJtaFC/bB V6uTJvZVPx9qkTXgQP+0EY9baLpkI3IdaucwjaFmP42CnA39PJpeSPdckARzt1Pik9DtDL6dO+B00 IHPJ9fyVLfbnFTnR/5F96p6ih+TspxXOlsn5VU0Rn/l8Lr4WjkvQVIDUc3S9oy7ULtBztryIfLK9G Y0ryR8tQ==; Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAu-0008bH-2G for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:23 +0000 Received: by mail-wm1-x329.google.com with SMTP id l7-20020a05600c1d0700b003eb5e6d906bso1328174wms.5 for ; Thu, 09 Mar 2023 06:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371799; 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=alc5ZV/1pwYoBZ2ycwbaMzjt9nufHBTeIsNkvP9Z/qA=; b=vua8HsX6kKMtxhCOPTEhPvzbt17dD3wWW2uq5glryvHByylmTsLCpgU5WM3WNUF0cO wzB0FSV8uUa3MMF/4Qqfieq/XGppreoONGRPZCL/kiKdsvqtHrasMq8I4AMYTux85uAW CyVoGBsp3ybkrMGZ80QS+feAsGNiiJf7FFmYXyPMbPBB1gn54JyAv2A5LEYoaTXZNVlA qq4RT02R0VXjUZyn8ClKB4blQNYyF9CncPLPwOP8KqylLsvT7kkNrWqYZPyCD0hqn/Bg EHen2OuYqWhqANYBCYFF56aErhBRzfRI5EGHKGzmlCwnGuy2LcUlaAcfY5EchL2QinhX JZEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371799; 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=alc5ZV/1pwYoBZ2ycwbaMzjt9nufHBTeIsNkvP9Z/qA=; b=Jl4aaPkkZrDYDmN20S6swlogQXx5gf10/7E4CkYaY7FVHY7Sn1B5tEaRLMu/4hEzlS yCx+CVreU+JlDRMA7JKbBMVXpSwlJYgJOX/uzCU3dtuawlGgC7AfYeJDgef9qF5v4/rJ eF7uqIVijJl17oV/nmxeVZWgtcycIdpVhkvhIurycKTH6lEktQ62x9w1LYbdMs+jhGLp wP5cAltWUZcpmubyHGv9R7rKJEOwFLye5d0gdX/24O/4o9nAirKpAMnJzHuq6iDgh4HP A3WKX3W2l7XPYDglLQBOk/anKJcKBfV60It4Ekm4bnlfVuPqmR24nXWRYg0DQRmw4hxO nR3w== X-Gm-Message-State: AO0yUKW3MvjQ0xzdh5SJy+xypzwDLddcpZBMSvtUkqtjTeWKeADyD31Z rAInjBGf0ndk4MqoNY3Ym0lpMy9mc5RF6ovwTl4= X-Google-Smtp-Source: AK7set9YP71aZ+iDxfdYv7zEaWCrl4hWKev1CRBj3uDH+u/8sul7d53lYUV5ewUWAi7P0urgT2YqQA== X-Received: by 2002:a05:600c:1c05:b0:3eb:4501:6c60 with SMTP id j5-20020a05600c1c0500b003eb45016c60mr15940998wms.5.1678371799212; Thu, 09 Mar 2023 06:23:19 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:18 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:08 +0100 Subject: [PATCH 19/21] drm/mediatek: dpi: add support for dpi clock MIME-Version: 1.0 Message-Id: <20230220-display-v1-19-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2131; i=amergnat@baylibre.com; h=from:subject:message-id; bh=LHehVthqafMFi2shlzhoL6bucBM/8YioVECWdgiMt+E=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+fJd/zbdyiR8zrIOwZ5qUWp3Pc/rEc2f1zcfE aU7fNHSJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZKiEA Cbnd4JuCuoVv+myBWfMfN+Xe/5r43m//AH/pF0zz/dKWYHjR21eVuBr2nkywXEB+R6j2g0EA1tvEI2 3yHndYsPjOEMgSIHzwH7E0aCUJ9KN4wjI7mS1fPjFKO4JIyIB/BGm5v7JkokueaI+hiTDW1NzD4G8V mE5HCXCvQuTs3CcyLp1mzVcLkh0iFW5EralJF29N7+XvudmxfKgiHxzCYdzKOU+ErUZwBQJSOK4HHu 7ApWDCfzG/zxWdFSFAsIcy4LZDzEQCrEIWYZut//aX5WxO1Ln91OcbSzGBDX1jQYG+NlP1be9QqJHc xGvtbyiG0+zs0t2tAyyPgBywfRZNtCgT57eIW+LZfmbyL00VxSeGQ3r8VFZYGrs6LHmoBPza/7bFcT LksH73pmIvnFNKBeUXKgrQedPu5alhwdM6AIgKyeoZ++dsWX8ExvfPh5w48CBL9j1kFL9c7KPsAa/y y86nqA9/KqWEBO+j2yI2a7dJJ97nDCrwG7S7FBva6uyi6ZdUrl9xgaq47ys9vp2ZJPo7oGtetIG3BZ OAEj1Jb+ykkZ0vRJQaME57g0bPcBpxlRdFfUm/e94AV5VnKFESWovJwX1MnbrBozQPX6Q9ukTsIuSb Yn7F69dk0F4Vnxbd9nT8ZzknfB4py9MAW8yY8lssErbBotFIGJpaPJqFnxlQ== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142320_864044_F2711C75 X-CRM114-Status: GOOD ( 15.73 ) 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 MT8365 requires an additional clock for DPI. Add support for that additional clock. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_dpi.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 4317595a15d1..474c6e5bbf04 100644 --- a/drivers/gpu/drm/mediatek/mtk_dpi.c +++ b/drivers/gpu/drm/mediatek/mtk_dpi.c @@ -68,6 +68,7 @@ struct mtk_dpi { struct device *dev; struct clk *engine_clk; struct clk *pixel_clk; + struct clk *dpi_clk; struct clk *tvd_clk; int irq; struct drm_display_mode mode; @@ -464,6 +465,7 @@ static void mtk_dpi_power_off(struct mtk_dpi *dpi) mtk_dpi_disable(dpi); clk_disable_unprepare(dpi->pixel_clk); clk_disable_unprepare(dpi->engine_clk); + clk_disable_unprepare(dpi->dpi_clk); } static int mtk_dpi_power_on(struct mtk_dpi *dpi) @@ -473,10 +475,16 @@ static int mtk_dpi_power_on(struct mtk_dpi *dpi) if (++dpi->refcount != 1) return 0; + ret = clk_prepare_enable(dpi->dpi_clk); + if (ret) { + dev_err(dpi->dev, "failed to enable dpi clock: %d\n", ret); + goto err_refcount; + } + ret = clk_prepare_enable(dpi->engine_clk); if (ret) { dev_err(dpi->dev, "Failed to enable engine clock: %d\n", ret); - goto err_refcount; + goto err_engine; } ret = clk_prepare_enable(dpi->pixel_clk); @@ -489,6 +497,8 @@ static int mtk_dpi_power_on(struct mtk_dpi *dpi) err_pixel: clk_disable_unprepare(dpi->engine_clk); +err_engine: + clk_disable_unprepare(dpi->dpi_clk); err_refcount: dpi->refcount--; return ret; @@ -1044,6 +1054,12 @@ static int mtk_dpi_probe(struct platform_device *pdev) return ret; } + dpi->dpi_clk = devm_clk_get_optional(dev, "dpi"); + if (IS_ERR(dpi->dpi_clk)) { + return dev_err_probe(dev, ret, "Failed to get dpi clock: %p\n", + dpi->dpi_clk); + } + dpi->irq = platform_get_irq(pdev, 0); if (dpi->irq <= 0) return -EINVAL; From patchwork Thu Mar 9 14:23:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167584 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 BDFC3C64EC4 for ; Thu, 9 Mar 2023 14:35:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FBwePKmjwbcgcRVq8MTRyKhUrucYoCVu7ZhcZMYRXrg=; b=0F2Mdi3wKp8HDW ViUYHNL5X7BH1TJkGXYvSxscxlKsyHy5FEzLNJ0FnIvvUA2f8Snlru36IdYxYW18qvmcX4hZp7dng HyT/6mvOa4FVgS0tqwRSh8/nQVIsbnEppZ4Rfdt1/axycLsnNtRP5ulv7KwpReNSwJJSLu+ixrYF3 Y0Nyrh303uSsWyTihmqk2eYecBJgbE6hjrtXo49syHUW/UN5nzLmj0KdljyxRAS0c/LMxKP5+enze FTvdulUSEca55yQrXIWeM+gAm+UBFhgYhxhVdoAkdVOO3dPGrP3NekrB2u9TQjOnL8a/Rben1Adu/ 4SqIuXtfDlVABBbrV/HA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHL4-00AYmk-OO; Thu, 09 Mar 2023 14:33:51 +0000 Received: from mail-wm1-f47.google.com ([209.85.128.47]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHAv-00ATqf-1d for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:22 +0000 Received: by mail-wm1-f47.google.com with SMTP id o38-20020a05600c512600b003e8320d1c11so3464220wms.1 for ; Thu, 09 Mar 2023 06:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371800; 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=DXnaz1jhLTD6jXvSmqDaDkgz1JHBWLNVvGXzErpIW+8=; b=kFQ8LRoljBL0wHvq4R5EI4ikrcQUbsFYB+Z0OC5Lc/dLpmkhLSRLxXieE/tLPoECaf I2rOdAL5stvDg1bZVWfyeNB/8JlSgc29D8eW7PN9jFqKblkKehsaHnv7/vLW4i30NV31 ngEEh0CvEbW/7oFk/YvhpjcUuGOV6wckWRTVgKiMgvgsOs+eHNCWx9Ctl7pVSh6HQf+n 5ovIREXATJfk5rLMSiXwCy6C9c4cCLjbMHpX+NCgnic3A1nuQsJ57Pe6aoCFPboXBQvP V7FGT3O7QP4LfcEU4eGpRF8ifOq8dQUYtX5O+dgqWLCIH7T+rE50uZiCDA3f3CyOeMa/ BQlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371800; 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=DXnaz1jhLTD6jXvSmqDaDkgz1JHBWLNVvGXzErpIW+8=; b=y864goG0VHeyH/RUUG5v5oZ3e4e6vsVpCyHiRzgbOfhZF7J9HWuiNOxP2Gly9iKuEz 9/o/eNaisqnO4nQbKg38ehYc9b7QEh/spJXHHqL/6KbKLoqCQOPoE/0sb6HM/sKnbMYe 5oTBLxuOqbyOTXpQvxdEDYRTGOnAt82pKuNre9oeH9aSWSSFNmgMZDf93kVpfDcZapeH I58FspjalTicbdqlWTt4OxN4OYl6jQL0MbaGPDh8ljBX/Nt0+iIg7/YXm68KjNqxcrTl aa09z3KzqJiWIBOT8035UHVa6gIoJkfcNyfkhSuod08+g/2Ht+QWGcw3QOznT/blBZ5d xCfw== X-Gm-Message-State: AO0yUKVvr4R8aHQ7Z0DDmOulBCaVCi7xHamukz4azTcaS4V4lT7jU/DO JNb4Z5QWaEkRi8KUEYHPofPz5HSQt8Mc8Rd5+tk= X-Google-Smtp-Source: AK7set+D5mqPtf34ar9Lo47BVbbVyFB97USS19hS1lH5lekATB4WmOAZdNCYYAFIULZSGsyaMRA81A== X-Received: by 2002:a05:600c:1d09:b0:3ea:f882:bb3d with SMTP id l9-20020a05600c1d0900b003eaf882bb3dmr19639894wms.4.1678371800320; Thu, 09 Mar 2023 06:23:20 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:19 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:09 +0100 Subject: [PATCH 20/21] drm/mediatek: add MT8365 SoC support MIME-Version: 1.0 Message-Id: <20230220-display-v1-20-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=2552; i=amergnat@baylibre.com; h=from:subject:message-id; bh=n59ZUgmONlb1UajjYquStIE5vhX/aVPKSxJb0sPGiU0=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+k482A81ACWwejcT34Rd/p34RqAsJqbxOisAp SUjd0vqJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURWi4D/ 0TiZe3q/k7NsRcaMTOlQHeDWee6bQ6pdAgV8j4eJRo/iHydZZbOm8dlumln1AMVKIHl1w/Zp2Qps4z wKOoogD3jt6pML5FVVdmYhkoGJ+4/Q3byLqqsDEcRhywMoQPp3bDc+69loKNyGqxwDuiVvzWKBOk3M n9fokdBO+zMT8V0WfWNnQ0lqtIHnKmYRilecNuiGGUi6giWB9hri1feen5GhkOLJiklV/9stbfh2lk cRTv5WfcZUAracBieuisYpfxLb3pg5clc9KLj+MW2CYNItb5GS+R1mpdIdFA2sUZWjPVNYgjmaaD8i kafeT6ejU9G61UxNlIQ6CmUPquFVO0J6Zpi6pngFuJT4XceRiaUajSIU5LQoat4BkJQVYCMbjJuDBb ueHs9qhMLCaEZ+0y4ZAcw4m30Kc504cisk59PgpSpxrmP+O+NqJBJvtqUVTlHKIM5jUE9b67Vkbnhe dRQo4PST5Kel2MaVamYQ7H7mg19tV/tiW8fpeCIhbdYaBl3lt9iHLuIqF2Iuu+c9Zdt9rLkomn8+QI xJQCX2L80MFHeVN6wn3QuJTFf8ws4rD8sqzki9wJF+CQe/s7+LPckPZuSoYUM1oYxFaqxdg6E+7DZL /shmh3OGx+QIYzQAmenxR8VjOgUor17JLipQp8NbwPwqAn1MHSkJd0PnvTYA== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_062321_136039_A6A09649 X-CRM114-Status: GOOD ( 12.03 ) 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 Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index cd5b18ef7951..b905f38d5660 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c @@ -210,6 +210,22 @@ static const enum mtk_ddp_comp_id mt8195_mtk_ddp_main[] = { DDP_COMPONENT_DP_INTF0, }; +static const enum mtk_ddp_comp_id mt8365_mtk_ddp_main[] = { + DDP_COMPONENT_OVL0, + DDP_COMPONENT_RDMA0, + DDP_COMPONENT_COLOR0, + DDP_COMPONENT_CCORR, + DDP_COMPONENT_AAL0, + DDP_COMPONENT_GAMMA, + DDP_COMPONENT_DITHER0, + DDP_COMPONENT_DSI0, +}; + +static const enum mtk_ddp_comp_id mt8365_mtk_ddp_ext[] = { + DDP_COMPONENT_RDMA1, + DDP_COMPONENT_DPI0, +}; + static const struct mtk_mmsys_driver_data mt2701_mmsys_driver_data = { .main_path = mt2701_mtk_ddp_main, .main_len = ARRAY_SIZE(mt2701_mtk_ddp_main), @@ -342,6 +358,21 @@ static const struct mtk_mmsys_match_data mt8195_mmsys_match_data = { }, }; +static const struct mtk_mmsys_driver_data mt8365_mmsys_driver_data = { + .main_path = mt8365_mtk_ddp_main, + .main_len = ARRAY_SIZE(mt8365_mtk_ddp_main), + .ext_path = mt8365_mtk_ddp_ext, + .ext_len = ARRAY_SIZE(mt8365_mtk_ddp_ext), +}; + +static const struct mtk_mmsys_match_data mt8365_mmsys_match_data = { + .num_drv_data = 1, + .drv_data = { + &mt8365_mmsys_driver_data, + }, +}; + + static int mtk_drm_kms_init(struct drm_device *drm) { struct mtk_drm_private *private = drm->dev_private; @@ -591,6 +622,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", @@ -673,6 +706,8 @@ static const struct of_device_id mtk_drm_of_ids[] = { .data = &mt8192_mmsys_match_data}, { .compatible = "mediatek,mt8195-mmsys", .data = &mt8195_mmsys_match_data}, + { .compatible = "mediatek,mt8365-mmsys", + .data = &mt8365_mmsys_match_data}, { } }; MODULE_DEVICE_TABLE(of, mtk_drm_of_ids); From patchwork Thu Mar 9 14:23:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13167648 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 A4604C64EC4 for ; Thu, 9 Mar 2023 14:48:30 +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=l9CKaRqzP2E7+Y0w41lq6L5D0qP2VxSn0KbbABXMHeM=; b=vZlPCyvQjgqpV5 fVeiwXMhf+TqoP8x6EGMeo2auQTEndqs4BtZ0UXNwKGVmujyQ2loZ1tRu5m3CUq/0bK8W5kExwA8z mvf43peus7FltN3byrZICSglYmMF1DyPNWanuiWHVrS7rSnPPzbN9vgiyiE4RXY+hpx7acgv4p0zE HUseZYmRuSysckB/KQ0CSbOadLR9a89xHmdM8tDdHRTco1fPHUVNgiDnUyY6Ax4Fy22clTsJC9FGX nMnxMYTGCodc9IwKpRrb4P8SBnaV5Lt5Hjgoer4pUxvrbv/xPp5lAWz/Ypca9JyC+RCx4zRE/ihdt RRDqqAvMBvzNd1cO7HRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHXx-00AeZg-Cg; Thu, 09 Mar 2023 14:47:10 +0000 Received: from desiato.infradead.org ([90.155.92.199]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHWR-00Adwr-B1 for linux-arm-kernel@bombadil.infradead.org; Thu, 09 Mar 2023 14:45:35 +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=D6KllJHUXDeZBXsAtzTGNXsyP9gyEJdVTnwR7KWgVfA=; b=XdGtw6tQmB/9nxGZ0gfNjXgzVg /nCv/bd5HESMagOJrBRzrzOpE/Cw81V+1HZ6pEMsdiWZTppkldzw+bW7p4HTlIsD1sJg/FddokKbx 5f0lLLYATVeGt8MHPpiSjmjoIbmJbREJ2ect18FTB38y9NPYP21s2dR89jl3Xpbd6Am73QJIuKZm2 S5iRqw9Z+kyEVm8js4G/l7CE/Sq13+GiTXLxK1bIE7Suqy8bEqbsoVgemp2g+/0SlW8K1SNyZyVYA oK0KDAVXiIXslBA14t1gMs+sNt8ze8lw4IbjamHVN77XAm4HhCFkRuvdetjFEMkafAFfkjdZazuoe zyxdconQ==; Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1paHAw-0008XN-18 for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:23:25 +0000 Received: by mail-wm1-x329.google.com with SMTP id p26so1260882wmc.4 for ; Thu, 09 Mar 2023 06:23:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678371801; 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=D6KllJHUXDeZBXsAtzTGNXsyP9gyEJdVTnwR7KWgVfA=; b=fLsjQNlasjebBF0epqPyPa31km+kGq5l8Xk4GxPJTwvF9zJ8Q/7Zd0e4ZGDeQjJuJs xw9cESvKeTfO6AA5BJDGhUvflCa2kd5me2Q0w9qrb2ChFHaip3IDsktWhYVy7Nb9Q6mU NA7S8qjtDtxr50TPX+fXckg2VtuzGLeV1LorvedOU47YMl00F1g+1m0PfUsQ1WNaiHDr MrCtNUIZkRzLI5kgFbZ87qCWu4NzCLeeCGUppie6LnBOwWcmjf4+Wz0NHyG0seHrKuB8 FINZCxu3qcXVB18sAP65jZ+yZ1OeiEP53WzEuFzLsI0laU+dNumit4oxoTPEPDcNfoXd AHTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678371801; 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=D6KllJHUXDeZBXsAtzTGNXsyP9gyEJdVTnwR7KWgVfA=; b=M7dXAtz4ppv+LuEfFpWqm6MSpOcj4qimlHvmBn1KBEJ8QK+LzOpug3FyXDiMNFzMO/ FkCxi5D8TQIugp5eP1EZG9Y7kCiBKnyBKAeEPKM91zI3mke5ZHI8dO5TNTgp1tZk4Ak8 ykVRYoHkfB03XASuDEm7B0xFBP0m0ZLFlYssTs8JwmbZeysL6Eu01FVFee9Aoag1KSr/ KJqJ+e1bl9XcmFweDcFzg5pSLjyJw3khprMmAKG8p+Hvg8nIlqC38oKLPBXz/pS/sUNf 7kBmMIMnlU9Cyx3kzEHEHX6BUz8fl7Sadqra6v1KwV2BacTwiV0i495gj7VDHdxG+6fN MvSg== X-Gm-Message-State: AO0yUKVOM4bAZbKeTYyIsJ3z2F6fpYcwCV1q3qc1ltfljVK57t5WyzFg JEgnHgODq7snWbNsw+VcvakpNvGio57wiZDFmLU= X-Google-Smtp-Source: AK7set9HyqvkE3Hz8Co8XteBvxDYXIqNVoqota62N1DOTm3jGNqEesiyfh51GaIKBky/QKHG9RaJKA== X-Received: by 2002:a05:600c:4509:b0:3eb:32ff:da8 with SMTP id t9-20020a05600c450900b003eb32ff0da8mr20829898wmo.16.1678371801592; Thu, 09 Mar 2023 06:23:21 -0800 (PST) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id x22-20020a1c7c16000000b003e8dc7a03basm2772434wmc.41.2023.03.09.06.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 06:23:21 -0800 (PST) From: Alexandre Mergnat Date: Thu, 09 Mar 2023 15:23:10 +0100 Subject: [PATCH 21/21] panel: startek-kd070fhfid015: add support of this display MIME-Version: 1.0 Message-Id: <20230220-display-v1-21-45cbc68e188b@baylibre.com> References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> In-Reply-To: <20230220-display-v1-0-45cbc68e188b@baylibre.com> To: =?unknown-8bit?b?RGFuaWVsIFZldHRlciA8ZGFuaWVsQGZmd2xsLmNoPiwgQ0sgSHUg?= =?unknown-8bit?b?PGNrLmh1QG1lZGlhdGVrLmNvbT4sIEppdGFvIFNoaSA8aml0YW8uc2hp?= =?unknown-8bit?b?QG1lZGlhdGVrLmNvbT4s?= =?unknown-8bit?q?_Thierry_Reding_=3Cthierry=2Ereding=40gmail=2Ecom=3E=2C_Phi?= =?unknown-8bit?q?lipp_Zabel_=3Cp=2Ezabel=40pengutronix=2Ede=3E=2C_Sam_Ravnb?= =?unknown-8bit?q?org_=3Csam=40ravnborg=2Eorg=3E=2C?= =?unknown-8bit?q?_Rob_Herring_=3Crobh+dt=40kernel=2Eorg=3E=2C_Uwe_Kleine-K?= =?unknown-8bit?q?=C3=B6nig_=3Cu=2Ekleine-koenig=40pengutronix=2Ede=3E=2C?= =?unknown-8bit?q?_Chun-Kuang_Hu_=3Cchunkuang=2Ehu=40kernel=2Eorg=3E=2C_Matth?= =?unknown-8bit?q?ias_Brugger_=3Cmatthias=2Ebgg=40gmail=2Ecom=3E=2C_David_Ai?= =?unknown-8bit?q?rlie_=3Cairlied=40gmail=2Ecom=3E=2C?= =?unknown-8bit?q?_Krzysztof_Kozlowski_=3Ckrzysztof=2Ekozlowski+dt=40linaro?= =?unknown-8bit?q?=2Eorg=3E=2C_Xinlei_Lee_=3Cxinlei=2Elee=40mediatek=2Ecom?= =?unknown-8bit?q?=3E?= Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , dri-devel@lists.freedesktop.org, Fabien Parent , Neil Armstrong , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=14592; i=amergnat@baylibre.com; h=from:subject:message-id; bh=F1sY83LBSMBqvT5k/91ULWgrdpy2pr0yELajpS3zmxc=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkCeu+D2LAvO3T46e1nwJCXWgndX/z0FoMSsVKFeb3 98OYoTOJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZAnrvgAKCRArRkmdfjHURZz3D/ 4uc+5J5MnrgFJzo/vIR01HB+hITFpnLEm7e4yU2pBfkduM69jOnXUHBmZzXYaykPLk/rgB2u2IcNDg qwzTloh4D1NicmiHe7rHLpb4Ye0yCemrgBLkJXKLRmauoq9XR46KRgIjaJ1tcLvWkcJXQo2tCku14Z dEjqZIsp64IsQevsw4s4mZdtd2fjpEdGRYhYcRE0vfCeS03lNrk4BYmEpGt7doc9vqDD9Alz1gLQeL ofjTSNrp0HAK8+GoDSa7kMSPJge7oWTjvDM3m98rerGb0xopnUtcWJuvQIoFxsz+QKSqEoGMqc+jTN t8atEzs9MTEYN2c5Eh7dlR4KwbJgzzeNZrWMaFN6AcTrzb7fWBiekiB2fwbaEh4nZKorxiHgtO+c9N ZQqfQPGFdLtfe1zw+oW59jXn3GsOr+L//StUCAMnd0owICoi70Cgclvhdk0JixjCiAcCwKMhT1vpOe QQCDCMROQeedW8aImyYC7wfMad3vc6kUo072Vf3nbh8ZU8n6kkykfYHa+AxI1du1Opb37R5RYQVSTy t+hh5hMb4F79c3mKfM4D86/g9aU0W75yNwZDl7SZP6xMBkzyFuLFezm01u0Qa1TnzIutoDykevwkxj MR88e4Ykno09Vi80puy3OgLDKLOPowtpc+gfjfZYE/djx84p+K0AuPF2c91Q== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_142322_499461_D2345D05 X-CRM114-Status: GOOD ( 20.90 ) 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: Guillaume La Roque This driver support the Startek KD070FHFID015, which is a 7-inch TFT LCD display using MIPI DSI interface. Signed-off-by: Guillaume La Roque Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-startek-kd070fhfid015.c | 483 +++++++++++++++++++++ 3 files changed, 496 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 737edcdf9eef..3fccf025013b 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -666,6 +666,17 @@ config DRM_PANEL_SONY_TULIP_TRULY_NT35521 NT35521 1280x720 video mode panel as found on Sony Xperia M4 Aqua phone. +config DRM_PANEL_STARTEK_KD070FHFID015 + tristate "STARTEK KD070FHFID015 panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for STARTEK KD070FHFID015 DSI panel + based on RENESAS-R69429 controller. The pannel is a 7-inch TFT LCD display + with a resolution of 1024 x 600 pixels. It provides a MIPI DSI interface to + the host, a built-in LED backlight and touch controller. + config DRM_PANEL_TDO_TL070WSH30 tristate "TDO TL070WSH30 DSI panel" depends on OF @@ -736,4 +747,5 @@ config DRM_PANEL_XINPENG_XPP055C272 Say Y here if you want to enable support for the Xinpeng XPP055C272 controller for 720x1280 LCD panels with MIPI/RGB/SPI system interfaces. + endmenu diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index f8f9d9f6a307..35771fc51187 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -67,6 +67,7 @@ obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7703) += panel-sitronix-st7703.o obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o obj-$(CONFIG_DRM_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o obj-$(CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521) += panel-sony-tulip-truly-nt35521.o +obj-$(CONFIG_DRM_PANEL_STARTEK_KD070FHFID015) += panel-startek-kd070fhfid015.o obj-$(CONFIG_DRM_PANEL_TDO_TL070WSH30) += panel-tdo-tl070wsh30.o obj-$(CONFIG_DRM_PANEL_TPO_TD028TTEC1) += panel-tpo-td028ttec1.o obj-$(CONFIG_DRM_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o diff --git a/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c new file mode 100644 index 000000000000..88466bf6428d --- /dev/null +++ b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c @@ -0,0 +1,483 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2016 InforceComputing + * Copyright (C) 2016 Linaro Ltd + * Copyright (C) 2023 BayLibre, SAS + * + * Author: + * - Vinay Simha BN + * - Sumit Semwal + * - Guillaume La Roque + * + */ + +#include +#include +#include +#include +#include +#include + +#include