[U-Boot] [PATCH] patman: fix coverletter cc list with nulls

2019-11-13 Thread Robert Beckett
mail. Fix this by not encoding to utf-8, as done for the other patch files. Signed-off-by: Robert Beckett --- tools/patman/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/series.py b/tools/patman/series.py index 02a1113ad0..a15f7625ed 100644 --- a/tools/patman/serie

[U-Boot] [RESEND PATCH 08/10] board: ge: pass rtc_status via device tree

2019-11-12 Thread Robert Beckett
From: Ian Ray Pass rtc_status via the device tree, instead of on kernel command line. Additionally, the 2038 mitigation is reported, if applied successfully. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 7 ++- board/ge/common/ge_common.c | 20

[U-Boot] [RESEND PATCH 06/10] configs: ppd: DM for USB and regulators PPD

2019-11-12 Thread Robert Beckett
From: Denis Zalevskiy DM should be used for USB since 2019.07, it also requires DM for regulators. Signed-off-by: Denis Zalevskiy Signed-off-by: Robert Beckett --- configs/mx53ppd_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx53ppd_defconfig b/configs

[U-Boot] [RESEND PATCH 10/10] board: ge: mx53ppd: use imx wdt

2019-11-12 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd-uboot.dtsi | 12 arch/arm/dts/imx53-ppd.dts| 1 + board/ge/mx53ppd/mx53ppd.c| 1 - configs/mx53ppd_defconfig | 3

[U-Boot] [RESEND PATCH 09/10] board: ge: bx50v3: use imx wdt

2019-11-12 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 12 arch/arm/dts/imx6q-bx50v3.dtsi | 1 + configs/ge_bx50v3_defconfig | 3 +++ 3 files changed, 16 insertions

[U-Boot] [RESEND PATCH 07/10] board: ge: bx50v3: Enable DM for PCI and ethernet

2019-11-12 Thread Robert Beckett
to the board_late_init(); - pci_init() is called from the board_late_init() to initiate PCI bus probing, so I210 devices are propagated to the device tree; Signed-off-by: Denis Zalevskiy [Describe PHY reset in device tree] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c

[U-Boot] [RESEND PATCH 03/10] configs: bx50v3: Fix boot hang with video

2019-11-12 Thread Robert Beckett
From: Ian Ray Fixes commit: 0b09f7b15052bb419e318e38da453be46e5a13e5, which converted to DM_VIDEO, but requires more memory. [Inspired by 9002e735e71754a90adbb9676c0ffb1964dbc288] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- configs/ge_bx50v3_defconfig | 1 + 1 file changed, 1

[U-Boot] [RESEND PATCH 04/10] board: ge: bx50v3: Fix run-time warning

2019-11-12 Thread Robert Beckett
From: Ian Ray Fix GPIO reservation warning on code paths that do not need LVDS power. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b

[U-Boot] [RESEND PATCH 05/10] board: ge: bx50v3: Fix message output to video console

2019-11-12 Thread Robert Beckett
From: Ian Ray Use vidconsole for output to the LCD, now that DM_VIDEO is used. Write white text on a black background, like before migrating to DM_VIDEO. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 21 ++--- configs

[U-Boot] [RESEND PATCH 02/10] board: ge: ppd: sync device tree from Linux

2019-11-12 Thread Robert Beckett
Copy device tree from linux for PPD. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 1080 +++- 1 file changed, 1061 insertions(+), 19 deletions(-) diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts index f89d6f4672..8f3864998c

[U-Boot] [RESEND PATCH 01/10] board: ge: bx50v3: sync devicetrees from Linux

2019-11-12 Thread Robert Beckett
Copy device trees from linux, keeping them as separate files for each board to ease future sync. Update board code to use generic bx50v3 dt initially, then select the specific dt based on board detection. Signed-off-by: Robert Beckett --- arch/arm/dts/Makefile | 7 +- arch/arm/dts

[U-Boot] [RESEND PATCH 00/10] GE boards initial DM conversion

2019-11-12 Thread Robert Beckett
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 Robert Beckett (4): board: ge: bx50v3: sync devicetrees from Linux board: ge: ppd: sync device tree from Linux board: ge: bx50v3: use imx wdt

Re: [U-Boot] [PATCH v2 40/41] power: regulator: add driver for Dialog DA9063 PMIC

2019-10-30 Thread Robert Beckett
On Wed, 2019-10-30 at 14:15 +, Schrempf Frieder wrote: > Hi Robert, > > On 23.10.19 20:22, Robert Beckett wrote: > > From: Martin Fuzzey > > > > Add a driver for the regulators in the the DA9063 PMIC. > > > > Robert Beckett: move regulator mo

