Re: [U-Boot] [PATCH 10/11] evb-ast2500: Enable CONFIG_DM_MMC

2019-05-13 Thread Maxim Sloyko
Sounds good to me. Reviewed-by: Maksym Sloyko From: Simon Glass Date: Sat, May 11, 2019 at 12:26 PM To: U-Boot Mailing List Cc: Tom Rini, Marek Vasut, Simon Glass, Maxim Sloyko > This board builds with this option (although it may not work). Enable it > to stave off board removal for

Re: [U-Boot] [PATCH 1/3] aspeed: ast2500: Add AHB clock

2018-09-11 Thread Maxim Sloyko
On Tue, Sep 11, 2018 at 12:35 AM, Joel Stanley wrote: > On Mon, 10 Sep 2018 at 23:48, Cédric Le Goater wrote: > > > > The AHB clock is used by the FMC/SPI controllers. > > > > Signed-off-by: Cédric Le Goater > > --- > > arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 2 ++ > > include/dt-bin

Re: [U-Boot] License violations

2017-12-20 Thread Maxim Sloyko
Hi Jon, This looks like a good start: https://opensource.org/faq#copyleft-violation On Tue, Dec 19, 2017 at 9:21 PM, Jon 'jcase' Sawyer wrote: > I've been attempting to obtain source to the u boot implementation in a > tablet used to control DJI drones, called crystal sky. Today after many > g

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-07 Thread Maxim Sloyko
* @flags: Driver specific flags. This might be used to specify > * which action needs to be executed when the timer expires > * @return: 0 if OK, -ve on error > */ > - int (*start)(struct udevice *dev, u64 timeout, ulong flags); > + int (*start)(

[U-Boot] [PATCH v2 14/15] aspeed: Refactor SCU to use consistent mask & shift

2017-05-05 Thread Maxim Sloyko
Refactor SCU header to use consistent Mask & Shift values. Now, consistently, to read value from SCU register, mask needs to be applied before shift. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None arch/arm/include/asm/arch-aspeed/scu_ast

[U-Boot] [PATCH v2 13/15] aspeed: Add support for Clocks needed by MACs

2017-05-05 Thread Maxim Sloyko
configure the rate. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None arch/arm/dts/ast2500-u-boot.dtsi | 8 + arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 62 +- drivers/clk/aspeed/clk_ast2500.c | 265

[U-Boot] [PATCH v2 15/15] aspeed: Cleanup ast2500-u-boot.dtsi Device Tree

2017-05-05 Thread Maxim Sloyko
Remove unnecessary apb and ahb nodes and just override necessary nodes/values. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None --- arch/arm/dts/ast2500-u-boot.dtsi | 41 1 file changed, 21 insertions

[U-Boot] [PATCH v2 11/15] aspeed: Add I2C Driver

2017-05-05 Thread Maxim Sloyko
Add Device Model based I2C driver for ast2500/ast2400 SoCs. The driver is very limited, it only supports master mode and synchronous byte-by-byte reads/writes, no DMA or Pool Buffers. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass Acked-by: Heiko Schocher --- Changes in v2: None

[U-Boot] [PATCH v2 06/15] aspeed: Device Tree configuration for Reset Driver

2017-05-05 Thread Maxim Sloyko
Add Reset Driver configuration to ast2500 SoC Device Tree and bindings for various reset signals Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None arch/arm/dts/ast2500-evb.dts | 15 +++ arch/arm/dts/ast2500-u-boot.dtsi

[U-Boot] [PATCH v2 04/15] aspeed: Make SCU lock/unlock functions part of SCU API

2017-05-05 Thread Maxim Sloyko
Make functions for locking and unlocking SCU part of SCU API. Many drivers need to modify settings in SCU and thus need to unlock it first. This change makes it possible. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None arch/arm/include/asm

[U-Boot] [PATCH v2 12/15] aspeed: Enable I2C in EVB defconfig

2017-05-05 Thread Maxim Sloyko
Enable I2C driver in ast2500 Eval Board defconfig. Also enable i2c command. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None configs/evb-ast2500_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/evb-ast2500_defconfig b

[U-Boot] [PATCH v2 10/15] aspeed: Add P-Bus clock in ast2500 clock driver

2017-05-05 Thread Maxim Sloyko
Add P-Bus Clock support to ast2500 clock driver. This is the clock used by I2C devices. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 ++- drivers/clk/aspeed/clk_ast2500.c

[U-Boot] [PATCH v2 09/15] aspeed: Enable Pinctrl Driver in AST2500 EVB

2017-05-05 Thread Maxim Sloyko
Enable Pinctrl Driver in AST2500 Eval Board's defconfig Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None configs/evb-ast2500_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-ast2500_defconfig b/config

[U-Boot] [PATCH v2 07/15] aspeed: Refactor AST2500 RAM Driver and Sysreset Driver

2017-05-05 Thread Maxim Sloyko
used. Instead of using Watchdog to reset itself, SDRAM driver now uses Reset driver to do that. These were the only users of the old Watchdog API, so that API is removed. This all is done in one change to avoid having to maintain dual API for watchdog in between. Signed-off-by: Maxim Sloyko

[U-Boot] [PATCH v2 08/15] aspeed: AST2500 Pinctrl Driver

2017-05-05 Thread Maxim Sloyko
would be easier to maintain separately. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: None arch/arm/include/asm/arch-aspeed/pinctrl.h | 52 ++ arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 19 drivers/pinctrl/Kconfig

[U-Boot] [PATCH v2 05/15] aspeed: Reset Driver

2017-05-05 Thread Maxim Sloyko
= "aspeed,ast2500-reset"; aspeed,wdt = <&wdt1>; } Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: - Remove unnecessary check for error in dev_get_priv - Fix comment - Rename wdt_reset call to wdt_expire_now --- arch/arm/inclu

