From patchwork Fri Feb 25 02:02:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= X-Patchwork-Id: 12759534 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 CFDF2C433EF for ; Fri, 25 Feb 2022 02:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=cPFQ3eBU+RqOVYjUgwJGD5mpeOkLNhZctFANppsK0Ug=; b=1vslMWzPNrF3p+ CS7oWZRPJNR3DcTUSo1SmQ3XJfRlUPtKe5IA6Sz6s67U5rOn1tS+ZFNCdPHb2uF+yf9LpT3h35bNK a85HEjq/7MXStDYseL34X77hk59QyWeLyThB1xm9jm2bgpm/wzvmA5hOxXXPkwOt0Dj1PiFQetBJ5 p1/KXMw/BIRNEQBbp2risX2pBPEl3tBS3Khh8M1qZN5ipdG37gBHItGgOrfdxYksZFsII7MO3RHAr o/XDbp9YD/7qffTfQOh9eSANe+sXiBQVYzvM38BeXGKFAql8tiuveSsGJzvpMvNklJdeBtvn30DA2 ZiCoVHgr5uWVv2y1Qu1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNPzP-002xqc-0l; Fri, 25 Feb 2022 02:05:47 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNPzK-002xpm-8e; Fri, 25 Feb 2022 02:05:45 +0000 X-UUID: 95652a0169d740efa4c53ade4bc630f2-20220224 X-UUID: 95652a0169d740efa4c53ade4bc630f2-20220224 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 338333372; Thu, 24 Feb 2022 19:02:44 -0700 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Feb 2022 18:02:42 -0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Fri, 25 Feb 2022 10:02:40 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 25 Feb 2022 10:02:40 +0800 From: jason-jh.lin To: Rob Herring , Linus Walleij , Matthias Brugger , AngeloGioacchino Del Regno , "Paolo Bonzini" , Sean Christopherson , , David Matlack , "Jing Zhang" , Marc Zyngier , "Bartosz Golaszewski" , Sean Wang , Tinghan Shen CC: , , , , , , , , Seiya Wang , , , , , , jason-jh.lin Subject: [PATCH v2] arm64: dts: mt8195: add gce node Date: Fri, 25 Feb 2022 10:02:30 +0800 Message-ID: <20220225020230.24472-1-jason-jh.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_180542_337864_1743BF7D X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add gce node and gce alias on mt8195 dts file. Signed-off-by: jason-jh.lin Reviewed-by: AngeloGioacchino Del Regno --- This patch is based on [1] [1] arm64: dts: Add mediatek SoC mt8195 and evaluation board - https://patchwork.kernel.org/project/linux-mediatek/patch/20220112114724.1953-4-tinghan.shen@mediatek.com/ -- Hi Angelo, I'm sorry I couldn't find your last reply mail, so I reply you so late. Thanks for the reviews! I have fixed them. Regards, Jason-JH.Lin --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index a363e82f6988..75422c498309 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -6,6 +6,7 @@ /dts-v1/; #include +#include #include #include #include @@ -18,6 +19,11 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + gce0 = &gce0; + gce1 = &gce1; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -367,6 +373,22 @@ assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; }; + gce0: mailbox@10320000 { + compatible = "mediatek,mt8195-gce"; + reg = <0 0x10320000 0 0x4000>; + interrupts = ; + #mbox-cells = <2>; + clocks = <&infracfg_ao CLK_INFRA_AO_GCE>; + }; + + gce1: mailbox@10330000 { + compatible = "mediatek,mt8195-gce"; + reg = <0 0x10330000 0 0x4000>; + interrupts = ; + #mbox-cells = <2>; + clocks = <&infracfg_ao CLK_INFRA_AO_GCE2>; + }; + scp_adsp: clock-controller@10720000 { compatible = "mediatek,mt8195-scp_adsp"; reg = <0 0x10720000 0 0x1000>;