Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp509915rdb; Mon, 29 Jan 2024 08:57:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsWe1N1EXr8aqgr2isf6EO1S8gbGQPY+NjtJjlfOLjYhoImgJ3vzIfnMKne9Pxz7//8GoM X-Received: by 2002:a05:690c:f96:b0:5ee:a910:107 with SMTP id df22-20020a05690c0f9600b005eea9100107mr5964553ywb.21.1706547477274; Mon, 29 Jan 2024 08:57:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706547477; cv=pass; d=google.com; s=arc-20160816; b=zkcm4B5EZ8FvVEstONX7qwccdZjmHZkhI0i6O+xZQMsdUxciOftDwOis57uZcB2kfi /k70QOT1nuaYpV9xman1fP/+n4Rku0QX/UsK1g3J0J9O3UoMK2aSQ8s8oZq/t+Lk5tk6 lYnkuGPDhxj/IYpylS9nKOpEsz236Xolj5Bj9vtEKlg6BgLFQG/En9UhlQ0Cy8RE7NQS julVDqOT64TfbOpVnxPQJ0cQsxW1VXKnNTRAhTTK/rO/daegl0QkN3oThRPUI39+7EsJ HdNAYdMvCNqU+px5tINd63WmLl34fOe4JQQyXitsNXaTeuD9M2EsfCTJhdQBqbTttk3m o0Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NMrbRR7tEoZwWgT0kiTxN9rHYI2PLTT5+Y54UGJNi/g=; fh=YTF+avbLv2yj1Cdn8iFyasDIogQXPxT4szYFK+YHyf8=; b=tx0+EsalCteA2COojEFfA4Ml/cIGrO6q2ju0dXnilM5qL0a56NjRbVA2BAMad5NJDM 1q9qC8bAfNItzRNZY+Q+o0VmzrDb9py6rnCNhpfFT+g6Ak8yTTsgI9rdlvSRlujU5gDN Sa3NGhhlOnOtCJtxxKD9AGUiSQIM5T2+frdcljmCR+WKaoaG8OosDVVlHtp5BASGaaUi oeydUkiM5+Oo2mCi05MozwtkT6DzN36A3qMzw0K8mCD61i1YsUj03gy31Rhh5vEncZcu R53s116PlvIz0wTdPN4UHzAa2n0g92plqKDVpv+Nyx731e+vew0cUWLA9gX3IVE4QlmB YkIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i3WIpMrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43160-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vu4-20020a05620a560400b00783f74ef83asi3503899qkn.15.2024.01.29.08.57.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 08:57:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i3WIpMrN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43160-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F03A11C231BE for ; Mon, 29 Jan 2024 16:57:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 250D7157057; Mon, 29 Jan 2024 16:57:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i3WIpMrN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49241155A5F; Mon, 29 Jan 2024 16:57:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706547460; cv=none; b=suK5P2xT4iAH6ZlFEkmTJqja/4GiDB3ojk6kqB3fIU+SvP6TcEinPO3CbiS81wM1ht2EtRNI9myhsOj/YudbIN8yqP1WZdhpf80Gdt8S89bHu9CCzVFbVUpB0kXDkEVQVfa5BMa6C+kwtcGZfm9VbSgdVeYYdFvqMrvuwykDbrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706547460; c=relaxed/simple; bh=PY5cU+3UW7naDT2PjlI20f6EMZrbPVmbCyvO5POAvBQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fUbgY62fQFRdVNm7Ay10Equ7U0pX1TYFuXIycBZBX/xL9W+PnYNGT11M0ucKjiPCH/VBgjNyzviwCmgGL5NkAnZTFCP9WkOLC65m/MS0sMk1lLmsmETM3KmA6fqkpOxtL/yMPYD5HBIUtlnhJ/taB06bBR2YzPWRsssl0TQAPZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i3WIpMrN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EF12C433F1; Mon, 29 Jan 2024 16:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706547459; bh=PY5cU+3UW7naDT2PjlI20f6EMZrbPVmbCyvO5POAvBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i3WIpMrNEurrwyWrWFlIwOAON/JCCzeu2JMaXdahxyUfDn7e+HeDM07Gj/eUZxQj6 IH6iRzCvbQVwEGelrJByDP0aLwyNbSSIytcP3jrR6gnKoqem7pMw9qCT5BHH5YUZ+2 P+tpXLDr2N5lvQ0NKm3H9GHcGbO9gP9PULvOPuPSNH9ohoHgeNUez4UMmSJl73swg9 1eXcAN8WVcJMYmrGV6Ma+g3kFDhoTw4J73hBZleXxcq7IyMYGmu/D7LpfguBeEQQ10 FEKLyz/CIghkRFw99dYtQIcFR5k2Fi2Tqm3zqLbVZdulLkw1oyZNkLciZYXVPR1r7b kTBW9KXOwGn2w== Date: Mon, 29 Jan 2024 16:57:35 +0000 From: Conor Dooley To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , kishore Manne , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: Re: [PATCH] dt-bindings: firmware: xilinx: Describe soc-vvmem subnode Message-ID: <20240129-vastly-hunk-0680e152c03c@spud> References: <3869498c995cbb123127122f429e90de0a3f4014.1706531104.git.michal.simek@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LOozDfvasueM032q" Content-Disposition: inline In-Reply-To: <3869498c995cbb123127122f429e90de0a3f4014.1706531104.git.michal.simek@amd.com> --LOozDfvasueM032q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 29, 2024 at 01:25:06PM +0100, Michal Simek wrote: > Describe soc-nvmem subnode as the part of firmware node. The name can't be > pure nvmem because dt-schema already defines it as array property that's > why different name should be used. >=20 > Signed-off-by: Michal Simek > --- >=20 > Dt binding for nvmem node has been already merged and it is the part of > linux-next tree. > Here is the reference to it just in case: > https://lore.kernel.org/r/170635581622.41421.8980881999042944764.b4-ty@li= naro.org >=20 > --- > .../bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqm= p-firmware.yaml b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zy= nqmp-firmware.yaml > index 7586fbff7ad6..108772ef574f 100644 > --- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmw= are.yaml > +++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmw= are.yaml > @@ -62,6 +62,12 @@ properties: > interface. > type: object > =20 > + soc-nvmem: > + $ref: /schemas/nvmem/xlnx,zynqmp-nvmem.yaml# > + description: The ZynqMP MPSoC provides access to the hardware relate= d data > + like SOC revision, IDCODE and specific purpose efuses. > + type: object > + > pcap: > $ref: /schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml > description: The ZynqMP SoC uses the PCAP (Processor Configuration P= ort) to > @@ -110,6 +116,9 @@ examples: > firmware { > zynqmp_firmware: zynqmp-firmware { > #power-domain-cells =3D <1>; > + soc-nvmem { > + compatible =3D "xlnx,zynqmp-nvmem-fw"; > + }; Would it not be better to have an actual nvmem-layout in here? The ~empty node here looks rather odd. Also, there's a type in $subject of nvmem. Thanks, Conor. > gpio { > compatible =3D "xlnx,zynqmp-gpio-modepin"; > gpio-controller; > --=20 > 2.36.1 >=20 --LOozDfvasueM032q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbfY/wAKCRB4tDGHoIJi 0rNqAP99TXsDxAY96t3sGZNtC3Vrmw+Zgegwmy/rGInLx2ByGwEAtZQ/EQisxfOm tWkHHbHJ9y+fW5zSNHf2/eVQEco79Q4= =PUQx -----END PGP SIGNATURE----- --LOozDfvasueM032q--