]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: stm32_fmc2: Add NAND Write Protect support
authorChristophe Kerello <christophe.kerello@foss.st.com>
Thu, 17 Feb 2022 14:47:53 +0000 (15:47 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 18 Feb 2022 14:15:03 +0000 (15:15 +0100)
commit9643e082b1fb67d6c6a161cd75275cb63ef38fb2
tree500dab7402787ab8b1842957ef4eeb5448dd733c
parent0aca9b7074f8b12203677d8f400621dd80674e0a
mtd: rawnand: stm32_fmc2: Add NAND Write Protect support

This patch adds the support of the WP# signal. WP will be disabled in
probe/resume callbacks and will be enabled in remove/suspend callbacks.

Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220217144755.270679-3-christophe.kerello@foss.st.com
drivers/mtd/nand/raw/stm32_fmc2_nand.c