[U-Boot] [PATCH 00/37] convert GE boards to DM

Robert Beckett
2019-10-15T15:53:13Z

This patch series converts GE boards to use DM features.
Most of the patches are GE board specific to modify the board code to
use the DM drivers, or modify the device tree.

There are a few new features:

patch 11 & 12: Add i2c_eeprom partitioning via device tree

patch 16 & 17: Add an i2c chip addr offset overflow mask to allow offsets to
effectively steal chip addresses. This handles a common i2c addressing
mode used on various devices.

patch 18: Add i2c eeprom bootcount driver

patch 36 & 37: add da9063 pmic and regulators

Denis Zalevskiy (2):
configs: ppd: DM for USB and regulators PPD
board: ge: bx50v3: Enable DM for PCI and ethernet

Ian Ray (8):
configs: bx50v3: Fix boot hang with video
board: ge: bx50v3: Fix run-time warning
board: ge: bx50v3: Fix message output to video console
board: ge: pass rtc_status via device tree
board: ge: mx53ppd: move uart initialisation to own function
board: ge: mx53ppd: enable DM_VIDEO
rtc: s35392a: encode command correctly
board: ge: mx53ppd: fix RTC compatible definition

Robert Beckett (27):
board: ge: bx50v3: use imx wdt
board: ge: mx53ppd: use imx wdt
board: ge: bx50v3: Add i2c bus description
board: ge: mx53ppd: Add i2c bus descritpion
misc: i2c_eeprom: add fixed partitions support
misc: i2c_eeprom: add size query
board: ge: bx50v3: use DM I2C
board: ge: mx53ppd: use DM I2C
board: ge: convert vpd to use i2c eeprom
i2c: add support for offset overflow in to address
misc: i2c_eeprom: set offset len and chip addr offset mask
bootcount: add a DM i2c eeprom backing store for bootcount
board: ge: bx50v3: add i2c eeprom bootcount storage
board: ge: mx53ppd: add i2c eeprom bootcount storage
rtc: rx8010sj: fix DM initialization
board: ge: bx50v3, mx53ppd: use DM rtc
board: ge: bx50v3: use DM i2c for PMIC initialization
board: ge: mx53ppd: remove redundant power config
board: ge: bx50v3, mx53ppd: disable I2C compatibility API
board: ge: bx50v3: Enable DM PWM for backlight
board: ge: mx53ppd: clean up DM PWM video and backlight
board: ge: mx53ppd: Use DM for ethernet
board: ge: bx50v3: use DM for uart
serial: mxc: add imx53 and imx21 compatible string
board: ge: mx53ppd: use DM for uart
dm: pmic: add da9063 PMIC driver and regulators
board: ge: bx50v3: use DM PMIC driver

arch/arm/dts/imx53-ppd.dts | 317 ++++++++++++++++++
arch/arm/dts/imx6q-bx50v3.dts | 529 +++++++++++++++++++++++++++++++
board/ge/bx50v3/Kconfig | 2 -
board/ge/bx50v3/bx50v3.c | 291 ++++-------------
board/ge/common/Kconfig | 14 -
board/ge/common/ge_common.c | 33 +-
board/ge/common/vpd_reader.c | 37 ++-
board/ge/mx53ppd/Kconfig | 2 -
board/ge/mx53ppd/Makefile | 2 +-
board/ge/mx53ppd/mx53ppd.c | 75 +----
board/ge/mx53ppd/mx53ppd_video.c | 125 +++-----
board/ge/mx53ppd/ppd_gpio.h | 8 -
configs/ge_bx50v3_defconfig | 40 ++-
configs/mx53ppd_defconfig | 35 +-
drivers/bootcount/Kconfig | 10 +
drivers/bootcount/Makefile | 1 +
drivers/bootcount/i2c-eeprom.c | 95 ++++++
drivers/i2c/i2c-uclass.c | 32 +-
drivers/misc/i2c_eeprom.c | 278 ++++++++++++++--
drivers/power/pmic/Kconfig | 8 +
drivers/power/pmic/Makefile | 1 +
drivers/power/pmic/da9063.c | 270 ++++++++++++++++
drivers/power/regulator/Kconfig | 7 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/da9063.c | 320 +++++++++++++++++++
drivers/rtc/rx8010sj.c | 2 +-
drivers/rtc/s35392a.c | 27 +-
drivers/serial/serial_mxc.c | 2 +
include/configs/ge_bx50v3.h | 64 +---
include/configs/mx53ppd.h | 69 +---
include/i2c.h | 24 ++
include/i2c_eeprom.h | 12 +
include/power/da9063_pmic.h | 303 ++++++++++++++++++
33 files changed, 2430 insertions(+), 606 deletions(-)
delete mode 100644 board/ge/common/Kconfig
create mode 100644 drivers/bootcount/i2c-eeprom.c
create mode 100644 drivers/power/pmic/da9063.c
create mode 100644 drivers/power/regulator/da9063.c
create mode 100644 include/power/da9063_pmic.h

--
2.20.1