[PATCH 2/3] ram: renesas: dbsc5: Add Renesas R-Car Gen5 DBSC5 driver
Marek Vasut
marek.vasut at mailbox.org
Sat Jun 13 22:24:25 CEST 2026
On 6/10/26 8:20 PM, Marek Vasut wrote:
> Add Renesas R-Car Gen5 DBSC5 DRAM controller driver. This driver is currently
> capable of bringing LPDDR5X DRAM on Renesas R-Car X5H Ironhide board. Further
> boards can be supported by supplying board specific DRAM configuration data
> via dbsc5_get_board_data().
>
> The driver reuses parts of previous DBSC5 driver, but due to hardware changes,
> can not be fully integrated into existing DBSC and DRAM driver, therefore the
> currentl DBSC and DRAM drivers are moved into R8A779G0 V4H specific files, and
> the R8A78000 X5H files are added in parallel.
>
> The Gen5 DBSC driver is meant to be used in RSIP context, while the Gen4 DBSC
> driver is meant to be used in SPL, therefore the Kconfig conditionals have been
> adjusted to match.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> board/renesas/sparrowhawk/sparrowhawk.c | 2 +-
> drivers/ram/renesas/Kconfig | 6 +-
> drivers/ram/renesas/Makefile | 2 -
> drivers/ram/renesas/dbsc5/Makefile | 4 +-
> drivers/ram/renesas/dbsc5/ecc.c | 168 +
> .../dbsc5/{dbsc5.c => r8a779g0-dbsc5.c} | 2 +-
> .../dbsc5/{dbsc5.h => r8a779g0-dbsc5.h} | 6 +-
> .../renesas/dbsc5/{dram.c => r8a779g0-dram.c} | 4 +-
> drivers/ram/renesas/dbsc5/r8a78000-dbsc5.c | 76 +
> drivers/ram/renesas/dbsc5/r8a78000-dbsc5.h | 17 +
> drivers/ram/renesas/dbsc5/r8a78000-dram.c | 2795 +++++++
> drivers/ram/renesas/dbsc5/r8a78000-dram.h | 7385 +++++++++++++++++
> include/{dbsc5.h => r8a779g0-dbsc5.h} | 0
> include/r8a78000-dbsc5.h | 63 +
> 14 files changed, 10517 insertions(+), 13 deletions(-)
> create mode 100644 drivers/ram/renesas/dbsc5/ecc.c
> rename drivers/ram/renesas/dbsc5/{dbsc5.c => r8a779g0-dbsc5.c} (98%)
> rename drivers/ram/renesas/dbsc5/{dbsc5.h => r8a779g0-dbsc5.h} (80%)
> rename drivers/ram/renesas/dbsc5/{dram.c => r8a779g0-dram.c} (99%)
> create mode 100644 drivers/ram/renesas/dbsc5/r8a78000-dbsc5.c
> create mode 100644 drivers/ram/renesas/dbsc5/r8a78000-dbsc5.h
> create mode 100644 drivers/ram/renesas/dbsc5/r8a78000-dram.c
> create mode 100644 drivers/ram/renesas/dbsc5/r8a78000-dram.h
> rename include/{dbsc5.h => r8a779g0-dbsc5.h} (100%)
> create mode 100644 include/r8a78000-dbsc5.h
This additional one-liner is needed:
"
diff --git a/drivers/ram/renesas/dbsc5/qos.c
b/drivers/ram/renesas/dbsc5/qos.c
index 56a60b987af..a9fc0b1439a 100644
--- a/drivers/ram/renesas/dbsc5/qos.c
+++ b/drivers/ram/renesas/dbsc5/qos.c
@@ -9,7 +9,7 @@
#include <hang.h>
#include <linux/sizes.h>
#include <ram.h>
-#include "dbsc5.h"
+#include "r8a779g0-dbsc5.h"
/* AXMM */
#define AXMM_ADSPLCR0 0x4008
"
More information about the U-Boot
mailing list