his 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
>
> > +
> > +&gpio1 {
> > + u-boot,dm-pre-reloc;
>
> For these specific U-Boot properties it is recommended to pla
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
A 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-of
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
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
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
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
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
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
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
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 a
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
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
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
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
--- a
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ialog 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: u
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
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 th
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
>
&
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
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
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
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
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 - 100 of 133 matches
Mail list logo