Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp270069iog; Fri, 24 Jun 2022 03:47:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ssl3SsM7u4cEh3sx/636uZre9625VaGmvYel42OYBlEAnFlpocn5fa5aDi8aYCKu6mkDVh X-Received: by 2002:a17:906:2756:b0:718:d986:d3e3 with SMTP id a22-20020a170906275600b00718d986d3e3mr12539926ejd.425.1656067670985; Fri, 24 Jun 2022 03:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656067670; cv=none; d=google.com; s=arc-20160816; b=1LJ4IJSzKccYmKXdLcr+2cHCaqvdiIZeQC9nEezL9IK5Cu2ToDOySrlbiNjB1mOZfm JeIKeGwPsvutKbeff14iHkqL3lii1JSbMvIcSy067OfBuBfVS2mwar9cPZ+LYT0RbMB9 zeB3cWyebgN2/Lz+sTllv+Uj6qxTmz0vQg68WKOBUB/ug5O2wbtRAyViQybBbCYcAYfV b+WKdLSE3LuI9Jco+33cKqGhUO3IgUbSI89ZzQ4J//Lob9nyAJqJ1Tvrqy3LoA40iKSy OezEZ0HIlQRVV1zI8t7VKdVKtK6pRmAbqb8jYa4TVN/KiFAa1oF8Ykxohg+Zma7zwAzW scgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kPraytMqpjSE6617/9alzyvnfSfmO7egX0oSB/3TeBc=; b=FbVIzA2TtKMd9D70BfY/4Xg76gdvJ1cFQGwsgMqeTug/EZ6bH+UIxTQ1CeCwS7EQYT NzyRop0hosjDOfRemrOflWQ7ilvsguVplDtuYgIl9uuGFOizORfMprhDmaVgPy7C6DGk NwPN8w9EwO8sJvg2EL04TpPxvLOYfvsPsG0TKHph6nNvtu5cIv5I8Tm9eLRpEialXGtn ADIUPezeVUrecg0G/Tg2D5teAbqxL8YO+YcimPXcBKmxedtQxjw7QKDfzPK2moMpZLVI Hc+XZaCLemTuq3ZSOdqzHpyayDJn6uo9qw7ZI5fdCS1nBCwqhqqCTnyJ3EUvGmFIEupi dOtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qr7bhiO6; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id br3-20020a170906d14300b00723ed83e871si2074285ejb.185.2022.06.24.03.47.26; Fri, 24 Jun 2022 03:47:50 -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=qr7bhiO6; 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 S231328AbiFXKQI (ORCPT + 99 others); Fri, 24 Jun 2022 06:16:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231320AbiFXKQG (ORCPT ); Fri, 24 Jun 2022 06:16:06 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F2177A6FB for ; Fri, 24 Jun 2022 03:16:03 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id mf9so3836854ejb.0 for ; Fri, 24 Jun 2022 03:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=kPraytMqpjSE6617/9alzyvnfSfmO7egX0oSB/3TeBc=; b=qr7bhiO6LG8GQbpknomfMk0pGirbyTBRkzseWD2vmjB1lGzGrvcz88U8tAAhxHqpis 2TzOJzGbNYXbZAd4q4Po1BSpY7eeUOGsXkiLAc13AoyjubS9V72i7A3qZg4MtSZ/XGuT /Na9RVUjQu8t+tW8KAdeAhBstxtYdrLQDDeufndFGDpZ+o1tbr8XxCUS2+u9MOhxnMKb gPAnH2oi43n7BaBWQ264XxaivFKT9LV5RGCSUAxoGuhH4qHxZOhbJfH9zobiy+CwJRWJ SgXJfiy4A51EKN5NhH4gqt+Lo4qSr6380PY1Avd6b6P5yMTeOlbcoT3tWZO8c4X2lHu6 34ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kPraytMqpjSE6617/9alzyvnfSfmO7egX0oSB/3TeBc=; b=y/xiGt5Tv+COkVeI8WdAI6IWRsMujr868tn8rTPMYiSD5F20LyIOJ07MGiIm8+YTXO cBdmxVgt7ZQVJC2aVF9N/nXTEaYHy6gyw28sidduhA+kkCM8gLG7Cr1FCTlH9Itqghpu 9TJQPm2dT0P5kTTTdRlvvZgikiv9OMsNc+w5EAiePv8/n9O+QfTPaoSpGeoV2mXSLhW0 Pfe4LG6qdWxP2q9FutXZ1IYXzQK4KswSG25II6CKhqTfHmo3XTpuqBZAMHmj/qhYZ2Tv zjjnAR7SW30jmbuZSUr8/7zCEXsXvbKK3kXHRCIvQZbSdn2TtKDF23yF+k4GBXl/m0gH gwwQ== X-Gm-Message-State: AJIora8gEfjJTg1os8QjWh9jFMkqAr/RFhhfx+dzlTJSJJPWfnbApNpt qG2V8UFejjOZU/ZhTzO3mtsweg== X-Received: by 2002:a17:907:1b0d:b0:6ff:22a1:d58a with SMTP id mp13-20020a1709071b0d00b006ff22a1d58amr12971080ejc.293.1656065761571; Fri, 24 Jun 2022 03:16:01 -0700 (PDT) Received: from [192.168.0.234] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g6-20020a1709064e4600b007121b22b376sm841667ejw.105.2022.06.24.03.15.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 03:16:01 -0700 (PDT) Message-ID: Date: Fri, 24 Jun 2022 12:15:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v5 05/14] dt-bindings: nvmem: Add fsl,scu-ocotp yaml file Content-Language: en-US To: Viorel Suman , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Fabio Estevam , Shawn Guo , Stefan Agner , Pengutronix Kernel Team , Linus Walleij , Alessandro Zummo , Alexandre Belloni , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , NXP Linux Team , Abel Vesa , Oliver Graute , Mirela Rabulea , Peng Fan , Liu Ying , Ming Qian , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Abel Vesa References: <20220616164303.790379-1-viorel.suman@nxp.com> <20220616164303.790379-6-viorel.suman@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220616164303.790379-6-viorel.suman@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On 16/06/2022 18:42, Viorel Suman wrote: > From: Abel Vesa > > In order to replace the fsl,scu txt file from bindings/arm/freescale, > we need to split it between the right subsystems. This patch documents > separately the 'ocotp' child node of the SCU main node. > > Signed-off-by: Abel Vesa > Signed-off-by: Viorel Suman > --- > .../bindings/nvmem/fsl,scu-ocotp.yaml | 49 +++++++++++++++++++ > 1 file changed, 49 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/fsl,scu-ocotp.yaml > > diff --git a/Documentation/devicetree/bindings/nvmem/fsl,scu-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/fsl,scu-ocotp.yaml > new file mode 100644 > index 000000000000..071171e55218 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/fsl,scu-ocotp.yaml > @@ -0,0 +1,49 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: i.MX SCU Client Device Node - OCOTP bindings based on SCU Message Protocol > + > +maintainers: > + - Dong Aisheng > + > +description: i.MX SCU Client Device Node > + Client nodes are maintained as children of the relevant IMX-SCU device node. > + Detailed bindings are described in bindings/nvmem/nvmem.txt > + > +properties: > + compatible: > + enum: > + - fsl,imx8qm-scu-ocotp > + - fsl,imx8qxp-scu-ocotp > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 1 > + > +patternProperties: > + "^mac@[0-9a-f]*$": Use consistent quotes, either " or '. > + type: object > + > +required: > + - compatible > + - '#address-cells' > + - '#size-cells' > + missing allOf referencing nvmem. You can skip then address/size cells and use unevaluatedProperties:false. > +additionalProperties: false > + > +examples: > + - | > + imx8qx-ocotp { > + compatible = "fsl,imx8qxp-scu-ocotp"; Wrong indentation. > + #address-cells = <1>; > + #size-cells = <1>; > + > + fec_mac0: mac@2c4 { > + reg = <0x2c4 6>; > + }; > + }; Best regards, Krzysztof