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 38D02CCA482 for ; Wed, 29 Jun 2022 17:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231772AbiF2R4Z (ORCPT ); Wed, 29 Jun 2022 13:56:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231665AbiF2R4Y (ORCPT ); Wed, 29 Jun 2022 13:56:24 -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 43E7625280 for ; Wed, 29 Jun 2022 10:56:21 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id lw20so34167270ejb.4 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=BCPcQ/B72zdPC/8H9gdNWFbBqxR8P+HO7K4bE1enDtdFtGOebiiOagYhwpQxLvU4d7 2hQW1GWhAsboQh31xlxBO0NhNSDS1vfznFn5aWDgLsrWp+jhxrJkGX5hYYwdl+kIVGCz /h4ktQV/nZUGCtqn5S7Z6urG6aV42eKnKON0YcYgVWqmrFqds0f9pR7fQaaKeDauYqSL mPM9aEg7GBXN5hJiHZWBzVOK+w2M7Oh1S6reJkhncB8+qVDe2A+z96Y62WRwOj+qVlFB Pi5U149M8VMfAl8YUUHBPwHsNDSL7laC4y989ypWKpXfqv9JuGQKQPXCZVUTNPlOfVzZ O9yQ== X-Gm-Message-State: AJIora8KeQz6XNPsu+qSueKQiBHhgyzaiEsTTZ+t61VEd/LoNTOFDjqp RirNn0E81VWFrXqqFnMk5ENAEA== X-Google-Smtp-Source: AGRyM1s/T0RjbrVgdgRykZIcRKe/wPrgddPdqxDKeZuyxQfmK8nL3iIs+NQ1u0pA8nC/MKESVZ65kg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 360B3C433EF for ; Wed, 29 Jun 2022 17:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZlDBlsA5rUbJKYfWchzt2woGODKGz2pv9d5CgCvbr5E=; b=HOiEKuCsSoGZxh nItHnn64RW2VzWXscwHjrO9SgAMcmT2UnLHqnAgdF+6AzFV361O1izRMnOl9OHVSeGRULWVPdvMEA yQ8C4wJeLxaRe0gfLi4mh9NUKz/xtwsiufiab5oVf3LZvyRmu4bIvy2GALSK8BEgxvLwXbAOYcCXh +M5LuGWHwUN1jZ87K8fiPd4YjHtwb9ubdF2H067PyqlEQ2Q82x0aGouPZ46M+IHxj8uC0am5ugWq1 HBnLWVsu/W+JFtGTKV0QoaZYfbDUTT8Ewcm5nJwd3S0QbBFOfNI7FUVw34Y39hh3ir3Fpz6cnjpGC yDbXgp4SGAAWPRiNrGmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6bvP-00DIvn-Rq; Wed, 29 Jun 2022 17:56:28 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6bvL-00DIsm-W1 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 17:56:25 +0000 Received: by mail-ej1-x630.google.com with SMTP id fi2so34077699ejb.9 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=6QTSeILMkVTRRWk5v+hnQqdcYJQl0F7qYMoQlKlSCOZYEf8sznf1bOS6ccxQRNag1a BB2DF7LLPfvn/d+6ucXjFHwYGnAMpBNGP/Mu5/vK5P5anKYofkWBgIj0HHldKj3n+Qcn +Q68Ig7qKHkgU7f0Jj8Oi46sAMLc4PipLUeROb8Ipwl4ih5iJ5orQ2CHVGf3RbrhENNB 4MoUjlFT4v3UxGCLIbucXANBN48yRz/5NDKybtlbnn1zEyrWIBK+dv9CWso5G2zDy+tf Z5t15WsfwiMk6oQLVq/W3UzmYB6Xiqlsnx/s9Oo5O5AexarmgqkP1ex7bLLb4hg8IScr ueiQ== X-Gm-Message-State: AJIora9K6xgnboljpu2qhKpBXC8W0hIuX4W8ubgwsXxWT75dqvXMVTZa iNxZcAgm6RRlNmhfDUpTP2ZhAA== X-Google-Smtp-Source: AGRyM1s/T0RjbrVgdgRykZIcRKe/wPrgddPdqxDKeZuyxQfmK8nL3iIs+NQ1u0pA8nC/MKESVZ65kg== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220629_105624_150053_4BD17043 X-CRM114-Status: GOOD ( 20.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel