[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240212174822.77734-5-christophe.kerello@foss.st.com>
Date: Mon, 12 Feb 2024 18:48:14 +0100
From: Christophe Kerello <christophe.kerello@...s.st.com>
To: <miquel.raynal@...tlin.com>, <richard@....at>, <vigneshr@...com>,
<krzysztof.kozlowski@...aro.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<devicetree@...r.kernel.org>,
Christophe Kerello <christophe.kerello@...s.st.com>
Subject: [PATCH 04/12] memory: stm32-fmc2-ebi: add MP25 support
Add MP25 SOC support. RNB and NWAIT signals are differentiated.
Signed-off-by: Christophe Kerello <christophe.kerello@...s.st.com>
---
drivers/memory/stm32-fmc2-ebi.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/memory/stm32-fmc2-ebi.c b/drivers/memory/stm32-fmc2-ebi.c
index 5f82686689ee..d79dcb6c239a 100644
--- a/drivers/memory/stm32-fmc2-ebi.c
+++ b/drivers/memory/stm32-fmc2-ebi.c
@@ -1203,11 +1203,19 @@ static const struct stm32_fmc2_ebi_data stm32_fmc2_ebi_mp1_data = {
.rnb_for_nand = false,
};
+static const struct stm32_fmc2_ebi_data stm32_fmc2_ebi_mp25_data = {
+ .rnb_for_nand = true,
+};
+
static const struct of_device_id stm32_fmc2_ebi_match[] = {
{
.compatible = "st,stm32mp1-fmc2-ebi",
.data = &stm32_fmc2_ebi_mp1_data,
},
+ {
+ .compatible = "st,stm32mp25-fmc2-ebi",
+ .data = &stm32_fmc2_ebi_mp25_data,
+ },
{}
};
MODULE_DEVICE_TABLE(of, stm32_fmc2_ebi_match);
--
2.25.1
Powered by blists - more mailing lists