[U-Boot] [PATCH v2 03/15] aspeed: Watchdog Timer Driver

2017-05-05 Thread Maxim Sloyko
This driver supports ast2500 and ast2400 SoCs. Only ast2500 supports reset_mask and thus the option of resettting individual peripherals using WDT. Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: - Rename reset to expire_now - Rename restart to

[U-Boot] [PATCH v2 02/15] dm: Simple Watchdog uclass

2017-05-05 Thread Maxim Sloyko
This is a simple uclass for Watchdog Timers. It has four operations: start, restart, reset, stop. Drivers must implement start, restart and stop operations, while implementing reset is optional: It's default implementation expires watchdog timer in one clock tick. Signed-off-by: Maxim S

[U-Boot] [PATCH v2 01/15] aspeed: Update ast2500 Device Tree

2017-05-05 Thread Maxim Sloyko
Pull in the Device Tree for ast2500 from the mainline Linux kernel. The file is copied from https://raw.githubusercontent.com/torvalds/linux/34ea5c9d/arch/arm/boot/dts/aspeed-g5.dtsi Signed-off-by: Maxim Sloyko Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: - Added link to

[U-Boot] [PATCH v2 00/15] Expand Aspeed AST2500 Support

2017-05-05 Thread Maxim Sloyko
omment - Rename wdt_reset call to wdt_expire_now - Rename wdt_reset call to wdt_expire_now - Style fixes Maxim Sloyko (15): aspeed: Update ast2500 Device Tree dm: Simple Watchdog uclass aspeed: Watchdog Timer Driver aspeed: Make SCU lock/unlock functions part of SCU API aspeed: Reset Driver

Re: [U-Boot] [PATCH v1 11/15] aspeed: Add I2C Driver

2017-05-05 Thread Maxim Sloyko
On Tue, Apr 18, 2017 at 5:12 PM, Simon Glass wrote: > On 17 April 2017 at 13:00, Maxim Sloyko wrote: > > Add Device Model based I2C driver for ast2500/ast2400 SoCs. > > The driver is very limited, it only supports master mode and > > synchronous byte-by-byte reads/writes, n

Re: [U-Boot] [PATCH v1 11/15] aspeed: Add I2C Driver

2017-04-19 Thread Maxim Sloyko
On Wed, Apr 19, 2017 at 4:58 AM, Heiko Schocher wrote: > Hello Maxim, > > Am 17.04.2017 um 21:00 schrieb Maxim Sloyko: >> >> Add Device Model based I2C driver for ast2500/ast2400 SoCs. >> The driver is very limited, it only supports master mode and >> synchronous

[U-Boot] [PATCH v1 10/15] aspeed: Add P-Bus clock in ast2500 clock driver

