[PATCHv2 2/5] image: cleanup pre-processor usage

2020-12-14 Thread Sebastian Reichel
Replace most #ifdef checks for USE_HOSTCC and CONFIG_* with normal if instructions. Signed-off-by: Sebastian Reichel --- common/image-fit.c | 193 + include/image.h| 4 + 2 files changed, 96 insertions(+), 101 deletions(-) diff --git a/common

[PATCHv2 5/5] board: ge: bx50v3: cleanup phy config

2020-12-14 Thread Sebastian Reichel
oard's PHY rework code. Signed-off-by: Sebastian Reichel --- arch/arm/dts/imx6q-ba16.dtsi | 11 +++ board/ge/bx50v3/bx50v3.c | 35 --- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/arch/arm/dts/imx6q-ba16.dtsi b/arch/arm/dts/imx6q-ba16.

[PATCH 3/9] board: ge: b1x5v2: Add MAINTAINERS

2020-11-04 Thread Sebastian Reichel
Introduce maintainers file for the GE B1x5 board. Cc: Huan 'Kitty' Wang Cc: Ian Ray Signed-off-by: Sebastian Reichel --- board/ge/b1x5v2/MAINTAINERS | 9 + 1 file changed, 9 insertions(+) create mode 100644 board/ge/b1x5v2/MAINTAINERS diff --git a/board/ge/b1x5v2/MAINTAINERS b/board

[PATCH 0/9] GE Board cleanups

2020-11-04 Thread Sebastian Reichel
: reduce VPD EEPROM partition size board: ge: bx50v3: check b850v3 power management watchdog Sebastian Reichel (6): board: ge: bx50v3: Update MAINTAINERS board: ge: ppd: Update MAINTAINERS board: ge: b1x5v2: Add MAINTAINERS board: ge: common: vpd: fix name board: ge: bx50v3: drop unused

[PATCH 7/9] board: ge: bx50v3: reduce magic numbers

2020-11-04 Thread Sebastian Reichel
Use VPD product ID instead of confidx, so that we can easily reuse the product ID defines and avoid some magic numbers. Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/board/ge/bx50v3

[PATCH 4/9] board: ge: common: vpd: fix name

2020-11-04 Thread Sebastian Reichel
Commit f692b479f02d changed the VPD partition name from "vpd" to "vpd@0". Fix the VPD reader code to use the new name, so that the VPD code keeps working. Fixes: f692b479f02d ("i2c: eeprom: Use reg property instead of offset and size") Signed-off-by: Sebastian

[PATCH 9/9] board: ge: bx50v3: check b850v3 power management watchdog

