[U-Boot] [PATCH v3 0/7] imx: mxs: Fixes and DM/DTS conversion code for several i.MX28 drivers

Lukasz Majewski lukma at denx.de
Thu Sep 5 07:54:54 UTC 2019


This patch series focuses on fixing and enhancing the i.MX28 to be
converted to DM/DTS.
The mxs gpio, spi and eMMC drivers have been fixed and converted to DM/DTS.
Some of them also gain support for OF_PLATDATA, when run in constrained
SPL (u-boot.sb).

Applies on -master
SHA1: 448f11f7503995746a7b71e5e3b3a831c4651be9

Travis-CI:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/580944898


Changes in v3:
- Drop following patches from this series (as they are generic,
  non i.MX specific code):
  [U-Boot,v2,8/9] spl: Introduce SPL_DM_GPIO Kconfig define
  [U-Boot,v2,1/9] doc: fix: Replace SPL_OF_PLATDATA with OF_PLATDATA in examples

Changes in v2:
- New patch
- Correct position of struct mmc_ops mxsmmc_ops to avoid build
  breaks on board using legacy i.MX28 mmc driver.
- New patch
- New patch

Lukasz Majewski (7):
  dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi file
  spl: Init proper struct driver member (platdata_auto_alloc_size) for
    mxs_spi
  spi: fix: Call mxs_reset_block() during DM/DTS probe
  spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driver
  mmc: Convert mxsmmc eMMC driver for i.MX2{38} to DM/DTS
  mmc: Replace printf with debug call for timeouts in the i.MX28 mxs
    driver
  spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver

 arch/arm/dts/imx28-u-boot.dtsi |   1 -
 drivers/gpio/mxs_gpio.c        |  72 +++++--
 drivers/mmc/mxsmmc.c           | 445 ++++++++++++++++++++++++++++++++++-------
 drivers/spi/mxs_spi.c          |  38 +++-
 4 files changed, 464 insertions(+), 92 deletions(-)

-- 
2.11.0



More information about the U-Boot mailing list