[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241217194439.929040-3-florian.fainelli@broadcom.com>
Date: Tue, 17 Dec 2024 11:44:39 -0800
From: Florian Fainelli <florian.fainelli@...adcom.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Florian Fainelli <florian.fainelli@...adcom.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
linux-kernel@...r.kernel.org (open list:MEMORY CONTROLLER DRIVERS),
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS)
Subject: [PATCH 2/2] memory: brcmstb_memc: Match rev c.1.5 compatible string
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@...adcom.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
Powered by blists - more mailing lists