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 45DBBC433EF for ; Wed, 5 Jan 2022 13:58:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240487AbiAEN6u (ORCPT ); Wed, 5 Jan 2022 08:58:50 -0500 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:44950 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240470AbiAEN6t (ORCPT ); Wed, 5 Jan 2022 08:58:49 -0500 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 205DZ65G029790; Wed, 5 Jan 2022 14:58:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=Pi8i2Rh/8xlQj2KiipQSZiBQ+/fK2HKLJA5JcF9t370=; b=HGxl099ZZK8Nvm8wXjAhIB70Kt4C5J73BV31mgvx0uhVl9FL2rFpj1ZyKazN0vklfsqe ytTyVmc5Ebr5zJo+3s5ptI7d4DQOFasYNI/U015L5VEoF5YfTlVdpdBIOqZmP4J3rckq bzqAmJwOomKncapthITx3YH3Dp46YKB0gQzIOUPuinZ09qCzr6hi6SDGLAGQg0SCTq0H 7EudboXy14wBT8eMchU/tUDp1niMFo/xUOKpWdNdzqc8/+IhCiq5GFv4GLDz3NWlW7KM R+zV43xn6lytN2Kae7CWnwm0GXMFO1KwiloSmKgt5FsCDkvVHJZfa0fK9oce+l3MhInk SA== 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 3dd7k91may-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jan 2022 14:58:11 +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 4436810002A; Wed, 5 Jan 2022 14:58:09 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 25BED24D5F0; Wed, 5 Jan 2022 14:58:09 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 5 Jan 2022 14:58:08 +0100 From: Christophe Kerello To: , , , , CC: , , , , , Christophe Kerello Subject: [PATCH 0/3] mtd: rawnand: stm32_fmc2: Add NAND Write Protect support Date: Wed, 5 Jan 2022 14:57:31 +0100 Message-ID: <20220105135734.271313-1-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-05_03,2022-01-04_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds the management of the WP# signal in FMC2 driver. WP will be disabled in probe/resume callbacks and will be enabled in remove/suspend callbacks. This patchset also fixes a conflict on wp-gpios property between MTD and NVMEN. Christophe Kerello (3): dt-binding: mtd: nand: Document the wp-gpios property mtd: rawnand: stm32_fmc2: Add NAND Write Protect support nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property .../bindings/mtd/nand-controller.yaml | 7 ++++ drivers/mtd/nand/raw/stm32_fmc2_nand.c | 40 ++++++++++++++++++- drivers/nvmem/core.c | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) -- 2.25.1 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 C5F1EC433EF for ; Wed, 5 Jan 2022 13:59:51 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VAiCoZopUIfMcVCIowWdbP0HRxPbhLaWiqwUQ3lsh7E=; b=H8Vjo+BBeOrzbG roMbNCC0Z773iZSacSL7tL/5U3eFMCn8dQxlwO59qhbcA32y5aDNSZgUES7eNxZ/TaaTfHSekcpNR n6CH3n4s5SXC2mjfoM6nEbce+rGQic5l03K5J8VkmbcIbFViVMZjIy/sTL/yhmUSjHP2Eq+Tcyp1M bMTZXQMavKNWScil635AzmV8HOa7okWNkG/xKywVqzI2DZL5qb7wrDSPf/g5HxrgaF7IAvxgnym+/ sTvChWX+sn7/XlsO2qyf05xHsC1yEfECSfZbxvsTmxJ7BfV4svYUPkUzBBFJ/cc5G1gx7CPApYYzm v7ojgZM2uPq50vMoDMQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n56oC-00Eufr-80; Wed, 05 Jan 2022 13:58:32 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n56o8-00Eue9-DG for linux-mtd@lists.infradead.org; Wed, 05 Jan 2022 13:58:30 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 205DZ65G029790; Wed, 5 Jan 2022 14:58:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=Pi8i2Rh/8xlQj2KiipQSZiBQ+/fK2HKLJA5JcF9t370=; b=HGxl099ZZK8Nvm8wXjAhIB70Kt4C5J73BV31mgvx0uhVl9FL2rFpj1ZyKazN0vklfsqe ytTyVmc5Ebr5zJo+3s5ptI7d4DQOFasYNI/U015L5VEoF5YfTlVdpdBIOqZmP4J3rckq bzqAmJwOomKncapthITx3YH3Dp46YKB0gQzIOUPuinZ09qCzr6hi6SDGLAGQg0SCTq0H 7EudboXy14wBT8eMchU/tUDp1niMFo/xUOKpWdNdzqc8/+IhCiq5GFv4GLDz3NWlW7KM R+zV43xn6lytN2Kae7CWnwm0GXMFO1KwiloSmKgt5FsCDkvVHJZfa0fK9oce+l3MhInk SA== 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 3dd7k91may-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jan 2022 14:58:11 +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 4436810002A; Wed, 5 Jan 2022 14:58:09 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 25BED24D5F0; Wed, 5 Jan 2022 14:58:09 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 5 Jan 2022 14:58:08 +0100 From: Christophe Kerello To: , , , , CC: , , , , , Christophe Kerello Subject: [PATCH 0/3] mtd: rawnand: stm32_fmc2: Add NAND Write Protect support Date: Wed, 5 Jan 2022 14:57:31 +0100 Message-ID: <20220105135734.271313-1-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-05_03,2022-01-04_01,2021-12-02_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220105_055829_261350_D3146776 X-CRM114-Status: GOOD ( 11.90 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org This patchset adds the management of the WP# signal in FMC2 driver. WP will be disabled in probe/resume callbacks and will be enabled in remove/suspend callbacks. This patchset also fixes a conflict on wp-gpios property between MTD and NVMEN. Christophe Kerello (3): dt-binding: mtd: nand: Document the wp-gpios property mtd: rawnand: stm32_fmc2: Add NAND Write Protect support nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property .../bindings/mtd/nand-controller.yaml | 7 ++++ drivers/mtd/nand/raw/stm32_fmc2_nand.c | 40 ++++++++++++++++++- drivers/nvmem/core.c | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/