[PATCH] arm: baltos: switch to CONFIG_DM_I2C

2023-05-15 Thread yegorslists
From: Yegor Yefremov Also use the TPS65910 driver directly. Signed-off-by: Yegor Yefremov --- board/vscom/baltos/board.c | 44 ++--- configs/am335x_baltos_defconfig | 8 +++--- 2 files changed, 23 insertions(+), 29 deletions(-) diff --git a/board/vscom/baltos

[PATCH] arm: baltos: switch to driver model for the net and mdio driver

2020-02-12 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- configs/am335x_baltos_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index 63f0da9cb0..2781d49daf 100644 --- a/configs/am335x_baltos_defconfig +++ b/configs/

[U-Boot] [PATCH v2] arm: baltos: switch to driver model for the watchdog timer

2019-08-15 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- Changes v1 -> v2: rebased to include the ported omap_wdt driver configs/am335x_baltos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index aa8fee5125.

[U-Boot] [PATCH] arm: baltos: switch to driver model for the watchdog timer

2019-08-08 Thread yegorslists
From: Yegor Yefremov Also disable OMAP watchdog timer till it is converted to the driver model. Signed-off-by: Yegor Yefremov --- configs/am335x_baltos_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index aa8fe

[U-Boot] [PATCH] arm: baltos: use device tree alias to access Ethernet slave

2019-08-08 Thread yegorslists
From: Yegor Yefremov The full path has changed in the recent kernels so that it is not possible to load them. Aliases "ethernet0" and "ethernet1" are still present in both legacy and new kernels. Also, fix error messages to correspond to the taken actions. Signed-off-by: Yegor Yefremov --- bo

[U-Boot] [PATCH v2 4/4] arm: baltos: migrate Ethernet PHYs configuration to Kconfig

2018-11-22 Thread yegorslists
From: Yegor Yefremov Remove CONFIG_PHY_ATHEROS and CONFIG_PHY_SMSC from defconfig and select them in Kconfig. Signed-off-by: Yegor Yefremov --- configs/am335x_baltos_defconfig | 2 ++ include/configs/baltos.h| 4 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/confi

[U-Boot] [PATCH v2 3/4] arm: baltos: move CONFIG_SYS_NAND_U_BOOT_OFFS to defconfig

2018-11-22 Thread yegorslists
From: Yegor Yefremov Also get rid of CONFIG_SYS_NAND_SPL_KERNEL_OFFS as SPL_OS_BOOT feature won't be used. Signed-off-by: Yegor Yefremov --- configs/am335x_baltos_defconfig | 2 ++ include/configs/baltos.h| 9 + 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/con

[U-Boot] [PATCH v2 1/4] arm: baltos: move the board to CONFIG_BLK

2018-11-22 Thread yegorslists
From: Yegor Yefremov Use DM for both MMC and USB subsystems and use dedicated DTS for U-Boot configuration. Disable SPL support for GPIO and remove EVMSK leftover for DDR power control via GPIO. Signed-off-by: Yegor Yefremov --- Changes v1 -> v2: - remove GPIO7 pinmux too arc

[U-Boot] [PATCH v2 2/4] arm: baltos: remove unused header

2018-11-22 Thread yegorslists
From: Yegor Yefremov OnRISC Baltos series uses SoM with tps65910 PMIC, so remove "power/tps65217.h" header inclusion. Signed-off-by: Yegor Yefremov --- board/vscom/baltos/board.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c index 60

[U-Boot] [PATCH] arm: baltos: move the board to CONFIG_BLK

2018-11-20 Thread yegorslists
From: Yegor Yefremov Use DM for both MMC and USB subsystems and use dedicated DTS for U-Boot configuration. Disable SPL support for GPIO and remove EVMSK leftover for DDR power control via GPIO. Signed-off-by: Yegor Yefremov --- arch/arm/dts/am335x-baltos.dts | 439 ++

[U-Boot] [PATCH 3/3] arm: baltos: enable booting from USB

2016-12-01 Thread yegorslists
From: Yegor Yefremov First of all U-Boot would search for a USB mass storage device with either uEnv.txt or kernel-fit.itb and boot. If USB mass storage device is not available or doesn't provide these files then MMC will be tried. Signed-off-by: Yegor Yefremov --- include/configs/baltos.h |

[U-Boot] [PATCH 2/3] arm: baltos: active mPCIe slot

2016-12-01 Thread yegorslists
From: Yegor Yefremov Baltos devices provide a mPCIe slot, whose power is turned off by default. This patch activates mPCIe slot in U-Boot, so that for example GSM modem can be already available in user space. Signed-off-by: Yegor Yefremov --- board/vscom/baltos/board.c | 18 ++

[U-Boot] [PATCH 1/3] arm: baltos: remove TI board leftover

2016-12-01 Thread yegorslists
From: Yegor Yefremov Remove unneeded pinmux configurations and TI EEPROM struct. Signed-off-by: Yegor Yefremov --- board/vscom/baltos/board.c | 1 - board/vscom/baltos/board.h | 55 board/vscom/baltos/mux.c | 69 --

[U-Boot] [PATCH v2] am3517_evm: add FIT support

2015-07-27 Thread yegorslists
From: Yegor Yefremov Enable DTS support (CONFIG_OF_LIBFDT) and select CONFIG_FIT in defconfig. Signed-off-by: Yegor Yefremov --- Changes: v2: remove unused ft_board_setup() and CONFIG_OF_BOARD_SETUP configs/am3517_evm_defconfig | 1 + include/configs/am3517_evm.h | 2 ++ 2 files chang