2017-04-17 Thread Maxim Sloyko
Add P-Bus Clock support to ast2500 clock driver. This is the clock used by I2C devices. Signed-off-by: Maxim Sloyko --- Changes in v1: None arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 ++- drivers/clk/aspeed/clk_ast2500.c | 11 +++ 2 files changed, 13 insertions

[U-Boot] [PATCH v1 14/15] aspeed: Refactor SCU to use consistent mask & shift

2017-04-17 Thread Maxim Sloyko
Refactor SCU header to use consistent Mask & Shift values. Now, consistently, to read value from SCU register, mask needs to be applied before shift. Signed-off-by: Maxim Sloyko --- Changes in v1: None arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 12 arch/arm/mach-aspeed/ast

[U-Boot] [PATCH v1 05/15] aspeed: Reset Driver

2017-04-17 Thread Maxim Sloyko
= "aspeed,ast2500-reset"; aspeed,wdt = <&wdt1>; } Signed-off-by: Maxim Sloyko --- Changes in v1: - Remove unnecessary check for error in dev_get_priv - Fix comment - Rename wdt_reset call to wdt_expire_now --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 28

[U-Boot] [PATCH v1 08/15] aspeed: AST2500 Pinctrl Driver

2017-04-17 Thread Maxim Sloyko
would be easier to maintain separately. Signed-off-by: Maxim Sloyko --- Changes in v1: None arch/arm/include/asm/arch-aspeed/pinctrl.h | 52 ++ arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 19 drivers/pinctrl/Kconfig| 9 ++ drivers/pinctrl

[U-Boot] [PATCH v1 04/15] aspeed: Make SCU lock/unlock functions part of SCU API

2017-04-17 Thread Maxim Sloyko
Make functions for locking and unlocking SCU part of SCU API. Many drivers need to modify settings in SCU and thus need to unlock it first. This change makes it possible. Signed-off-by: Maxim Sloyko --- Changes in v1: None arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 14

[U-Boot] [PATCH v1 12/15] aspeed: Enable I2C in EVB defconfig

2017-04-17 Thread Maxim Sloyko
Enable I2C driver in ast2500 Eval Board defconfig. Also enable i2c command. Signed-off-by: Maxim Sloyko --- Changes in v1: None configs/evb-ast2500_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index f8ef9b779c

[U-Boot] [PATCH v1 01/15] aspeed: Update ast2500 Device Tree

2017-04-17 Thread Maxim Sloyko
Pull in the Device Tree for ast2500 from the mainline Linux kernel. The file is copied from https://raw.githubusercontent.com/torvalds/linux/34ea5c9d/arch/arm/boot/dts/aspeed-g5.dtsi Signed-off-by: Maxim Sloyko --- Changes in v1: - Added link to the original version to commit message

[U-Boot] [PATCH v1 02/15] dm: Simple Watchdog uclass

2017-04-17 Thread Maxim Sloyko
This is a simple uclass for Watchdog Timers. It has four operations: start, restart, reset, stop. Drivers must implement start, restart and stop operations, while implementing reset is optional: It's default implementation expires watchdog timer in one clock tick. Signed-off-by: Maxim S

[U-Boot] [PATCH v1 03/15] aspeed: Watchdog Timer Driver

2017-04-17 Thread Maxim Sloyko
This driver supports ast2500 and ast2400 SoCs. Only ast2500 supports reset_mask and thus the option of resettting individual peripherals using WDT. Signed-off-by: Maxim Sloyko --- Changes in v1: - Rename reset to expire_now - Rename restart to reset --- arch/arm/include/asm/arch-aspeed

[U-Boot] [PATCH v1 15/15] aspeed: Cleanup ast2500-u-boot.dtsi Device Tree

2017-04-17 Thread Maxim Sloyko
Remove unnecessary apb and ahb nodes and just override necessary nodes/values. Signed-off-by: Maxim Sloyko --- Changes in v1: None --- arch/arm/dts/ast2500-u-boot.dtsi | 41 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/arch/arm/dts

[U-Boot] [PATCH v1 13/15] aspeed: Add support for Clocks needed by MACs

2017-04-17 Thread Maxim Sloyko
configure the rate. Signed-off-by: Maxim Sloyko --- Changes in v1: None arch/arm/dts/ast2500-u-boot.dtsi | 8 + arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 62 +- drivers/clk/aspeed/clk_ast2500.c | 265 ++--- include/dt-bindings/clock

[U-Boot] [PATCH v1 11/15] aspeed: Add I2C Driver

2017-04-17 Thread Maxim Sloyko
Add Device Model based I2C driver for ast2500/ast2400 SoCs. The driver is very limited, it only supports master mode and synchronous byte-by-byte reads/writes, no DMA or Pool Buffers. Signed-off-by: Maxim Sloyko --- Changes in v1: - Style fixes --- drivers/i2c/Kconfig | 9 ++ drivers

[U-Boot] [PATCH v1 06/15] aspeed: Device Tree configuration for Reset Driver

2017-04-17 Thread Maxim Sloyko
Add Reset Driver configuration to ast2500 SoC Device Tree and bindings for various reset signals Signed-off-by: Maxim Sloyko --- Changes in v1: None arch/arm/dts/ast2500-evb.dts | 15 +++ arch/arm/dts/ast2500-u-boot.dtsi | 10 +++ include/dt-bindings/reset

[U-Boot] [PATCH v1 07/15] aspeed: Refactor AST2500 RAM Driver and Sysreset Driver

2017-04-17 Thread Maxim Sloyko
used. Instead of using Watchdog to reset itself, SDRAM driver now uses Reset driver to do that. These were the only users of the old Watchdog API, so that API is removed. This all is done in one change to avoid having to maintain dual API for watchdog in between. Signed-off-by: Maxim Sloyko

[U-Boot] [PATCH v1 09/15] aspeed: Enable Pinctrl Driver in AST2500 EVB

2017-04-17 Thread Maxim Sloyko
Enable Pinctrl Driver in AST2500 Eval Board's defconfig Signed-off-by: Maxim Sloyko --- Changes in v1: None configs/evb-ast2500_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index 74808a71ee..f8ef9b779c 100644

[U-Boot] [PATCH v1 00/15] Expand Aspeed AST2500 Support

2017-04-17 Thread Maxim Sloyko
- Rename wdt_reset call to wdt_expire_now - Rename wdt_reset call to wdt_expire_now - Style fixes Maxim Sloyko (15): aspeed: Update ast2500 Device Tree dm: Simple Watchdog uclass aspeed: Watchdog Timer Driver aspeed: Make SCU lock/unlock functions part of SCU API aspeed: Reset Driver

Re: [U-Boot] [PATCH 05/17] aspeed: Reset Driver

2017-03-23 Thread Maxim Sloyko
On Tue, Mar 21, 2017 at 4:22 PM, Simon Glass wrote: > > Hi Maxim, > > On 16 March 2017 at 15:36, Maxim Sloyko wrote: > > Add Reset Driver for ast2500 SoC. This driver uses Watchdog Timer to > > perform resets and thus depends on it. The actual Watchdog device used >

Re: [U-Boot] [PATCH 16/17] aspeed: Add AST2500/AST2400 compatible NIC Driver

2017-03-23 Thread Maxim Sloyko
On Wed, Mar 22, 2017 at 6:06 AM, Simon Glass wrote: > Hi Maxim, > > On 21 March 2017 at 17:44, Maxim Sloyko wrote: > > Hi Joe, > > > > Please see responses inline, simply ACK'ed comments will be addressed > > in the next version. > > > >

Re: [U-Boot] [PATCH 16/17] aspeed: Add AST2500/AST2400 compatible NIC Driver

2017-03-21 Thread Maxim Sloyko
Hi Joe, Please see responses inline, simply ACK'ed comments will be addressed in the next version. On Tue, Mar 21, 2017 at 12:32 PM, Joe Hershberger wrote: > On Thu, Mar 16, 2017 at 4:36 PM, Maxim Sloyko wrote: >> The device that Aspeed uses is basically Faraday FTGMAC100, bu

Re: [U-Boot] [PATCH 13/17] aspeed: Add support for Clocks needed by MACs

2017-03-20 Thread Maxim Sloyko
On Mon, Mar 20, 2017 at 12:48 PM, Tom Rini wrote: > > On Mon, Mar 20, 2017 at 10:52:12AM -0700, Maxim Sloyko wrote: > > On Mon, Mar 20, 2017 at 10:30 AM, Tom Rini wrote: > > > > > On Mon, Mar 20, 2017 at 10:24:20AM -0700, Maxim Sloyko wrote: > > > > On

Re: [U-Boot] [PATCH 13/17] aspeed: Add support for Clocks needed by MACs

