Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp788937rwr; Fri, 5 May 2023 05:12:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7aqZN40OG1zfNnujLZeKpTTFi1etMzmJSbxjCAw2oZ1VagSQBEau7kolrX5gcsuK0/5pMk X-Received: by 2002:a17:90a:110f:b0:24d:f0e9:907f with SMTP id d15-20020a17090a110f00b0024df0e9907fmr6419548pja.6.1683288744080; Fri, 05 May 2023 05:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683288744; cv=none; d=google.com; s=arc-20160816; b=r5g9WqyREfh5jxiGt07oTMDTCib8vCkwf5ZB1kqgTQav+0HPqc8aH+So5QpRmFTMVb aGEDstppepp1IeOrGx2TXVMPuWVXxK8Gi1bAbq4vqA8IYMNF4B92TvoVO/YmodL+sjVg VH/QlNTSm04YYFyUjMrm+qZXOQxnAfrz+AQKIUxQa8MwV2dSNK8MIlz7HZKOGTGZniBT A2PhoH3HDtk3tL2cQMmLQ9CFXcZqDirLfuFN51dHpFvzy13vx2Aif37yD8wuFJhI61Ks TpkVk6rXOBU2XV7Yec43qJ0x4RIDNTAB9U1ec2IuiQJWeTwwWjuCCR454AsVkxZIFeD/ TwkQ== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=IgB4QgM1yECi7w3uQUentakzBrJPTPMX/E/zSU5My38=; b=GZaVPGCblmsy1y9rwaCe150YzHgGo0sxKtoGGh3zhyrlsMOUfxZq3P9kB3YmoentLG ayYCL/HMy8g6vuFe30ZQcfNNBMw1u/iIRJBXYARE3ffEg1AnCJAFa/3bRxaqNziAKqyC vfc9SDFgmhrAAOf0BiqQS1tCfEhmFy9opGoUH1Wb2CBsGKe2PVHOkQOQRnya7UHYUn5C vo1ssZ1u4HDs7zZh613USr+G1Bj/Pay899kZfx9vi57mgzkRH+jxHvJsQ1Y32DGi94Da Ab+zq2BklJZKzULJULdw1E15gZn/1+T02GkhZIEsoTvqULSlpOXcJ/F6FOTe4/5EYn4j C0AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F/1DoSW5"; 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 i6-20020a17090a974600b0023409b3983fsi11132275pjw.99.2023.05.05.05.12.08; Fri, 05 May 2023 05:12:24 -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="F/1DoSW5"; 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 S229570AbjEEMJx (ORCPT + 99 others); Fri, 5 May 2023 08:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231935AbjEEMJo (ORCPT ); Fri, 5 May 2023 08:09:44 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE621AECC for ; Fri, 5 May 2023 05:09:23 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-50bc4ba28cbso3053375a12.0 for ; Fri, 05 May 2023 05:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683288562; x=1685880562; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IgB4QgM1yECi7w3uQUentakzBrJPTPMX/E/zSU5My38=; b=F/1DoSW5PpbcfkcqC19rebXR8nuff4fL9IOsqw6Nn6SlUhj3wIfy+8qM/XT0ljUwre jkwPBMHYlTLILs+exAu801N1K/GOs1DxAGJIsFbQ0Tu7tAG0SHUtdPIEhuGyzAe9DiZs SQpTeoxHGD1d1/mYpNaUvp7b9MXN3MZdonX7blDKmuVGZnxprVdaG80sqL6Rqfl1mm+v dBa1Ec6kCod6GgKPRYAwPEPYLhl3os1SFPcILrQsNY0Ml1jJ7+guw2KzVqhPs9iFs7tB 3EM/p7kO0vNYAIKYoTeiQn99iMKwjw0GvqTwStw4nObGuOflIbUReNdxijFqk0DbqQiv TO6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683288562; x=1685880562; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IgB4QgM1yECi7w3uQUentakzBrJPTPMX/E/zSU5My38=; b=aegXtFT19/g+q7rA2PMkD8E9qiz+K8pMBODaeTHZL8BWchtfOTlayLJ75qDDk1F8c9 aAFUDiDFrRaNjOKbypvI16DTaoRFFOMZt5BmQ64aUssklRM3Fh9Q9t0vdzex8/9nL56Y yTowu/NS/zmuPvqlvck1GRnGmKxNlDNKwJMJ6492lRa1YsEm1+6xaf9HS7pfFEHyL7yZ DB9TbOzjiZDBDhNOd/KanODScGPNsNLOKppJALAuS1QU11WTo7NSnUlW5ksWyxqBmRoP a0KrOI0/VxPg9c91ApEMkZa66/DOX/g8BFMILeXXALN73ZLuMFMRjTN1/jf9IF98dWeL dWHA== X-Gm-Message-State: AC+VfDwTGsHTxorUdt6jp71UuCb/DxpyXFnnu44b1asA4085go4eq20o V4v1sLHtHVJnyU3FEtEaPyozrw== X-Received: by 2002:a17:907:9287:b0:959:6fb2:1c3b with SMTP id bw7-20020a170907928700b009596fb21c3bmr944834ejc.39.1683288561845; Fri, 05 May 2023 05:09:21 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:52e:24ce:bbc1:127d? ([2a02:810d:15c0:828:52e:24ce:bbc1:127d]) by smtp.gmail.com with ESMTPSA id ka7-20020a170907990700b00947ed087a2csm860359ejc.154.2023.05.05.05.09.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 May 2023 05:09:21 -0700 (PDT) Message-ID: Date: Fri, 5 May 2023 14:09:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH 1/2] dt-bindings: nvmem: add binding doc for i.MX OCOTP/ELE Content-Language: en-US From: Krzysztof Kozlowski To: "Peng Fan (OSS)" , srinivas.kandagatla@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan References: <20230505091733.1819521-1-peng.fan@oss.nxp.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 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=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: X-Mailing-List: linux-kernel@vger.kernel.org On 05/05/2023 14:01, Krzysztof Kozlowski wrote: > On 05/05/2023 11:17, Peng Fan (OSS) wrote: >> From: Peng Fan >> >> There are two parts of i.MX93 OCOTP, with 1st part Fuse shadow block(fsb), >> 2nd part managed by ELE firmware. This binding doc supports both. > > Subject: drop second/last, redundant "binding doc for". The > "dt-bindings" prefix is already stating that these are bindings and > documentation. > >> >> Signed-off-by: Peng Fan >> --- >> .../bindings/nvmem/imx-ocotp-ele.yaml | 65 +++++++++++++++++++ >> 1 file changed, 65 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/nvmem/imx-ocotp-ele.yaml >> >> diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp-ele.yaml b/Documentation/devicetree/bindings/nvmem/imx-ocotp-ele.yaml >> new file mode 100644 >> index 000000000000..024594a2bcb4 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/nvmem/imx-ocotp-ele.yaml > > Filename matching compatible style. fsl,imx93-ocotp.yaml > > >> @@ -0,0 +1,65 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/nvmem/imx-ocotp-ele.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: NXP i.MX9 On-Chip OTP Controller (OCOTP) >> + >> +maintainers: >> + - Peng Fan >> + >> +allOf: >> + - $ref: nvmem.yaml# >> + >> +properties: >> + compatible: >> + oneOf: >> + - items: >> + - const: fsl,imx93-ocotp-fsb >> + - const: syscon >> + - items: >> + - const: fsl,imx93-ocotp-ele >> + Actually this is the same as existing bindings. Just squash it. However I wonder - why this is syscon? Best regards, Krzysztof