]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: stm32_fmc2: get resources from parent node
authorChristophe Kerello <christophe.kerello@st.com>
Fri, 31 Jul 2020 07:53:41 +0000 (09:53 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Aug 2020 07:53:34 +0000 (09:53 +0200)
commit82bf7729a2b2029da85266a13035e117e8f58b73
tree162ffb89540fae16ccdaa04922b517e67c810688
parent6d47598629f63fa05ef51a0628f971c14c800874
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>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mtd/nand/raw/stm32_fmc2_nand.c