From patchwork Wed Oct 25 09:38:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 157966 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2477208vqx; Wed, 25 Oct 2023 02:39:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYWosWjHNcSUB8nRZ8Vk7rYQ39u/Vxt+sDrolBEHPKUisTsLCAWAbFpGH+gzG1XI978ocL X-Received: by 2002:a25:d46:0:b0:d9d:5e9:c65b with SMTP id 67-20020a250d46000000b00d9d05e9c65bmr13969743ybn.39.1698226763862; Wed, 25 Oct 2023 02:39:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698226763; cv=none; d=google.com; s=arc-20160816; b=oCiN+RTYuOP4ItvhDvjrut047e+8GSCmz8ekL1D132ZHVaGNblwHQEaWDjsEK/IWqN LbE+wREKRdYtjFXWeH+ot5LJrQKpcljci8pG1VP+02pj+CYE067rGlCc61etparetIMn 0r6MvVS5k9+gfY/JN4W3Bs6801u5OVc+gIliuzMhfsIoClYNzrr2DbjO4LhclpZYGgnj Y4dTtBYYlwrobQNQ6aSfL1WKtRxsa4nrMUqRC+z7k73kTWtN6vtPx8SzI8/C3JUrVZpF 8pDBEAgfgTULl9Qa953y/a/tMsjPmaJkhf3ZSOu52yVcFj8KogyOqJhMwdGQJ3AsMgEZ 1H5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8FbpQ7S1XZfsbyrXloG/Yne46pSCtOgAJxynN5p8+Go=; fh=ayhlp0U6+hAxjkLBlKEPH7IIc0C8EMfuxO2q4E9E+mM=; b=wPeGSr/R03AWCCeTFjEJxm2PNtHVA0Ihn4ztERpyE1B5tPOVA0rf20CCS0FcqT1Ng4 h+bPOZyi4yK0K0AjQPckN18F9no8G6jFUIn+TIifaTYnyC85CO39/wv5SmIemEHLwHpM m5CTvXt0F997xCmWtKx/7rvFOF+HV2Mx0md7fyVvjQmvAv/8oLVPjWEtR6c+FVcKM9oO ibgcMRNxh5cT7ToJgp0/k1WtOuQYwGNYSBgPRJG7VvPyoYdmBadlJe56UReam1IJWanB 9fjxIl028Q3eqSRHxjKcNvBn5naXTRUbA2ZauIrKqwOY7O70bM+LrhwsHbavrhicA6hg IaaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="YTNgLc1/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id w187-20020a25c7c4000000b00da076e9bebasi1333549ybe.163.2023.10.25.02.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 02:39:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="YTNgLc1/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 632D7802F227; Wed, 25 Oct 2023 02:39:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234598AbjJYJit (ORCPT + 26 others); Wed, 25 Oct 2023 05:38:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234521AbjJYJii (ORCPT ); Wed, 25 Oct 2023 05:38:38 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8EB2DC; Wed, 25 Oct 2023 02:38:36 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 madras.collabora.co.uk (Postfix) with ESMTPSA id 8C3D7660734D; Wed, 25 Oct 2023 10:38:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698226715; bh=EDKsDLQxS9/ZtjnnbKTtME2Dw+H53IZ5rGtiKIDEb0k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YTNgLc1/9ilQc1o+ymqXdVcTpiz1mSpgJnKsogjvKbF5SACTZGQJWX9t6Vn7OvzAX IfcS01czf9E6KlvOltFmebALWuwO0AhnuOtIoti9QZ/EQYqtcFIdFffh1cxu8KykQn BGMHFQ3qMOwHNu/lv/cyMtmbNmbb59tA4wCjkL/NOsUgWvcZ+Mjf7EDf/p/r0L6+hY P8Xr26Y1fIGbx4+FEmN6hEMz/xd6JyXCCTiWS7HY1dGWsDMZoe66+m4EBTRSSoQO6E aAhhGWjWn6q1XAeDL3wSXqV9taFMn1s+rqsIg0JdbnPRCAq1K/1QzDPLWoRIqGJ/AI ccARlegoxi+YQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: hsinyi@chromium.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, angelogioacchino.delregno@collabora.com, erin.lo@mediatek.com, eddie.huang@mediatek.com, pihsun@chromium.org, fparent@baylibre.com, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, michael.kao@mediatek.com, mka@chromium.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 5/8] arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory Date: Wed, 25 Oct 2023 11:38:13 +0200 Message-ID: <20231025093816.44327-6-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025093816.44327-1-angelogioacchino.delregno@collabora.com> References: <20231025093816.44327-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 25 Oct 2023 02:39:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780719827392610315 X-GMAIL-MSGID: 1780719827392610315 The reserved memory for scp had node name "scp_mem_region" and also without unit-address: change the name to "memory@(address)". This fixes a unit_address_vs_reg warning. Fixes: 1652dbf7363a ("arm64: dts: mt8183: add scp node") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 2 +- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts index f8c1f8df85d0..bae9b6763862 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -31,7 +31,7 @@ reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; - scp_mem_reserved: scp_mem_region { + scp_mem_reserved: memory@50000000 { compatible = "shared-dma-pool"; reg = <0 0x50000000 0 0x2900000>; no-map; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index c81407e44eca..e909cfadb6d7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -116,7 +116,7 @@ reserved_memory: reserved-memory { #size-cells = <2>; ranges; - scp_mem_reserved: scp_mem_region { + scp_mem_reserved: memory@50000000 { compatible = "shared-dma-pool"; reg = <0 0x50000000 0 0x2900000>; no-map;