From patchwork Wed Jun 19 08:53:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13703539 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 0519DC2BA15 for ; Wed, 19 Jun 2024 08:53:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=BivpamxvPz+d94+LYpCyra9/U4HNUaPzhyeoD/xiU5s=; b=rvBGadKhnMTiOVRpz8Bj4Cu/7d BvE5DVResMLh57zmfWFAAJevPqOEUI/+Kr/npzpqBc36fA3HEA311f+F2MJWFY2UIFjggdao4C8lQ +Tup4yAmRt6o/r2qGp4Pu5T8cSszjGAiUUtyDQ2YmI9wKrYf3yvOxCS7T/Nu8COkLj+ANq0HIkkXA coEuFlUOR5MoFv/uNowjx2UQyyhf0KuNTHdkrKz2HswLjpG2/bibAc1K/Fdu4gvovam4797hUtkOt LrdIkS8LbOYXiq7TncxRWr5nKWX1z3hjSqkIKfp20zyabwYe764WF9Y/HtUU6mDgN5WA25p+WssPT frGbt8Ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4S-00000000Sck-267f; Wed, 19 Jun 2024 08:53:36 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4N-00000000SXV-0LnX; Wed, 19 Jun 2024 08:53:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718787209; bh=Tj3Ro2wAPS6ZAo5FEGtQ81HlMt4MROS7z6+Hz6sXCWg=; h=From:To:Cc:Subject:Date:From; b=ENU22EDjOQk5Y+EW/OT3/ec7eZZUol0SHRbqwKQXmvsvG+I8BDx3o3t0VnlowIV89 z2Vv5t34eFBiMuIt6RCl4ilBL5KL2rv8nYpaOYBdDNcDBtXv2NjjlSTbyM/scuy6z1 /DvhTnuNyLS08aqSwiNOtLLON3Va7yadwuI/HXCUAluX42EO+o/fxoMY+BPYQSvzG8 dm3Ts+GaVNMY68vBCZmHi8mchiV4snMBOFAVslEereE3SVrS4USdtDMze8u69nSqLf ge398dWfJJ9uIp7m7SlKAYpMw7cJw6j29LPMLqnLzo+ynxvfGsbGPPG2d83WBBWOsq 5pNOFShnrzHBQ== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 161C3378020A; Wed, 19 Jun 2024 08:53:28 +0000 (UTC) From: AngeloGioacchino Del Regno To: krzk+dt@kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jassisinghbrar@gmail.com, garmin.chang@mediatek.com, houlong.wei@mediatek.com, Jason-ch.Chen@mediatek.com, amergnat@baylibre.com, Elvis.Wang@mediatek.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 1/3] arm64: dts: mediatek: mt8188: Fix VPPSYS0/1 node name/compatibles Date: Wed, 19 Jun 2024 10:53:20 +0200 Message-ID: <20240619085322.66716-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_015331_440167_B73D4EF6 X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Like VDOSYS0/1, the VPPSYS0 and VPPSYS1 are syscon nodes, as described by the mediatek,mmsys binding: fix the node name to be syscon@address and add "syscon" to the list of compatible strings for both VPPSYS0 and VPPSYS1. Fixes: 9461e0caac9e ("arm64: dts: Add MediaTek MT8188 dts and evaluation board and Makefile") Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Fei Shao --- arch/arm64/boot/dts/mediatek/mt8188.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index 3b02170562ae..77c4f2d104cd 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -1331,8 +1331,8 @@ mfgcfg: clock-controller@13fbf000 { #clock-cells = <1>; }; - vppsys0: clock-controller@14000000 { - compatible = "mediatek,mt8188-vppsys0"; + vppsys0: syscon@14000000 { + compatible = "mediatek,mt8188-vppsys0", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; }; @@ -1349,8 +1349,8 @@ wpesys_vpp0: clock-controller@14e02000 { #clock-cells = <1>; }; - vppsys1: clock-controller@14f00000 { - compatible = "mediatek,mt8188-vppsys1"; + vppsys1: syscon@14f00000 { + compatible = "mediatek,mt8188-vppsys1", "syscon"; reg = <0 0x14f00000 0 0x1000>; #clock-cells = <1>; }; From patchwork Wed Jun 19 08:53:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13703540 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 B3009C27C53 for ; Wed, 19 Jun 2024 08:53: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NkwCv/NAd1otzpxBNRzVpUVM0gBC7GVmS/jfDm1Brro=; b=YfBlbCztEY5YTAJWATM7u78JZh /dJxZKsToEoWeBUxe5SS/PVOjjA9+T84liGUKRQ9ZFwS47CrNmfgModW8a0do1jStrZOzZafu5/cc VkIEDXQsNCj11Dk2UpzfHkOP6rCFMsnFeAXi6BuD7cWuRa97IDgZUTXmicyBXh+NvOljmudQ1Sakf 2seJmQXFmyniGohpnzJdxso0AWt35eIJqbYEQLME+Lhb8fFIWFOO997nE7+II/en8aPAYEcPWNouQ KXXrTdq4eMVjbA/4fXhiGw8Z82vftd+ktpUZbluhYssbtyBu1KUBEaJgsDLPEzgYOV5DX9fI29qYm eS+yOXnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4b-00000000Sif-1Joy; Wed, 19 Jun 2024 08:53:45 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4O-00000000SYf-0jnR; Wed, 19 Jun 2024 08:53:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718787210; bh=lCfHohG63RrD0UHXY1pyKLOU1ws6R6MqoXkdOh2BC74=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=or7SDsQjpGnftM5Fo97nnYxjwHXbRR+Pgk3Pab1sbX4RJ7O0A1LncnW8xGZsoc4Tw /GLKPK77f1yiu6VQAp32/oZMNecKgVceS/iVoDVaO8hO3UaYVO6f/rPhthgU4mZHIk 089vocbVpfBSSvIoGbDZPt4zJmHaQEfFRzmpcI8X+eqG4BCG0dAVYroAS5EUPyq5yI KevjOlH0W9c1ArFRL/Q5KWE0sz8fRwMznpW+ShIVVEmUllicvS8kmvnwg6gBBzHbrd s0Acm4ZVqH+98WbbBvVLjHlrt2z6XH1WROgJc5GnvQy3exEo/u+46wQx02JZq22TKY CJhSOq/rxNWuA== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 8331C37821C3; Wed, 19 Jun 2024 08:53:29 +0000 (UTC) From: AngeloGioacchino Del Regno To: krzk+dt@kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jassisinghbrar@gmail.com, garmin.chang@mediatek.com, houlong.wei@mediatek.com, Jason-ch.Chen@mediatek.com, amergnat@baylibre.com, Elvis.Wang@mediatek.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 2/3] dt-bindings: clock: mediatek: Document reset cells for MT8188 sys Date: Wed, 19 Jun 2024 10:53:21 +0200 Message-ID: <20240619085322.66716-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240619085322.66716-1-angelogioacchino.delregno@collabora.com> References: <20240619085322.66716-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_015332_412004_5EABB4B2 X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The MT8188 sys clocks embed a reset controller: add #reset-cells to the binding to allow using resets. Fixes: 1086a5310f9c ("dt-bindings: clock: mediatek: Add new MT8188 clock") Signed-off-by: AngeloGioacchino Del Regno Acked-by: Conor Dooley --- .../devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml index 4cf8d3af9803..db13d51a4903 100644 --- a/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml +++ b/Documentation/devicetree/bindings/clock/mediatek,mt8188-sys-clock.yaml @@ -39,6 +39,9 @@ properties: '#clock-cells': const: 1 + '#reset-cells': + const: 1 + required: - compatible - reg From patchwork Wed Jun 19 08:53:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13703541 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 0C40CC27C53 for ; Wed, 19 Jun 2024 08:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+oPLTB4zchciu+stO5D6864hKOKkSygK8HlQ5g0jBHI=; b=jBIu2SMsTvRJYTmUDXINX8BMrY IpGUhnmZd6pgH/eLRaGOZD6yoO+ApCNy1IpW8f2gPZN5QBWN7yBtpkYlKObChABP/MMEDsF1LiycQ iV+SmxZQ0pWNCqJWbliGANegiMqmXnURLtq7JETU1KJXhmH+OmRhFjVauKSGLiyz32oIrOopwrIVy e8L+1FCZw2Qoa4aEc+EEzMx2X+O9gcuVW0V8eDV+zokG0Xfug51YMr+4/CG/0stTKb3R17m40L7lw 3L1VBOypgCPHT7ASnIqe9mHnzHZJvVS/w+tEWNUTUwHDngDJQDDCHemTmmEC4U14ij6BZUDWM5lDf e1XL3Gug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4j-00000000Snu-2v2q; Wed, 19 Jun 2024 08:53:53 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4P-00000000SaO-23lh; Wed, 19 Jun 2024 08:53:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1718787212; bh=IuOjjnE7/JrOSwZhq2h99WsYClEcZOw4C24NtZSA/0o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nMDm5Lng3xQg3UXdS7i794m5nt2CTE76H5thEstpbtBboh3nQsktGx3HUKU/7eD6u cDmBHP/bAD32qrGFhH0yrfQBKb6GoXaa9bcfzmYM80fJ0Z60RiDdwkzSv/5cRTKCcz AwWd8ExsaTWcxLPJ13oDD7Br/2Xuc1MtdXTPW9pV1i3D+wTeMluBhUmg4DM5XXwEjB e3/+L1F5ds/NI6jAfIB18hsaIfj2tttiza6OhyY3Izoml6sEPvIhwEPUsKTvtR+22g dcJiOPArMDG4OPgIgn1Ls51YpiirbOZcwdYWJV9atkGuZjJC83AJLcG7vED39iKzOm JasMKkPNGRJbw== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id E6B7237821C0; Wed, 19 Jun 2024 08:53:30 +0000 (UTC) From: AngeloGioacchino Del Regno To: krzk+dt@kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, jassisinghbrar@gmail.com, garmin.chang@mediatek.com, houlong.wei@mediatek.com, Jason-ch.Chen@mediatek.com, amergnat@baylibre.com, Elvis.Wang@mediatek.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 3/3] dt-bindings: mailbox: mediatek: Avoid clock-names on MT8188 GCE Date: Wed, 19 Jun 2024 10:53:22 +0200 Message-ID: <20240619085322.66716-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240619085322.66716-1-angelogioacchino.delregno@collabora.com> References: <20240619085322.66716-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_015334_225476_A417647C X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add mediatek,mt8188-gce to the list of compatibles for which the clock-names property is not required. Fixes: f2b53c295620 ("dt-bindings: mailbox: mediatek,gce-mailbox: add mt8188 compatible name") Signed-off-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml index cef9d7601398..55d4c34aa4b4 100644 --- a/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml @@ -62,7 +62,9 @@ allOf: properties: compatible: contains: - const: mediatek,mt8195-gce + enum: + - mediatek,mt8188-gce + - mediatek,mt8195-gce then: required: - clock-names