2017-03-20 Thread Maxim Sloyko
On Mon, Mar 20, 2017 at 10:30 AM, Tom Rini wrote: > On Mon, Mar 20, 2017 at 10:24:20AM -0700, Maxim Sloyko wrote: > > On Sun, Mar 19, 2017 at 9:42 AM, Tom Rini wrote: > > > > > On Thu, Mar 16, 2017 at 02:36:20PM -0700, Maxim Sloyko wrote: > > > > Add support

Re: [U-Boot] [PATCH 13/17] aspeed: Add support for Clocks needed by MACs

2017-03-20 Thread Maxim Sloyko
On Sun, Mar 19, 2017 at 9:42 AM, Tom Rini wrote: > On Thu, Mar 16, 2017 at 02:36:20PM -0700, Maxim Sloyko wrote: > > Add support for clocks needed by MACs to ast2500 clock driver. > > The clocks are D2-PLL, which is used by both MACs and PCLK_MAC1 and > > PCLK_MAC2 for MAC1

[U-Boot] [PATCH 17/17] aspeed: Network Driver configuration for EVB

2017-03-16 Thread Maxim Sloyko
Enable Network Driver along with network related commands -- ping, dhcp, mii -- in ast2500 Eval Board's defconfig. Add MAC devices' configuration to Eval Board Device Tree. Signed-off-by: Maxim Sloyko --- --- arch/arm/dts/ast2500-evb.dts | 14 ++ configs/evb-ast2500

[U-Boot] [PATCH 14/17] aspeed: Refactor SCU to use consistent mask & shift

2017-03-16 Thread Maxim Sloyko
Refactor SCU header to use consistent Mask & Shift values. Now, consistently, to read value from SCU register, mask needs to be applied before shift. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 12 arch/arm/mach-aspeed/ast2500/sdram_ast25

[U-Boot] [PATCH 15/17] aspeed: Cleanup ast2500-u-boot.dtsi Device Tree

2017-03-16 Thread Maxim Sloyko
Remove unnecessary apb and ahb nodes and just override necessary nodes/values. Signed-off-by: Maxim Sloyko --- arch/arm/dts/ast2500-u-boot.dtsi | 41 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/arch/arm/dts/ast2500-u-boot.dtsi b/arch

[U-Boot] [PATCH 16/17] aspeed: Add AST2500/AST2400 compatible NIC Driver

2017-03-16 Thread Maxim Sloyko
TGMAC100 driver code. Signed-off-by: Maxim Sloyko --- drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 + drivers/net/ast_nic.c | 584 ++ drivers/net/ast_nic.h | 198 + 4 files changed, 791 insertions(+) create mode 100

[U-Boot] [PATCH 12/17] aspeed: Enable I2C in EVB defconfig

2017-03-16 Thread Maxim Sloyko
Enable I2C driver in ast2500 Eval Board defconfig. Also enable i2c command. Signed-off-by: Maxim Sloyko --- configs/evb-ast2500_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index f8ef9b779c..08b5f85a34 100644

[U-Boot] [PATCH 11/17] aspeed: Add I2C Driver

2017-03-16 Thread Maxim Sloyko
Add Device Model based I2C driver for ast2500/ast2400 SoCs. The driver is very limited, it only supports master mode and synchronous byte-by-byte reads/writes, no DMA or Pool Buffers. Signed-off-by: Maxim Sloyko --- drivers/i2c/Kconfig | 9 ++ drivers/i2c/Makefile | 1 + drivers/i2c

[U-Boot] [PATCH 08/17] aspeed: AST2500 Pinctrl Driver

2017-03-16 Thread Maxim Sloyko
would be easier to maintain separately. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/pinctrl.h | 52 ++ arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 19 drivers/pinctrl/Kconfig| 9 ++ drivers/pinctrl/Makefile

[U-Boot] [PATCH 07/17] aspeed: Refactor AST2500 RAM Driver and Sysreset Driver

2017-03-16 Thread Maxim Sloyko
used. Instead of using Watchdog to reset itself, SDRAM driver now uses Reset driver to do that. These were the only users of the old Watchdog API, so that API is removed. This all is done in one change to avoid having to maintain dual API for watchdog in between. Signed-off-by: Maxim Sloyko

[U-Boot] [PATCH 13/17] aspeed: Add support for Clocks needed by MACs

