Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1122047pxb; Wed, 4 Nov 2020 00:05:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVTf1tBywGu58ETYpA+gQ8dYX/gCJ64Q32D4D5snukOL+ef5WP34ebASkeg/iFL4vt91yK X-Received: by 2002:a17:906:f84f:: with SMTP id ks15mr15558056ejb.337.1604477131614; Wed, 04 Nov 2020 00:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604477131; cv=none; d=google.com; s=arc-20160816; b=aL58VbWVnTKD6h9j6tlk+3fhKh9M75r402XmaU+VMUigPcrlthnQkpcg2+GkiAcM9N yWlcnmNc5Y4Rizmys1yTDLLoUU+S5KEISNwBIcJsEq0ApFyH2FTmblbSNllypjQHMkO9 RasGXbr2Bu4ckRkSbEVQRhz37x4AzgKfFZWBupKuS+SbcGvw8Fi22RKl3FlHYwEOT1yw Z6f4/NqQdtp49OKqiZs0ISBJw+CD3gXGx5BjnxgErJawIvgJ8VIbOxzwOpRwzxMaVgIk TzvsEaLCjIA9u1A5Q9cxNnIO+Ie1aukS4N/bPoZqlTEv5UwnMskA+iXeh8sA/FO2LCre 1xsA== 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=uYxx+gwyV39q/IdkRY9X413mwfaAWSP1mroXlxyzjx8=; b=008i9VbuL5WIxV1iuk3YobepUvluQxvnNSoXq/E9d8RgE3eO33p3REg4c3AKwbQy4i 16KkRUaitUzIg4d+sflIQ0lHNcqwiiefDWWwD5TXeWqWOZnSn/EFnInCkeh6xNZkAbxR X2/zPKOVmA+6nfqpreKCzSjHUNcQoYnOtTgLVdfvTXFSGVSU9bh45qxcSp7enOSTPDp5 9j1rzr+mCX5+8vk03aRdF6qFqxXMCuhdzX+q5rTwtkffTMmfBSv+f5KXCSovmqWNoKv9 q+gfBE+90al7X9aCP93sOEkotUmGrp9YFT5MZi6Gqx/JAkXPbN8Fw6VfWTGZnzQZ99eQ PXgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UXBiPG1k; 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 cn3si995642edb.17.2020.11.04.00.05.08; Wed, 04 Nov 2020 00:05:31 -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=UXBiPG1k; 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 S1727672AbgKDICa (ORCPT + 99 others); Wed, 4 Nov 2020 03:02:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:39732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726152AbgKDIC3 (ORCPT ); Wed, 4 Nov 2020 03:02:29 -0500 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 A19F7223C6 for ; Wed, 4 Nov 2020 08:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604476949; bh=Gt+k50/uNJh3IRuDkRBTXYHIaTMgChYtN1A0cbfq2A8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=UXBiPG1k6PvQRX6mWnTOQBH3OvkIMIrUZlL6KN+PI9jV5o0yAM8mbPtNGep+brWO+ 6sdqGfChU6vKFPVyzg782wWmnF/4TYQaoaNW63nIrw1FA4GRHceDC9NajXWHPIw3TP FAugtvjoItuZuydI71q7gavVyyL869TDDnalVXFI= Received: by mail-ej1-f44.google.com with SMTP id o9so26366716ejg.1 for ; Wed, 04 Nov 2020 00:02:28 -0800 (PST) X-Gm-Message-State: AOAM5300xQs8bQ9+jekOk9lJhogBIxYXEAa93QRqQZ8c1oI2hqn5sdYa EUsozvh3iJBBYcSL33+mVGSl+KdWBCDcCG9sm6M= X-Received: by 2002:a17:906:5618:: with SMTP id f24mr1650845ejq.381.1604476947095; Wed, 04 Nov 2020 00:02:27 -0800 (PST) MIME-Version: 1.0 References: <20201104030645.12931-1-alice.guo@nxp.com> <20201104030645.12931-2-alice.guo@nxp.com> In-Reply-To: From: Krzysztof Kozlowski Date: Wed, 4 Nov 2020 09:02:15 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 1/4] LF-2571-1: dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID 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 08:58, Krzysztof Kozlowski wrote: > > On Wed, 4 Nov 2020 at 04:09, Alice Guo wrote: > > > > Add DT Binding doc for the Unique ID of i.MX 8M series. > > > > Signed-off-by: Alice Guo > > --- > > .../bindings/soc/imx/imx8m-unique-id.yaml | 32 +++++++++++++++++++ > > 1 file changed, 32 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml > > > > diff --git a/Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml b/Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml > > new file mode 100644 > > index 000000000000..f1e45458cec7 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/soc/imx/imx8m-unique-id.yaml > > @@ -0,0 +1,32 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/arm/nxp/imx8m-unique-id.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: NXP i.MX8M Platforms Device Tree Bindings > > This is not a title for these bindings. Please describe the bindings > for this device. Based on description, this might could go to > bindings/nvmem directory. > > > + > > +properties: > > + compatible: > > + oneOf: > > No need for oneOf. > > > + - items: > > + - enum: > > + - fsl,imx8mm-soc > > + - fsl,imx8mn-soc > > + - fsl,imx8mp-soc > > + - fsl,imx8mq-soc > > + - const: simple-bus > > + > > + nvmem-cells: > > + maxItems: 1 > > + description: > > + Reference to an nvmem node for the SOC Unique ID. > > Misleading description - nvmem-cells do not contain a reference. Just > skip it, nvmem-cells should be obvious from the nvmem provider > bindings. > > > + > > + nvmem-cells-names: > > + const: soc_unique_id > > additionalProperties: false ... or what looks more appropriate - you should include nvmem-consumer bindings and use unevaluatedProperties:false. Best regards, Krzysztof