[U-Boot] [PATCH] rtc: rx8010js: add compatible string

2019-10-29 Thread Robert Beckett
Add compatible string used by Linux. Allows for simpler syncing of device trees. Signed-off-by: Robert Beckett --- drivers/rtc/rx8010sj.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c index 2876692a37..82c5185e2e 100644 --- a/drivers/rtc

[U-Boot] [PATCH] rtc: s35392a: add compatible strings

2019-10-28 Thread Robert Beckett
Add compatible strings used by Linux. Allows for simpler syncing of device trees. Signed-off-by: Robert Beckett --- drivers/rtc/s35392a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c index 844f1b72c7..4f478ccfd7 100644 --- a/drivers/rtc

[U-Boot] [PATCH] rtc: rx8010sj: fix DM initialization

2019-10-28 Thread Robert Beckett
pass the udevice by reference instead of double ref Signed-off-by: Robert Beckett --- drivers/rtc/rx8010sj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c index 81560e16ce..2876692a37 100644 --- a/drivers/rtc/rx8010sj.c

[U-Boot] [PATCH] bootcount: add a DM i2c eeprom backing store for bootcount

2019-10-28 Thread Robert Beckett
This driver allows the use of i2c eeprom device or partition as backing store for boot counter values with DM enabled. Signed-off-by: Robert Beckett --- drivers/bootcount/Kconfig | 10 drivers/bootcount/Makefile | 1 + drivers/bootcount/i2c-eeprom.c | 95

[U-Boot] [PATCH 0/2] misc: i2c_eeprom: add paritioning and size query

2019-10-28 Thread Robert Beckett
Add ability to specify paritions for eeprom in device tree, and query eeprom device sizes. Each partition creates a child device, allowing board code to find the eeprom parition by name. Robert Beckett (2): misc: i2c_eeprom: add fixed partitions support misc: i2c_eeprom: add size query

[U-Boot] [PATCH 2/2] misc: i2c_eeprom: add size query

2019-10-28 Thread Robert Beckett
Add ability to query size of eeprom device and partitions Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 145 +- include/i2c_eeprom.h | 12 2 files changed, 138 insertions(+), 19 deletions(-) diff --git a/drivers/misc/i2c_eeprom.c

[U-Boot] [PATCH 1/2] misc: i2c_eeprom: add fixed partitions support

2019-10-28 Thread Robert Beckett
Add ability to partition eeprom via devicetree bindings Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 98 +++ 1 file changed, 98 insertions(+) diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index 8f2349ad5a..7add8fcc0f

[U-Boot] [PATCH 1/3] i2c: add support for offset overflow in to address

2019-10-28 Thread Robert Beckett
filled with the offset overflow during offset setup. Signed-off-by: Robert Beckett Signed-off-by: Ian Ray --- drivers/i2c/i2c-uclass.c | 34 +++--- include/i2c.h| 33 + 2 files changed, 60 insertions(+), 7 deletions(-) diff

[U-Boot] [PATCH 0/3] i2c: add support for offset overflow in to chip address

2019-10-28 Thread Robert Beckett
Add support for devices that can overflow the offset in to the chip address. This makes the devices effectively steal consecutive chip addresses. Also improve i2c testing and add new test for this new addressing mode. Robert Beckett (3): i2c: add support for offset overflow in to address dm

[U-Boot] [PATCH 3/3] dm: i2c: EEPROM simulator add tests for addr offset mask

2019-10-28 Thread Robert Beckett
Add support for setting the chip address offset mask to EEPROM sumulator and add tests to test it. Signed-off-by: Robert Beckett --- arch/sandbox/include/asm/test.h | 3 ++ drivers/misc/i2c_eeprom_emul.c | 19 +++--- test/dm/i2c.c | 64

[U-Boot] [PATCH 2/3] dm: i2c: EEPROM simulator allow tests visibility of addr and offset

2019-10-28 Thread Robert Beckett
Improve i2c EEPROM simulator testing by providing access functions to check the previous chip addr and offset. Given that we can now directly test the offsets, also simplified the offset mapping and allow for wrapping acceses. Signed-off-by: Robert Beckett --- arch/sandbox/include/asm/test.h

[U-Boot] [PATCH 09/10] board: ge: bx50v3: use imx wdt

2019-10-28 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 12 arch/arm/dts/imx6q-bx50v3.dtsi | 1 + configs/ge_bx50v3_defconfig | 3 +++ 3 files changed, 16 insertions

[U-Boot] [PATCH 10/10] board: ge: mx53ppd: use imx wdt

