[PATCH 2/2] memory: brcmstb_memc: Match rev c.1.5 compatible string
Florian Fainelli
florian.fainelli at broadcom.com
Tue Dec 17 11:44:39 PST 2024
Match the revision c.1.5 compatible string and apply the v2.1x register
layout such that we can properly control the Self Refresh Power Down
timeouts with those controller version(s).
Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>
---
drivers/memory/brcmstb_memc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/memory/brcmstb_memc.c b/drivers/memory/brcmstb_memc.c
index 4f17a93aa028..a2750142cef7 100644
--- a/drivers/memory/brcmstb_memc.c
+++ b/drivers/memory/brcmstb_memc.c
@@ -236,6 +236,10 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
.compatible = "brcm,brcmstb-memc-ddr-rev-c.1.4",
.data = &brcmstb_memc_versions[BRCMSTB_MEMC_V21]
},
+ {
+ .compatible = "brcm,brcmstb-memc-ddr-rev-c.1.5",
+ .data = &brcmstb_memc_versions[BRCMSTB_MEMC_V21]
+ },
/* default to the original offset */
{
.compatible = "brcm,brcmstb-memc-ddr",
--
2.43.0
More information about the linux-arm-kernel
mailing list