2020-11-04 Thread Sebastian Reichel
From: Ian Ray Set `bootcause' from b850v3 power management watchdog status. Boot cause "REVERT" is no longer used, remove it. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c| 17 + include/configs/ge_bx50v3.h | 4 +--

[PATCH 1/9] board: ge: bx50v3: Update MAINTAINERS

2020-11-04 Thread Sebastian Reichel
This updates the Bx50v3 MAINTAINERS file, so that it also catches changes to the related device tree files. Additionally the list of files has been sorted alphabetically and I added myself as maintainer. Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/MAINTAINERS | 11 --- 1 file

[PATCH 5/9] board: ge: bx50v3: correct CONFIG_CMD_NFS

2020-11-04 Thread Sebastian Reichel
From: Ian Ray Fix typo in NFS command configuration check. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- include/configs/ge_bx50v3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index

[PATCH 8/9] board: ge: reduce VPD EEPROM partition size

2020-11-04 Thread Sebastian Reichel
From: Ian Ray Reduce vital product data size to match the latest specification. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- arch/arm/dts/imx53-ppd-uboot.dtsi| 2 +- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/9] board: ge: ppd: Update MAINTAINERS

2020-11-04 Thread Sebastian Reichel
alphabetically * Add board specific device tree files to the file list Cc: Martyn Welch Cc: Ian Ray Signed-off-by: Sebastian Reichel --- board/ge/mx53ppd/MAINTAINERS | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/board/ge/mx53ppd/MAINTAINERS b/board/ge/mx53ppd

[PATCH 6/9] board: ge: bx50v3: drop unused pinmux defines

2020-11-04 Thread Sebastian Reichel
Remove pinmux defines, that are no longer used after converting the code to devicetree. Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index 8a38ac5d4e4c

[PATCH] net: e1000: implement eth_write_hwaddr for DM_ETH

2020-11-04 Thread Sebastian Reichel
From: Ian Ray Implement programming MAC address to the hardware also for device model configuration. Fixes: b565b18a294f ("board: ge: bx50v3: Enable DM for PCI and ethernet") Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- drivers/net/e1000.c | 17 ++-

Re: [PATCHv2 3/5] image: support board_fit_config_name_match

2021-01-05 Thread Sebastian Reichel
Hi Stefano, On Mon, Jan 04, 2021 at 08:41:33PM +0100, Stefano Babic wrote: > > I'm about to send PATCHv3 dropping the OF_LIBFDT_OVERLAY related > > cleanup. > > Thanks ! > > > > So I applied the patches related to the board, but I left this > > > out. > > > > Not applying this patch results in

[PATCHv3 1/2] image: cleanup pre-processor usage

2021-01-04 Thread Sebastian Reichel
Replace most #ifdef checks for USE_HOSTCC and CONFIG_* with normal if instructions. Reviewed-by: Simon Glass Signed-off-by: Sebastian Reichel --- common/image-fit.c | 46 -- include/image.h| 4 2 files changed, 24 insertions(+), 26

[PATCHv3 0/2] Support automatic fitImage config selection

2021-01-04 Thread Sebastian Reichel
OF_LIBFDT_OVERLAY ifdef removal from PATCH 1, this change requires more work -- Sebastian Sebastian Reichel (2): image: cleanup pre-processor usage image: support board_fit_config_name_match common/image-fit.c | 65 +++--- include/image.h| 4 +++ 2 files

[PATCHv3 2/2] image: support board_fit_config_name_match

2021-01-04 Thread Sebastian Reichel
Support reusing board_fit_config_name_match() to automatically select a sensible default configuration for booting fitImages using 'bootm'. Reviewed-by: Simon Glass Signed-off-by: Sebastian Reichel --- common/image-fit.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions

Re: [PATCHv2 3/5] image: support board_fit_config_name_match

2021-01-04 Thread Sebastian Reichel
Hi, On Mon, Dec 28, 2020 at 12:39:57PM +0100, Stefano Babic wrote: > On 15.12.20 00:41, Sebastian Reichel wrote: > > Support reusing board_fit_config_name_match() to automatically > > select a sensible default configuration for booting fitImages > > using 'bootm'. > &g

[PATCH] gpio: mcp230xx: Introduce new driver

2021-07-06 Thread Sebastian Reichel
Introduce driver for I2C based MCP230xx GPIO chips, which are quite common and already well supported by the Linux kernel. Signed-off-by: Sebastian Reichel --- drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile| 1 + drivers/gpio/mcp230xx_gpio.c | 235

[PATCH 3/7] configs: ge: bx50v3: adjust watchdog period

2021-04-23 Thread Sebastian Reichel
From: Ian Ray Increase watchdog period, in order to accomodate recent kernel size and configuration changes. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- configs/ge_bx50v3_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/ge_bx50v3_defconfig

[PATCH 5/7] include: configs: ge: bx50v3: drop USB boot

2021-04-23 Thread Sebastian Reichel
From: Ian Ray Remove unsupported USB boot. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- include/configs/ge_bx50v3.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index 2d854af9a06d..f1e0ec553ce6 100644

[PATCH 4/7] configs: ge: use non-persistent environment

2021-04-23 Thread Sebastian Reichel
From: Ian Ray Disable the unused persistent environment. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- configs/ge_bx50v3_defconfig | 2 +- configs/mx53ppd_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/ge_bx50v3_defconfig b/configs

[PATCH 6/7] include: configs: ge: simplify default boot command

2021-04-23 Thread Sebastian Reichel
From: Ian Ray Minor cosmetic changes to unify `CONFIG_EXTRA_ENV_SETTINGS' indentation between Bx50v3 and PPD to make comparison and review easier and simplify the default boot command. Signed-off-by: Ian Ray Ian Ray Signed-off-by: Sebastian Reichel --- include/configs/ge_bx50v3.h | 9

[PATCH 2/7] board: ge: bx50v3: add phy reset GPIO

2021-04-23 Thread Sebastian Reichel
correctly after resetting the PHY and thus must not reset it. Signed-off-by: Sebastian Reichel --- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/imx6q-bx50v3-uboot.dtsi b/arch/arm/dts/imx6q-bx50v3-uboot.dtsi index 2de3b850ec8a

[PATCH 7/7] include: configs: ge: avoid shell on boot failure

2021-04-23 Thread Sebastian Reichel
From: Ian Ray Prevent shell access on boot failure by entering an infinite loop. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- include/configs/ge_bx50v3.h | 3 ++- include/configs/mx53ppd.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include

[PATCH 1/7] board: ge: bx50v3: fix crystal bit

2021-04-23 Thread Sebastian Reichel
The DA9063 enables the CRYSTAL bit by default, but there is no crystal populated on the BA16 system on module. Without explicitly clearing the CRYSTAL bit the system runs unstable and sometimes reboots unexpectedly. Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c | 26

[PATCH 0/7] GE Board fixes and cleanups

2021-04-23 Thread Sebastian Reichel
: ge: avoid shell on boot failure Sebastian Reichel (2): board: ge: bx50v3: fix crystal bit board: ge: bx50v3: add phy reset GPIO arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 12 board/ge/bx50v3/bx50v3.c | 26 ++ configs/ge_bx50v3_defconfig