2019-10-28 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd-uboot.dtsi | 12 arch/arm/dts/imx53-ppd.dts| 1 + board/ge/mx53ppd/mx53ppd.c| 1 - configs/mx53ppd_defconfig | 3

[U-Boot] [PATCH 07/10] board: ge: bx50v3: Enable DM for PCI and ethernet

2019-10-28 Thread Robert Beckett
to the board_late_init(); - pci_init() is called from the board_late_init() to initiate PCI bus probing, so I210 devices are propagated to the device tree; Signed-off-by: Denis Zalevskiy [Describe PHY reset in device tree] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c

[U-Boot] [PATCH 08/10] board: ge: pass rtc_status via device tree

2019-10-28 Thread Robert Beckett
From: Ian Ray Pass rtc_status via the device tree, instead of on kernel command line. Additionally, the 2038 mitigation is reported, if applied successfully. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 7 ++- board/ge/common/ge_common.c | 20

[U-Boot] [PATCH 06/10] configs: ppd: DM for USB and regulators PPD

2019-10-28 Thread Robert Beckett
From: Denis Zalevskiy DM should be used for USB since 2019.07, it also requires DM for regulators. Signed-off-by: Denis Zalevskiy Signed-off-by: Robert Beckett --- configs/mx53ppd_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx53ppd_defconfig b/configs

[U-Boot] [PATCH 05/10] board: ge: bx50v3: Fix message output to video console

2019-10-28 Thread Robert Beckett
From: Ian Ray Use vidconsole for output to the LCD, now that DM_VIDEO is used. Write white text on a black background, like before migrating to DM_VIDEO. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 21 ++--- configs

[U-Boot] [PATCH 04/10] board: ge: bx50v3: Fix run-time warning

2019-10-28 Thread Robert Beckett
From: Ian Ray Fix GPIO reservation warning on code paths that do not need LVDS power. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b

[U-Boot] [PATCH 03/10] configs: bx50v3: Fix boot hang with video

2019-10-28 Thread Robert Beckett
From: Ian Ray Fixes commit: 0b09f7b15052bb419e318e38da453be46e5a13e5, which converted to DM_VIDEO, but requires more memory. [Inspired by 9002e735e71754a90adbb9676c0ffb1964dbc288] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- configs/ge_bx50v3_defconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH 02/10] board: ge: ppd: sync device tree from Linux

2019-10-28 Thread Robert Beckett
Copy device tree from linux for PPD. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 1080 +++- 1 file changed, 1061 insertions(+), 19 deletions(-) diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts index f89d6f4672..8f3864998c

[U-Boot] [PATCH 01/10] board: ge: bx50v3: sync devicetrees from Linux

2019-10-28 Thread Robert Beckett
Copy device trees from linux, keeping them as separate files for each board to ease future sync. Update board code to use generic bx50v3 dt initially, then select the specific dt based on board detection. Signed-off-by: Robert Beckett --- arch/arm/dts/Makefile | 7 +- arch/arm/dts

[U-Boot] [PATCH 00/10] GE boards initial DM conversion

2019-10-28 Thread Robert Beckett
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 Robert Beckett (4): board: ge: bx50v3: sync devicetrees from Linux board: ge: ppd: sync device tree from Linux board: ge: bx50v3: use imx wdt

[U-Boot] [PATCH 09/10] board: ge: bx50v3: use imx wdt

2019-10-28 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 12 arch/arm/dts/imx6q-bx50v3.dtsi | 1 + configs/ge_bx50v3_defconfig | 3 +++ 3 files changed, 16 insertions

[U-Boot] [PATCH 10/10] board: ge: mx53ppd: use imx wdt

2019-10-28 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd-uboot.dtsi | 12 arch/arm/dts/imx53-ppd.dts| 1 + board/ge/mx53ppd/mx53ppd.c| 1 - configs/mx53ppd_defconfig | 3

[U-Boot] [PATCH 07/10] board: ge: bx50v3: Enable DM for PCI and ethernet

2019-10-28 Thread Robert Beckett
to the board_late_init(); - pci_init() is called from the board_late_init() to initiate PCI bus probing, so I210 devices are propagated to the device tree; Signed-off-by: Denis Zalevskiy [Describe PHY reset in device tree] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c

[U-Boot] [PATCH 08/10] board: ge: pass rtc_status via device tree

2019-10-28 Thread Robert Beckett
From: Ian Ray Pass rtc_status via the device tree, instead of on kernel command line. Additionally, the 2038 mitigation is reported, if applied successfully. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 7 ++- board/ge/common/ge_common.c | 20

