Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4123428pxu; Mon, 30 Nov 2020 18:38:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4Ac3umCvrudJ4b/qutKhwMNstbz53x8rcnOtkHHowtxJwIDlM6+hc8ZU4tqqAKp+40WYe X-Received: by 2002:a17:906:3a84:: with SMTP id y4mr902302ejd.425.1606790333834; Mon, 30 Nov 2020 18:38:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606790333; cv=none; d=google.com; s=arc-20160816; b=sGoTm/zSTuzjFUOt+rqxwdCBDoULEW1R9DgAx9Ni20rrTuT4aRIQRBrtStxfLO2DwQ QtDznSrrkr6fnKmCaFTlQII+c5RaYh7HAq34RboHzhpz6oqYmsez6RlWcrs54YBgamvr +mbAIDMAec/XXP8mTfB49vOC9F7JwY/9f+RocyJS63uCg8qpNU/Vv132I18N1/7nfBQ4 auBkaZeHquKrx2nqKkzhd7Z+sjpxGcj+kJtfgxHJDuvj+d1Ctbm75lfYrsgaAvheWZ0D 8vg/NoR6l7ubWw3rNPrSBDC83XNZ8Eta5A4XHeq5fwZzXUt5mTP5fBDpd1UM9/EOZl77 XJug== 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=Q/HzlOoNpMld/PKw4A/VNclXjAqEao2yRcGSeU0Y00A=; b=DpfnnOV6YU9/DzjEhm4Lz7JkCnZxOs/ifcMQTP+mD9n6hwxJB0VfCk6E/9RpWawwO6 x90o3dI11Y/RnvvoxA17grq+N8zxk2L7Og5sJYv4lnOP0aNozCbTscynSVPWrY+SwWY/ UOAUy3TWVYBLWQz5/fTwH3C/J2VRYydtUziGOhdjxba7Mjf3AGSvGy6gCzxNyN81Peb+ KMuCcN3D8kxeOLX4jtlI4cNJw8/jq2aU+14XPyxOo1hAx/b6frTjJsrDUXdexFnsBbMT VhT3DJNXU3f/sHQUQeKdCvbXrapHJFXzMbcsZZuieK0vxDh+Hg5gmxQ/LQk38lykO0cR q4Ig== 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 t20si106472eju.40.2020.11.30.18.38.31; Mon, 30 Nov 2020 18:38:53 -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 S1730234AbgK3V6L (ORCPT + 99 others); Mon, 30 Nov 2020 16:58:11 -0500 Received: from mail-il1-f194.google.com ([209.85.166.194]:47030 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgK3V6L (ORCPT ); Mon, 30 Nov 2020 16:58:11 -0500 Received: by mail-il1-f194.google.com with SMTP id b8so12827342ila.13; Mon, 30 Nov 2020 13:57:50 -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=Q/HzlOoNpMld/PKw4A/VNclXjAqEao2yRcGSeU0Y00A=; b=JyvVjg6sNbFlEBK+yPsNj16BvjvSzA5USv5ZrZwzUkZWF2FWud/mRj7sQuxM2GPVuI a0Hh3IUrsi6kRBOlpexk2P24Pj0df9rUGbG45okdVTsmx4jWJfiAUEYcEHNZaN5GWokW ARF/O55uEaONXQ+7gr25AsIuyKk0QhH7cFVHtcmyE4zeSshiMIv//2S8HM5wyQR19iWU WfKD/f/cbRyYmd18o/WkQZvIJGkI23vMJRajC/qdvU3KghaNI5xGHwAini2QNVE/Bde2 IzmVTD+KIUZkoKPXG7RMckKuoPaZgUGv41lW2I3itbw8xeebEz4SLNygrgufjGEfzNfY 8ldg== X-Gm-Message-State: AOAM5332+cbEhRTkIxTN5j5wR33gwYb2Gzv0LmtQvmG83EyBOWIewRwv +xDqoHWF93eyPeNMdrVpuA== X-Received: by 2002:a05:6e02:168c:: with SMTP id f12mr10637919ila.105.1606773444789; Mon, 30 Nov 2020 13:57:24 -0800 (PST) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id m19sm11143329ila.81.2020.11.30.13.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 13:57:23 -0800 (PST) Received: (nullmailer pid 3101256 invoked by uid 1000); Mon, 30 Nov 2020 21:57:21 -0000 Date: Mon, 30 Nov 2020 14:57:21 -0700 From: Rob Herring To: Alice Guo Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, krzk@kernel.org, linux-imx@nxp.com, peng.fan@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID Message-ID: <20201130215721.GA3090303@robh.at.kernel.org> References: <20201124015949.29262-1-alice.guo@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201124015949.29262-1-alice.guo@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 09:59:46AM +0800, Alice Guo wrote: > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > > v2: remove the subject prefix "LF-2571-1" > v3: put it into Documentation/devicetree/bindings/arm/fsl.yaml No, I prefer this be a separate schema file and not clutter board/soc schemas with child nodes. > modify the description of nvmem-cells > use "make ARCH=arm64 dtbs_check" to test it and fix errors > v4: use allOf to limit new version DTS files for i.MX8M to include > "fsl,imx8mm/n/p/q-soc", nvmem-cells and nvmem-cells-names > v5: correct the error of using allOf > v6: none > > .../devicetree/bindings/arm/fsl.yaml | 47 +++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > index 67980dcef66d..7132ffd41abb 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > @@ -918,6 +918,53 @@ properties: > - fsl,s32v234-evb # S32V234-EVB2 Customer Evaluation Board > - const: fsl,s32v234 > > + soc: > + type: object > + properties: > + compatible: > + oneOf: > + - description: new version compatible for i.MX8M SoCs > + items: > + - enum: > + - fsl,imx8mm-soc > + - fsl,imx8mn-soc > + - fsl,imx8mp-soc > + - fsl,imx8mq-soc > + - const: simple-bus > + > + - description: old version compatible for i.MX8M SoCs > + items: > + - const: simple-bus Fix your dts files and drop this. > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8mm > + - fsl,imx8mn > + - fsl,imx8mp > + - fsl,imx8mq > + > + then: > + patternProperties: > + "^soc@[0-9a-f]+$": And this is just wrong. First you say the node is 'soc' and then here it has a unit address. > + properties: > + compatible: > + items: > + - enum: > + - fsl,imx8mm-soc > + - fsl,imx8mn-soc > + - fsl,imx8mp-soc > + - fsl,imx8mq-soc > + - const: simple-bus > + > + required: > + - compatible > + - nvmem-cells > + - nvmem-cell-names > + > additionalProperties: true > > ... > -- > 2.17.1 >