Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2814733rwb; Mon, 15 Aug 2022 11:54:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR5dSFR3Fy64niopTeBkHQkQHcYZlYJBj85/7j4foc3A7IDZ6NVm7f5U5GSUX7VOMCd2xSJe X-Received: by 2002:a17:907:94ca:b0:731:8395:d526 with SMTP id dn10-20020a17090794ca00b007318395d526mr10920945ejc.389.1660589657891; Mon, 15 Aug 2022 11:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589657; cv=none; d=google.com; s=arc-20160816; b=f7hQmyJySaEMUkosOXajp7/2/XjfX7bz3xAIe3Dw31zfAvu6JQnP/bTl1pBcUfz6WQ PdSBnam5Ow/iHSiFi5iTVa3YsiF26HZu0G/lnbJ6UTXsUSjM22TO1RJBLCv3jmUfOcPi rxU2P4KiDj55J0dNRP2BYQOKwH3Ch+xcsQ69YSo7dMdXhrcbkL3z7pmxiNpeV9PNton8 Wh3hQtDPRxMUHdJap9l3HloXKj00RFXlDBtnX6JggVd2Uk8kLxtOQ0AiFh7pUypbq4w3 jq9ebhSy6g6nTdVS7xV5cSTany4jW6XT2iqIOKtnipc3DUe/+GGwfNWGm7bZnBlU03iz jqEA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=K3JtjQxaF3Hy1la7WLhWC24rzYz6dncwcR1gf/1Qkyk=; b=SXaJgucPM3yI0mA3gCbWFDUqCzE+y/z/B+31ySWAYO2jogo1RB+MCLvPcJSWiTPA67 /hrsPsHgXsGOxbZ2bAGdt2aZLkTlGhE6GRc6okTwicycH62Rt+p69npuOg8WcqxH3q8N PJZBpIJmLW5LifqjoTDMmTS7cUH0oLhoHn//VIpLjGny9WIHKVIzyYZ0EQRAaW5u3S9a eBXSlkFOADuqRX1wchWKtfHp0tN07PLEiDRPC7uoodXyP7dYbV7AKyKN3W3AHCRJHg1N UNJ9ChtyTpmk6bIxGqQD+sXzqzHi0tsHpnXDvRmF7ZlQDIIrQ3DKX+AYr/A9mqV+7JG0 kBWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rfRsiCui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc12-20020a170907168c00b007316cc27ab0si9797099ejc.980.2022.08.15.11.53.47; Mon, 15 Aug 2022 11:54:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rfRsiCui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242939AbiHOSix (ORCPT + 99 others); Mon, 15 Aug 2022 14:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241862AbiHOSiP (ORCPT ); Mon, 15 Aug 2022 14:38:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 128933CBCA; Mon, 15 Aug 2022 11:23:33 -0700 (PDT) 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 32D52B81077; Mon, 15 Aug 2022 18:23:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8666CC433C1; Mon, 15 Aug 2022 18:23:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587810; bh=RxOBuLdbcvJUhR8pRPb57+gIPLNBhGcRnrqEWp92T+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rfRsiCuieif9ZxvVnUKKkJyQPctyPTO8RVYgWg5Bx4qzbL1L2HOleKLjG6tnqVoUk AbKnPw2bZBEC97JSY8hR9tffHOmL7yS9EjFRQuNqmPcpMJdooHLLGGyW2hkcuIN5jT GX/qaFPZJhMG94tn1HnC7FZma7nVns9n5LqXRwPc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thierry Reding , Sasha Levin Subject: [PATCH 5.15 203/779] arm64: tegra: Fixup SYSRAM references Date: Mon, 15 Aug 2022 19:57:27 +0200 Message-Id: <20220815180345.957114549@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thierry Reding [ Upstream commit 7fa307524a4d721d4a04523018509882c5414e72 ] The json-schema bindings for SRAM expect the nodes to be called "sram" rather than "sysram" or "shmem". Furthermore, place the brackets around the SYSRAM references such that a two-element array is created rather than a two-element array nested in a single-element array. This is not relevant for device tree itself, but allows the nodes to be properly validated against json-schema bindings. Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 2 +- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 +- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index 062e87e89331..8354512d7b1c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -1635,7 +1635,7 @@ bpmp: bpmp { iommus = <&smmu TEGRA186_SID_BPMP>; mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>; - shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; + shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 510d2974470c..a56fb83839a4 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -2267,7 +2267,7 @@ bpmp: bpmp { compatible = "nvidia,tegra186-bpmp"; mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>; - shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; + shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index f0efb3a62804..28961ed31d87 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -122,20 +122,20 @@ gic: interrupt-controller@f400000 { }; }; - sysram@40000000 { + sram@40000000 { compatible = "nvidia,tegra234-sysram", "mmio-sram"; reg = <0x0 0x40000000 0x0 0x50000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x40000000 0x50000>; - cpu_bpmp_tx: shmem@4e000 { + cpu_bpmp_tx: sram@4e000 { reg = <0x4e000 0x1000>; label = "cpu-bpmp-tx"; pool; }; - cpu_bpmp_rx: shmem@4f000 { + cpu_bpmp_rx: sram@4f000 { reg = <0x4f000 0x1000>; label = "cpu-bpmp-rx"; pool; @@ -146,7 +146,7 @@ bpmp: bpmp { compatible = "nvidia,tegra234-bpmp", "nvidia,tegra186-bpmp"; mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>; - shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; + shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; -- 2.35.1