Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp837614pxb; Thu, 17 Feb 2022 16:12:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeZQCMK/A/HQGybcCKV0L4WwMQ040rYk94X/oSRQTmMNdEOOLWHcemsfmrsnojnVZ1NNXx X-Received: by 2002:a63:204f:0:b0:365:612c:e159 with SMTP id r15-20020a63204f000000b00365612ce159mr4301823pgm.461.1645143172776; Thu, 17 Feb 2022 16:12:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645143172; cv=none; d=google.com; s=arc-20160816; b=eM4G4HETSpJHc0gyOOElTBG6FQRd6rUsJ7x0myBev8sugfe4g+WiIb4WFVe9Ex9Ngf E1ecRfZcLlkY7V81moSnzJkSM7XG8ggvkzzMirD3krjPSHfune7JujyX6crkUZ/RdiAi pVR7IrvwcksuA1vknwVpevDLcv3bONop1Bi0sWRuTHD7kEskI3vjtx8hY1XRwMthZNxQ DiBshHP54iSVp1SA0chFMVFjX7OIhQz+WcZr5r8wVbkw9VOLq96XL8RxDZPQwfyF1TD6 4drUHbLuQbcGdwZ7AAdum4GBEBpsYmNlnL/axzs9p84SUvKSSL7bmVDba+BNdbUp4U9F as1w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fXiYuBUyotv54LQyPZgnEfOt06j2LWRZLDd1yz76l+0=; b=rTB6Bi2Cca3sKBghLrusqGrcOXavGvVUjufwNGMd/+k1PDbvhzfw+oERDH6OkyHu9F /DxZs3WO+rwMPNJx9SK/6RaT2VLWaq8bhe1y7cx2SpwuQdxsSG1MHkmPW0pJIbVS0PEQ 2F6DRZ6p6PBbOWehYNpUwkT/EK9geCjJ8Ov39ueklyEfC+TtRP0tb9zQNschOBva/2ie ZZcRfX8Tdr75TwFgHQG3tpSSjagP/8VlcENzJFcrwzD+11TL/GArxXJRk/Mott1hCV4J xNn5KzTzk/hkerAZULrnBxqMFNSYb/bQw9IuE69vnGEhogw7O6//H7kWLKTCcB5/FHPf XxTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=CE2j31jM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w13si9203454pgr.362.2022.02.17.16.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 16:12:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=CE2j31jM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 10D2E34A6EA; Thu, 17 Feb 2022 15:38:08 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242139AbiBQOtq (ORCPT + 99 others); Thu, 17 Feb 2022 09:49:46 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242108AbiBQOti (ORCPT ); Thu, 17 Feb 2022 09:49:38 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F302321F5E5; Thu, 17 Feb 2022 06:49:23 -0800 (PST) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21HDwSUO011767; Thu, 17 Feb 2022 15:48:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=fXiYuBUyotv54LQyPZgnEfOt06j2LWRZLDd1yz76l+0=; b=CE2j31jMzdXDLas38K2WwBQENXRIjAz4ciT3WqcFGs71po+NsTUwTpWiUO9dr1n1kmX6 kKvLcKAoXV53hUUpoBbsUTW4XQmyGlQhBwhFQbWNhZH0bN4xSDzeT5L76WhFaiFixkZZ yQ4+seqcu7Y3jiXCvV6PqbAC83LHhaJegA091FLMmw+ngqwQaYEfxiOjvDMxljeCXJXZ INa0M9vHMv1++EJzb+5xl1+U0XtKuTpZu2ZtbGw4FsQqUMKAH/j1SMbrHm1N+TN1HZuD axOOSmHBG5vJWB1PvfZr5LDCpLzyNmsXd/sFmeXCpToIcAPwM1tSKMwehgsDmnqnrgL9 Bg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3e9de2uwpe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Feb 2022 15:48:51 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F0F3810002A; Thu, 17 Feb 2022 15:48:49 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id E71DF2278A1; Thu, 17 Feb 2022 15:48:49 +0100 (CET) Received: from localhost (10.75.127.48) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Thu, 17 Feb 2022 15:48:49 +0100 From: Christophe Kerello To: , , , , , CC: , , , , , Christophe Kerello , Rob Herring Subject: [PATCH v3 1/4] dt-binding: mtd: nand: Document the wp-gpios property Date: Thu, 17 Feb 2022 15:47:52 +0100 Message-ID: <20220217144755.270679-2-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220217144755.270679-1-christophe.kerello@foss.st.com> References: <20220217144755.270679-1-christophe.kerello@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-17_05,2022-02-17_01,2021-12-02_01 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 A few drivers use this property to describe the GPIO pin used to protect the NAND during program/erase operations. Signed-off-by: Christophe Kerello Acked-by: Rob Herring --- Changes in v2: - add Rob Acked-by. Documentation/devicetree/bindings/mtd/nand-controller.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml index bd217e6f5018..53b21aed0ac5 100644 --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml @@ -154,6 +154,13 @@ patternProperties: Ready/Busy pins. Active state refers to the NAND ready state and should be set to GPIOD_ACTIVE_HIGH unless the signal is inverted. + wp-gpios: + description: + Contains one GPIO descriptor for the Write Protect pin. + Active state refers to the NAND Write Protect state and should be + set to GPIOD_ACTIVE_LOW unless the signal is inverted. + maxItems: 1 + secure-regions: $ref: /schemas/types.yaml#/definitions/uint64-matrix description: -- 2.25.1