From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC31FC5519F for ; Sat, 14 Nov 2020 16:50:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9716B20719 for ; Sat, 14 Nov 2020 16:50:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GdNDHOFc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9716B20719 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PAANujX41X8VuItLDt3MbjrFpUDmBeXRgz0sK0RCLR0=; b=GdNDHOFcFn+2nLsHJZ3q0FAgz 4M7kVE2VLs5uSYplFisxNxH+IghPewcgVTNi2kYK/pVp4zTAgMne/WKag7ybzpn0Bp8s+/WH2N9gL zNMmXmnsk+l50gHWDFhJnr8BD7Neqs/Fxfii87H7gXRC4zEJC1ksSMJ1RgPTwWN78xod2lzDZaBwM P/MxlMgN3xk6ZOgn2jrfQ37AcY8lgu4ckU9/L1MCiLE1DCKixfsXjyElzo2d39VEQLWabQFT01kB6 lYdMEfkReGZ55Z9bSKcAu3022rVNB6VgDoPJuaBNpJO641qH5N8Lgj1GqrcmAiVJO8w4LaZ7Umkh1 gZbz2dldw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdykU-0001HX-HW; Sat, 14 Nov 2020 16:50:02 +0000 Received: from mail-wm1-f68.google.com ([209.85.128.68]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdyk8-0001CR-DP for linux-arm-kernel@lists.infradead.org; Sat, 14 Nov 2020 16:49:41 +0000 Received: by mail-wm1-f68.google.com with SMTP id 10so19336219wml.2 for ; Sat, 14 Nov 2020 08:49:40 -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=aRVBRsu67VpMNiZV0EvzM3D1WLASw6LIRYkR/+s56bw=; b=oApEgTxZiiDm6Uz2hMl3oEI0kEFOg0pRa5jC7ZMEOIbQBt7N5u+7jMW8xiRO5gpqbd fCR8U4G0igLpYy6F7RNrDuO8K68yrUzBgaCeEqnQwFbSJK7onAZr6QIQ2yA+wPmCWO75 02IiozlHDII/xz/EFQ9l1xr0BO/bLhVMTlsfINIW7WLfOh4Ydk3VlOBWmXC3DL1oS9cY qRct4TAfINZAqi9PL8qvrchdKCp3NEkaWJrO0irG2+WRO9G0yFdrtcIeDS68xsUIMcDh LdTiNmkiLUAvjuvWV7L+DG8p4M8vmRpcXfliIAZfL0rSayQWKJIvJYlOtUE6Jam7Flt+ CTGQ== X-Gm-Message-State: AOAM531rrCrEEVLXXfLzx2kqfg+bdKPhENHJoffO6vbblHgFXkBIVgu3 e+vyFejN05gjWKwseNys8XU= X-Google-Smtp-Source: ABdhPJwq2D7Rvw2ZUQBiEZWQanL6hXtdBRNRqgVAkVmPPA6FduDAyK2pI/jr3bF6VaqOWR9wVKTE9g== X-Received: by 2002:a1c:6302:: with SMTP id x2mr7873931wmb.121.1605372579340; Sat, 14 Nov 2020 08:49:39 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id k81sm24654429wma.2.2020.11.14.08.49.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Nov 2020 08:49:38 -0800 (PST) Date: Sat, 14 Nov 2020 17:49:36 +0100 From: Krzysztof Kozlowski To: Alice Guo Subject: Re: [PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID Message-ID: <20201114164936.GA32552@kozik-lap> References: <20201113110409.13546-1-alice.guo@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201113110409.13546-1-alice.guo@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201114_114940_533383_6E615E19 X-CRM114-Status: GOOD ( 16.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, peng.fan@nxp.com, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-imx@nxp.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Nov 13, 2020 at 07:04:06PM +0800, Alice Guo wrote: > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > .../devicetree/bindings/arm/fsl.yaml | 25 +++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > index e4db0f9ed664..f4faebbb57da 100644 > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > @@ -901,6 +901,31 @@ properties: > - fsl,s32v234-evb # S32V234-EVB2 Customer Evaluation Board > - const: fsl,s32v234 > > + soc: > + type: object > + properties: > + compatible: > + oneOf: > + - description: i.MX8M SoCs > + items: > + - enum: > + - fsl,imx8mm-soc > + - fsl,imx8mn-soc > + - fsl,imx8mp-soc > + - fsl,imx8mq-soc > + - const: simple-bus > + > + - description: Other SoCs > + items: > + - 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 > + > additionalProperties: true The "soc" node should be required for these compatibles. Otherwise you will have to stay with this backwards-compatible-DTB-device-initcall-glue for many years... I think you can achieve it with allOf. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel