Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp830182iog; Wed, 29 Jun 2022 11:04:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1to1JWd1T3YY2zcgvt2mGX+oGReb2DryG1iyO6qXpqtutdc3k+u7H/gJb9iTxTDMl3xv8Az X-Received: by 2002:a17:90b:4f4e:b0:1ec:a71c:4148 with SMTP id pj14-20020a17090b4f4e00b001eca71c4148mr5133750pjb.124.1656525841695; Wed, 29 Jun 2022 11:04:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656525841; cv=none; d=google.com; s=arc-20160816; b=ac641bzQkMDIq6LpwJWEAt3boRY7RFEVXt46zKv8FpjSV5UdgHpXGcP2+/COqJy6W6 vIepnzCfmDbzq+/suSwwITz3HyMNl3xn+SoIHgHwWs13hF5hDzpm+htCjFLVQmfmmryO FJZLrRlNhPHIaeV5yWtPsWzSkiVuoAQIngEtc6/g+4lFe79cfz8Tdve1FsuGD4Hi3gUi jfDA8H4aqgMWIIZxqaATSejzPY98ehHdWfTzydY8s+vKIBUxJCDdfKyoFZebvvCPVn+6 PYzIOdrBmoWgT39hM2uRA9TcOEHuBA5oU5WJT0Q07c0zTX6pSKh+C7sTXropFM2usBVU um/Q== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=6oHj0nYfa4SdWnhe5zSLFghfdPLCAvgXfoVqQh8QTVE=; b=NnwSPF9bPr3Ll9WgLb5XBfvRjsqqRgSrAS+yQoR6pC1c/Vai9Eskg/CaS2q5K7USOU KBJy9GgMomXS9/5SoN7x+tm/5AcTsbuHdOuY41qIP6LTnEswJI8IxbV/T/CjDpZ90RT7 3E7pGZ+UyMtySKO3ODY3Dl/ThKrQf44us5XOJ91KefOECBmWNNs/bcRlwNZ6EDyndRqs m2qOtn6YtwmoBzvEDWawRy8cqPd3X63vFxJVLm97SqXLlMBlQVYEL5sG86YLSaeTd8L7 o0V6Rr3YLCdukBpQqBGMheElHtIV/WMmFXwlBiDn6zkqUVbDaEEwaB1lCqaOpoKUX0Cp aS1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nsTOhN6x; 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 jj7-20020a170903048700b0016a417b06f1si21060835plb.127.2022.06.29.11.03.46; Wed, 29 Jun 2022 11:04:01 -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=nsTOhN6x; 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 S231826AbiF2R40 (ORCPT + 99 others); Wed, 29 Jun 2022 13:56:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231298AbiF2R4X (ORCPT ); Wed, 29 Jun 2022 13:56:23 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4469E252B3 for ; Wed, 29 Jun 2022 10:56:21 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id h23so34050786ejj.12 for ; Wed, 29 Jun 2022 10:56:21 -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 :references:from:in-reply-to:content-transfer-encoding; bh=6oHj0nYfa4SdWnhe5zSLFghfdPLCAvgXfoVqQh8QTVE=; b=nsTOhN6xKSZJcuBfvJC1mk65ikH2dB2tm/ab/aZSlL8OgyU/35GBQoppOW0XGAKNhW GCoKc43S1AxiDGxyGH2NW8BHfHSDYMRuXvy4jU80meEZ8N7+MDCW8Zn3s895KNnB9dyI hFro5VU050/c/2DG8On7F4uN2QCk3pckGxxh371CUv0AFdwgvcnB6LXy3EEWvpDELVEy 717QxY6Bk7UiIN3PFwZSNr3QkmaKya+vRgi6FSufbx3NeWcR5JqDrAdP/vIk/I1J+pbF WQ8pfv2fQ6U/sjZz0mC9Ae4h9mY0oeD/rcDs5xnpKZJ62t7VTWhjfNHwk0xQw3IxvFR8 xxmw== 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:references:from:in-reply-to :content-transfer-encoding; bh=6oHj0nYfa4SdWnhe5zSLFghfdPLCAvgXfoVqQh8QTVE=; b=xlhOVGGQWwBrBfMY2EhEWD5ECkbLrtof7+GA4aRbnefryQiX2b2mwDlmvC2Ce5FnAl +WkkVtySdM26BZs4NWVIzB3F/QZnxREoB+Q7oxZNKfGh751SSZPpjVXCUAl3vLvRSMBU oMc2cfapzyc9HfWpB+836E7Bfm2qVrk0n7edOaYlqmVQ2Iwbdk+h80m3soV7AZh5FHcH B3pY+0T9qMcuEGZqDEBTnbyElIQmBGL//oCPugUExEacZkyBbUAGZ8G588THI4qPUOiF 10B24QA9B/J1TyOZJSzDR5GT+BHZJTdoLz9kYwjA+WCIYkgWbAEsAGF6RI17VEtHLmgI mocw== X-Gm-Message-State: AJIora+BzbNefdmvwWpqkIa1UaVWsPSFRUTxpiMW+0ZiOL+7B723y1pD hnmqOYlRjn1Y6vra+Tkie+5HBA== X-Received: by 2002:a17:906:a10e:b0:6f3:e70b:b572 with SMTP id t14-20020a170906a10e00b006f3e70bb572mr4605172ejy.546.1656525379833; Wed, 29 Jun 2022 10:56:19 -0700 (PDT) Received: from [192.168.0.187] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id i21-20020a508715000000b004357558a243sm11822833edb.55.2022.06.29.10.56.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jun 2022 10:56:19 -0700 (PDT) Message-ID: <2ad286fb-b215-9c45-ab34-54354e3bb422@linaro.org> Date: Wed, 29 Jun 2022 19:56:17 +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 v6 04/14] dt-bindings: nvmem: Add fsl,scu-ocotp yaml file Content-Language: en-US To: "Viorel Suman (OSS)" , 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 , Viorel Suman , Oliver Graute , Liu Ying , Mirela Rabulea , Peng Fan , 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 References: <20220629164414.301813-1-viorel.suman@oss.nxp.com> <20220629164414.301813-5-viorel.suman@oss.nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220629164414.301813-5-viorel.suman@oss.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 29/06/2022 18:44, Viorel Suman (OSS) 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 | 57 +++++++++++++++++++ > 1 file changed, 57 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..a8972acb1b01 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/fsl,scu-ocotp.yaml > @@ -0,0 +1,57 @@ > +# 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 Skip last sentence, does not make sense anymore. > + > +allOf: > + - $ref: "nvmem.yaml#" Don't mix quotes. I mentioned it last time, although in other place. > + > +properties: > + compatible: > + enum: > + - fsl,imx8qm-scu-ocotp > + - fsl,imx8qxp-scu-ocotp > + > +patternProperties: > + '^mac@[0-9a-f]*$': > + type: object > + description: > + MAC address. > + > + properties: > + reg: > + description: > + Byte offset within OCOTP where the MAC address is stored > + maxItems: 1 > + > + required: > + - reg > + > + additionalProperties: false > + > +required: > + - compatible > + > +unevaluatedProperties: false > + > +examples: > + - | > + imx8qx-ocotp { Just "ocotp" (generic node naming). > + compatible = "fsl,imx8qxp-scu-ocotp"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + fec_mac0: mac@2c4 { > + reg = <0x2c4 6>; > + }; > + }; Best regards, Krzysztof