From patchwork Thu Feb 9 16:03:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 13134842 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 BE137C636D6 for ; Thu, 9 Feb 2023 16:05:34 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ixNiqeSqnlEJFaQ0dVklRIREdfUUOcQkmYOTWMsVuEY=; b=u+PVNszdfO4/YW PTXx2SicqpiEkKaorD7AUI9RIWg8Y7gtmCQoE+lVm2gffAQg+QlWiLm2oSAy26LBI6CrPqbEGyus3 VXcMqahk9Q5EyARs1Ux9mlT6l2ulnSA+jHojiGzoCPseQyMbsLoAPlLR4sH+meY2uXGvwa7/BPUa+ md971nVNnR8WxvuG7rQrKLHNmt+exOWfuFxcjWHjqMu6fquzFnYlpo/LZHWzZOfnsZw1Fh49fDOT3 z5nFNLqW0BKbEJS5EIkDlht88T3av6GBYX+aL0Aa3AAImat5bhH0Yz9hiQzwOmSAHD7+XduWCPdEa 1ztTdyfNnk26AO/2G++w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PX-002KpQ-54; Thu, 09 Feb 2023 16:04:35 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PA-002Kbo-Qx; Thu, 09 Feb 2023 16:04:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 33023B82146; Thu, 9 Feb 2023 16:04:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DA9DC4339B; Thu, 9 Feb 2023 16:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675958648; bh=uGWGuY+pmiRv/F2JmrrPyILmZOGSnM3BIAkj+vJKlL4=; h=From:To:Cc:Subject:Date:From; b=bVjPyodjAw/enyukcdGaAowwPIKj15AZ84URDOR9Az8NqH6qrJzbqlohMweQxxEUv mxH7rlb7wdcxFVQK2onSAo946XoOEKHZfaV6esemsltxZTdpeUOuEMo77l3tUNcNA4 Kz0WBnrYAbs+7wOUiVwHm3GxKof5i394GS5Us+XliZk4buVqzsI+Qsa/iypQIo6MSk 4gYI+zgrjsxZs3dv1QuSBuq6JrN1uqyrvZL87FZCji1YGTpbM1YG0BtUgcjCcPPnWg d2SPjeqELRvv/DWt3w1Mu3ZUy1n0gArjQk82ASP1Nfl/egiME8qsh9dc2E9eetFclc 9YaCeolm19rmA== From: matthias.bgg@kernel.org To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com Subject: [PATCH v1 1/4] arm64: dts: mt8195: Update vdosys compatible Date: Thu, 9 Feb 2023 17:03:54 +0100 Message-Id: <20230209160357.19307-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_080413_075784_0231724D X-CRM114-Status: GOOD ( 12.32 ) 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: Matthias Brugger In an effort to fix the vdosys implementation, the compatible has changes. Fix the device tree to adhere the binding definition. Signed-off-by: Matthias Brugger Reviewed-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 00891bfa564e9..8f1264d5290bf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -2369,7 +2369,7 @@ vencsys_core1: clock-controller@1b000000 { }; vdosys0: syscon@1c01a000 { - compatible = "mediatek,mt8195-mmsys", "syscon"; + compatible = "mediatek,mt8195-vdosys0", "mediatek,mt8195-mmsys", "syscon"; reg = <0 0x1c01a000 0 0x1000>; mboxes = <&gce0 0 CMDQ_THR_PRIO_4>; #clock-cells = <1>; @@ -2555,7 +2555,7 @@ larb1: larb@1c019000 { }; vdosys1: syscon@1c100000 { - compatible = "mediatek,mt8195-mmsys", "syscon"; + compatible = "mediatek,mt8195-vdosys1", "syscon"; reg = <0 0x1c100000 0 0x1000>; #clock-cells = <1>; }; From patchwork Thu Feb 9 16:03:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 13134840 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 89EA2C61DA4 for ; Thu, 9 Feb 2023 16:05: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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o6IE5IkIR1TlIX5Wx1oZQU1TqZpJRlU1sQ4eIiyQsPU=; b=0rHifXplgyg3ax 4K9RF5gKXQKvx9Sxpv9Zf/AJeGUCa4w2itW+FMSGOSN8KKp+Rd1fCnA4EBpVsojbnZFzylPQ7ImYU t0Bk/Lh0lsNbQnVB+EqX+VmdAoBI9MloQTpfkqYwTPON/vSpZhKCWf1ZwQ+l9N0Ijq+EDfnbmh3ii r1oGYI9TlvQymkS3Wi2VMA1ATkJH4oOwAhQcIFcIuUXtRCumLhNvicBoZnzFLBa/IqKSbnJGfUwP2 Ju5bP++jFuI+/ko1YojQnJGkbTF2gx/9VdJ2XpQ0RKTae4lOijtNR3FDSvRluk7jHQUnx8LvE7abH GOLr03ifQ7SHuCRXU2AA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PD-002Kdp-Kt; Thu, 09 Feb 2023 16:04:15 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PA-002KcK-OX; Thu, 09 Feb 2023 16:04:14 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B587661B11; Thu, 9 Feb 2023 16:04:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63305C4339E; Thu, 9 Feb 2023 16:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675958651; bh=V8wDSsgg1djz0HK45I77IjKQpKzm88Y/L4dXpGGAku8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CwyX0IbopI3qVx+wdskdzGDIQ1UXlXQqdjKRmVQEpUlq0CslBpp8BpBRcsi1h5CSU YR2IN5EibgubpNfn3FWOESlHAcuS3h0VNmWNEtW3mpgHc2oEtjgO+MTIPa4Wq5bhhw o3l/3ZNDx62iSFqmaI8NTHpKmRLogfV3PKLnDOEu4UI8CcljnzFqPJH+10BtA4B3Xc j+r/RRBoHIunS+EJcBK+Umujvw8vR0hkd3uCB9kVOalctYssLsBynXvvf2pwQCk3OL jA3MZRJNCzHz2C6SZfEyLPnC/J1GrK1z0aopX8dBYbbsBP/7wbsHQFA+JcB4pM8y05 j8ebBr9ZF5IJg== From: matthias.bgg@kernel.org To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com Subject: [PATCH v1 2/4] arm64: dts: mt8167: Align mmsys node name with dtschema Date: Thu, 9 Feb 2023 17:03:55 +0100 Message-Id: <20230209160357.19307-2-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230209160357.19307-1-matthias.bgg@kernel.org> References: <20230209160357.19307-1-matthias.bgg@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_080412_880411_99E353F3 X-CRM114-Status: GOOD ( 12.14 ) 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: Matthias Brugger The node name should be generic and mmsys expcets 'syscon' Signed-off-by: Matthias Brugger Reviewed-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 6a54315cf6502..2374c09530575 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -124,7 +124,7 @@ pio: pinctrl@1000b000 { interrupts = ; }; - mmsys: mmsys@14000000 { + mmsys: syscon@14000000 { compatible = "mediatek,mt8167-mmsys", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; From patchwork Thu Feb 9 16:03:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 13134841 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 1968FC6379F for ; Thu, 9 Feb 2023 16:05:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EjIbBaEyzvLHiTGAqjY/EmBn8QBOACH/M4uOacghUus=; b=xM1wnT3yLfAzUj 9H8XOAzbP6mVNLabgGxOudLGoXI6VuZLiMr8FZs0+irLswqdfzfg9P69AJvPuQOtjwMvmwlRVR3MU 4xdBhwq6/L9ibXui6w9y0R2cS1ugedWHqQ7PiFMymJkVSDhjOTDDraT3mgodD+8fiPyEKlxZReMpY EeY/3eZuZlbch7SnYUJlT/dF7jjfZVJUpb4bchQ7mtVcUZAa28NYw97Y8RQ6CCLYi2Au2WzWmgQnC gYwWpbxNJLrPpq81bqx/mP7kQK9zV8QnceZTx7FGW3HBGhSNjp9J45zyrAwdIuwybDHM9/Ows0JBP Eywqne+ViyR6ElwHBzXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PO-002Kii-A3; Thu, 09 Feb 2023 16:04:26 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PD-002Kde-60; Thu, 09 Feb 2023 16:04:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BF1C2B821AC; Thu, 9 Feb 2023 16:04:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8E74C4339B; Thu, 9 Feb 2023 16:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675958653; bh=W6/zxyE3r9vkvCVzWlsyZFdzMy4bAnzeK8VqgkMPGPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nwICIkquvfIOsjgN+LNY5EitG/nGzm0LKvAmP9lLt9g8Y4oWULma/OvCxAXpqxmSC PwIEqFEvm1OymCUdI006/v1utrFxZ943TSRm0qBlXCzZGqyk+cQnSRoSeB2uD84KVF Fo6RQxWLXzj+gg3GGtz8Ne3djKlPcgI37KTCs/RWggCaFbWZykZo90qf1NgAg3I1fv u4Pgk4tV4WzpB7EG3FHiYoZeD4Nklz1ZMilooCL0R44C/LkggwpfXe1mpexd7ZGLlo 4MugJEVBEydIMjVTTpibUWlxu+5Vs0Jp2FYshpD2xN7YaoCUh0yY0jepUZSm52Mskr phSxxY+7NiNtQ== From: matthias.bgg@kernel.org To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com Subject: [PATCH v1 3/4] arm64: dts: mt8195: Align vppsys node to dtschema Date: Thu, 9 Feb 2023 17:03:56 +0100 Message-Id: <20230209160357.19307-3-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230209160357.19307-1-matthias.bgg@kernel.org> References: <20230209160357.19307-1-matthias.bgg@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_080415_410303_32149304 X-CRM114-Status: GOOD ( 12.47 ) 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: Matthias Brugger As the node is a syscon, this has to be reflected in the compatible and the node name. Signed-off-by: Matthias Brugger Reviewed-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 8f1264d5290bf..5261367031426 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -1795,8 +1795,8 @@ mfgcfg: clock-controller@13fbf000 { #clock-cells = <1>; }; - vppsys0: clock-controller@14000000 { - compatible = "mediatek,mt8195-vppsys0"; + vppsys0: syscon@14000000 { + compatible = "mediatek,mt8195-vppsys0", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; }; @@ -1900,8 +1900,8 @@ larb8: larb@14e05000 { power-domains = <&spm MT8195_POWER_DOMAIN_WPESYS>; }; - vppsys1: clock-controller@14f00000 { - compatible = "mediatek,mt8195-vppsys1"; + vppsys1: syscon@14f00000 { + compatible = "mediatek,mt8195-vppsys1", "syscon"; reg = <0 0x14f00000 0 0x1000>; #clock-cells = <1>; }; From patchwork Thu Feb 9 16:03:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 13134843 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 56D2AC636D6 for ; Thu, 9 Feb 2023 16:05:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fZCm0sY6K1umjDjBTN/Nhie2AqsKr5MYkEVKIxP3IcQ=; b=FYK7EM/wBstUGs GhN+IVomQoR5nyEuqujubKKvnz5RdgPBPSpm+SG3YBHwjJRkVbF6BpehUwhJffBH3emNkIy6nGbyY 0TTBiudJPsGzk9G1VH7l3rMSUJqWRg1XifrOnmdf1gAdcPH2993ztB/xDLmm8QSnvGKceWoAkEikS ZO82GrJS9QQHFL9iAHzVuTGZ9Yb6r8JLqWxISQ5juP+i9fzSBk54zVPTe+YsqXTewaE5c46tBLDeB x94EFFJQGZEw9a1ffUH3whfQL90k2VjVQj1PqAiX5l2oLywD8ssGgwTt40jIYe4599fa9oiHwc54n h9krIWLQCocfAOfC0q1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9Pg-002Kt8-Vj; Thu, 09 Feb 2023 16:04:45 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQ9PE-002KeO-9e; Thu, 09 Feb 2023 16:04:20 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DAE8261B0F; Thu, 9 Feb 2023 16:04:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9FB8C4331D; Thu, 9 Feb 2023 16:04:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675958655; bh=4NI43FI1odeK5NMjk1q4hgRlikJL79bNrNo0FrjEahU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bXRCX8yzU2MFIyfUNivWfDugTbqb0quXUUeLBypa8Cc0TaryezddYbZWvRLXwjAE4 vGdOk0dWOUIARqo5AFQyEkKsnwd0t6Wq7c1vBXeyBTOtr5O4zttxmakN4xXhjiBWCp fOrsJxtdETdLZ/Da71a/IoZIufSp9AakaYiuSo5MC6AqrMcNUPwuOxkKSYNKHcZc0B 28L+YQ8cacBZoithMGGcbv7y+5k/ppZpg8Q+X3BIhGlUNTtQ5k37I8qdKsNjAGIWwe j4nxj+l2jIi7WYGxuImIfreNhg3EiD0x0hSAps7Oe6NyhYdZxX4khNo3ZHpYVAt89A /QFYFje8wp6zA== From: matthias.bgg@kernel.org To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com Subject: [PATCH v1 4/4] Revert "arm64: dts: mt8173: add mmsel clocks for 4K support" Date: Thu, 9 Feb 2023 17:03:57 +0100 Message-Id: <20230209160357.19307-4-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230209160357.19307-1-matthias.bgg@kernel.org> References: <20230209160357.19307-1-matthias.bgg@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230209_080416_413309_6C3F588C X-CRM114-Status: GOOD ( 12.04 ) 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: Matthias Brugger This reverts commit fc6634ac0e5380aeb1063275a2e9a583d41b2306. The mmsys is a clock provider but does not have any clocks connected to it. Therefore assigned-clock properties should be applied to the users of mmsys. This fixes the DT schema check: mediatek/mt8173-elm.dtb: syscon@14000000: 'assigned-clock-rates', 'assigned-clocks' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index c47d7d900f283..b753547e250fe 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -988,8 +988,6 @@ mmsys: syscon@14000000 { compatible = "mediatek,mt8173-mmsys", "syscon"; reg = <0 0x14000000 0 0x1000>; power-domains = <&spm MT8173_POWER_DOMAIN_MM>; - assigned-clocks = <&topckgen CLK_TOP_MM_SEL>; - assigned-clock-rates = <400000000>; #clock-cells = <1>; #reset-cells = <1>; mboxes = <&gce 0 CMDQ_THR_PRIO_HIGHEST>,