[U-Boot] [PATCH 04/10] board: ge: bx50v3: Fix run-time warning

2019-10-28 Thread Robert Beckett
From: Ian Ray Fix GPIO reservation warning on code paths that do not need LVDS power. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b

[U-Boot] [PATCH 06/10] configs: ppd: DM for USB and regulators PPD

2019-10-28 Thread Robert Beckett
From: Denis Zalevskiy DM should be used for USB since 2019.07, it also requires DM for regulators. Signed-off-by: Denis Zalevskiy Signed-off-by: Robert Beckett --- configs/mx53ppd_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx53ppd_defconfig b/configs

[U-Boot] [PATCH 05/10] board: ge: bx50v3: Fix message output to video console

2019-10-28 Thread Robert Beckett
From: Ian Ray Use vidconsole for output to the LCD, now that DM_VIDEO is used. Write white text on a black background, like before migrating to DM_VIDEO. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 21 ++--- configs

[U-Boot] [PATCH 03/10] configs: bx50v3: Fix boot hang with video

2019-10-28 Thread Robert Beckett
From: Ian Ray Fixes commit: 0b09f7b15052bb419e318e38da453be46e5a13e5, which converted to DM_VIDEO, but requires more memory. [Inspired by 9002e735e71754a90adbb9676c0ffb1964dbc288] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- configs/ge_bx50v3_defconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH 02/10] board: ge: ppd: sync device tree from Linux

2019-10-28 Thread Robert Beckett
Copy device tree from linux for PPD. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 1080 +++- 1 file changed, 1061 insertions(+), 19 deletions(-) diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts index f89d6f4672..8f3864998c

[U-Boot] [PATCH 01/10] board: ge: bx50v3: sync devicetrees from Linux

2019-10-28 Thread Robert Beckett
Copy device trees from linux, keeping them as separate files for each board to ease future sync. Update board code to use generic bx50v3 dt initially, then select the specific dt based on board detection. Signed-off-by: Robert Beckett --- arch/arm/dts/Makefile | 7 +- arch/arm/dts

[U-Boot] [PATCH 00/10] GE boards initial DM conversion

2019-10-28 Thread Robert Beckett
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 Robert Beckett (4): board: ge: bx50v3: sync devicetrees from Linux board: ge: ppd: sync device tree from Linux board: ge: bx50v3: use imx wdt

Re: [U-Boot] [PATCH v2 00/41] convert GE boards to DM

2019-10-25 Thread Robert Beckett
On Thu, 2019-10-24 at 14:00 -0300, Fabio Estevam wrote: > On Wed, Oct 23, 2019 at 3:23 PM Robert Beckett > wrote: > > 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

Re: [U-Boot] [PATCH v2 36/41] serial: mxc: add imx53 and imx21 compatible string

2019-10-25 Thread Robert Beckett
On Thu, 2019-10-24 at 09:38 +0200, Lukasz Majewski wrote: > Hi Robert, > > > Add compatible string for imx53 and imx21. > > > > Signed-off-by: Robert Beckett > > --- > > drivers/serial/serial_mxc.c | 2 ++ > > 1 file changed, 2 insertions(+) > &g

Re: [U-Boot] [PATCH v2 36/41] serial: mxc: add imx53 and imx21 compatible string

2019-10-25 Thread Robert Beckett
On Wed, 2019-10-23 at 15:38 -0300, Fabio Estevam wrote: > On Wed, Oct 23, 2019 at 3:36 PM Robert Beckett > wrote: > > Add compatible string for imx53 and imx21. > > > > Signed-off-by: Robert Beckett > > --- > > drivers/serial/serial_mxc.c | 2

Re: [U-Boot] [PATCH v2 14/41] board: ge: mx53ppd: use DM I2C

