public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bryan Brattlof <bb@ti.com>
To: Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Nishanth Menon <nm@ti.com>, Georgi Vlaev <g-vlaev@ti.com>,
	Andrew Davis <afd@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
	Tom Rini <trini@konsulko.com>
Cc: UBoot Mailing List <u-boot@lists.denx.de>, Bryan Brattlof <bb@ti.com>
Subject: [PATCH 3/8] ram: k3-ddrss: add am62a controller support
Date: Thu, 3 Nov 2022 19:13:53 -0500	[thread overview]
Message-ID: <20221104001358.13353-4-bb@ti.com> (raw)
In-Reply-To: <20221104001358.13353-1-bb@ti.com>

TI's am62a family of SoCs uses a new 32bit DDR controller that shares
much of the same functionality with the existing am64 and j721e
controllers.

Select this controller by default when u-boot is build for the am62a

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 drivers/ram/Kconfig             | 1 +
 drivers/ram/k3-ddrss/k3-ddrss.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index bf279b79f6d1a..e085119963b6c 100644
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -65,6 +65,7 @@ choice
 	default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2
 	default K3_AM64_DDRSS if SOC_K3_AM642
 	default K3_AM64_DDRSS if SOC_K3_AM625
+	default K3_AM62A_DDRSS if SOC_K3_AM62A7
 
 config K3_J721E_DDRSS
 	bool "Enable J721E DDRSS support"
diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c
index e8b7aec9e0bb3..7e445d2b737b3 100644
--- a/drivers/ram/k3-ddrss/k3-ddrss.c
+++ b/drivers/ram/k3-ddrss/k3-ddrss.c
@@ -706,6 +706,7 @@ static const struct k3_ddrss_data j721s2_data = {
 };
 
 static const struct udevice_id k3_ddrss_ids[] = {
+	{.compatible = "ti,am62a-ddrss", .data = (ulong)&k3_data, },
 	{.compatible = "ti,am64-ddrss", .data = (ulong)&k3_data, },
 	{.compatible = "ti,j721e-ddrss", .data = (ulong)&k3_data, },
 	{.compatible = "ti,j721s2-ddrss", .data = (ulong)&j721s2_data, },
-- 
2.38.1


  parent reply	other threads:[~2022-11-04  0:15 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  0:13 [PATCH 0/8] Introduce initial TI's am62a support Bryan Brattlof
2022-11-04  0:13 ` [PATCH 1/8] arm: dts: introduce am62a7 dtbs from linux kernel Bryan Brattlof
2022-11-04 13:08   ` Tom Rini
2022-11-08 21:50     ` Bryan Brattlof
2022-12-09 22:53   ` Tom Rini
2022-11-04  0:13 ` [PATCH 2/8] arm: dts: introduce am62a7 u-boot dtbs Bryan Brattlof
2022-12-09 22:53   ` Tom Rini
2022-11-04  0:13 ` Bryan Brattlof [this message]
2022-11-04 13:08   ` [PATCH 3/8] ram: k3-ddrss: add am62a controller support Tom Rini
2022-12-09 22:53   ` Tom Rini
2022-11-04  0:13 ` [PATCH 4/8] soc: ti: k3-socinfo: add am62a SoC entry Bryan Brattlof
2022-11-04 13:08   ` Tom Rini
2022-12-09 22:53   ` Tom Rini
2022-11-04  0:13 ` [PATCH 5/8] arm: mach-k3: introduce basic files to support the am62a Bryan Brattlof
2022-12-09 22:53   ` Tom Rini
2022-11-04  0:13 ` [PATCH 6/8] arm: mach-k3: am62a: introduce auto-generated SoC data Bryan Brattlof
2022-12-09 22:54   ` Tom Rini
2022-11-04  0:13 ` [PATCH 7/8] board: ti: introduce the basic files needed to support the am62a Bryan Brattlof
2022-11-04 13:08   ` Tom Rini
2022-12-09 22:54   ` Tom Rini
2022-11-04  0:13 ` [PATCH 8/8] configs: introduce configs for " Bryan Brattlof
2022-12-09 22:54   ` Tom Rini
2022-11-04 11:49 ` [PATCH 0/8] Introduce initial TI's am62a support Peter Robinson
2022-11-04 13:08   ` Tom Rini
2022-11-04 15:02     ` Andrew Davis
2022-11-08 21:53       ` Bryan Brattlof

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=20221104001358.13353-4-bb@ti.com \
    --to=bb@ti.com \
    --cc=afd@ti.com \
    --cc=g-vlaev@ti.com \
    --cc=jh80.chung@samsung.com \
    --cc=lukma@denx.de \
    --cc=nm@ti.com \
    --cc=seanga2@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /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