mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Florian Fainelli <florian.fainelli@broadcom.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	linux-kernel@vger.kernel.org (open list:MEMORY CONTROLLER
	DRIVERS),
	devicetree@vger.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
Date: Tue, 17 Dec 2024 11:44:39 -0800	[thread overview]
Message-ID: <20241217194439.929040-3-florian.fainelli@broadcom.com> (raw)
In-Reply-To: <20241217194439.929040-1-florian.fainelli@broadcom.com>

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@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


      parent reply	other threads:[~2024-12-17 19:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 19:44 [PATCH 0/2] memory: brcmstb_memc: Support for BCM74165 Florian Fainelli
2024-12-17 19:44 ` [PATCH 1/2] dt-bindings: memory-controller: Document rev c.1.5 compatible Florian Fainelli
2024-12-18 11:37   ` Krzysztof Kozlowski
2024-12-18 17:15     ` Florian Fainelli
2024-12-19  8:58       ` Krzysztof Kozlowski
2024-12-19 23:43         ` Florian Fainelli
2024-12-21 20:04           ` Krzysztof Kozlowski
2024-12-26 18:50             ` Florian Fainelli
2024-12-27  6:58               ` Krzysztof Kozlowski
2025-01-13 17:33                 ` Florian Fainelli
2024-12-17 19:44 ` Florian Fainelli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241217194439.929040-3-florian.fainelli@broadcom.com \
    --to=florian.fainelli@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®