mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 00/13] Add i.MX9 DDR support
Date: Fri, 10 Nov 2023 14:00:15 +0100	[thread overview]
Message-ID: <20231110130028.2123895-1-s.hauer@pengutronix.de> (raw)

The i.MX9 DDR controller is very similar to the one found on i.MX8M.
Most patches in this series are for preparing the i.MX8M DDR driver
for integrating i.MX9 support. i.MX9 support is added in the last patch.

Sascha

Sascha Hauer (13):
  ddr: imx8m: rename driver to imx
  ddr: imx8m: introduce dram_controller struct
  ddr: imx8m: move get_trained_CDD() to SoC code
  ddr: imx8m: move PLL init to SoC specific code
  ddr: imx8m: clean up defines
  ddr: imx8m: move phy_base to controller struct
  ddr: imx8m: remove empty function
  ddr: imx8m: get rid of hardcoded phy address
  ddr: imx8m: split header file
  ddr: imx8m: return cfg from dram_config_save()
  ddr: imx8m: Drop '8m' suffix from pr_fmt
  ddr: move imx8m_ddr_old_spreadsheet to controller
  ddr: Initial i.MX9 support

 arch/arm/boards/nxp-imx8mq-evk/ddrphy_train.c |  10 +-
 .../boards/phytec-som-imx8mq/ddrphy_train.c   |  12 +-
 arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c |  10 +-
 drivers/ddr/Kconfig                           |   2 +-
 drivers/ddr/Makefile                          |   2 +-
 drivers/ddr/{imx8m => imx}/Kconfig            |  12 +-
 drivers/ddr/imx/Makefile                      |   8 +
 drivers/ddr/{imx8m => imx}/ddrphy_csr.c       |   2 +-
 drivers/ddr/{imx8m => imx}/ddrphy_train.c     |  50 +-
 drivers/ddr/imx/ddrphy_utils.c                |  97 +++
 drivers/ddr/{imx8m => imx}/helper.c           |  28 +-
 .../ddrphy_utils.c => imx/imx8m_ddr_init.c}   | 595 +++++++++------
 drivers/ddr/imx/imx9_ddr_init.c               | 698 ++++++++++++++++++
 drivers/ddr/imx8m/Makefile                    |   7 -
 drivers/ddr/imx8m/ddr_init.c                  | 217 ------
 include/soc/imx/ddr.h                         | 167 +++++
 include/soc/imx8m/ddr.h                       | 162 +---
 include/soc/imx9/ddr.h                        |  18 +
 18 files changed, 1431 insertions(+), 666 deletions(-)
 rename drivers/ddr/{imx8m => imx}/Kconfig (51%)
 create mode 100644 drivers/ddr/imx/Makefile
 rename drivers/ddr/{imx8m => imx}/ddrphy_csr.c (99%)
 rename drivers/ddr/{imx8m => imx}/ddrphy_train.c (75%)
 create mode 100644 drivers/ddr/imx/ddrphy_utils.c
 rename drivers/ddr/{imx8m => imx}/helper.c (74%)
 rename drivers/ddr/{imx8m/ddrphy_utils.c => imx/imx8m_ddr_init.c} (66%)
 create mode 100644 drivers/ddr/imx/imx9_ddr_init.c
 delete mode 100644 drivers/ddr/imx8m/Makefile
 delete mode 100644 drivers/ddr/imx8m/ddr_init.c
 create mode 100644 include/soc/imx/ddr.h
 create mode 100644 include/soc/imx9/ddr.h

-- 
2.39.2




             reply	other threads:[~2023-11-10 13:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 13:00 Sascha Hauer [this message]
2023-11-10 13:00 ` [PATCH 01/13] ddr: imx8m: rename driver to imx Sascha Hauer
2023-11-10 13:00 ` [PATCH 02/13] ddr: imx8m: introduce dram_controller struct Sascha Hauer
2023-11-10 13:00 ` [PATCH 03/13] ddr: imx8m: move get_trained_CDD() to SoC code Sascha Hauer
2023-11-10 13:00 ` [PATCH 04/13] ddr: imx8m: move PLL init to SoC specific code Sascha Hauer
2023-11-10 13:00 ` [PATCH 05/13] ddr: imx8m: clean up defines Sascha Hauer
2023-11-10 13:00 ` [PATCH 06/13] ddr: imx8m: move phy_base to controller struct Sascha Hauer
2023-11-10 13:00 ` [PATCH 07/13] ddr: imx8m: remove empty function Sascha Hauer
2023-11-10 13:00 ` [PATCH 08/13] ddr: imx8m: get rid of hardcoded phy address Sascha Hauer
2023-11-10 13:00 ` [PATCH 09/13] ddr: imx8m: split header file Sascha Hauer
2023-11-10 13:00 ` [PATCH 10/13] ddr: imx8m: return cfg from dram_config_save() Sascha Hauer
2023-11-10 13:00 ` [PATCH 11/13] ddr: imx8m: Drop '8m' suffix from pr_fmt Sascha Hauer
2023-11-10 13:00 ` [PATCH 12/13] ddr: move imx8m_ddr_old_spreadsheet to controller Sascha Hauer
2023-11-10 13:00 ` [PATCH 13/13] ddr: Initial i.MX9 support Sascha Hauer

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=20231110130028.2123895-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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