[U-Boot] [PATCH] am3517_evm: add FIT support

2015-07-26 Thread yegorslists
From: Yegor Yefremov Enable DTS support (CONFIG_OF_LIBFDT), create ft_board_setup() stub and select CONFIG_FIT in defconfig. Signed-off-by: Yegor Yefremov --- board/logicpd/am3517evm/am3517evm.c | 5 + configs/am3517_evm_defconfig| 1 + include/configs/am3517_evm.h| 3 +++

[U-Boot] [PATCH] arm: convert am3517_crane and am3517_evm to generic boards

2015-06-30 Thread yegorslists
From: Yegor Yefremov Add CONFIG_SYS_GENERIC_BOARD to board's config header. Boot-tested on am3517_evm board. Signed-off-by: Yegor Yefremov --- include/configs/am3517_crane.h |1 + include/configs/am3517_evm.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/inclu

[U-Boot] [PATCH] Baltos: enable CMD_NET in defconfig

2015-06-25 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- configs/am335x_baltos_defconfig |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index 679b04f..4d2f075 100644 --- a/configs/am335x_baltos_defcon

[U-Boot] FIT: workarounding wrong configuration name

2015-05-04 Thread yegorslists
In our project we read device ID from EEPROM and then select an appropriate configuration "bootm ${loadaddr}#conf${board_name}". If for some reason wrong ID was written into EEPROM, then it is still important, that device can still be booted with default configuration. One can still put a big warn

[U-Boot] [RFC] FIT: use default configuration, if given configuration is not found

2015-05-04 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- common/image-fit.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index c61be65..b892d06 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1547,6 +1547,10 @@ in

[U-Boot] [PATCH] am33xx: add SSC enable macro

2014-04-10 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- arch/arm/include/asm/arch-am33xx/clock.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-am33xx/clock.h b/arch/arm/include/asm/arch-am33xx/clock.h index 7637457..f00fad3 100644 --- a/arch

[U-Boot] [PATCH v4] am3517_evm: activate Ethernet PHY

2013-12-11 Thread yegorslists
From: Yegor Yefremov Pin 30 is connected to PHY's RESET# signal, so it must be put to high. Otherwise PHY won't be found via MDIO interface. Signed-off-by: Yegor Yefremov --- Changes: v4: as Tom Rini's patch "AM3517 EVM: Enable Ethernet" activates EMAC by default, remove #if statements

[U-Boot] am3517_evm: Ethernet activation

2013-12-11 Thread yegorslists
This patch continues Tom's effort in activating Ethernet on am3517_evm board (http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot/u-boot-arm.git;a=commit;h=18a02e8050b7af165efa72325753e7880bf5567c). I've removed #if statements, because in include/configs/am3517_evm.h EMAC is activated by default. I've

[U-Boot] [PATCH v3] am3517_evm: activate Ethernet PHY

2013-12-06 Thread yegorslists
From: Yegor Yefremov Pin 30 is connected to PHY's RESET# signal, so it must be put to high. Otherwise PHY won't be found via MDIO interface. Signed-off-by: Yegor Yefremov --- Changes: v3: use "__maybe_unused", instead of #if defined statement (Stefan Roese) v2: put ctr and rese

[U-Boot] [PATCH v2] am3517_evm: activate Ethernet PHY

2013-12-06 Thread yegorslists
From: Yegor Yefremov Pin 30 is connected to PHY's RESET# signal, so it must be put to high. Otherwise PHY won't be found via MDIO interface. Signed-off-by: Yegor Yefremov --- Changes: v2: put ctr and reset under #if defined statement. to avoid compilerwarnigs, when EMAC is not selected

[U-Boot] [PATCH] am3517_evm: activate Ethernet PHY

2013-11-29 Thread yegorslists
From: Yegor Yefremov Pin 30 is connected to PHY's RESET# signal, so it must be put to high. Otherwize PHY won't be found via MDIO interface. Signed-off-by: Yegor Yefremov --- board/logicpd/am3517evm/am3517evm.c | 34 ++ board/logicpd/am3517evm/am3517evm.h |

[U-Boot] [PATCH 1/2] phy: export genphy_parse_link()

2012-11-28 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- drivers/net/phy/phy.c |2 +- include/phy.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 1ffa791..c28ea70 100644 --- a/drivers/net/phy/phy.c +++ b/dr

[U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2012-11-28 Thread yegorslists
From: Yegor Yefremov The driver code was taken from Linux kernel source: drivers/net/phy/icplus.c Signed-off-by: Yegor Yefremov --- drivers/net/phy/Makefile |1 + drivers/net/phy/icplus.c | 90 ++ drivers/net/phy/phy.c|3 ++ 3 files cha

[U-Boot] [PATCH] am335x: cpsw: make phy address configurable

2012-11-26 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- drivers/net/cpsw.c |5 - include/configs/am335x_evm.h |1 + 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index af3d859..db04795 100644 --- a/drivers/net/cpsw.c

[U-Boot] [PATCH] am335x: disable internal delay for RGMII mode

2012-11-26 Thread yegorslists
From: Yegor Yefremov According to errata the AM335x device does not support internal delay mode, so RGMII1_IDMODE and RGMII2_IDMODE must be set to 1. Signed-off-by: Yegor Yefremov --- board/ti/am335x/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/ti/am3