Re: [PATCHv2 1/4] ge_bx50v3: Remove unused USB related defines

2021-07-13 Thread Sebastian Reichel
Hi, On Fri, Jul 09, 2021 at 10:11:53AM -0400, Tom Rini wrote: > These USB defines do not change the build as there is no USB support > enabled currently. > > Cc: Ian Ray > Cc: Sebastian Reichel > Signed-off-by: Tom Rini > --- Reviewed-by: Sebastian Reichel -- Sebas

[PATCH] board: ge: bx50v3: Add PCIe reset to DT

2021-08-04 Thread Sebastian Reichel
Add PCIe reset gpio to the Bx50v3 devicetree and get get rid of CONFIG_PCIE_IMX_PERST_GPIO. Signed-off-by: Sebastian Reichel --- arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 10 ++ include/configs/ge_bx50v3.h | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch

Re: [PATCH] Taking over responsibility for GE boards from Sebastian

2021-09-21 Thread Sebastian Reichel
Hi, On Tue, Sep 21, 2021 at 05:35:06PM +0100, Martyn Welch wrote: > I am taking over responsibility for the GE board from Sebastian Reichel. > Updating the MAINTAINERS files to reflect this. > > Signed-off-by: Martyn Welch Acked-by: Sebastian Reichel -- Sebastian > --- >

[PATCHv2 2/2] gpio: mcp230xx: Introduce new driver

2021-07-15 Thread Sebastian Reichel
Introduce driver for I2C based MCP230xx GPIO chips, which are quite common and already well supported by the Linux kernel. Reviewed-by: Simon Glass Signed-off-by: Sebastian Reichel --- drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile| 1 + drivers/gpio/mcp230xx_gpio.c

[PATCHv2 1/2] i2c: add dm_i2c_reg_clrset

2021-07-15 Thread Sebastian Reichel
Add function to apply a bitmask to an i2c register, so that specific bits can be cleared and/or set. Suggested-by: Simon Glass Signed-off-by: Sebastian Reichel --- drivers/i2c/i2c-uclass.c | 15 +++ include/i2c.h| 14 ++ test/dm/i2c.c| 29

[PATCHv2 0/2] Introduce mcp230xx support

2021-07-15 Thread Sebastian Reichel
for local variables in mcp230xx_set_flags() * Add Reviewed-by from Simon Glass -- Sebastian Sebastian Reichel (2): i2c: add dm_i2c_reg_clrset gpio: mcp230xx: Introduce new driver drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile| 1 + drivers/gpio/mcp230xx_gpio.c | 235

Re: [PATCH 5/7] net: dwc_eth_qos_rockchip: Add support for RK3588

2023-10-01 Thread Sebastian Reichel
b60a0ec28 ("net: ethernet: stmmac: dwmac-rk: Add gmac support for > > rk3588") > > 88619e77b33d ("net: stmmac: rk3588: Allow multiple gmac controller") > > > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang FWIW it's also Reviewed-by:

Re: [PATCH v2 5/7] net: dwc_eth_qos_rockchip: Add support for RK3588

2023-10-01 Thread Sebastian Reichel
c support for rk3588") > 88619e77b33d ("net: stmmac: rk3588: Allow multiple gmac controller") > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang > --- > Cc: David Wu > Cc: Sebastian Reichel > Cc: Benjamin Gaignard > --- Looks like I've send my R-b to v1 wh

Re: [PATCH v2 0/7] rockchip: rk3568: Fix use of PCIe bifurcation

2023-10-01 Thread Sebastian Reichel
Hi, On Wed, Sep 27, 2023 at 06:07:59PM +, Jonas Karlman wrote: > Above works with this series in U-Boot and also in mainline linux. Not > sure the RK3588 bifurcation part of driver have been verified on real HW, > rk3588 boards available for testing have typicality not used bifurcation.

Re: [PATCH 2/2] reset: rockchip: implement rk3588 lookup table

2023-04-14 Thread Sebastian Reichel
Hi Kever, On Fri, Apr 14, 2023 at 12:03:00PM +0300, Eugen Hristev wrote: > On 4/14/23 10:02, Kever Yang wrote: > > On 2023/4/13 19:36, Eugen Hristev wrote: > > > The current DT bindings for the rk3588 clock use a different ID than the > > > one that is supposed to be written to the hardware

Re: U-Boot video output for rk3588

2023-08-02 Thread Sebastian Reichel
Hi, On Wed, Aug 02, 2023 at 03:19:04PM -0600, Simon Glass wrote: > On Wed, 2 Aug 2023 at 15:03, Simon Glass wrote: > > Does anyone know how to enable HDMI output on this device in U-Boot, > > e.g. on rock5b? Upstream kernel does not yet support RK3588 HDMI output, but Cristian Ciocaltea (added

<    1   2