[U-Boot] [PATCH v4 10/18] stm32f7: use stm32f7 gpio driver supporting driver model

2017-04-10 Thread Vikas Manocha
tree. Signed-off-by: Vikas Manocha cc: Christophe KERELLO Reviewed-by: Simon Glass --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/include/asm/arch-stm32f7/gpio.h | 1 + board/st/stm32f746-disco/stm32f746-disco.c | 70 ++ configs/stm32

[U-Boot] [PATCH v4 04/18] ARM: DT: stm32f7: add sdram pin contol node

2017-04-10 Thread Vikas Manocha
Also added DT binding doc for stm32 fmc(flexible memory controller). Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 7 arch/arm/dts/stm32f746.dtsi | 56

[U-Boot] [PATCH v4 08/18] dm: gpio: Add driver for stm32f7 gpio controller

2017-04-10 Thread Vikas Manocha
This patch adds gpio driver supporting driver model for stm32f7 gpio. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass cc: Christophe KERELLO --- Changed in v4: - rebased to master. Changed in v3: - made stm32_gpio_config() static. - moved common.h inclusion before clk.h Changes in v2

[U-Boot] [PATCH v4 11/18] stm32f746: to switch on user LED1 & read user button

2017-04-10 Thread Vikas Manocha
All discovery boards have one user button & one user LED. Here we are just reading the button status & switching ON the user LED. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts

[U-Boot] [PATCH v4 07/18] stm32f7: sdram: use sdram device tree node to configure sdram controller

2017-04-10 Thread Vikas Manocha
Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 10 +++ drivers/ram/stm32_sdram.c| 144 +++ include/dt-bindings/memory/stm32-sdram.h | 34

[U-Boot] [PATCH v4 09/18] ARM: DT: stm32f7: add gpio device tree nodes

2017-04-10 Thread Vikas Manocha
Also created alias for gpios for stm32f7 discovery board. Based on these aliases, it would be possible to get gpio devices by sequence. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 12

[U-Boot] [PATCH v4 14/18] stm32f7: sdram: correct sdram configuration as per micron sdram

2017-04-10 Thread Vikas Manocha
) to cycles. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 13 +--- drivers/ram/stm32_sdram.c| 55 ++-- include/configs/stm32f746-dis

[U-Boot] [PATCH v4 12/18] stm32f7: stm32f746-disco: read memory info from device tree

2017-04-10 Thread Vikas Manocha
Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: - Rebased to master as dram_init_banksize() prototype is changed. Changed in v3: None Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 42 +- drivers/ram/stm32_sdram.c

[U-Boot] [PATCH v4 15/18] stm32f7: increase the max no of pin configuration to 70

2017-04-10 Thread Vikas Manocha
The number of pins to be configured could be more than 50 e.g. in case of sdram controller, there are about 56 pins (32 data lines, 12 address & some control signals). Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None dri

[U-Boot] [PATCH v4 13/18] stm32f7: enable board info read from device tree

2017-04-10 Thread Vikas Manocha
Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None include/configs/stm32f746-disco.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index 349ee3a

[U-Boot] [PATCH v4 06/18] stm32f7: use clock driver to enable sdram controller clock

2017-04-10 Thread Vikas Manocha
This patch also removes the sdram/fmc clock enable from board specific code. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746.dtsi| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2

[U-Boot] [PATCH v4 17/18] stm32f7: add support for stm32f769 disco board

2017-04-10 Thread Vikas Manocha
only difference is to pass "DEVICE_TREE=stm32f769-disco". Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/Makefile| 3 +- arch/arm/dts/stm32f769-disco.dts | 255

[U-Boot] [PATCH v4 05/18] stm32f7: use driver model for sdram initialization

2017-04-10 Thread Vikas Manocha
As driver model takes care of pin control configuraion, this patch also removes the sdram/fmc pin configuration. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 89

[U-Boot] [PATCH v4 16/18] stm32f7: move board specific pin muxing to dts

