aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/Kconfig
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@st.com>2020-06-12 17:22:42 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-07-07 20:58:21 +0200
commitfbd9b5437b668900f6d8c8e29c8aabf4955189ff (patch)
tree651f0633bc680d5d33b871078cad410ddcabd7cc /drivers/mtd/nand/raw/Kconfig
parentmtd: rawnand: stm32_fmc2: use regmap APIs (diff)
downloadlinux-dev-fbd9b5437b668900f6d8c8e29c8aabf4955189ff.tar.xz
linux-dev-fbd9b5437b668900f6d8c8e29c8aabf4955189ff.zip
mtd: rawnand: stm32_fmc2: get resources from parent node
FMC2 EBI support has been added. Common resources (registers base address and clock) can now be shared between the 2 drivers using "st,stm32mp1-fmc2-nfc" compatible string. It means that the common resources should now be found in the parent device when EBI node is available. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/1591975362-22009-7-git-send-email-christophe.kerello@st.com
Diffstat (limited to 'drivers/mtd/nand/raw/Kconfig')
-rw-r--r--drivers/mtd/nand/raw/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 0a03ebf08cd6..8dd0d7c8dfcf 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -415,8 +415,7 @@ config MTD_NAND_TEGRA
config MTD_NAND_STM32_FMC2
tristate "Support for NAND controller on STM32MP SoCs"
depends on MACH_STM32MP157 || COMPILE_TEST
- select REGMAP
- select REGMAP_MMIO
+ select MFD_SYSCON
help
Enables support for NAND Flash chips on SoCs containing the FMC2
NAND controller. This controller is found on STM32MP SoCs.