Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1123939pxb; Wed, 4 Nov 2020 00:08:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTTUuk4fOtNoVZsWpxZ6g49Q8GTdRsuo68PUtLIaC11+IESmSKxG9oZIVFU5586HRKsK6O X-Received: by 2002:a05:6402:a53:: with SMTP id bt19mr15365063edb.26.1604477328911; Wed, 04 Nov 2020 00:08:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604477328; cv=none; d=google.com; s=arc-20160816; b=ALSMulXgVa41LOeEL1r4ioZukWq1SvD5h3CSlD7dayR5p8yD+0DYJ/+rvkh5HIY29d H4Z31qpi4Tqws50irsRdaLonBHq3iF4rspbWv+qhfoI9C55W0R8bPVRGrMRRb5a6jcgm o6eOmsTY7Kcpe48ztEyg2hcsXThbQ/FR8zdtwSJuOdOQAHcKlYpg0PgluBZHtv8PBejo bi1WFqS2E36ynmUI+lo1qsIv5vW+4JRRSHbDFmuSDTZKU/IcBnSUMtNu4xUNdE8Jw+1o VjW/L6IXcfap3f578ze9A7w3WxFU6n0ztH6wWMAu/NNzhRBz5QO+zEd/RbMplm0gWwEF oWtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AjL4nAJa3XWL4Ve3NT3I7TKOdVR0w/jj26J25639U0Q=; b=NGIA1GUN1H5f6y1V3MQRpKWkL9jL3tg62Uq1ZxCWGMsBoQnz/Ap3d/Xxe/lHKKnYbp P20BKIAChwhF3jQ+c0NzgeS0b7v6LPRV2i3iRioO+EwzlYXJxYbSC6iw7e/shB89vdq8 sTvTX3GTOea0qWkM61NVaderLsTH6R4x5zLgIdOWwngyrH0A/TxKqVqZ5CNO3Vrcifo+ 7tCTqjtEWX2LDdfAvS9iR4bbktenPre/vcdmUmjPE3RywFzGxUHDtzoOjLWUrCb32c6o OOiMY6lA//ElRur4wd47+j9a1dT/TNXCwf2LeAUDjbEYyfaDtge0S+qR6nWlbi2DnSQD /cQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mjvHb3jU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si918304edc.481.2020.11.04.00.08.26; Wed, 04 Nov 2020 00:08:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mjvHb3jU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727706AbgKDIHF (ORCPT + 99 others); Wed, 4 Nov 2020 03:07:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:41040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726434AbgKDIHF (ORCPT ); Wed, 4 Nov 2020 03:07:05 -0500 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DD70223BD for ; Wed, 4 Nov 2020 08:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604477224; bh=7VyqtWHJeZ+40fVThxDMretRiB8PwKZnq3E4EmKuzWY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mjvHb3jUBnA2Q51Tbs90/HuPPB84+55xUFwd0J1l55eyB/mmt0S6S2JBTlKfy1YUP vhYA9ZZdZbjoWRlPmDF15LbZQWzzHjWbKlZ7aSuPk+nEElJVmg4/m313+kDaRHpKnH an8BEUYHFDYC89BWGoRc5dRsWkwXzuqIdBVdQYYI= Received: by mail-ej1-f48.google.com with SMTP id cw8so14899409ejb.8 for ; Wed, 04 Nov 2020 00:07:04 -0800 (PST) X-Gm-Message-State: AOAM531R/JxDf/PTaRSOsV3qLt6IOtx1/97M4iHyE/rHbFkiOp+CeOTF yi1eRevUKaWQGcMBCuDHr+b6NY55+u7wE3py2oU= X-Received: by 2002:a17:906:8401:: with SMTP id n1mr23258203ejx.215.1604477222748; Wed, 04 Nov 2020 00:07:02 -0800 (PST) MIME-Version: 1.0 References: <20201104030645.12931-1-alice.guo@nxp.com> <20201104030645.12931-4-alice.guo@nxp.com> In-Reply-To: <20201104030645.12931-4-alice.guo@nxp.com> From: Krzysztof Kozlowski Date: Wed, 4 Nov 2020 09:06:50 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 3/4] LF-2571-3 arm64: dts: imx8m: add nvmem-cell related stuff To: Alice Guo Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, "linux-kernel@vger.kernel.org" , linux-arm-kernel@lists.infradead.org, peng.fan@nxp.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Nov 2020 at 04:12, Alice Guo wrote: > > Add nvmem-cell related stuff for the soc unique ID. Subject and commit msg: please do not add "stuff" but describe what are you adding and why (what is the purpose, feature, benefit). "Stuff" is too generic. > > Signed-off-by: Alice Guo > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 ++++++ > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 ++++++ > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++++ > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6 ++++++ > 4 files changed, 24 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index ec71a5e8a062..b45dfe133ec7 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -261,6 +261,8 @@ > #address-cells = <1>; > #size-cells = <1>; > ranges = <0x0 0x0 0x0 0x3e000000>; > + nvmem-cells = <&imx8mm_uid>; > + nvmem-cell-names = "soc_unique_id"; > > aips1: bus@30000000 { > compatible = "fsl,aips-bus", "simple-bus"; > @@ -475,6 +477,10 @@ > #address-cells = <1>; > #size-cells = <1>; > > + imx8mm_uid: unique_id@410 { > + reg = <4 8>; Register addresses and sizes are by convention in hex. Best regards, Krzysztof