mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: barebox@lists.infradead.org
Cc: afa@pengutronix.de, kernel@pengutronix.de
Subject: [PATCH v4 0/3] ARM: i.MX8MM: add Phytec i.MX8 SoM support
Date: Wed, 09 Aug 2023 09:26:03 +0200	[thread overview]
Message-ID: <20230809-phytec-som-imx8mm-v4-0-b9d4759582d8@pengutronix.de> (raw)

This series adds support for the Phytec i.MX8 SoM. It comes with a
minimal i2c EEPROM read helper for the PBL and imports + adopts the
Phytec SOM detection from u-boot. The Phytec SOM detection reads and
parses the EEPROM on the SOM to figure out the size of the populated
RAM.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
Changes in v4:
- rebased to current next
- actually the same as v3, but send to barebox mailing list

Changes in v3:
- phyboard_polis_rdk_ddr_init():
  - introduce PHYTEC_IMX8M_DDR_* for different RAM sizes
  - get rid of CONFIG_PHYCORE_IMX8MM_RAM_SIZE_* and build always all
    images
  - clean up printing of error messages
- lpddr4-timing: adopt to coding style
- Link to v2: https://lore.pengutronix.de/20230606-phytec-som-imx8mm-v2-0-8c9368c8b4f9@pengutronix.de

Changes in v2:
- make several pointers to "struct phytec_eeprom" const
- phytec_print_som_info(): use printf() instead of pr_cont()
- let phytec_imx8m_detect() return int instead of u8
- fix typo in phytec_get_imx8m_spi()'s comment
- rename struct phytec_api0_data::pad -> __pad
- move include/phytec-som-* to include/boards/phytec
- Link to v1: https://lore.barebox.org/20230606-phytec-som-imx8mm-v1-0-b9c2bf70b766@pengutronix.de

---
Marc Kleine-Budde (3):
      i2c: add <pbl/eeprom.h> for PBL use
      common: board: phytec: import SoM detection for imx8m based SoM from u-boot
      ARM: i.MX8MM: add Phytec i.MX8MM SoM support

 arch/arm/boards/Makefile                           |    1 +
 arch/arm/boards/phytec-som-imx8mm/Makefile         |    4 +
 arch/arm/boards/phytec-som-imx8mm/board.c          |   40 +
 .../flash-header-imx8mm-phyboard-polis-rdk.imxcfg  |    7 +
 arch/arm/boards/phytec-som-imx8mm/lowlevel.c       |  138 ++
 arch/arm/boards/phytec-som-imx8mm/lowlevel.h       |    8 +
 arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c  | 1850 ++++++++++++++++++++
 arch/arm/dts/Makefile                              |    1 +
 arch/arm/dts/imx8mm-phyboard-polis-rdk.dts         |  131 ++
 arch/arm/mach-imx/Kconfig                          |   13 +
 common/boards/Kconfig                              |    7 +
 common/boards/Makefile                             |    1 +
 common/boards/phytec/Makefile                      |    5 +
 common/boards/phytec/phytec-som-detection.c        |  209 +++
 common/boards/phytec/phytec-som-imx8m-detection.c  |  151 ++
 images/Makefile.imx                                |   20 +
 include/boards/phytec/phytec-som-detection.h       |   69 +
 include/boards/phytec/phytec-som-imx8m-detection.h |   26 +
 include/pbl/eeprom.h                               |   34 +
 19 files changed, 2715 insertions(+)
---
base-commit: 824533a0027a626b43b5a7dacab4cf875cc019f4
change-id: 20230606-phytec-som-imx8mm-2c90276fb58c

Best regards,
-- 
Marc Kleine-Budde <mkl@pengutronix.de>





             reply	other threads:[~2023-08-09  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09  7:26 Marc Kleine-Budde [this message]
2023-08-09  7:26 ` [PATCH v4 1/3] i2c: add <pbl/eeprom.h> for PBL use Marc Kleine-Budde
2023-08-09  8:47   ` Ahmad Fatoum
2023-08-09  7:26 ` [PATCH v4 2/3] common: board: phytec: import SoM detection for imx8m based SoM from u-boot Marc Kleine-Budde
2023-08-09  7:26 ` [PATCH v4 3/3] ARM: i.MX8MM: add Phytec i.MX8MM SoM support Marc Kleine-Budde
2023-09-04 10:40 ` [PATCH v4 0/3] ARM: i.MX8MM: add Phytec i.MX8 " 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=20230809-phytec-som-imx8mm-v4-0-b9d4759582d8@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=afa@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=kernel@pengutronix.de \
    /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