2019-10-25 Thread Robert Beckett
On Thu, 2019-10-24 at 09:21 -0300, Fabio Estevam wrote: > Hi Robert, > > On Wed, Oct 23, 2019 at 3:22 PM Robert Beckett > wrote: > > > + > > + { > > + u-boot,dm-pre-reloc; > > For these specific U-Boot properties it is recommended to place t

Re: [U-Boot] [PATCH v2 07/41] board: ge: bx50v3: use imx wdt

2019-10-25 Thread Robert Beckett
On Wed, 2019-10-23 at 17:33 -0300, Fabio Estevam wrote: > On Wed, Oct 23, 2019 at 3:22 PM Robert Beckett > wrote: > > Enable DM imx WDT > > Enable SYSRESET_WATCHDOG to maintain WDT based reset ability > > > > Signed-off-by: Robert Beckett > > --- &g

[U-Boot] [PATCH v2 38/41] pmic: allow dump command for non contiguous register maps

2019-10-23 Thread Robert Beckett
for such registers, which will then be displayed as '--' by pmic dump. Use a single error code rather than any error code so that we can distinguish between a hardware failure reading the PMIC and a non implemented register known to the driver. Signed-off-by: Martin Fuzzey Signed-off-by: Robert Beckett

[U-Boot] [PATCH v2 23/41] rtc: rx8010sj: fix DM initialization

2019-10-23 Thread Robert Beckett
pass the udevice by reference instead of double ref Signed-off-by: Robert Beckett --- drivers/rtc/rx8010sj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rx8010sj.c b/drivers/rtc/rx8010sj.c index 81560e16ce..2876692a37 100644 --- a/drivers/rtc/rx8010sj.c +++ b

[U-Boot] [PATCH v2 15/41] board: ge: convert vpd to use i2c eeprom

2019-10-23 Thread Robert Beckett
convert vpd reader to use DM i2c eeprom driver. remove old VPD definitions. Signed-off-by: Robert Beckett --- board/ge/bx50v3/Kconfig | 2 -- board/ge/common/Kconfig | 14 -- board/ge/common/vpd_reader.c | 37 ++-- board/ge/mx53ppd/Kconfig

[U-Boot] [PATCH v2 37/41] board: ge: mx53ppd: use DM for uart

2019-10-23 Thread Robert Beckett
Set chose stdout-path in DT Add uart1 and associated pinctrl definitions in DT Remove legacy uart pad and iomux code Enable DM serial and mxc uart Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 17 + board/ge/mx53ppd/mx53ppd.c | 14 -- configs

[U-Boot] [PATCH v2 35/41] board: ge: bx50v3: use DM for uart

2019-10-23 Thread Robert Beckett
Set chosen stdout-path in DT Add uart3 and associated pinctrl definitions in DT Remove legacy uart pad and iomux code Enable DM serial and mxc uart Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts | 20 board/ge/bx50v3/bx50v3.c | 24

[U-Boot] [PATCH v2 22/41] board: ge: mx53ppd: add i2c eeprom bootcount storage

2019-10-23 Thread Robert Beckett
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 5 + configs/mx53ppd_defc

[U-Boot] [PATCH v2 10/41] board: ge: mx53ppd: Add i2c bus descritpion

2019-10-23 Thread Robert Beckett
Add i2c bus devicetree description Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 176 + 1 file changed, 176 insertions(+) diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts index 909a76731b..84b20cdc55 100644 --- a/arch/arm

[U-Boot] [PATCH v2 17/41] dm: i2c: EEPROM simulator allow tests visibility of addr and offset

2019-10-23 Thread Robert Beckett
Improve i2c EEPROM simulator testing by providing access functions to check the previous chip addr and offset. Given that we can now directly test the offsets, also simplified the offset mapping and allow for wrapping acceses. Signed-off-by: Robert Beckett --- arch/sandbox/include/asm/test.h

[U-Boot] [PATCH v2 26/41] board: ge: mx53ppd: remove redundant power config

2019-10-23 Thread Robert Beckett
Remove unused power configuration. The code never calls pmic_init, so this was not being used, and stops the build if left enabled when CONFIG_DM_I2C_COMPAT is diabled. Signed-off-by: Robert Beckett --- include/configs/mx53ppd.h | 9 - 1 file changed, 9 deletions(-) diff --git

[U-Boot] [PATCH v2 19/41] misc: i2c_eeprom: set offset len and chip addr offset mask

2019-10-23 Thread Robert Beckett
Set the correct offset length and chip address offset mask for each device to allow correct access to total capacity of the devices. Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/misc

[U-Boot] [PATCH v2 34/41] board: ge: mx53ppd: Use DM for ethernet

2019-10-23 Thread Robert Beckett
Add fec ethernet and pinctrl DT config. Remove legacy iomux setup for fec. Enable phylib and DM fec. Use Kconfig for enabling fec. Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 24 board/ge/mx53ppd/mx53ppd.c | 26 -- configs

[U-Boot] [PATCH v2 16/41] i2c: add support for offset overflow in to address

2019-10-23 Thread Robert Beckett
filled with the offset overflow during offset setup. Signed-off-by: Robert Beckett Signed-off-by: Ian Ray --- drivers/i2c/i2c-uclass.c | 34 +++--- include/i2c.h| 33 + 2 files changed, 60 insertions(+), 7 deletions(-) diff

[U-Boot] [PATCH v2 09/41] board: ge: bx50v3: Add i2c bus description

2019-10-23 Thread Robert Beckett
Add i2c bus devicetree description Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts | 351 ++ 1 file changed, 351 insertions(+) diff --git a/arch/arm/dts/imx6q-bx50v3.dts b/arch/arm/dts/imx6q-bx50v3.dts index 2e2e3bbc24..4dd2ce3038 100644

[U-Boot] [PATCH v2 40/41] power: regulator: add driver for Dialog DA9063 PMIC

2019-10-23 Thread Robert Beckett
From: Martin Fuzzey Add a driver for the regulators in the the DA9063 PMIC. Robert Beckett: move regulator modes to header so board code can set modes. Correct mode mask used in ldo_set_mode. Signed-off-by: Martin Fuzzey Signed-off-by: Robert Beckett --- drivers/power/regulator/Kconfig

[U-Boot] [PATCH v2 24/41] board: ge: bx50v3, mx53ppd: use DM rtc

2019-10-23 Thread Robert Beckett
Convert common code to use DM rtc. Remove old (pre-DM) rtc defines and config. Add uboot specific devicetree binding name for bx50v3 rtc Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts | 2 +- board/ge/common/ge_common.c | 17 ++--- configs/ge_bx50v3_defconfig

[U-Boot] [PATCH v2 33/41] board: ge: mx53ppd: clean up DM PWM video and backlight

2019-10-23 Thread Robert Beckett
Remove old (incorrect) setup_iomux_lcd. Enable backlight via display enable handler. Use cls command to initiate display in HW agnostic manner. Signed-off-by: Robert Beckett --- board/ge/mx53ppd/mx53ppd.c | 1 - board/ge/mx53ppd/mx53ppd_video.c | 118

[U-Boot] [PATCH v2 29/41] board: ge: mx53ppd: enable DM_VIDEO

2019-10-23 Thread Robert Beckett
From: Ian Ray Enable DM_VIDEO for mx53ppd. This also requires DM_REGULATOR_FIXED and DM_PWM for the backlight, and `failbootcmd' is changed to use lcdputs. Remove unused MX53PPD_LCD_POWER. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 70

[U-Boot] [PATCH v2 27/41] board: ge: bx50v3, mx53ppd: disable I2C compatibility API

2019-10-23 Thread Robert Beckett
Now that all i2c drivers are using DM i2c, we can disable the compatibility api. Signed-off-by: Robert Beckett --- configs/ge_bx50v3_defconfig | 1 - configs/mx53ppd_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/ge_bx50v3_defconfig b/configs/ge_bx50v3_defconfig index

[U-Boot] [PATCH v2 31/41] board: ge: mx53ppd: fix RTC compatible definition

2019-10-23 Thread Robert Beckett
From: Ian Ray Fix RTC compatible definition. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts index 947d75b05d..484447af10 100644

[U-Boot] [PATCH v2 41/41] board: ge: bx50v3: use DM PMIC driver

2019-10-23 Thread Robert Beckett
Convert the generic i2c PMIC init code to use the new da9063 driver. Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 81 ++--- configs/ge_bx50v3_defconfig | 3 ++ 2 files changed, 24 insertions(+), 60 deletions(-) diff --git a/board/ge/bx50v3

[U-Boot] [PATCH v2 30/41] rtc: s35392a: encode command correctly

2019-10-23 Thread Robert Beckett
From: Ian Ray The 3-bit "command", or register, is encoded within the device address. Configure the device accordingly, and pass command in DM I2C read/write calls correctly. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- drivers/rtc/s35392a.c | 27

[U-Boot] [PATCH v2 39/41] power: pmic: add driver for Dialog DA9063 PMIC

2019-10-23 Thread Robert Beckett
From: Martin Fuzzey This adds the basic register access operations and child regulator binding (if a regulator driver exists). Robert Beckett: simplify accesses by using bottom bit of address as offset overflow. This avoids the need to track which page we are on. Signed-off-by: Martin Fuzzey

[U-Boot] [PATCH v2 25/41] board: ge: bx50v3: use DM i2c for PMIC initialization

2019-10-23 Thread Robert Beckett
Use DM i2c for PMIC dc-dc buck converter initialization. Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c | 40 ++-- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index dce76808d7

[U-Boot] [PATCH v2 36/41] serial: mxc: add imx53 and imx21 compatible string

2019-10-23 Thread Robert Beckett
Add compatible string for imx53 and imx21. Signed-off-by: Robert Beckett --- drivers/serial/serial_mxc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index 42abb96a26..8e19a89151 100644 --- a/drivers/serial/serial_mxc.c +++ b

[U-Boot] [PATCH v2 20/41] bootcount: add a DM i2c eeprom backing store for bootcount

2019-10-23 Thread Robert Beckett
This driver allows the use of i2c eeprom device or partition as backing store for boot counter values with DM enabled. Signed-off-by: Robert Beckett --- drivers/bootcount/Kconfig | 10 drivers/bootcount/Makefile | 1 + drivers/bootcount/i2c-eeprom.c | 95

[U-Boot] [PATCH v2 28/41] board: ge: mx53ppd: move uart initialisation to own function

2019-10-23 Thread Robert Beckett
From: Ian Ray Move UART initialisation to a stand-alone function for consistency with other boards. Drop PPD_UART_PAD_CTRL since it matches defaults. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/mx53ppd/mx53ppd.c | 11 +++ board/ge/mx53ppd/ppd_gpio.h | 6

[U-Boot] [PATCH v2 14/41] board: ge: mx53ppd: use DM I2C

2019-10-23 Thread Robert Beckett
preloc, since initialisation is done in board_early_init_f(). Add gpio_request() calls to satisfy the DM_GPIO compatibility API. Signed-off-by: Robert Beckett Signed-off-by: Ian Ray --- arch/arm/dts/imx53-ppd.dts | 20 ++ board/ge/mx53ppd/mx53ppd.c | 35

[U-Boot] [PATCH v2 18/41] dm: i2c: EEPROM simulator add tests for addr offset mask

2019-10-23 Thread Robert Beckett
Add support for setting the chip address offset mask to EEPROM sumulator and add tests to test it. Signed-off-by: Robert Beckett --- arch/sandbox/include/asm/test.h | 3 ++ drivers/misc/i2c_eeprom_emul.c | 19 +++--- test/dm/i2c.c | 64

[U-Boot] [PATCH v2 12/41] misc: i2c_eeprom: add size query

2019-10-23 Thread Robert Beckett
Add ability to query size of eeprom device and partitions Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 145 +- include/i2c_eeprom.h | 12 2 files changed, 138 insertions(+), 19 deletions(-) diff --git a/drivers/misc/i2c_eeprom.c b

[U-Boot] [PATCH v2 32/41] board: ge: bx50v3: Enable DM PWM for backlight

2019-10-23 Thread Robert Beckett
Add backlight and panel devicetree definitions Use UCLASS_PANEL to enable backlight via display enable handler Remove old explicit gpio code for handling backlight Use cls command to initiate display in HW agnostic manner Enable DM regulator and pwm Signed-off-by: Robert Beckett --- arch/arm

[U-Boot] [PATCH v2 21/41] board: ge: bx50v3: add i2c eeprom bootcount storage

2019-10-23 Thread Robert Beckett
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts | 7 ++- configs/ge_bx50v3_defco

[U-Boot] [PATCH v2 11/41] misc: i2c_eeprom: add fixed partitions support

2019-10-23 Thread Robert Beckett
Add ability to partition eeprom via devicetree bindings Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 98 +++ 1 file changed, 98 insertions(+) diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c index 8f2349ad5a..7add8fcc0f

[U-Boot] [PATCH v2 13/41] board: ge: bx50v3: use DM I2C

2019-10-23 Thread Robert Beckett
Remove old (pre-DM) i2c setup code. Enable DM i2c. Enable compat i2c api while we migrate other i2c devices to DM i2c. Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 43 - configs/ge_bx50v3_defconfig | 5 + include/configs/ge_bx50v3.h

[U-Boot] [PATCH v2 08/41] board: ge: mx53ppd: use imx wdt

2019-10-23 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx53-ppd.dts | 5 + board/ge/mx53ppd/mx53ppd.c | 1 - configs/mx53ppd_defconfig | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts

[U-Boot] [PATCH v2 07/41] board: ge: bx50v3: use imx wdt

2019-10-23 Thread Robert Beckett
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts | 4 configs/ge_bx50v3_defconfig | 3 +++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/dts/imx6q-bx50v3.dts b/arch/arm/dts/imx6q

[U-Boot] [PATCH v2 06/41] board: ge: pass rtc_status via device tree

2019-10-23 Thread Robert Beckett
From: Ian Ray Pass rtc_status via the device tree, instead of on kernel command line. Additionally, the 2038 mitigation is reported, if applied successfully. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 7 ++- board/ge/common/ge_common.c | 20

[U-Boot] [PATCH v2 03/41] board: ge: bx50v3: Fix message output to video console

2019-10-23 Thread Robert Beckett
From: Ian Ray Use vidconsole for output to the LCD, now that DM_VIDEO is used. Write white text on a black background, like before migrating to DM_VIDEO. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c| 21 ++--- configs

[U-Boot] [PATCH v2 04/41] configs: ppd: DM for USB and regulators PPD

2019-10-23 Thread Robert Beckett
From: Denis Zalevskiy DM should be used for USB since 2019.07, it also requires DM for regulators. Signed-off-by: Denis Zalevskiy Signed-off-by: Robert Beckett --- configs/mx53ppd_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx53ppd_defconfig b/configs

[U-Boot] [PATCH v2 05/41] board: ge: bx50v3: Enable DM for PCI and ethernet

2019-10-23 Thread Robert Beckett
to the board_late_init(); - pci_init() is called from the board_late_init() to initiate PCI bus probing, so I210 devices are propagated to the device tree; Signed-off-by: Denis Zalevskiy [Describe PHY reset in device tree] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts

[U-Boot] [PATCH v2 02/41] board: ge: bx50v3: Fix run-time warning

2019-10-23 Thread Robert Beckett
From: Ian Ray Fix GPIO reservation warning on code paths that do not need LVDS power. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b

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

2019-10-23 Thread Robert Beckett
63 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

[U-Boot] [PATCH v2 01/41] configs: bx50v3: Fix boot hang with video

2019-10-23 Thread Robert Beckett
From: Ian Ray Fixes commit: 0b09f7b15052bb419e318e38da453be46e5a13e5, which converted to DM_VIDEO, but requires more memory. [Inspired by 9002e735e71754a90adbb9676c0ffb1964dbc288] Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- configs/ge_bx50v3_defconfig | 1 + 1 file changed, 1

Re: [U-Boot] [PATCH 16/37] i2c: add support for offset overflow in to address

2019-10-17 Thread Robert Beckett
On Tue, 2019-10-15 at 21:40 -0600, Simon Glass wrote: > Hi Robert, > > On Tue, 15 Oct 2019 at 09:55, Robert Beckett < > bob.beck...@collabora.com> wrote: > > Some devices (2 wire eeproms for example) use some bits from the > > chip > > address to represent

Re: [U-Boot] [PATCH 36/37] dm: pmic: add da9063 PMIC driver and regulators

2019-10-16 Thread Robert Beckett
On Wed, 2019-10-16 at 07:24 +, Schrempf Frieder wrote: > Hi Robert, > > On 15.10.19 17:53, Robert Beckett wrote: > > Add DM driver to support Dialog DA9063. > > Currently it support binding regulator children. > > > > Signed-off-by: Robert Beckett >

[U-Boot] [PATCH 15/37] board: ge: convert vpd to use i2c eeprom

2019-10-15 Thread Robert Beckett
convert vpd reader to use DM i2c eeprom driver. remove old VPD definitions. Signed-off-by: Robert Beckett --- board/ge/bx50v3/Kconfig | 2 -- board/ge/common/Kconfig | 14 -- board/ge/common/vpd_reader.c | 37 ++-- board/ge/mx53ppd/Kconfig

[U-Boot] [PATCH 17/37] misc: i2c_eeprom: set offset len and chip addr offset mask

2019-10-15 Thread Robert Beckett
Set the correct offset length and chip address offset mask for each device to allow correct access to total capacity of the devices. Signed-off-by: Robert Beckett --- drivers/misc/i2c_eeprom.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/misc

[U-Boot] [PATCH 19/37] board: ge: bx50v3: add i2c eeprom bootcount storage

2019-10-15 Thread Robert Beckett
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by: Robert Beckett --- arch/arm/dts/imx6q-bx50v3.dts | 7 ++- configs/ge_bx50v3_defco

[U-Boot] [PATCH 23/37] board: ge: bx50v3: use DM i2c for PMIC initialization

2019-10-15 Thread Robert Beckett
Use DM i2c for PMIC dc-dc buck converter initialization. Signed-off-by: Robert Beckett --- board/ge/bx50v3/bx50v3.c | 40 ++-- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index dce76808d7

[U-Boot] [PATCH 26/37] board: ge: mx53ppd: move uart initialisation to own function

2019-10-15 Thread Robert Beckett
From: Ian Ray Move UART initialisation to a stand-alone function for consistency with other boards. Drop PPD_UART_PAD_CTRL since it matches defaults. Signed-off-by: Ian Ray Signed-off-by: Robert Beckett --- board/ge/mx53ppd/mx53ppd.c | 11 +++ board/ge/mx53ppd/ppd_gpio.h | 6

  1   2   >