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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97605CCA481 for ; Fri, 24 Jun 2022 10:16:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230091AbiFXKQH (ORCPT ); Fri, 24 Jun 2022 06:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbiFXKQG (ORCPT ); Fri, 24 Jun 2022 06:16:06 -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 120057B343 for ; Fri, 24 Jun 2022 03:16:03 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id ge10so3712035ejb.7 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=Deyz3hKr9xi54u6wj7IF2xsPaV4WoUSgvqAYyNB39gEiUreJTVzrCEw2duXGXwuxKk biD2EpWnXPITB48b+cUJ35d46jcU6CdWnZxmRzR5eGFQRChzrwY1F03tbnMLwXHiNzpN WYXJ6YdOkxnwHtjr/bCOccTBXKG/PMsMyViwYJprU66iKHrhLj5dmKtWPDAo/PTyv/52 F4r122m4zOc2cpAOO93DnzjEbiD5s6zcDfpV1jBVL5bsIkzZPpv/O99Xk/8ChzCs3hx9 ++up0cSadf5afya+YC1xWU0Qpo4bJMDsMPhmvkmsf4YTRYBmuKqRR+e7nqLC62RGRUqP ifQg== X-Gm-Message-State: AJIora8aHOx65gDU7mKOLMhWQijQVQsh9Ih8GmBx0qNzML5WspLyqxpi 4/pzBuu/Zd/MnGi3qSclGXL9dw== X-Google-Smtp-Source: AGRyM1vxM95fLi1k9A6wcpXz5ym37GnKISALQxzXatTwbNov1uqVqgBEGUf1FeW8Fww3o9MLsyzAsQ== 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 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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