Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp841638rwl; Fri, 24 Mar 2023 02:46:03 -0700 (PDT) Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mRY6y3KS X-Google-Smtp-Source: AKy350ZDlNE8tPxgcdXkm77m/RJGY7MhlU7sTJO1w4+NUIdKL8qqGEGqOWWAYwFN5wgpRnuy7koP X-Received: by 2002:a17:90b:3ece:b0:229:f4f3:e904 with SMTP id rm14-20020a17090b3ece00b00229f4f3e904mr2570750pjb.11.1679651163157; Fri, 24 Mar 2023 02:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679651163; cv=none; d=google.com; s=arc-20160816; b=J2zkF3Wf/CBLcq/Goh72/syiuKWXtlk8q0fZ6a5bCbbxN7W/QrDxWSTCevtdH9xjVx YyIFO/Wpb9sW7Voqqg+SZCXR0D7PhZx0eMYZKqC2mGommu1bJ6TbjjKhzWD+OF2VkiH9 fjV0NlbfDBf0GFqUPQhPhyhf55bFIxG70cz1H6Jjf07uowR+E2ykY+zlet939Ezig1Mf AA6bMb9ZO9tfquq8729/QS5u+lkLIi3/SAcjT0XdOMlL91QA51tqC5Rw34GiZl/a82R1 sDJ22qONEepa38XrTaN8wJQrVP60zb6qR9apJC4Qn8m2A/b/tUeY9YjWuqwhH9EdtQ9G PImQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=tfAKNLINoAFCJxtObHpd6qzp3wuoC13J4SnQQo/qL/w=; b=KfFsKFZD5tL0cnmtLp8W1ckOWaZBY9McJBzXxVBy1KrpRsI70pTOD7QIWUulKa8vbb 54z/Xv+/gKvDde49tMgmYZ+k6t9O0MkJy7L8nNp8QV/YYLlPYBQHzZVB+4PXALoZKlrn fvBn0M3fM8V7KNyd7WId+SNqVlgGtoXNBHHqYxKynFLlN0RGYdezXvssNd+TIjXt2Hvr Adu/+3S5103gs1uXq0JLg1u6MEL95xSkM29OFkUOjMMBrgquMkLvBsT0SJO2MzNz04zv ohlI+3JxZSM0s+FWzHCLGRLLKRltoQNCmk97xGMMYhNTq81AxkafZTk3qZAl8El1re5O FpWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mRY6y3KS; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h23-20020a17090aea9700b0023b54bedd5csi3979995pjz.137.2023.03.24.02.45.51; Fri, 24 Mar 2023 02:46:03 -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=@bootlin.com header.s=gm1 header.b=mRY6y3KS; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbjCXJld (ORCPT + 99 others); Fri, 24 Mar 2023 05:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232191AbjCXJkw (ORCPT ); Fri, 24 Mar 2023 05:40:52 -0400 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B68F228D02; Fri, 24 Mar 2023 02:40:29 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 1A5F1240009; Fri, 24 Mar 2023 09:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1679650826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tfAKNLINoAFCJxtObHpd6qzp3wuoC13J4SnQQo/qL/w=; b=mRY6y3KS98Yvv4kQKfT8tHIKiqhJBOAKKJqbtewDvDpralDha4cvXqaVlpj0Lz5amLtCkf WtPk2l4noyb4JXkAsUjWu9ETGqgbwpSpgtLnzbiqjuN9uGdPeVDbFIN6F0CanNxopllIay IKuxBm1V+mTTGPOhq26e53x3sTSUx4xDX4rG6HcmUifoatmHIf4dlQ56cq82ZytlMQKBXa HHBcoO+Mt7DuQWl3odKY/AyzzmMbIxTnWNovkJbg59cB/1k9MnJ4fL+bC418afObE0kz4u hsqKgeFLjY+2EB3JQB0PMUoODFJLl8dVbr00znSOG1R3y0+nq0t4JIgm9ZruMw== Date: Fri, 24 Mar 2023 10:40:20 +0100 From: Miquel Raynal To: =?UTF-8?B?w4FsdmFybyBGZXJuw6FuZGV6?= Rojas Cc: richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, masonccyang@mxic.com.tw, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: mtd: nand: Macronix: document new binding Message-ID: <20230324104020.54754079@xps-13> In-Reply-To: <20230323124510.2484808-2-noltari@gmail.com> References: <20230323124510.2484808-1-noltari@gmail.com> <20230323124510.2484808-2-noltari@gmail.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS 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 Hi =C3=81lvaro, noltari@gmail.com wrote on Thu, 23 Mar 2023 13:45:09 +0100: > Add new "mxic,disable-block-protection" binding documentation. > This binding allows disabling block protection support for those devices = not > supporting it. >=20 > Signed-off-by: =C3=81lvaro Fern=C3=A1ndez Rojas > --- > Documentation/devicetree/bindings/mtd/nand-macronix.txt | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/mtd/nand-macronix.txt b/Do= cumentation/devicetree/bindings/mtd/nand-macronix.txt > index ffab28a2c4d1..03f65ca32cd3 100644 > --- a/Documentation/devicetree/bindings/mtd/nand-macronix.txt > +++ b/Documentation/devicetree/bindings/mtd/nand-macronix.txt > @@ -16,6 +16,9 @@ in children nodes. > Required NAND chip properties in children mode: > - randomizer enable: should be "mxic,enable-randomizer-otp" > =20 > +Optional NAND chip properties in children mode: > +- block protection disable: should be "mxic,disable-block-protection" > + Besides the fact that nowadays we prefer to see binding conversions to yaml before adding anything, I don't think this will fly. I'm not sure exactly what "disable block protection" means, we already have similar properties like "lock" and "secure-regions", not sure they will fit but I think it's worth checking. Otherwise, why would you disable the block protection? What does it mean exactly? I'm not in favor of a Macronix-specific property here. Thanks, Miqu=C3=A8l