Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1747064rdb; Wed, 31 Jan 2024 07:58:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHShpyJEx5CKG0fGOaKR+pUReBUciZMuJBzwnmn58+7Vr8bcV43BNNuYv1zZTkXiYW2HhVw X-Received: by 2002:a05:6358:27a6:b0:172:d79f:1841 with SMTP id l38-20020a05635827a600b00172d79f1841mr2268858rwb.7.1706716726768; Wed, 31 Jan 2024 07:58:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706716726; cv=pass; d=google.com; s=arc-20160816; b=K9QMwCDmF3tJ2AJsaPJIAEBlPtv+DtHgymwqRNc3AlRklNG57CNdKgeh59Sgd3hgSB 9A0fEmHE5Z0XiHtaGpt86jLe8C5yBOw7DBax00cnvxxT7AgaxlTNc/vLK3lOl5/bm7UN Z6MwoXSstv0Nrcs/VC6uxuwa86ywISqk8tAONxkhshHCaLaTER0ENuB1MET0napQb8uG fBbSgsMcDVV/IxJUxsP5IW3KL92Uyz0pTcAxrBkV6HDZ81Xk80dxVrMlUezOfjjbP1mV nNNnzb2KjjNWaium1r3Og3V89qDbVB/4Bk7S7id4b7NppkLYoPb2uawxXnlMO7JW9Idp i8cA== 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=P1OmD0ZQnKazwaGE6vLmxTlBURohpJB4z/QfYzN2IFw=; fh=ubUGUncN+KL/a4ml58EOjlxNtLj22uCzAgM8Ih2zC1g=; b=d1DWe3vPlIiOVS5PK7mYFB3bpOLei8/aO1BOpiru0o9MFZ7ZgApPBTSkcK9bVQt2ap NFM0tAJJfgBepUJG9btgjJwL3mhAda4SZiq7g5O4gQVC2dKPsMmX5LFheFZERxNxj01S oPdsHmjBOIwZ+t5D49JXInhktwI2KxLIwb+WBASoDTLbTVGWS40uHaunGyT4ofvw0yds QbDtAMh9+8TQCqSRg/ywSjVhgb60merBTN4bmyxbHJFPMpG7ve9CDvCB1G9B4HP7cVnp kVLXNPbMGb9cF9L5yBSbFng8JNN/sK8Ca9h2AHc4ql6qxGpm/33cyQD8eKQ1ZlW9s0YR Nrhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cJC8mHyR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWsaqMnAzSdp+00vPS26H62qcHckc4sKcC//Yu9R6nGZtZXMAM7UkA2yNz7Y4PfpHHxKwRQ/oakLTLPM75WIhp+OFQRyB+pXAmXpXiFTA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t14-20020a65608e000000b005d8e280c876si3700240pgu.729.2024.01.31.07.58.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 07:58:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cJC8mHyR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-46722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46722-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 71653B2DE1D for ; Wed, 31 Jan 2024 15:35:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16AD386ADE; Wed, 31 Jan 2024 15:34:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cJC8mHyR" 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 3374B128388; Wed, 31 Jan 2024 15:34:35 +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=1706715276; cv=none; b=oB1SCZ59E024OnP6IOANITRJiTCReJavdEoNwk9H0WW13j0NVxYFxb5RFCgiKtQUfovfu1fRiE9Am5BCcm4Wwcd7rX9EVjnfDqxJfsBP3QWB3Jr4KI7rMFuZXITtPM3G4AONGz2vI9H7qugZJbQowki1R1uXR+ju3hQVKxACGK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706715276; c=relaxed/simple; bh=QQqV3bbP03G+xG6vuCBmBmlw0AuFNj3Mn7JBpxImoks=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LjONLFL04ePJ3ntutPxy6O36c9TJ9idLA/azkts/oK0N/U3is9FBwu79BYxQ97+X6kAiGh0JzWJk9uB+TFgW6DpvnSIZ+Ahs90SdeN+HQQLcBJJu7cb6rlaFFQarLk/FL0MeVnjPnnqABt4wB/kI8sYTU5u/9D3gXQqz6zkNf1U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cJC8mHyR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54928C433C7; Wed, 31 Jan 2024 15:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706715275; bh=QQqV3bbP03G+xG6vuCBmBmlw0AuFNj3Mn7JBpxImoks=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cJC8mHyRJukMpVXa+Q8paQVnxkyN/CR9xP7DeuQ8PirxyucA+ii0WGa7vu2fuD8fn 1NpgVrHoE1qaIACClRdbeUxEK4cKtchV+p7JwgF2DMK6x/XqOl+2xs2kdoUUIBR3kW aJts20Rx7rG8rRAN1BEAdP9NeMDbY/O0trbrSaGQT/JEJokCIacgus+gEXuwJB3nLa ZQvDVoeWxPfQQ9Jt16vxksL2lTXTElR8AnhAUtPZUvFB/JMIri1avLjwa4FK3PglQe nl0hcWEIxM4zriZzPF8NhU75O4H4B/bx6ToP+BLjQwpfxLdqS3bQfmaR0R18M952/p 04vdePHFeujlA== Date: Wed, 31 Jan 2024 15:34:30 +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 v2] dt-bindings: firmware: xilinx: Describe soc-nvmem subnode Message-ID: <20240131-portal-glazing-16fa36efb3cb@spud> References: <24fe6adbf2424360618e8f5ca541ebfd8bb0723e.1706692641.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="p8eTPnKnItRAdl1X" Content-Disposition: inline In-Reply-To: <24fe6adbf2424360618e8f5ca541ebfd8bb0723e.1706692641.git.michal.simek@amd.com> --p8eTPnKnItRAdl1X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 31, 2024 at 10:17:28AM +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 Acked-by: Conor Dooley Cheers, Conor. > --- >=20 > Changes in v2: > - Fix typo in subject > - Make example bigger requested by Conor >=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 > v1 available here: > https://lore.kernel.org/r/3869498c995cbb123127122f429e90de0a3f4014.170653= 1104.git.michal.simek@amd.com >=20 > --- > .../firmware/xilinx/xlnx,zynqmp-firmware.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 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 870b94813a43..741f17c830f4 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,18 @@ examples: > firmware { > zynqmp_firmware: zynqmp-firmware { > #power-domain-cells =3D <1>; > + soc-nvmem { > + compatible =3D "xlnx,zynqmp-nvmem-fw"; > + nvmem-layout { > + compatible =3D "fixed-layout"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + > + soc_revision: soc-revision@0 { > + reg =3D <0x0 0x4>; > + }; > + }; > + }; > gpio { > compatible =3D "xlnx,zynqmp-gpio-modepin"; > gpio-controller; > --=20 > 2.36.1 >=20 --p8eTPnKnItRAdl1X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbpohgAKCRB4tDGHoIJi 0p05AP9bj66WPLZDJjQs7HxXFevKfbYnJv+06hgUHoKnu22e4AEA/ySr0RIBsROL 8ZrTNyAnnycNZUDPJk2tZKTechOleQ8= =dgZy -----END PGP SIGNATURE----- --p8eTPnKnItRAdl1X--