Message ID | 20230506064128.34005-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp891872vqo; Fri, 5 May 2023 23:47:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5T6A3LtzQwN4ml9jZWW0IUb0LuB58IGUNqT8zSTmKm7G4pRA2AqqBvVItqiCoDy67PItmq X-Received: by 2002:a05:6a20:8f1b:b0:ff:98ad:16a4 with SMTP id b27-20020a056a208f1b00b000ff98ad16a4mr628802pzk.38.1683355622805; Fri, 05 May 2023 23:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683355622; cv=none; d=google.com; s=arc-20160816; b=APd94I1mjUOy3OkTemkUHWDJ3FOQmzpoIJGiNXnRb2cEgaFufZhtYIu2FBJeFTXsDx U9eW23bRbxgJsRiYtuWHa+tOGxoGe0SWBKoVaK+xwNn7jGEyVjBazFk2tOeoww5I/ONZ mDAd4FhWzvg8wlNMiawKvRcZbM79BRxYGpAFyClXmF80BGDiBtdilMtZVNvpA8ycdpFH YlGS9gjnML9t1XVBOxGjXaEj6Qy6moTMslNCfoi/rUeVWlV3OEqOhCIIlkj8ZDgcgRfY PCyYOnnRQ6Vo/oAsFQZesPz1WYP4hWXEeE2UfgjzSwA22nMOj4mbfef+SSk0u9kmc2pD j3MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=v+3W/krS7+7HCt+hhOvVVT5dCD6XlosgO/zqhN2oCo4=; b=Lf+aEQTymyJAwzATkNwOl6T4P4o7JoG4zMsKVYeFAalyFJKcXLzkNSd/SDaZh16nJ/ 2a7gyVVuQRTsnENTK76w1I9MQQj10Oz5LmZYkXNhWzgbxYu1yrA+sUhT+s5o2JpXbS0E VBwNQ+QjxRkgSzcKN9QyDVIuD7rwBVNtaCj+8Qow9z8+c6Ltcr4rpXaL4X7UO3/dDWcu KldQVqheiCzBj+iAoko8ZTrX3FVnSrozfH//xgXFpb/YrcnH8ISZAZ5ha8iyqzrp/JMI JmSE0p5v5HqoJVFN7MLPhqZwZ+zuArZqFVjE+A7SpRFdnxQ5rI8fvLYOk1BN9nFCGkJh KMUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WcJg7Jg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a631d09000000b005141738f606si3799650pgd.179.2023.05.05.23.46.46; Fri, 05 May 2023 23:47:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WcJg7Jg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbjEFGle (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Sat, 6 May 2023 02:41:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230244AbjEFGld (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 6 May 2023 02:41:33 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC1C99EC8 for <linux-kernel@vger.kernel.org>; Fri, 5 May 2023 23:41:31 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-95369921f8eso422064466b.0 for <linux-kernel@vger.kernel.org>; Fri, 05 May 2023 23:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683355290; x=1685947290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v+3W/krS7+7HCt+hhOvVVT5dCD6XlosgO/zqhN2oCo4=; b=WcJg7Jg40vWuV6hdu3V1rT7XqiMzV4X4kPIe1BK4RNvydYPIBauTlLGAGDiphHNi82 49nCctvMCtvkJUwNUPNsBpY3DVt3wKyQX+YNd0rHS9AoUrrhV00A/PPgIsL3Q9ucu3pJ D6t4tpAnT+/wBl2jK8eiELqBizb1nB0V8r0dxczU7dTPmFjppIBNdj6GeaCqiftfnNpF nDYpaj7vjuBTM1a61fuxGULkm63Y9g/RKSWruBeElOcsMIaiTfK9MyGHK2AwHq+6UOpm 9QExdfOlxMg58kkt+3YwtXTlalCjjZXTZv/47mNWhM8f50iyfnQQjRpohFQPtSLm09LN Qnng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683355290; x=1685947290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v+3W/krS7+7HCt+hhOvVVT5dCD6XlosgO/zqhN2oCo4=; b=K9TwHaugB1Vu1ebuqwdO5YryCF2p6q7sKtJqnsj9TfSchcAT+tdm9TRfn2ZKWhkdzt s75RdElQfERbzH/JC8f4tNKiP2yQPaSAtffFCQknKm/8ySloPgiGIVycEZicF8EX8CTY uGi7ZAyAivwWmX/1Apj974j8K5Sb1LNbJQNf+9R/js4yUVVJgTgTA/NYuweOGsuMo9xn s02N8y6N6If/4j3grApty6We4QB0xb3UWt/hDorAHYZTtuex5r7BQg8ibETifKTm0CU5 cg72Gof0xTKu2z52iGQ81ZCSNEgpAKMY1LlxWtcFIp/nTqFjdqJBkPJ2QMI7Safa5Tr/ JYhw== X-Gm-Message-State: AC+VfDw38XS/Bj1jih/VVlB97WSwvPi7Mhj73kiztDf7CdKquZmQjrGd iYSI7oEHOPYoI6gR+4F2rDuQ6A== X-Received: by 2002:a17:906:7943:b0:93f:9b4a:12f3 with SMTP id l3-20020a170906794300b0093f9b4a12f3mr3412206ejo.10.1683355290321; Fri, 05 May 2023 23:41:30 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:efe5:7c03:a10a:7a40]) by smtp.gmail.com with ESMTPSA id g4-20020a170906348400b009659cdb2f98sm1879453ejb.23.2023.05.05.23.41.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 23:41:29 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Anson Huang <Anson.Huang@nxp.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Peng Fan <peng.fan@nxp.com> Subject: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children Date: Sat, 6 May 2023 08:41:28 +0200 Message-Id: <20230506064128.34005-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765126305504297437?= X-GMAIL-MSGID: =?utf-8?q?1765126305504297437?= |
Series |
dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children
|
|
Commit Message
Krzysztof Kozlowski
May 6, 2023, 6:41 a.m. UTC
Referenced nvmem.yaml schema already defines address/size-cells and its
children, so remove redundant entries.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Cc: Peng Fan <peng.fan@nxp.com>
---
.../devicetree/bindings/nvmem/imx-ocotp.yaml | 21 -------------------
1 file changed, 21 deletions(-)
Comments
> Subject: [PATCH] dt-bindings: nvmem: imx-ocotp: drop unneeded > address/size-cells and children > > Referenced nvmem.yaml schema already defines address/size-cells and its > children, so remove redundant entries. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com>
On Sat, May 06, 2023 at 08:41:28AM +0200, Krzysztof Kozlowski wrote: > Referenced nvmem.yaml schema already defines address/size-cells and its > children, so remove redundant entries. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Cc: Peng Fan <peng.fan@nxp.com> > --- > .../devicetree/bindings/nvmem/imx-ocotp.yaml | 21 ------------------- > 1 file changed, 21 deletions(-) Srinivas, going to pick this up? > > diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml > index 9876243ff1e8..0784d71ae8f9 100644 > --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml > +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml > @@ -46,12 +46,6 @@ properties: > reg: > maxItems: 1 > > - "#address-cells": > - const: 1 > - > - "#size-cells": > - const: 1 > - > clocks: > maxItems: 1 > > @@ -61,21 +55,6 @@ required: > - compatible > - reg > > -patternProperties: > - "^.*@[0-9a-f]+$": > - type: object > - > - properties: > - reg: > - maxItems: 1 > - description: > - Offset and size in bytes within the storage device. > - > - required: > - - reg > - > - additionalProperties: false > - > unevaluatedProperties: false > > examples: > -- > 2.34.1 >
On Sat, 06 May 2023 08:41:28 +0200, Krzysztof Kozlowski wrote: > Referenced nvmem.yaml schema already defines address/size-cells and its > children, so remove redundant entries. > > Applied, thanks! [1/1] dt-bindings: nvmem: imx-ocotp: drop unneeded address/size-cells and children commit: 4a43546dbd0b15fc21994a95ab565721f24c59d0 Best regards,
diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml index 9876243ff1e8..0784d71ae8f9 100644 --- a/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml @@ -46,12 +46,6 @@ properties: reg: maxItems: 1 - "#address-cells": - const: 1 - - "#size-cells": - const: 1 - clocks: maxItems: 1 @@ -61,21 +55,6 @@ required: - compatible - reg -patternProperties: - "^.*@[0-9a-f]+$": - type: object - - properties: - reg: - maxItems: 1 - description: - Offset and size in bytes within the storage device. - - required: - - reg - - additionalProperties: false - unevaluatedProperties: false examples: