From patchwork Fri Jan 31 13:07:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Ray X-Patchwork-Id: 240514 List-Id: U-Boot discussion From: ian.ray at ge.com (Ian Ray) Date: Fri, 31 Jan 2020 15:07:51 +0200 Subject: [U-Boot, 00/13] board: ge: complete DM conversion Message-ID: This series finishes the conversion to DM mode for drivers used on GE boards. The first patch adds the ability to specify partitions for eeprom in the device tree, and query eeprom device sizes. Each partition creates a child device, allowing board code to find the eeprom parition by name. This feature is used in the second and third patches. The bulk of the work is for converting i2c board code to DM driver accesses for the various drivers. Ian Ray (4): board: ge: mx53ppd: enable DM_VIDEO board: ge: bx50v3: override panel board: ge: mx53ppd: use DM for uart board: ge: bx50v3, imx53ppd: configure CONFIG_SYS_BOOTMAPSZ Robert Beckett (9): misc: i2c_eeprom: set offset len and chip addr offset mask board: ge: bx50v3, imx53ppd: add eeprom partitions board: ge: bx50v3, imx53ppd: use DM I2C board: ge: bx50v3: add i2c eeprom bootcount storage board: ge: mx53ppd: add i2c eeprom bootcount storage board: ge: bx50v3: Enable DM PWM for backlight board: ge: mx53ppd: Use DM for ethernet board: ge: bx50v3: use DM for uart board: ge: bx50v3, mx53ppd: fix firstboot detection arch/arm/dts/imx53-ppd-uboot.dtsi | 46 ++++++++ arch/arm/dts/imx53-ppd.dts | 5 +- arch/arm/dts/imx6q-b450v3.dts | 2 + arch/arm/dts/imx6q-b650v3.dts | 2 + arch/arm/dts/imx6q-b850v3.dts | 2 + arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 25 ++++ arch/arm/dts/imx6q-bx50v3.dtsi | 3 +- board/ge/bx50v3/Kconfig | 2 - board/ge/bx50v3/bx50v3.c | 219 ++++++----------------------------- board/ge/common/Kconfig | 14 --- board/ge/common/ge_common.c | 17 +-- board/ge/common/vpd_reader.c | 37 +++--- board/ge/mx53ppd/Kconfig | 2 - board/ge/mx53ppd/Makefile | 2 +- board/ge/mx53ppd/mx53ppd.c | 67 +---------- board/ge/mx53ppd/mx53ppd_video.c | 125 +++++++------------- board/ge/mx53ppd/ppd_gpio.h | 8 -- configs/ge_bx50v3_defconfig | 27 ++++- configs/mx53ppd_defconfig | 31 +++-- drivers/misc/i2c_eeprom.c | 35 ++++++ include/configs/ge_bx50v3.h | 49 ++------ include/configs/mx53ppd.h | 76 ++---------- 22 files changed, 295 insertions(+), 501 deletions(-) delete mode 100644 board/ge/common/Kconfig