Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9272727rwr; Thu, 11 May 2023 12:24:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qDOPT3+n0wfu/Kkz4tBYRZEL9gyYettE2xAfPl0+UVPBNLEukT4HA0m6ve3Ef7Q6fx9P3 X-Received: by 2002:a17:903:22cd:b0:1aa:ebcc:dd5e with SMTP id y13-20020a17090322cd00b001aaebccdd5emr26253991plg.65.1683833059433; Thu, 11 May 2023 12:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683833059; cv=none; d=google.com; s=arc-20160816; b=CTldY6oNeGXdIYbD3kOWY/7bBeipSPJnjFcHE8Z/A9ywUQE4HJrEtogON/5J2Gql3Q gktFDUSDli3LBDdjwwk+PTGG04fEMp9p8KtH7ot7psVYJYnosLhou7cPuXb6ecpY4rGp rM/7XdTlV+JBHENcxL0muZVJnKpBRdI69OhsB8wh7cwK9NmkNba0Z/TiyfXoO+7U/EdD or8n9grv8stJs4ebjP3uyTm1eARqvHSE5OGUBq8oWnZWj0/UPib6OFyI3T67B0nq0MAm IYm/Eq2m1St72EXlrPBDkn3sTpMZ1kqSg6TM/fx01n7ki1hooYei3VIxVQsyJ9vdZtuG z/8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3ZX4qZVs4xiwbTd2Sv1VPtSgYWNYvTM+B9yG5B+iY6M=; b=VXEUEWWPg5fMIClRuFeK7FhcYY7k8CXrRuwDtODvCG4MqStHCOontsR6fggznLwZ5l eHstn5Pm7FPyqAeB+S7DbvulZSH8CafYgt29NsEtCT3JUrJhxuCDOKID1uU8vjwNxMLO ko3CmvR+8wHHnzKsEYDy2qey3NmH2dyD4tD2/C0r8JnQiFVaan4WNHVZB7/e6n8bz84c p/pb+0D6UsOCPgB+MxG1OU54H6Yndu8mOas61bM+L7WapcawVODuiWYFrI990+/E79Zy QbIrrstTd0mMGBC4gy7upwpcK3h2LA3Hn58Ye+uW/UXb0aIx8VBMrHaVWxNG5GD18fFf ikZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DlVvLRfw; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a170902e9c600b001a6ee332903si7270776plk.347.2023.05.11.12.24.05; Thu, 11 May 2023 12:24:19 -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=@kernel.org header.s=k20201202 header.b=DlVvLRfw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239010AbjEKTVQ (ORCPT + 99 others); Thu, 11 May 2023 15:21:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231633AbjEKTVO (ORCPT ); Thu, 11 May 2023 15:21:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A2EC10C9; Thu, 11 May 2023 12:21:13 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 0797B650EA; Thu, 11 May 2023 19:21:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E670C433D2; Thu, 11 May 2023 19:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683832872; bh=MJODu8cjkXd6OoV0TmVTxhOZBvGy+7TMYzFGXyH5VYI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DlVvLRfwPacQywkHeT/JHDv3yu9Tj//cfXhlpXTon41JA+Nfwjreym7+i2DeCO/wY 0iSug93frk80OT1fgPtM77WbI/jEO42Abgbrn378TcHcHqgvUcUooYk7CPYBerqccC JlQRx0icWvUyeuej3XLJK5UJsy53fnx+ZUXmc7Wn8oW2Qd2pijw4DnBTPjJLVz8STq qlNnmFnQiGq6LSm2kqi52xSY3DnXMrWwGE/sNDMwvCzoynASVYpm3rb87m6XutvG1P 1cHjhUONgjSXpVn3kwP8lLvcWlDqrda8bVcieH8TWZVDHyqxejWMTPvM/ktJnNynVy oX9/ZwaSE7IBw== Date: Thu, 11 May 2023 20:21:07 +0100 From: Conor Dooley To: Peter De Schrijver Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, stefank@nvidia.com Subject: Re: [PATCH v4 4/6] dt-bindings: Add support for DRAM MRQ GSCs Message-ID: <20230511-carnivore-legend-17206803d713@spud> References: <20230511132048.1122075-1-pdeschrijver@nvidia.com> <20230511132048.1122075-5-pdeschrijver@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ucUeK4weGJVTHNSS" Content-Disposition: inline In-Reply-To: <20230511132048.1122075-5-pdeschrijver@nvidia.com> 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 --ucUeK4weGJVTHNSS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 11, 2023 at 04:20:49PM +0300, Peter De Schrijver wrote: > Add bindings for DRAM MRQ GSC support. >=20 > Co-developed-by: Stefan Kristiansson > Signed-off-by: Stefan Kristiansson > Signed-off-by: Peter De Schrijver Perhaps Krzysztof will disagree, but looks fine to me, with some minor remarks below. Just to note, I didn't get the cover letter & therefore didn't get the changelog :/ I know you had a back and forth with him about that, *my* =E2=82=AC0.02 is = that either you put the changelog in the cover & send it to everyone, or you put it in each patch. > --- > .../nvidia,tegra264-bpmp-shmem.yaml | 47 +++++++++++++++++++ > 1 file changed, 47 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reserved-memory/nvi= dia,tegra264-bpmp-shmem.yaml >=20 > diff --git a/Documentation/devicetree/bindings/reserved-memory/nvidia,teg= ra264-bpmp-shmem.yaml b/Documentation/devicetree/bindings/reserved-memory/n= vidia,tegra264-bpmp-shmem.yaml > new file mode 100644 > index 000000000000..4087459c01db > --- /dev/null > +++ b/Documentation/devicetree/bindings/reserved-memory/nvidia,tegra264-b= pmp-shmem.yaml > @@ -0,0 +1,47 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/reserved-memory/nvidia,tegra264-bpmp-= shmem.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Tegra CPU-NS - BPMP IPC reserved memory > + > +maintainers: > + - Peter De Schrijver > + > +description: | You don't appear to have any formatting to preserve, so the | is not needed. > + Define a memory region used for communication between CPU-NS and BPMP. > + Typically this node is created by the bootloader as the physical addre= ss > + has to be known to both CPU-NS and BPMP for correct IPC operation. > + The memory region is defined using a child node under /reserved-memory. > + The sub-node is named shmem@
. > + > +allOf: > + - $ref: reserved-memory.yaml > + > +properties: > + compatible: > + const: nvidia,tegra264-bpmp-shmem > + > + reg: > + description: The physical address and size of the shared SDRAM region > + > +unevaluatedProperties: false > + > +required: > + - compatible > + - reg > + - no-map > + > +examples: > + - | > + reserved-memory { > + #address-cells =3D <2>; > + #size-cells =3D <2>; You also do not need these size/address-cells, because... > + dram_cpu_bpmp_mail: shmem@f1be0000 { (nit: double space ^^) > + compatible =3D "nvidia,tegra264-bpmp-shmem"; > + reg =3D <0x0 0xf1be0000 0x0 0x2000>; =2E..the 64-bit registers here are both 0x0. With those fixed: Reviewed-by: Conor Dooley Cheers, Conor. > + no-map; > + }; > + }; > +... > --=20 > 2.34.1 >=20 --ucUeK4weGJVTHNSS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZF1AIwAKCRB4tDGHoIJi 0hbVAPoC6OwAmplzwpoHvCInrWR1V+vNUoeq0VCpxoxhwlYCiAEAyZ7YPJfcr4GB kA8X40rOpyVck/Forfn6KiNw7KrzJgo= =+I2s -----END PGP SIGNATURE----- --ucUeK4weGJVTHNSS--