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: 13703542 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 297D5C2BA15 for ; Wed, 19 Jun 2024 08:53:46 +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=IyAOV2pkN5Y17tY/xbVeWWXdU0 1OClSveRZivSNHcjzpPYRi+Nrlxl3iyAjLrH9mRJuXfW9wTMW46Kxlrmb7GuRzBPUe/JIV+vKZFcj Pvkru0CCbH1IE29t/dwGCGSSQxsg1PZRG374ubMskKmzconejWfXy1DCIxTgXp941vpB+ur0Om69z SojxlqiEQuVFWAQueZACAfq5YYCdGPhTRU9+TUWOxvLASYPvsgLUy8elfeTbPQ6DdZ6pwOetx8ukD of7C3gVO5Nf+4fOPdM/b5YrMKHKfGupzqB9VlbBFHw7RtGgGv87dacOB5Gj3lADvQNMAi6V/B9SDL V6EgxosA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4R-00000000Sbs-1dMp; Wed, 19 Jun 2024 08:53:35 +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-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 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: 13703543 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 95AF3C2BA15 for ; Wed, 19 Jun 2024 08:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: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=LrgyMr4CnOrOFjZ9Ky6l60DTMG y/mCqgxAvDjWc+PZIOs7N6le8dZbrGyVLkosrEn51Rp0HECnVmDY2CmXTYYr7wvwdWlYYgE7dnFnw E8ifOQxyW78d4nJsDjincozG2oIYj5WQupobu+ddPIrsVhntC8BWwGKi+cMjmUDAuRW7NG7cGSZYC 2l4FgUk2jWcYxozG5yKN68bq8M+gaEjzk9cSiR3p7dI1hzg3tZZJRPAAqsRqGtCbK0FEt8Wap0vPk R4I1nNWSCDFS5fBdBEYiSzMCOTC/sxSm9gA/+DaYcBQMkDAt9VXGwtV9qZeOeODR4jyWYqEmZyFJt predR3wQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4a-00000000Shq-1gbk; Wed, 19 Jun 2024 08:53:44 +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-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 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: 13703544 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 0D828C2BA15 for ; Wed, 19 Jun 2024 08:54:01 +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=QxkDUJGfjvYjob8eMVm24DwZ4Z pMJsRp0c+eIcxorjQ0hnJ0HFinGjTisQTj3khieE0Ky0f6IR/M6/X8gpVKOC+ZnIXoDY9sFH3BlNm iDxIL8y4WQqbhTq3rmKlnTHwhGU0hPPGwHacSHpV7NKVwmBlqGjSwxEKsX6cJMR2K1s4iZcEfNOzi FMMjt2p4qds/D3PnXnrQ9sGvbFq+79sr+RYGnYY1S17QzZcyGamwW1v+Y/oUrddkBUIplOBeFAPJd cJkZzNpMMvTNENYiLGdSUApLUOiKtB/dCls4+LZWi/A/hEyFdmuaMFKPdIObyqpiBoHF8DvFOF9jx oxBhXxPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJr4i-00000000Smz-2JKN; Wed, 19 Jun 2024 08:53:52 +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-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 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