From: Robert Beckett <bob.beckett@collabora.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 00/41] convert GE boards to DM
Date: Wed, 23 Oct 2019 19:21:21 +0100 [thread overview]
Message-ID: <cover.1571853833.git.bob.beckett@collabora.com> (raw)
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: Adds 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 17: Improves i2c testing by giving test direct visibility of chip
address and offset, and fixing a couple of issues.
patch 18: Adds an i2c test for the new addressing mode from patch 16.
patch 19: Updates i2c eeprom to use the new addressing mode added in
patch 16.
patch 20: Add i2c eeprom bootcount driver
patch 38-40: Add Martin Fuzzey's DA9063 PMIC driver with modifications
to use the new i2c addressing mode from patch 16 and a bit of a cleanup.
v1->v2:
- Integrate Martin's PMIC driver in place of the one from v1.
- Handle feedback from v1 w.r.t i2c addressing mode (improve documentation,
improve i2c testing, add new i2c tests)
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
Martin Fuzzey (3):
pmic: allow dump command for non contiguous register maps
power: pmic: add driver for Dialog DA9063 PMIC
power: regulator: add driver for Dialog DA9063 PMIC
Robert Beckett (28):
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
dm: i2c: EEPROM simulator allow tests visibility of addr and offset
dm: i2c: EEPROM simulator add tests for addr offset mask
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
board: ge: bx50v3: use DM PMIC driver
arch/arm/dts/imx53-ppd.dts | 317 ++++++++++++++++++
arch/arm/dts/imx6q-bx50v3.dts | 529 +++++++++++++++++++++++++++++++
arch/sandbox/include/asm/test.h | 7 +
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 -
cmd/pmic.c | 12 +-
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 | 34 +-
drivers/misc/i2c_eeprom.c | 278 ++++++++++++++--
drivers/misc/i2c_eeprom_emul.c | 80 +++--
drivers/power/pmic/Kconfig | 7 +
drivers/power/pmic/Makefile | 1 +
drivers/power/pmic/da9063.c | 130 ++++++++
drivers/power/regulator/Kconfig | 10 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/da9063.c | 388 +++++++++++++++++++++++
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 | 33 ++
include/i2c_eeprom.h | 12 +
include/power/da9063_pmic.h | 320 +++++++++++++++++++
test/dm/i2c.c | 112 ++++++-
37 files changed, 2563 insertions(+), 642 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
next reply other threads:[~2019-10-23 18:21 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-23 18:21 Robert Beckett [this message]
2019-10-23 18:21 ` [U-Boot] [PATCH v2 01/41] configs: bx50v3: Fix boot hang with video Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 02/41] board: ge: bx50v3: Fix run-time warning Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 03/41] board: ge: bx50v3: Fix message output to video console Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 04/41] configs: ppd: DM for USB and regulators PPD Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 05/41] board: ge: bx50v3: Enable DM for PCI and ethernet Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 06/41] board: ge: pass rtc_status via device tree Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 07/41] board: ge: bx50v3: use imx wdt Robert Beckett
2019-10-23 20:33 ` Fabio Estevam
2019-10-25 17:42 ` Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 08/41] board: ge: mx53ppd: " Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 09/41] board: ge: bx50v3: Add i2c bus description Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 10/41] board: ge: mx53ppd: Add i2c bus descritpion Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 11/41] misc: i2c_eeprom: add fixed partitions support Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 12/41] misc: i2c_eeprom: add size query Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 13/41] board: ge: bx50v3: use DM I2C Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 14/41] board: ge: mx53ppd: " Robert Beckett
2019-10-24 12:21 ` Fabio Estevam
2019-10-25 17:43 ` Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 15/41] board: ge: convert vpd to use i2c eeprom Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 16/41] i2c: add support for offset overflow in to address Robert Beckett
2019-10-30 1:49 ` Simon Glass
2019-10-23 18:21 ` [U-Boot] [PATCH v2 17/41] dm: i2c: EEPROM simulator allow tests visibility of addr and offset Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 18/41] dm: i2c: EEPROM simulator add tests for addr offset mask Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 19/41] misc: i2c_eeprom: set offset len and chip " Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 20/41] bootcount: add a DM i2c eeprom backing store for bootcount Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 21/41] board: ge: bx50v3: add i2c eeprom bootcount storage Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 22/41] board: ge: mx53ppd: " Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 23/41] rtc: rx8010sj: fix DM initialization Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 24/41] board: ge: bx50v3, mx53ppd: use DM rtc Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 25/41] board: ge: bx50v3: use DM i2c for PMIC initialization Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 26/41] board: ge: mx53ppd: remove redundant power config Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 27/41] board: ge: bx50v3, mx53ppd: disable I2C compatibility API Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 28/41] board: ge: mx53ppd: move uart initialisation to own function Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 29/41] board: ge: mx53ppd: enable DM_VIDEO Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 30/41] rtc: s35392a: encode command correctly Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 31/41] board: ge: mx53ppd: fix RTC compatible definition Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 32/41] board: ge: bx50v3: Enable DM PWM for backlight Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 33/41] board: ge: mx53ppd: clean up DM PWM video and backlight Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 34/41] board: ge: mx53ppd: Use DM for ethernet Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 35/41] board: ge: bx50v3: use DM for uart Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 36/41] serial: mxc: add imx53 and imx21 compatible string Robert Beckett
2019-10-23 18:38 ` Fabio Estevam
2019-10-25 17:45 ` Robert Beckett
2019-10-24 7:38 ` Lukasz Majewski
2019-10-25 17:51 ` Robert Beckett
2019-10-25 20:43 ` Lukasz Majewski
2019-10-23 18:21 ` [U-Boot] [PATCH v2 37/41] board: ge: mx53ppd: use DM for uart Robert Beckett
2019-10-23 18:21 ` [U-Boot] [PATCH v2 38/41] pmic: allow dump command for non contiguous register maps Robert Beckett
2019-10-30 14:02 ` Schrempf Frieder
2019-10-23 18:22 ` [U-Boot] [PATCH v2 39/41] power: pmic: add driver for Dialog DA9063 PMIC Robert Beckett
2019-10-30 14:13 ` Schrempf Frieder
2019-10-23 18:22 ` [U-Boot] [PATCH v2 40/41] power: regulator: " Robert Beckett
2019-10-30 14:15 ` Schrempf Frieder
2019-10-30 14:37 ` Robert Beckett
2019-10-23 18:22 ` [U-Boot] [PATCH v2 41/41] board: ge: bx50v3: use DM PMIC driver Robert Beckett
2019-10-23 20:28 ` [U-Boot] [PATCH v2 00/41] convert GE boards to DM Fabio Estevam
2019-10-24 17:00 ` Fabio Estevam
2019-10-25 17:53 ` Robert Beckett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1571853833.git.bob.beckett@collabora.com \
--to=bob.beckett@collabora.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox