Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1949672pxu; Fri, 18 Dec 2020 01:43:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqDzwwYo4Pk2AH4Ey8eNoySmPXL1ahLKBx5K7u3l0Q2batnQAKyUsC45P0TnuFhk/pibd2 X-Received: by 2002:a17:906:a857:: with SMTP id dx23mr3109008ejb.189.1608284592480; Fri, 18 Dec 2020 01:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608284592; cv=none; d=google.com; s=arc-20160816; b=aMMUbGCV0siCsd4arMILhyoU2deHIxE+lbRuMWqPKGNq9hW2QuKfMatlaaCzqeUnL8 bx9Cuymvo57R23I+kNHCxUhJTzdaVJ9oOUkTKxoRjU6NgiayX724ZQjmSi9Qcswpx8zO Ch/WX/0MMYaZBROxOsoVkPRVurBm+yXz/0ydNWzXziLjOrgrFnnqKpStAtO1nNwexbPF SKYIPWCHE5q6Hc7lxN25ifxDihmW36ybHb2H3+hiS+XAh2W36Wy+3jOVCAPM9uX/bw23 IecW9k7QSqUcbs0Cl8pFQz4yKDdvUKqQ04C1p4oJbveL9WPkBUOXsB3dStBWrK6jnxV0 G0kA== 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; bh=0csNOja+WKBRpwxt14NEEdfV8rsfLIdAaIbOthj2HVU=; b=izKlCoSy4n3ZV0GkIndyXfF3czaRZsjAEQkjW53o2OBxgLngUGDONB/KdgBidaVsD3 3t5TtcBpeAFC0IuGsMaP9n4vp8hMXjsO+KOw+7D4IimJDXR0mYxZWBsTemyY7GYHQIjk 7MEXjkjG7+BYchGbM3XvsoZ+Kk8jw4dqljg379hYqDHJ5Xzp0Th6hTvrXO/G1oo0uSfF 1zY+uXMSAzXGscDDoy+SL7HmPBlS2BKuHgzdgsOUR6RiOVbqk41ib9NTIyT1Q1hoJByk NrBIzOn/KlSu3iBajOazTcNz0Dn3DesGAswdp5CS1HKZ98U2D7V6o+cCKEocMR8txwUA DWKA== ARC-Authentication-Results: i=1; mx.google.com; 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 cb6si4498842ejb.459.2020.12.18.01.42.46; Fri, 18 Dec 2020 01:43:12 -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; 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 S1727196AbgLRIxH (ORCPT + 99 others); Fri, 18 Dec 2020 03:53:07 -0500 Received: from mail-ed1-f46.google.com ([209.85.208.46]:38479 "EHLO mail-ed1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbgLRIxH (ORCPT ); Fri, 18 Dec 2020 03:53:07 -0500 Received: by mail-ed1-f46.google.com with SMTP id cw27so1546577edb.5; Fri, 18 Dec 2020 00:52:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0csNOja+WKBRpwxt14NEEdfV8rsfLIdAaIbOthj2HVU=; b=KIsesOOmB+JHoVSvkEyjx4hhPmzhH5+QSmva3YQJq8fzMaX3XE6a1r+pk7qDOmXQhI MX7QXrwVS3SgpiKxCyV/yt0DUtKjhBm0DdDAebw/dBtpeaNAhhhCW7WhZN/K3zbNf5hk tbNfg5k3yidgJW4ohG59DxWLggl7ekly28RFwIU5yUIMjaxZe+gOXXRsxcwH/Eoddcgt rDadbj7mqCzcqRLvKyIePTjIoGJjNFPnw9xMPYTSaVGylmUzYJ7Lzq41yReNl+1kwbQP ijXdrCltpqNUNEIDWIL0aLD5v2XO15wAzaijON6QoGJyWTce875ypKoCJA2g4iT5xR1o r9QQ== X-Gm-Message-State: AOAM532ESVnJGD4rMeWVHQ/lutpZGnIQnomuHxh9oFv1NyQe0rlb3vjz h2iIMEPkf4cfyrxOXvrNOlY= X-Received: by 2002:a05:6402:687:: with SMTP id f7mr3282876edy.314.1608281545935; Fri, 18 Dec 2020 00:52:25 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id c14sm24884111edy.56.2020.12.18.00.52.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 00:52:25 -0800 (PST) Date: Fri, 18 Dec 2020 09:52:23 +0100 From: Krzysztof Kozlowski To: "Alice Guo (OSS)" Cc: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH v8 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID Message-ID: <20201218085223.GA17306@kozik-lap> References: <20201218083726.16427-1-alice.guo@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201218083726.16427-1-alice.guo@oss.nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 18, 2020 at 04:37:23PM +0800, Alice Guo (OSS) wrote: > From: Alice Guo > > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > > Changes for v8: > - match soc node with regular expression > Changes for v7: > - change to a separate schema file > Changes for v6: > - none > Changes for v5: > - correct the error of using allOf > Changes for v4: > - use allOf to limit new version DTS files for i.MX8M to include > "fsl,imx8m*-soc", nvmem-cells and nvmem-cells-names > Changes for v3: > - put it into Documentation/devicetree/bindings/arm/fsl.yaml > - modify the description of nvmem-cells > - use "make ARCH=arm64 dtbs_check" to make sure it is right > Changes for v2: > - remove the subject prefix "LF-2571-1" > > .../bindings/soc/imx/imx8m-soc.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml > > diff --git a/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml b/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml > new file mode 100644 > index 000000000000..f0b0fc7b3ac6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/imx/imx8m-soc.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX8M Series SoC > + > +maintainers: > + - Alice Guo > + > +description: | > + NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be > + obtained. > + > +select: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8mm > + - fsl,imx8mn > + - fsl,imx8mp > + - fsl,imx8mq > + required: > + - compatible > + > +patternProperties: > + "^soc@[0-9a-f]+$": Thanks, now it works. > + type: object > + properties: > + compatible: > + items: > + - enum: > + - fsl,imx8mm-soc > + - fsl,imx8mn-soc > + - fsl,imx8mp-soc > + - fsl,imx8mq-soc > + - const: simple-bus > + > + nvmem-cells: > + maxItems: 1 > + description: Phandle to the SOC Unique ID provided by a nvmem node > + > + nvmem-cells-names: > + const: soc_unique_id > + > + required: > + - compatible > + - nvmem-cells > + - nvmem-cell-names > + > +additionalProperties: true Don't leave comments unresolved (or resolve them against review without discussion). Rob asked for changing it. The same as with all schemas - you need to describe the missing properties. Best regards, Krzysztof