2017-03-16 Thread Maxim Sloyko
configure the rate. Signed-off-by: Maxim Sloyko --- arch/arm/dts/ast2500-u-boot.dtsi | 8 + arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 62 +- drivers/clk/aspeed/clk_ast2500.c | 265 ++--- include/dt-bindings/clock/ast2500-scu.h

[U-Boot] [PATCH 03/17] aspeed: Watchdog Timer Driver

2017-03-16 Thread Maxim Sloyko
This driver supports ast2500 and ast2400 SoCs. Only ast2500 supports reset_mask and thus the option of resettting individual peripherals using WDT. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/wdt.h | 53 -- arch/arm/mach-aspeed/ast_wdt.c | 40

[U-Boot] [PATCH 10/17] aspeed: Add P-Bus clock in ast2500 clock driver

2017-03-16 Thread Maxim Sloyko
Add P-Bus Clock support to ast2500 clock driver. This is the clock used by I2C devices. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 3 ++- drivers/clk/aspeed/clk_ast2500.c | 11 +++ 2 files changed, 13 insertions(+), 1 deletion

[U-Boot] [PATCH 09/17] aspeed: Enable Pinctrl Driver in AST2500 EVB

2017-03-16 Thread Maxim Sloyko
Enable Pinctrl Driver in AST2500 Eval Board's defconfig Signed-off-by: Maxim Sloyko --- configs/evb-ast2500_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index 74808a71ee..f8ef9b779c 100644 --- a/config

[U-Boot] [PATCH 04/17] aspeed: Make SCU lock/unlock functions part of SCU API

2017-03-16 Thread Maxim Sloyko
Make functions for locking and unlocking SCU part of SCU API. Many drivers need to modify settings in SCU and thus need to unlock it first. This change makes it possible. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 14 ++ arch/arm/mach-aspeed

[U-Boot] [PATCH 06/17] aspeed: Device Tree configuration for Reset Driver

2017-03-16 Thread Maxim Sloyko
Add Reset Driver configuration to ast2500 SoC Device Tree and bindings for various reset signals Signed-off-by: Maxim Sloyko --- arch/arm/dts/ast2500-evb.dts | 15 +++ arch/arm/dts/ast2500-u-boot.dtsi | 10 +++ include/dt-bindings/reset/ast2500-reset.h | 45

[U-Boot] [PATCH 05/17] aspeed: Reset Driver

2017-03-16 Thread Maxim Sloyko
= "aspeed,ast2500-reset"; aspeed,wdt = <&wdt1>; } Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 28 +++ drivers/reset/Kconfig | 10 +++ drivers/reset/Makefile | 1 +

[U-Boot] [PATCH 02/17] dm: Simple Watchdog uclass

2017-03-16 Thread Maxim Sloyko
This is a simple uclass for Watchdog Timers. It has four operations: start, restart, reset, stop. Drivers must implement start, restart and stop operations, while implementing reset is optional: It's default implementation expires watchdog timer in one clock tick. Signed-off-by: Maxim S

[U-Boot] [PATCH 01/17] aspeed: Update ast2500 Device Tree

2017-03-16 Thread Maxim Sloyko
Pull in the Device Tree for ast2500 from the mainline Linux kernel Signed-off-by: Maxim Sloyko --- arch/arm/dts/ast2500.dtsi | 881 +- 1 file changed, 880 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/ast2500.dtsi b/arch/arm/dts/ast2500

[U-Boot] [PATCH 00/17] Expand Aspeed AST2500 Support

2017-03-16 Thread Maxim Sloyko
the Device Tree. So, I decided to wait until it will show up in Linux Kernel DT and then pull it into U-Boot. Maxim Sloyko (17): aspeed: Update ast2500 Device Tree dm: Simple Watchdog uclass aspeed: Watchdog Timer Driver aspeed: Make SCU lock/unlock functions part of SCU API aspeed: Reset

Re: [U-Boot] STM32F429 u-boot

2017-03-06 Thread Maxim Sloyko
Hi Bruno, Your email did reach the mailing list, it's just looks like, unfortunately, nobody can help you with this at the moment. Try Cc'ing or directly emailing somebody who works on U-Boot for STM32 SoCs, I definitely saw some patches recently. On Sun, Mar 5, 2017 at 11:21 PM, bruno schwander