2017-04-10 Thread Vikas Manocha
Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 90 arch/arm/dts/stm32f746.dtsi | 86 -- 2 files changed, 90

[U-Boot] [PATCH v4 18/18] stm32f7: remove not needed configuration from board config

2017-04-10 Thread Vikas Manocha
This patch removes: - CONFIG_CMD_MEM: enabled by default - CONFIG_DESIGNWARE_ETH : not being used anywhere. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v4: None Changed in v3: None Changed in v2: None include/configs/stm32f746-disco.h | 3 --- 1 file

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-04-11 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, April 10, 2017 5:29 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt > > Subject: Re: [U-Boot] [PATCH] spl: make image

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-04-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, April 12, 2017 6:33 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt > > Subject: Re: [U-Boot] [PATCH] spl: make image

Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, April 12, 2017 10:27 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Ian Campbell ; Hans de Goede > > Subject: Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-rel

[U-Boot] [PATCH v2] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Vikas Manocha
: Vikas Manocha --- arch/arm/dts/stm32f7-u-boot.dtsi | 24 1 file changed, 24 insertions(+) create mode 100644 arch/arm/dts/stm32f7-u-boot.dtsi diff --git a/arch/arm/dts/stm32f7-u-boot.dtsi b/arch/arm/dts/stm32f7-u-boot.dtsi new file mode 100644 index 000..5f77f57

[U-Boot] [PATCH 0/6] spl: add xip booting support

2017-05-18 Thread Vikas Manocha
This patchset adds support for XIP (execute in place) of U-Boot or kernel image and enables it for stm32f7. Vikas Manocha (6): stm32f7: remove duplicate configs stm32: stm32f7: add spl build support SPL: Add XIP booting support serial: stm32f7: disable overrun spl: stm32f7: add kernel

[U-Boot] [PATCH 1/6] stm32f7: remove duplicate configs

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- configs/stm32f746-disco_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 4322aad..a334d50 100644 --- a/configs/stm32f746-disco_defconfig +++ b/configs/stm32f746

[U-Boot] [PATCH 2/6] stm32: stm32f7: add spl build support

2017-05-18 Thread Vikas Manocha
800_ - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconfig

[U-Boot] [PATCH 6/6] spl: stm32f7: configure for xip booting

2017-05-18 Thread Vikas Manocha
S_BOOT option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2 +- include/configs/stm32f746-disco.h | 12 +--- 3 files changed, 7 ins

[U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-18 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/spl.h | 1 + board/st/stm32f746-disco/stm32f746-disco.c | 1 + common

[U-Boot] [PATCH 5/6] spl: stm32f7: add kernel boot support

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 8 include/configs/stm32f746-disco.h | 7 +++ 3 files changed, 16 insertions(+) diff --git a/arch/arm/mach-stm32/stm32f7/Kconfig b/arch/arm/mach

[U-Boot] [PATCH 4/6] serial: stm32f7: disable overrun

2017-05-18 Thread Vikas Manocha
With overrun enabled, serial port console freezes & stops receiving data with overun error if we keep sending data. Signed-off-by: Vikas Manocha --- drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/se

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Thursday, May 18, 2017 12:51 PM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Monday, May 22, 2017 10:37 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU > ; Ale

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-24 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 24, 2017 7:34 AM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PATCH] a

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-25 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Thursday, May 25, 2017 6:58 AM > To: Vikas MANOCHA ; Albert Aribaud > > Cc: Tom Rini ; Kamil Lulko ; > u-boot@lists.denx.de > Subject: RE: [PATCH] armv7m: Fix lar

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-26 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Friday, May 26, 2017 1:27 AM > To: Vikas MANOCHA > Cc: Tom Rini ; Kamil Lulko ; > u-boot@lists.denx.de; Albert Aribaud > > Subject: RE: [PATCH] armv7m: Fix lar

