Skip to content

imx: mxs: Fixes and DM/DTS conversion code for several i.MX28 drivers

Lukasz Majewski u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v29 patches 0 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi filearch/arm/dts/imx28-u-boot.dtsi+0 -10 replies
2/7spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spidrivers/spi/mxs_spi.c+1 -10 replies
3/7spi: fix: Call mxs_reset_block() during DM/DTS probedrivers/spi/mxs_spi.c+2 -00 replies
4/7spi: Add support for SPL_OF_PLATDATA to mxs_spi.c driverdrivers/spi/mxs_spi.c+32 -20 replies
5/7mmc: Convert mxsmmc eMMC driver for i.MX2{38} to DM/DTSdrivers/mmc/mxsmmc.c+373 -700 replies
6/7mmc: Replace printf with debug call for timeouts in the i.MX28 mxs driverdrivers/mmc/mxsmmc.c+2 -20 replies
7/7spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driverdrivers/gpio/mxs_gpio.c+55 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
2.11.0