[U-Boot] [PATCH v2 00/14] DM: display5: Convert display5 board to DM/DTS (including 'factory' setup)

Lukasz Majewski lukma at denx.de
Tue Sep 3 14:38:36 UTC 2019


This patch series converts display5 to use DM/DTS.
The SPL conversion to DM/DTS has been omitted.

The previous series due to some Kconfig issues was applied partially.
Following patches were NOT applied:
https://patchwork.ozlabs.org/patch/1112757/
https://patchwork.ozlabs.org/patch/1112755/
https://patchwork.ozlabs.org/patch/1112756/

This series supersedes conversion from above patches by:
- Fixing issues after porting to newest mainline (FSL_MMC_IMX conversion)
- Converts usage of gpio* legacy API to dm_gpio*
- Cleans up the display5_{factory_}defconfig


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

Applied on top of u-boot/master branch
SHA1: 877294b56a52f1cb60bbfa7e4722fcc33451f7b2

Buildman:
./tools/buildman/buildman.py --branch=HEAD mx6 --show_errors --force-build --count=14 --output-dir=../BUILD/


Changes in v2:
- Use dm_gpio* functions instead of gpio_* ones
- Use dm_gpio_* instead of legacy gpio_* functions

Lukasz Majewski (14):
  fix: defconfig: Enable OF_CONTROL for display5_factory
  ARM: imx: defconfig: Enable CONFIG_PINCTRL{_IMX6} on display5's
    defconfig
  DM: I2C: Switch display5 board to use DM_I2C
  ARM: imx: defconfig: Enable 'regulator' and 'pmic' commands on
    display5
  DM: mmc: Switch display5 board to use DM_MMC and BLK (USDHC)
  DM: eth: Switch display5 board to use DM_ETH
  DM: SPI: Convert display5 to use SPI with DM/DTS (but no in SPL)
  ARM: display5: Remove UART initialization code after DM/DTS conversion
    (non-console)
  DM: WDT: Convert WDT driver to use DM/DTS (including SYSRESET)
  ARM: display5: Remove common.c file (after DM/DTS U-Boot proper
    conversion)
  ARM: Update display5_factory_defconfig after switch to DM/DTS and uuu
    utility
  cosmetic: Cleanup display5_defconfig with make savedefconfig
  imx: Convert emergency pad of display5 to use dm_gpio* functions
  imx: Rewrite display5 get_board_id() function to use dm_gpio_* API

 arch/arm/dts/imx6q-display5-u-boot.dtsi |   5 +
 arch/arm/mach-imx/mx6/Kconfig           |   5 +
 board/liebherr/display5/Makefile        |   4 +-
 board/liebherr/display5/common.c        | 120 -------------
 board/liebherr/display5/common.h        |   8 -
 board/liebherr/display5/display5.c      | 302 +++++++-------------------------
 board/liebherr/display5/spl.c           |  74 ++++++++
 configs/display5_defconfig              |  31 +++-
 configs/display5_factory_defconfig      |  44 ++++-
 include/configs/display5.h              |  29 ++-
 10 files changed, 232 insertions(+), 390 deletions(-)
 delete mode 100644 board/liebherr/display5/common.c

-- 
2.11.0



More information about the U-Boot mailing list