Re: [U-Boot] [PATCH 06/12] aspeed/ast2500: Add Clock Driver

2017-01-17 Thread Maxim Sloyko
On Sat, Jan 14, 2017 at 9:14 AM, Simon Glass wrote: > Hi Maxim, > > On 4 January 2017 at 12:46, Maxim Sloyko wrote: > > This driver is ast2500 specific and is not compatible with earlier > > ast2500-specific > > > versions of this chip. The differences are not t

[U-Boot] [PATCH v3 0/4] arm: aspeed: Basic support for Aspeed AST2500 part and eval board

2017-01-11 Thread Maxim Sloyko
eval board configuration - Add Copyright statement to evb_ast2500.c - Use ast2500-u-boot.dtsi instead of ast2500.dtsi, which is now Linux Kernel DT Include Maxim Sloyko (4): aspeed: Add drivers common to all Aspeed SoCs aspeed: Add basic ast2500 specific drivers and configuration aspeed:

Re: [U-Boot] [PATCH v2 3/4] aspeed: Board init functions and common configs for ast2500 based boards

2017-01-11 Thread Maxim Sloyko
On Tue, Jan 10, 2017 at 7:20 PM, Tom Rini wrote: > On Mon, Jan 09, 2017 at 05:50:39PM -0800, Maxim Sloyko wrote: > > [snip] >> +#define CONFIG_CMDLINE_EDITING 1 > > In general, we just do '#define CONFIG_FOO'. Fixed several defines in as

[U-Boot] [PATCH v2 1/4] aspeed: Add drivers common to all Aspeed SoCs

2017-01-09 Thread Maxim Sloyko
) - Removed yet nonexistent files from mach-aspeed/Makefile Signed-off-by: Maxim Sloyko --- arch/arm/Kconfig | 7 +++ arch/arm/Makefile| 1 + arch/arm/include/asm/arch-aspeed/timer.h | 54 ++ arch/arm/include/asm/arch-aspeed/wdt.h

[U-Boot] [PATCH v2 3/4] aspeed: Board init functions and common configs for ast2500 based boards

2017-01-09 Thread Maxim Sloyko
--- Changes in v2: None Changes in v1: - Merge together all patches related to ast2500 boards common functions/configs - Add copyright statement to ast2500-board.c Signed-off-by: Maxim Sloyko --- arch/arm/mach-aspeed/Makefile| 2 +- arch/arm/mach-aspeed/ast2500-board.c | 78

Re: [U-Boot] [PATCH 05/12] aspeed/ast2500: Device Tree and bindings for some of the clocks

2017-01-05 Thread Maxim Sloyko
On Wed, Jan 4, 2017 at 7:26 PM, Tom Rini wrote: > On Wed, Jan 04, 2017 at 05:18:42PM -0800, Maxim Sloyko wrote: >> On Wed, Jan 4, 2017 at 12:58 PM, Tom Rini wrote: >> > On Wed, Jan 04, 2017 at 11:46:49AM -0800, Maxim Sloyko wrote: >> > >&g

Re: [U-Boot] [PATCH 00/12] arm: aspeed: Basic support for Aspeed AST2500 part and eval board

2017-01-04 Thread Maxim Sloyko
On Wed, Jan 4, 2017 at 12:26 PM, Tom Rini wrote: > On Wed, Jan 04, 2017 at 11:46:44AM -0800, Maxim Sloyko wrote: > >> This series adds minimal support for AST2500 part and eval board, >> enough to boot EVB into prompt. It contains WDT, Timer, Sysreset, >> Clock (very bas

Re: [U-Boot] Problem: the build does not recurse into subdirectory

2016-12-19 Thread Maxim Sloyko
On Sat, Dec 17, 2016 at 2:46 PM, Simon Glass wrote: > Hi Maxim, > > On 16 December 2016 at 17:18, Maxim Sloyko wrote: >> Greetings, >> >> I'm working on adding new platform to U-Boot and right now I'm trying >> to clean up the directory structure

[U-Boot] U-Boot memory allocation problems with ast2500

2016-09-11 Thread Maxim Sloyko
Hi all, First, disclaimer: this is the first time I'm doing something with U-Boot or the part (ast2500), so any claim I make below can be false or just plain nonsense. I'm working on expanding support of Aspeed ast2500 part in U-Boot. I ran into some problems, when I tried to use Linux Kernel de