[U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-05-28 Thread Vikas Manocha
This patchset adds support for XIP (execute in place) of U-Boot or kernel image and enables it for stm32f7. Changed in v2: - added patch to move v7m thumb mode just before next image boot - removed extra blank line. Vikas Manocha (7): spl: armv7m: to keep ARM v7M in thumb mode before booting

[U-Boot] [PATCH v2 2/7] stm32f7: remove duplicate configs

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None configs/stm32f746-disco_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 4322aad..a334d50 100644 --- a/configs/stm32f746-disco_defconfig +++ b

[U-Boot] [PATCH v2 1/7] spl: armv7m: to keep ARM v7M in thumb mode before booting next image

2017-05-28 Thread Vikas Manocha
for any image like raw or image with header like zImage or standard U-Boot. Signed-off-by: Vikas Manocha --- Changed in v2: Added this patch in v2 common/spl/spl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index df984b8..1bdae3e

[U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-05-28 Thread Vikas Manocha
800_ - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconfig

[U-Boot] [PATCH v2 7/7] spl: stm32f7: configure for xip booting

2017-05-28 Thread Vikas Manocha
S_BOOT option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2 +- include/configs/stm32f746-disco.h | 12 +--- 3

[U-Boot] [PATCH v2 6/7] spl: stm32f7: add kernel boot support

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 9 + include/configs/stm32f746-disco.h | 7 +++ 3 files changed, 17 insertions(+) diff --git a/arch/arm/mach-stm32/stm32f7

[U-Boot] [PATCH v2 4/7] SPL: Add XIP booting support

2017-05-28 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- Changed in v2: - removed v7m thumb mode for entry point, added separate patch. - removed extra blank line

[U-Boot] [PATCH v2 5/7] serial: stm32f7: disable overrun

2017-05-28 Thread Vikas Manocha
With overrun enabled, serial port console freezes & stops receiving data with overun error if we keep sending data. Signed-off-by: Vikas Manocha --- Changed in v2: None drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertions(+)

Re: [U-Boot] [PATCH v2] armv7m: Fix larger builds

2017-05-31 Thread Vikas MANOCHA
> On May 31, 2017, at 12:27 AM, Phil Edworthy wrote: > > The branch instruction only has an 11-bit relative target address, which > is sometimes not enough. > > Signed-off-by: Phil Edworthy Reviewed-by: Vikas Manocha Cheers, Vikas > --- > v2: > - Use W(b) ins

Re: [U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Sunday, May 28, 2017 12:55 PM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA ; Patrick DELAUNAY > ; Patrice CHOTARD > ; Christophe KERELLO ; > Christophe PRIOUZEAU > ; Alexandre TORGUE > Subjec

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Albert/Tom, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 31, 2017 11:33 PM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PAT

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Thursday, June 08, 2017 5:12 PM > To: Vikas MANOCHA > Cc: Phil Edworthy ; Albert Aribaud > ; Kamil Lulko > ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] arm: Add Kconfig sy

[U-Boot] [PATCH v2 00/10] stm32f7: add clock and pin control drivers

2017-02-10 Thread Vikas Manocha
rnet - qspi flash Changed in v2: - added removed blank lines in code. - removed not used functions. - changed fixed length array read from device node to relaxed length read. Vikas Manocha (10): serial: stm32f7: add device tree support clk: stm32f7: add clock driver for stm

[U-Boot] [PATCH v2 01/10] serial: stm32f7: add device tree support

2017-02-10 Thread Vikas Manocha
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure. Signed-off-by: Vikas Manocha --- Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 10 -- drivers/serial/serial_stm32x7.c| 24 +++

[U-Boot] [PATCH v2 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-02-10 Thread Vikas Manocha
add basic clock driver support for stm32f7 to enable clocks required by the peripherals. Signed-off-by: Vikas Manocha --- Changed in v2: - added blank lines in code like before return and after variable declaration. - re-arranged header file inclusion as per u-boot

[U-Boot] [PATCH v2 04/10] ARM: DT: stm32f7: add usart1 & clock device tree nodes

2017-02-10 Thread Vikas Manocha
Also created alias for usart1 and specified oscillator clock for stm32f7 discovery board. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 5 + arch/arm/dts/stm32f746.dtsi | 27 +++ 2 files changed, 32 insertions

[U-Boot] [PATCH v2 07/10] ARM: DT: stm32f7: add pin control device node

2017-02-10 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/dts/stm32f746.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index afcd327..f59eca8 100644 --- a/arch/arm/dts/stm32f746.dtsi +++ b/arch/arm

[U-Boot] [PATCH v2 03/10] stm32f7: serial: use clock driver to enable clock

2017-02-10 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: - added blank lines in code like before return and after variable declaration. drivers/serial/serial_stm32x7.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/serial/serial_stm32x7.c b/drivers

[U-Boot] [PATCH v2 08/10] ARM: DT: stm32f7: add pin control node for serial port pins

2017-02-10 Thread Vikas Manocha
And remove the uart pin configuration from board initialization. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 6 ++ arch/arm/dts/stm32f746.dtsi| 13 + board/st/stm32f746-disco/stm32f746-disco.c | 25

[U-Boot] [PATCH v2 05/10] stm32f7: clk: remove usart1 clock enable from board init

2017-02-10 Thread Vikas Manocha
Before clock driver availability it was required to enable usart1 clock for serial init but now with clock driver is taking care of usart1 clock. Signed-off-by: Vikas Manocha --- Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 1 - drivers/clk/clk_stm32f7.c

[U-Boot] [PATCH v2 09/10] ARM: DT: stm32f7: add ethernet pin contol node

2017-02-10 Thread Vikas Manocha
It also removes the ethernet pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 14 + board/st/stm32f746-disco/stm32f746

[U-Boot] [PATCH v2 10/10] ARM: DT: stm32f7: add qspi pin contol node

2017-02-10 Thread Vikas Manocha
It also removes the qspi pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 11 board/st/stm32f746-disco/stm32f746-disco.c | 43

[U-Boot] [PATCH v2 06/10] PINCTRL: stm32f7: add pin control driver

2017-02-10 Thread Vikas Manocha
This driver uses the same pin control binding as that of linux, binding document of this patch is copied from linux. One addition done is for GPIO input and output mode configuration which was missing. Signed-off-by: Vikas Manocha --- Changed in v2: - added blank lines in code like

Re: [U-Boot] [PATCH 06/10] PINCTRL: stm32f7: add pin control driver

2017-02-12 Thread Vikas MANOCHA
Thanks Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, February 11, 2017 12:20 PM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Beniamino Galvani > ; Daniel Schwierzeck > ; Heiko

Re: [U-Boot] [PATCH v2 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-02-12 Thread Vikas MANOCHA
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, February 11, 2017 12:20 PM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Albert Aribaud > ; Heiko Stübner ; > Joe Hershberger ; Kever Yang

[U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-02-12 Thread Vikas Manocha
ngth read. Vikas Manocha (10): serial: stm32f7: add device tree support clk: stm32f7: add clock driver for stm32f7 family stm32f7: serial: use clock driver to enable clock ARM: DT: stm32f7: add usart1 & clock device tree nodes stm32f7: clk: remove usart1 clock enable from board init

[U-Boot] [PATCH v3 01/10] serial: stm32f7: add device tree support

2017-02-12 Thread Vikas Manocha
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: None Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 10 -- drivers/serial/serial_stm

[U-Boot] [PATCH v3 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-02-12 Thread Vikas Manocha
add basic clock driver support for stm32f7 to enable clocks required by the peripherals. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: None Changed in v2: - added blank lines in code like before return and after variable declaration. - re

[U-Boot] [PATCH v3 05/10] stm32f7: clk: remove usart1 clock enable from board init

2017-02-12 Thread Vikas Manocha
Before clock driver availability it was required to enable usart1 clock for serial init but now with clock driver is taking care of usart1 clock. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None board/st/stm32f746-disco/stm32f746-disco.c | 1 - drivers/clk/clk_stm32f7

[U-Boot] [PATCH v3 04/10] ARM: DT: stm32f7: add usart1 & clock device tree nodes

2017-02-12 Thread Vikas Manocha
Also created alias for usart1 and specified oscillator clock for stm32f7 discovery board. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 5 + arch/arm/dts/stm32f746.dtsi | 27 +++ 2 files changed

[U-Boot] [PATCH v3 03/10] stm32f7: serial: use clock driver to enable clock

2017-02-12 Thread Vikas Manocha
Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: None Changed in v2: - added blank lines in code like before return and after variable declaration. drivers/serial/serial_stm32x7.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a

[U-Boot] [PATCH v3 10/10] ARM: DT: stm32f7: add qspi pin contol node

2017-02-12 Thread Vikas Manocha
It also removes the qspi pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 11 board/st/stm32f746-disco

[U-Boot] [PATCH v3 08/10] ARM: DT: stm32f7: add pin control node for serial port pins

2017-02-12 Thread Vikas Manocha
And remove the uart pin configuration from board initialization. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 6 ++ arch/arm/dts/stm32f746.dtsi| 13 + board/st/stm32f746-disco/stm32f746

[U-Boot] [PATCH v3 07/10] ARM: DT: stm32f7: add pin control device node

2017-02-12 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index afcd327..f59eca8 100644 --- a/arch/arm/dts/stm32f746

[U-Boot] [PATCH v3 09/10] ARM: DT: stm32f7: add ethernet pin contol node

2017-02-12 Thread Vikas Manocha
It also removes the ethernet pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- Changed in v3: None Changed in v2: None arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 14 + board/st/stm32f746

[U-Boot] [PATCH v3 06/10] PINCTRL: stm32f7: add pin control driver

2017-02-12 Thread Vikas Manocha
This driver uses the same pin control binding as that of linux, binding document of this patch is copied from linux. One addition done is for GPIO input and output mode configuration which was missing. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- Changed in v3: - remove get length

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-12 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Sunday, February 05, 2017 3:17 PM > To: Phil Edworthy ; Vikas MANOCHA > ; Michael Kurz > > Cc: Albert Aribaud ; u-boot@lists.denx.de; Kamil > Lulko > Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-12 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Tuesday, February 07, 2017 6:34 AM > To: Tom Rini > Cc: Kamil Lulko ; Vikas MANOCHA > ; Michael Kurz ; > Albert Aribaud ; U-Boot Mailing List > > Subject: RE: [

Re: [U-Boot] [PATCH v2] armv7m: Add SysTick timer driver

2017-02-15 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Monday, February 13, 2017 11:48 PM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; Michael > Kurz ; u-boot@lists.denx.de; Phil Edworthy > >

Re: [U-Boot] [PATCH v2] armv7m: Add SysTick timer driver

2017-02-16 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, February 15, 2017 11:22 PM > To: Vikas MANOCHA ; Albert Aribaud > > Cc: Tom Rini ; Kamil Lulko ; > Michael Kurz ; u- > b...@lists.denx.de > Subject:

Re: [U-Boot] [PATCH v3] armv7m: Add SysTick timer driver

2017-02-17 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Friday, February 17, 2017 12:22 AM > To: Albert Aribaud > Cc: Albert Aribaud ; Tom Rini ; > Vikas MANOCHA ; Kamil > Lulko ; Michael Kurz ; > u-boot@lists.denx.de; Ph

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-02-27 Thread Vikas MANOCHA
Hi Tom, If it is ok, please apply this patchset. Cheers, Vikas > -Original Message- > From: Vikas MANOCHA > Sent: Sunday, February 12, 2017 10:26 AM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA > Subject: [PATCH v3 00/10] stm32f7: add clock and pin control drivers

Re: [U-Boot] [PATCH] arm: Update our 'ret' assembler macro slightly

2017-03-07 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Tom Rini > Sent: Thursday, March 02, 2017 7:00 AM > To: u-boot@lists.denx.de > Cc: Mans Rullgard > Subject: [U-Boot] [PATCH] arm: Update our 'ret' assembler macro slightly > > We only support c

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-03-09 Thread Vikas MANOCHA
Thanks Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, March 01, 2017 7:39 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v3 00/10] stm32f7: add clock and pin control drivers > > On Mon, Feb 27,

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-03-09 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Thursday, March 09, 2017 8:18 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control > drivers > > On Thu,

[U-Boot] [PATCH 0/2] add armv7m cache support

2017-03-09 Thread Vikas Manocha
This patchset adds armv7m instruction/data caches support & enable it for stm32f7. Vikas Manocha (2): armv7m: add instruction & data cache support stm32f7: enable instruction & data cache arch/arm/cpu/armv7m/Makefile | 2 +- arch/arm/cpu/armv7m/cache.c

[U-Boot] [PATCH 2/2] stm32f7: enable instruction & data cache

2017-03-09 Thread Vikas Manocha
It also enables commands for cache enable/disable/status. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/soc.c | 2 ++ include/configs/stm32f746-disco.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-stm32/stm32f7/soc.c b/arch/arm/mach

[U-Boot] [PATCH 1/2] armv7m: add instruction & data cache support

2017-03-09 Thread Vikas Manocha
This patch adds armv7m instruction & data cache support. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/Makefile | 2 +- arch/arm/cpu/armv7m/cache.c | 295 ++ arch/arm/include/asm/armv7m.h | 23 +++- arch/arm/lib/Makefile | 2

Re: [U-Boot] [PATCH 1/2] armv7m: add instruction & data cache support

2017-03-10 Thread Vikas MANOCHA
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, March 09, 2017 5:33 PM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Christophe KERELLO ; Albert Aribaud > ; Alexander Graf > ; Andre Przywara ; Heiko Schocher > ;

[U-Boot] [PATCH v2 0/2] add armv7m cache support

2017-03-11 Thread Vikas Manocha
This patchset adds armv7m instruction/data caches support & enable it for stm32f7. Changed in v2: - changed strucures for memory mapped cache registers to MACROs - added lines better readability. - replaced magic numbers with MACROs. Vikas Manocha (2): armv7m: add instruction & da

[U-Boot] [PATCH v2 2/2] stm32f7: enable instruction & data cache

2017-03-11 Thread Vikas Manocha
It also enables commands for cache enable/disable/status. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/soc.c | 2 ++ include/configs/stm32f746-disco.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-stm32/stm32f7/soc.c

[U-Boot] [PATCH v2 1/2] armv7m: add instruction & data cache support

2017-03-11 Thread Vikas Manocha
This patch adds armv7m instruction & data cache support. Signed-off-by: Vikas Manocha --- Changed in v2: - changed strucures for memory mapped cache registers to MACROs - added lines better readability. - replaced magic numbers with MACROs. arch/arm/cpu/armv7m/Makefile | 2 +- arch/arm

[U-Boot] [PATCH v3 0/2] add armv7m cache support

2017-03-14 Thread Vikas Manocha
lock registers. Changed in v2: - changed strucures for memory mapped cache registers to macros - added lines better readability. - replaced magic numbers with macros. Vikas Manocha (2): armv7m: add instruction & data cache support stm32f7: enable instruction & data cache arch/arm/cpu/arm

[U-Boot] [PATCH v3 1/2] armv7m: add instruction & data cache support

2017-03-14 Thread Vikas Manocha
This patch adds armv7m instruction & data cache support. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v3: - uint32 replcaed with u32. - multiple read of hardware register replaced with single. - pointers replaced with macros for base address. - register names adde

[U-Boot] [PATCH v3 2/2] stm32f7: enable instruction & data cache

2017-03-14 Thread Vikas Manocha
It also enables commands for cache enable/disable/status. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v3: None Changed in v2: None arch/arm/mach-stm32/stm32f7/soc.c | 2 ++ include/configs/stm32f746-disco.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions

Re: [U-Boot] [PATCH 1/1] serial: stm32x7: Convert CONFIG_STM32X7_SERIAL to Kconfig

2017-07-26 Thread Vikas Manocha
LGTM, On 07/26/2017 06:48 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add CONFIG_STM32X7_SERIAL as a Kconfig option. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > configs/stm32f746-disco_defconfig | 1 + >

Re: [U-Boot] STM32F746 Discovery - No serial output?

2017-07-26 Thread Vikas MANOCHA
Hi Francois, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Francois > Dugast > Sent: Friday, July 21, 2017 1:41 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] STM32F746 Discovery - No serial output? > > Hi, > > I am trying to run the master on

Re: [U-Boot] [PATCH v2 1/1] stmf32f4: soc: fix buildman compilation error

2017-07-28 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, July 28, 2017 2:54 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Subject: [

Re: [U-Boot] [PATCH 1/1] armv7m: mpu_config add missing break

2017-07-31 Thread Vikas Manocha
Hi, On 07/30/2017 11:34 AM, Heinrich Schuchardt wrote: > For DEVICE_NON_SHARED the newly assigned value of attr > is overwritten due to a missing break. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt reviewed-by : Vikas Manocha Cheers, Vi

Re: [U-Boot] [PATCH 08/15] ARM: DTS: stm32: update usart compatible string for stm32h743

2017-08-08 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, August 04, 2017 6:19 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH 09/15] ARM: DTS: stm32: add gpio compatible and aliases for stm32h743

2017-08-08 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, August 04, 2017 6:19 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
Hi Robert, On 08/10/2017 11:03 AM, Robert Nelson wrote: > Hi Vikas, > > On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >> This commit supports booting from stm32 internal nor flash. spl U-Boot >> initializes the sdram memory, copies next image (e.g. standard U-Boo

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
One other point, On 08/10/2017 11:07 AM, Vikas Manocha wrote: > Hi Robert, > > On 08/10/2017 11:03 AM, Robert Nelson wrote: >> Hi Vikas, >> >> On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >>> This commit supports booting from stm32 internal nor f

Re: [U-Boot] [U-Boot,v2,3/7] stm32: stm32f7: add spl build support

2017-06-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Saturday, June 10, 2017 6:46 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Christophe KERELLO ; > Alexandre TORGUE ; > Christophe PRIOUZEAU > Subject: Re: [U-Boot,v2,3/7]

Re: [U-Boot] [PATCH] stm32: Correct positioning of declaration

2017-07-10 Thread Vikas MANOCHA
Thanks Simon, > -Original Message- > From: Simon Glass [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, July 01, 2017 10:06 AM > To: U-Boot Mailing List > Cc: Simon Glass ; Albert Aribaud > ; Toshifumi NISHINAGA > ; Vikas MANOCHA > Subject

Re: [U-Boot] [PATCH v4 00/18] stm32f7: add sdram & gpio drivers

2017-04-24 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Monday, April 10, 2017 3:03 PM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA > Subject: [PATCH v4 00/18] stm32f7: add sdram & gpio drivers > > This patchset : > - adds stm32 sdram driver b

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-05-02 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Wednesday, April 12, 2017 12:47 PM > To: 'Tom Rini' > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt > > Subject: RE: [U-Boot] [PATCH] spl: make image arg or fdt blob add

[U-Boot] [PATCH 1/2] armv7m: cache: add flush & invalidate all dcache

2017-05-03 Thread Vikas Manocha
Add functionality to flush & invalidate all the dcache using the prototype declared in common header file. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/cache.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cac

[U-Boot] [PATCH 2/2] arvm7m: add cleanup before linux booting

2017-05-03 Thread Vikas Manocha
Data cache memory needs to be disabled before handing over control to linux kernel. This patch populates the cleanup_before_linux stub. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/cpu.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/cpu/armv7m/cpu.c b

<    1   2   3   4   5   >