]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: ge: bx50v3, imx53ppd: use DM I2C
authorRobert Beckett <bob.beckett@collabora.com>
Fri, 31 Jan 2020 13:07:54 +0000 (15:07 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 20:47:20 +0000 (21:47 +0100)
commit1dec7fa79716adb478052798ceb0cf5c3a412f61
tree9b7cf8add78976ba994a332ba6f7cb68ead607d2
parentb64088c5c2d161a8732f04076195a48d8bbf25e7
board: ge: bx50v3, imx53ppd: use DM I2C

Remove old (pre-DM) i2c setup code.
Enable DM i2c.
Convert common code to use DM rtc.
Convert common code to read VPD from eeprom partition.
Convert the generic i2c PMIC init code to use the new da9063 driver.

mx53ppd only:
Correct RTC compatible in device tree.
Enable MXC DM i2c driver.
Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc.
Make GPIO banks available during preloc, since initialisation is done
in board_early_init_f().
Add gpio_request() calls to satisfy the DM_GPIO compatibility API.
Remove unused power configuration.

Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Signed-off-by: Ian Ray <ian.ray@ge.com>
14 files changed:
arch/arm/dts/imx53-ppd-uboot.dtsi
arch/arm/dts/imx53-ppd.dts
board/ge/bx50v3/Kconfig
board/ge/bx50v3/bx50v3.c
board/ge/common/Kconfig [deleted file]
board/ge/common/ge_common.c
board/ge/common/vpd_reader.c
board/ge/mx53ppd/Kconfig
board/ge/mx53ppd/mx53ppd.c
board/ge/mx53ppd/mx53ppd_video.c
configs/ge_bx50v3_defconfig
configs/mx53ppd_defconfig
include/configs/ge_bx50v3.h
include/configs/mx53ppd.h