[U-Boot] [PATCH 0/3] *** Add support for new arch stv0991 ***

2014-08-25 Thread Vikas Manocha
*** This patch set adds the support for new st architecure stv0991 *** Vikas Manocha (3): stv0991 : Add basic stv0991 architecture support. stv0991 : enable ethernet support. stv0991: default + misc command configs enabled. arch/arm/Kconfig |4 + arch

[U-Boot] [PATCH 1/3] stv0991 : Add basic stv0991 architecture support.

2014-08-25 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/Kconfig |4 + arch/arm/cpu/armv7/stv0991/Makefile|9 ++ arch/arm/cpu/armv7

[U-Boot] [PATCH 2/3] stv0991 : enable ethernet support.

2014-08-25 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm/include/asm/arch-stv0991/gpio.h | 22 arch/arm/include/asm/arch-stv0991

[U-Boot] [PATCH 3/3] stv0991: default + misc command configs enabled.

2014-08-25 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- include/configs/stv0991.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h index a7181b1..d6ff243 100644 --- a/include/configs/stv0991.h +++ b

[U-Boot] [PATCH v2 3/3] stv0991: default + misc command configs enabled.

2014-08-29 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v2: None include/configs/stv0991.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h index a7181b1..d6ff243 100644 --- a/include

[U-Boot] [PATCH v2 2/3] stv0991 : enable ethernet support.

2014-08-29 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v2: None arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm/include/asm/arch-stv0991/gpio.h | 22 arch/arm

[U-Boot] [PATCH v2 1/3] stv0991 : Add basic stv0991 architecture support.

2014-08-29 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts() for string print - sorted sourcing of board Kconfig

[U-Boot] [PATCH v3 0/3] add support for new arch stv0991

2014-09-02 Thread Vikas Manocha
This patchset add support for new arch stv0991. Changes in v3: - removed period from commit messages Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts() for string print - sorted sourcing of board Kconfig Vikas Manocha (3): stv0991: Add basic stv0991

[U-Boot] [PATCH v3 1/3] stv0991: Add basic stv0991 architecture support

2014-09-02 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - removed period from commit message Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts

[U-Boot] [PATCH v3 2/3] stv0991: enable ethernet support

2014-09-02 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - removed period from commit message Changes in v2: None arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm/include/asm/arch

[U-Boot] [PATCH v3 3/3] stv0991: default + misc command configs enabled

2014-09-02 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - removed period from commit message Changes in v2: None include/configs/stv0991.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b/include/configs

[U-Boot] [PATCH 5/5] serial: pl01x: avoid pl01x type check two times

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/serial/serial_pl01x.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c index 758684f..3fc1db5 100644 --- a/drivers/serial/serial_pl01x.c

[U-Boot] [PATCH 2/5] serial: pl01x: fix pl011 baud rate configuration

2014-11-17 Thread Vikas Manocha
UART_IBRD, UART_FBRD, and UART_LCR_H form a single 30-bit wide register which is updated on a single write strobe generated by a UART_LCR_H write. So, to internally update the content of UART_IBRD or UART_FBRD, a write to UART_LCR_H must always be performed at the end. Signed-off-by: Vikas

[U-Boot] [PATCH 3/5] serial: pl01x: move all line control at same place

2014-11-17 Thread Vikas Manocha
Receive line control uses same setting as transmit line control, also one lcrh write is effective for both baud rate receive line control internal update. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/serial/serial_pl01x.c | 40 +++- 1 file

[U-Boot] [PATCH 1/5] serial: pl01x: pass pl01x_type to set baudrate

2014-11-17 Thread Vikas Manocha
Although we were checking the pl01x type, seems like PL010 type was being passed by mistake. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/serial/serial_pl01x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial

[U-Boot] [PATCH 0/5] PL01x: baudrate line control fixes

2014-11-17 Thread Vikas Manocha
This patchset fixes the pl01x driver esp for pl011 baudrate line control. Vikas Manocha (5): serial: pl01x: pass pl01x_type to set baudrate serial: pl01x: fix pl011 baud rate configuration serial: pl01x: move all line control at same place serial: pl01x: disable as per type of pl01x

[U-Boot] [PATCH 4/5] serial: pl01x: disable as per type of pl01x

2014-11-17 Thread Vikas Manocha
pl010 pl011 have different control register offsets, setting it as per the pl01x type. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/serial/serial_pl01x.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial

[U-Boot] [PATCH v4 1/4] stv0991: Add basic stv0991 architecture support

2014-11-17 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v4: - added maintainers info - rebased to current master Changes in v3: - removed period from commit message Changes in v2

[U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-17 Thread Vikas Manocha
of board Kconfig Vikas Manocha (4): stv0991: Add basic stv0991 architecture support stv0991: enable ethernet support stv0991: default + misc command configs enabled stv0991: add maintainer information MAINTAINERS|6 + arch/arm/Kconfig

[U-Boot] [PATCH v4 3/4] stv0991: default + misc command configs enabled

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v4: None Changes in v3: - removed period from commit message Changes in v2: None include/configs/stv0991.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b

[U-Boot] [PATCH v4 4/4] stv0991: add maintainer information

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v4: - added maintainers info MAINTAINERS |6 ++ board/st/stv0991/MAINTAINERS |5 + 2 files changed, 11 insertions(+) create mode 100644 board/st/stv0991/MAINTAINERS diff --git a/MAINTAINERS b

[U-Boot] [PATCH v4 2/4] stv0991: enable ethernet support

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v4: None Changes in v3: - removed period from commit message Changes in v2: None arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm

Re: [U-Boot] [PATCH v3 1/3] stv0991: Add basic stv0991 architecture support

2014-11-17 Thread Vikas MANOCHA
Thanks Albert, I rebased the patchset on current master today submitted the v4. Rgds, Vikas -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Wednesday, November 12, 2014 1:08 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; vk.vi...@gmail.com Subject

[U-Boot] [PATCH v5 1/3] stv0991: Add basic stv0991 architecture support

2014-11-18 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: - added maintainers info Changes in v4: - added maintainers info - rebased to current master Changes in v3: - removed period from

[U-Boot] [PATCH v5 0/3] add support for new arch stv0991

2014-11-18 Thread Vikas Manocha
Changes in v3: - removed period from commit messages Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts() for string print - sorted sourcing of board Kconfig Vikas Manocha (3): stv0991: Add basic stv0991 architecture support stv0991: enable ethernet support

[U-Boot] [PATCH v5 2/3] stv0991: enable ethernet support

2014-11-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: None Changes in v4: None Changes in v3: - removed period from commit message arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm

[U-Boot] [PATCH v5 3/3] stv0991: enable default and misc command configs

2014-11-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: - replaced '+' with 'and' in the patch subject line - patch subject changed to active voice from passive Changes in v4: None Changes in v3: - removed period from commit message Changes in v2: None include/configs/stv0991.h

[U-Boot] [PATCH v2 1/5] serial: pl01x: pass pl01x_type to set baudrate

2014-11-21 Thread Vikas Manocha
Although we were checking the pl01x type, seems like PL010 type was being passed by mistake. Signed-off-by: Vikas Manocha vikas.mano...@st.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/serial/serial_pl01x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[U-Boot] [PATCH v2 0/5] PL01x: baudrate line control fixes

2014-11-21 Thread Vikas Manocha
This patchset fixes the pl01x driver esp for pl011 baudrate line control. Changes in v2: - fix the comment style Vikas Manocha (5): serial: pl01x: pass pl01x_type to set baudrate serial: pl01x: fix pl011 baud rate configuration serial: pl01x: move all line control at same place serial

[U-Boot] [PATCH v2 4/5] serial: pl01x: disable as per type of pl01x

2014-11-21 Thread Vikas Manocha
pl010 pl011 have different control register offsets, setting it as per the pl01x type. Signed-off-by: Vikas Manocha vikas.mano...@st.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/serial/serial_pl01x.c |7 --- 1 file changed, 4 insertions(+), 3 deletions

[U-Boot] [PATCH v2 3/5] serial: pl01x: move all line control at same place

2014-11-21 Thread Vikas Manocha
Receive line control uses same setting as transmit line control, also one lcrh write is effective for both baud rate receive line control internal update. Signed-off-by: Vikas Manocha vikas.mano...@st.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: - fixed comment style drivers

[U-Boot] [PATCH v2 2/5] serial: pl01x: fix pl011 baud rate configuration

2014-11-21 Thread Vikas Manocha
UART_IBRD, UART_FBRD, and UART_LCR_H form a single 30-bit wide register which is updated on a single write strobe generated by a UART_LCR_H write. So, to internally update the content of UART_IBRD or UART_FBRD, a write to UART_LCR_H must always be performed at the end. Signed-off-by: Vikas

[U-Boot] [PATCH v2 5/5] serial: pl01x: avoid pl01x type check two times

2014-11-21 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None drivers/serial/serial_pl01x.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c

[U-Boot] [PATCH 2/2] dm: stv0991: Move serial to driver model

2014-12-01 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- board/st/stv0991/stv0991.c | 13 + include/configs/stv0991.h | 17 - 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 989fb5e

[U-Boot] [PATCH 1/2] stv0991: increase the initial ram size config

2014-12-01 Thread Vikas Manocha
It is done to make space available for driver model memory. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- include/configs/stv0991.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h index f95de06..80652a8 100644

[U-Boot] [PATCH 0/2] stv0991: driver model support for pl01x

2014-12-01 Thread Vikas Manocha
This patchset adds driver model support in stv0991 configures serial ip to driver model. Vikas Manocha (2): stv0991: increase the initial ram size config dm: stv0991: Move serial to driver model board/st/stv0991/stv0991.c | 13 + include/configs/stv0991.h | 19

[U-Boot] [PATCH 1/2] stv0991: fdt: add stv0991 device tree

2015-05-01 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/dts/Makefile |1 + arch/arm/dts/stv0991.dts | 23 +++ configs/stv0991_defconfig |1 + include/configs/stv0991.h |3 +++ 4 files changed, 28 insertions(+) create mode 100644 arch/arm/dts/stv0991

[U-Boot] [PATCH v2 0/2] stv0991: Add flat device tree support

2015-05-01 Thread Vikas Manocha
This patchset adds device tree support for stv0991 soc. Changes in v2: - added commit messages for both patches. Vikas Manocha (2): stv0991: fdt: add stv0991 device tree stv0991: use fdt for serial port platform data arch/arm/dts/Makefile |1 + arch/arm/dts/stv0991.dts | 23

[U-Boot] [PATCH v2 1/2] stv0991: fdt: add stv0991 device tree

2015-05-01 Thread Vikas Manocha
This patch adds device tree for the ST Micro stv0991 board enables device tree control. Progressively device tree support for the drivers being used will also be added. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v2: - added commit message. arch/arm/dts/Makefile

[U-Boot] [PATCH v2 2/2] stv0991: use fdt for serial port platform data

2015-05-01 Thread Vikas Manocha
This patch ignores the serial port static platform data at compilation time in case of device tree control. Signed-off-by: Vikas Manocha vikas.mano...@st.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v2: - added commit message. board/st/stv0991/stv0991.c |2 ++ 1 file

[U-Boot] [PATCH 0/2] stv0991: Add flat device tree support

2015-05-01 Thread Vikas Manocha
This patchset adds device tree support for stv0991 soc. Vikas Manocha (2): stv0991: fdt: add stv0991 device tree stv0991: use fdt for serial port platform data arch/arm/dts/Makefile |1 + arch/arm/dts/stv0991.dts | 23 +++ board/st/stv0991/stv0991.c |2

[U-Boot] [PATCH 2/2] stv0991: use fdt for serial port platform data

2015-05-01 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- board/st/stv0991/stv0991.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 38f6e1d..09f973f 100644 --- a/board/st/stv0991/stv0991.c +++ b/board/st/stv0991/stv0991.c

[U-Boot] [PATCH v3 1/2] stv0991: fdt: add stv0991 device tree

2015-05-03 Thread Vikas Manocha
This patch adds device tree for the ST Micro stv0991 board enables device tree control. Progressively device tree support for the drivers being used will also be added. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v3: - CONFIG_OF_EMBED replaced with CONFIG_OF_SEPARATE

[U-Boot] [PATCH v3 2/2] stv0991: use fdt for serial port platform data

2015-05-03 Thread Vikas Manocha
This patch ignores the serial port static platform data at compilation time in case of device tree control. Signed-off-by: Vikas Manocha vikas.mano...@st.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - added commit message. board/st/stv0991/stv0991.c

[U-Boot] [PATCH v3 0/2] stv0991: Add flat device tree support

2015-05-03 Thread Vikas Manocha
This patchset adds device tree support for stv0991 soc. Changes in v3: - CONFIG_OF_EMBED replaced with CONFIG_OF_SEPARATE Changes in v2: - added commit messages for both patches. Vikas Manocha (2): stv0991: fdt: add stv0991 device tree stv0991: use fdt for serial port platform data arch

[U-Boot] [PATCH] serial: fdt: add device tree support for pl01x

2015-05-01 Thread Vikas Manocha
This patch adds device tree support for arm pl010/pl011 driver. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- doc/device-tree-bindings/serial/pl01x.txt |7 + drivers/serial/serial_pl01x.c | 41 - 2 files changed, 47 insertions(+), 1

[U-Boot] [PATCH v2] serial: fdt: add device tree support for pl01x

2015-05-06 Thread Vikas Manocha
This patch adds device tree support for arm pl010/pl011 driver. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v2: - removed #ifdef CONFIG_OF_CONTROL from driver structure used of_match_ptr doc/device-tree-bindings/serial/pl01x.txt |7 +++ drivers/serial

[U-Boot] [PATCH 2/3] stv0991: move OF_CONTROL config to defconfig

2015-06-08 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- configs/stv0991_defconfig |1 + include/configs/stv0991.h |1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stv0991_defconfig b/configs/stv0991_defconfig index 2be3f82..817a832 100644 --- a/configs

[U-Boot] [PATCH 0/3] stv0991: spi env configs related board changes

2015-06-08 Thread Vikas Manocha
This patchset does changes in stv0991 board file to enable saving environments in spi flash moves CONFIG_OF in the defconfig file. Vikas Manocha (3): stv0991: enable saving enrironment in spi flash stv0991: move OF_CONTROL config to defconfig stv0991: remove define CONFIG_OF_SEPARATE from

[U-Boot] [PATCH 3/3] stv0991: remove define CONFIG_OF_SEPARATE from board file

2015-06-08 Thread Vikas Manocha
CONFIG_OF_SEPARATE is default define with CONFIG_OF_CONTROL, removing this define from the board file to avoid multiple definition warning. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- include/configs/stv0991.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/configs

[U-Boot] [PATCH 1/3] stv0991: enable saving enrironment in spi flash

2015-06-08 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- include/configs/stv0991.h |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h index 4138b32..ea62f43 100644 --- a/include/configs/stv0991.h +++ b/include/configs

[U-Boot] [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix for FIFO width

2015-06-09 Thread Vikas Manocha
This patchset adds support to get controller sram size from device tree fix to support different FIFO widths. Vikas Manocha (3): spi: cadence_qspi: move the sram partition in init spi: cadence_qspi: get sram size from device tree spi: cadence_qspi: support FIFO width other than 4 bytes

[U-Boot] [PATCH 1/3] spi: cadence_qspi: move the sram partition in init

2015-06-09 Thread Vikas Manocha
There is no need to re-configure sram partition for every read/write for better full use of sram for read or write. This patch divides the half sram for read half for write once at initialization. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c | 16

[U-Boot] [PATCH 2/3] spi: cadence_qspi: get sram size from device tree

2015-06-09 Thread Vikas Manocha
sram size could be different on different socs, e.g. on stv0991 it is 256 while on altera platform it is 128. It is better to receive it from device tree. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/dts/socfpga.dtsi |1 + arch/arm/dts/stv0991.dts |1

[U-Boot] [PATCH 3/3] spi: cadence_qspi: support FIFO width other than 4 bytes

2015-06-09 Thread Vikas Manocha
This patch makes the code compatible with FIFO depths other than 4 bytes. It also simplify read/write FIFO loops. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c | 47 1 file changed, 24 insertions(+), 23 deletions

Re: [U-Boot] [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix for FIFO width

2015-06-23 Thread Vikas MANOCHA
Hi Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: Friday, June 12, 2015 5:10 AM To: Vikas MANOCHA; u-boot@lists.denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com Subject: Re: [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-06-23 Thread Vikas MANOCHA
Hi Graham, -Original Message- From: Graham Moore [mailto:grmo...@opensource.altera.com] Sent: Tuesday, June 23, 2015 7:37 AM To: Vikas MANOCHA Cc: Stefan Roese; u-boot@lists.denx.de; dingu...@opensource.altera.com; jt...@openedev.com Subject: Re: [PATCH RESEND 0/7] spi

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-06-22 Thread Vikas MANOCHA
Thanks Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: Monday, June 22, 2015 1:35 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com; jt...@openedev.com Subject: Re: [PATCH RESEND 0/7] spi

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-06-19 Thread Vikas MANOCHA
Thanks Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: Thursday, June 18, 2015 11:16 PM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com; jt...@openedev.com Subject: Re: [PATCH RESEND 0/7] spi

Re: [U-Boot] [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix for FIFO width

2015-06-24 Thread Vikas MANOCHA
Thanks Jagan, -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Wednesday, June 24, 2015 11:54 AM To: Vikas MANOCHA Cc: Stefan Roese; u-boot@lists.denx.de; grmo...@opensource.altera.com Subject: Re: [U-Boot] [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix

[U-Boot] [v2 4/6] stv0991: configure clock pad muxing for qspi

2015-06-24 Thread Vikas Manocha
stv0991 has cadence qspi controller for flash interfacing, this patch configures the device pads clock for the controller. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changed in v2: - removed checkpatch.pl error. arch/arm/cpu/armv7/stv0991/clock.c |4 +++- arch

Re: [U-Boot] [PATCH 0/3] stv0991: spi env configs related board changes

2015-06-24 Thread Vikas MANOCHA
Thanks Jagan, -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Wednesday, June 24, 2015 12:00 PM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; tr...@konsulko.com Subject: Re: [U-Boot] [PATCH 0/3] stv0991: spi env configs related board changes Please test

[U-Boot] [v2 5/6] stv0991: enable cadence qspi controller spi flash

2015-06-24 Thread Vikas Manocha
This patch does all the board configurations required to use the qspi controller attached spi flash memory. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changed in v2: None include/configs/stv0991.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include

[U-Boot] [v2 3/6] stv0991: remove define CONFIG_OF_SEPARATE from board file

2015-06-24 Thread Vikas Manocha
CONFIG_OF_SEPARATE is default define with CONFIG_OF_CONTROL, removing this define from the board file to avoid multiple definition warning. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changed in v2: None include/configs/stv0991.h |1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [v2 6/6] stv0991: configure device tree for cadence qspi flash

2015-06-24 Thread Vikas Manocha
This patch add the device tree entry for qspi controller spi flash memory. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changed in v2: None arch/arm/dts/stv0991.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/stv0991.dts b

[U-Boot] [v2 2/6] stv0991: move OF_CONTROL config to defconfig

2015-06-24 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changed in v2: None configs/stv0991_defconfig |1 + include/configs/stv0991.h |1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stv0991_defconfig b/configs/stv0991_defconfig index f8ec5db..1d47178 100644

[U-Boot] [v2 1/6] stv0991: enable saving enrironment in spi flash

2015-06-24 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changed in v2: None include/configs/stv0991.h |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h index d8f51d8..fe5b2fe 100644 --- a/include/configs/stv0991.h

[U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash

2015-06-24 Thread Vikas Manocha
board changes Changed in v2: - remove checkpatch.pl error from patch stv0991: configure clock... - clubbed two patchsets mentioned above. Vikas Manocha (6): stv0991: enable saving enrironment in spi flash stv0991: move OF_CONTROL config to defconfig stv0991: remove define CONFIG_OF_SEPARATE

[U-Boot] [v2 3/3] spi: cadence_qspi: support FIFO width other than 4 bytes

2015-06-24 Thread Vikas Manocha
This patch makes the code compatible with FIFO depths other than 4 bytes. It also simplify read/write FIFO loops. Signed-off-by: Vikas Manocha vikas.mano...@st.com Tested-by: Stefan Roese s...@denx.de --- Changes in v2: Fixed the checkpatch.pl error drivers/spi/cadence_qspi_apb.c | 46

[U-Boot] [v2 1/3] spi: cadence_qspi: move the sram partition in init

2015-06-24 Thread Vikas Manocha
There is no need to re-configure sram partition for every read/write for better full use of sram for read or write. This patch divides the half sram for read half for write once at initialization. Signed-off-by: Vikas Manocha vikas.mano...@st.com Tested-by: Stefan Roese s...@denx.de --- Changes

[U-Boot] [v2 2/3] spi: cadence_qspi: get sram size from device tree

2015-06-24 Thread Vikas Manocha
sram size could be different on different socs, e.g. on stv0991 it is 256 while on altera platform it is 128. It is better to receive it from device tree. Signed-off-by: Vikas Manocha vikas.mano...@st.com Tested-by: Stefan Roese s...@denx.de --- Changes in v2: None arch/arm/dts/socfpga.dtsi

[U-Boot] [v2 0/3] spi: cadence_qspi: sram depth from DT fix for FIFO width

2015-06-24 Thread Vikas Manocha
This patchset adds support to get controller sram size from device tree fix to support different FIFO widths. Changes in v2: - fix the checkpatch error from patch 3/3 Vikas Manocha (3): spi: cadence_qspi: move the sram partition in init spi: cadence_qspi: get sram size from device tree

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-06-18 Thread Vikas MANOCHA
Thanks Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: Thursday, June 18, 2015 5:02 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com; jt...@openedev.com Subject: Re: [PATCH RESEND 0/7] spi

Re: [U-Boot] [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix for FIFO width

2015-06-24 Thread Vikas MANOCHA
Thanks Stefan, Adding Jagan to apply the patchset. Rgds, Vikas -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: Wednesday, June 24, 2015 3:09 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com Subject: Re

Re: [U-Boot] [PATCH 0/3] spi: cadence_qspi: sram depth from DT fix for FIFO width

2015-06-11 Thread Vikas MANOCHA
Hi Stephen, Any comments on the patchset. Rgds, Vikas -Original Message- From: Vikas MANOCHA Sent: Tuesday, June 09, 2015 6:25 PM To: u-boot@lists.denx.de; s...@denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com Cc: Vikas MANOCHA Subject: [PATCH 0/3] spi

Re: [U-Boot] [PATCH 0/3] stv0991: spi env configs related board changes

2015-06-16 Thread Vikas MANOCHA
Thanks Jagan. -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Tuesday, June 16, 2015 3:50 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; tr...@konsulko.com Subject: Re: [U-Boot] [PATCH 0/3] stv0991: spi env configs related board changes As these were new

[U-Boot] [PATCH RESEND 1/7] spi: cadence_qspi: remove sram polling from flash read

2015-06-16 Thread Vikas Manocha
for synchronization. For example in case we are getting SRAM fill level equal to 10 locations but in reality there were 2 another words completed and actual level is 12 but information may not be synchronized yet because of the synchronization latency on APB domain. Signed-off-by: Vikas Manocha

[U-Boot] [PATCH RESEND 7/7] spi: cadence_qspi: get fifo width from device tree

2015-06-16 Thread Vikas Manocha
Fifo width could be different on different socs, e.g. stv0991 altera soc have different fifo width. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/dts/socfpga.dtsi |1 + arch/arm/dts/stv0991.dts |1 + drivers/spi/cadence_qspi.c |1 + drivers/spi

[U-Boot] [PATCH RESEND 2/7] spi: cadence_qspi: read can be independent of fifo width

2015-06-16 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 8eeb423..794d51d 100644 --- a/drivers/spi

[U-Boot] [PATCH RESEND 4/7] spi: cadence_qspi: move trigger base configuration in init

2015-06-16 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 403230a..e1e1315 100644 --- a/drivers/spi/cadence_qspi_apb.c

[U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-06-16 Thread Vikas Manocha
This patchset: - removes sram polling while reading/writing from flash. - fixes trigger base transfer start address register programming. This fix superseeds the previous patch spi: cadence_qspi: Fix the indirect ahb trigger address setting - adds support to get fifo width from device tree Vikas

[U-Boot] [PATCH RESEND 5/7] spi: cadence_qspi: fix indirect read/write start address

2015-06-16 Thread Vikas Manocha
Indirect read/write start addresses are flash start addresses for indirect read or write transfers. These should be absolute flash addresses instead of offsets. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c |6 -- 1 file changed, 4 insertions(+), 2

[U-Boot] [PATCH RESEND 6/7] spi: cadence_qspi: fix base trigger address transfer start address

2015-06-16 Thread Vikas Manocha
/write start addresses (offset 0x68/0x78)should be programmed with the absolute flash address to be read/written. plat-ahbbase has been renamed to plat-flashbase for clarity. plat-triggerbase is added in device tree for mapped spi flash address. Signed-off-by: Vikas Manocha vikas.mano...@st.com

[U-Boot] [PATCH RESEND 3/7] spi: cadence_qspi: remove sram polling from flash write

2015-06-16 Thread Vikas Manocha
There is no need to poll sram level before writing to flash, data going to SRAM till sram is full, after that backpressure will take over. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c | 59 ++-- 1 file changed, 15

[U-Boot] [PATCH 0/6] spi: cadence_qspi: optimize fix indirect read-writes

2015-06-15 Thread Vikas Manocha
This patchset: - removes sram polling while reading/writing from flash. - fixes trigger base transfer start address register programming. This fix superseeds the previous patch spi: cadence_qspi: Fix the indirect ahb trigger address setting - adds support to get fifo width from device tree Vikas

[U-Boot] [PATCH 2/6] spi: cadence_qspi: remove sram polling from flash write

2015-06-15 Thread Vikas Manocha
There is no need to poll sram level before writing to flash, data going to SRAM till sram is full, after that backpressure will take over. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c | 63 ++-- 1 file changed, 16

[U-Boot] [PATCH 1/6] spi: cadence_qspi: remove sram polling from flash read

2015-06-15 Thread Vikas Manocha
for synchronization. For example in case we are getting SRAM fill level equal to 10 locations but in reality there were 2 another words completed and actual level is 12 but information may not be synchronized yet because of the synchronization latency on APB domain. Signed-off-by: Vikas Manocha

Re: [U-Boot] [PATCH 0/6] spi: cadence_qspi: optimize fix indirect read-writes

2015-06-15 Thread Vikas MANOCHA
) with addition of this patchset. With it, all the patches will apply on master. - wait for the previous patchset to get in mainline(might take some time). Rgds, Vikas -Original Message- From: Vikas MANOCHA Sent: Monday, June 15, 2015 11:19 AM To: u-boot@lists.denx.de; s...@denx.de

[U-Boot] [PATCH 4/6] spi: cadence_qspi: fix indirect read/write start address

2015-06-15 Thread Vikas Manocha
Indirect read/write start addresses are flash start addresses for indirect read or write transfers. These should be absolute flash addresses instead of offsets. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c |6 -- 1 file changed, 4 insertions(+), 2

[U-Boot] [PATCH 3/6] spi: cadence_qspi: move trigger base configuration in init

2015-06-15 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 313f6ac..515d88e 100644 --- a/drivers/spi/cadence_qspi_apb.c +++ b

[U-Boot] [PATCH 5/6] spi: cadence_qspi: fix base trigger address transfer start address

2015-06-15 Thread Vikas Manocha
/write start addresses (offset 0x68/0x78)should be programmed with the absolute flash address to be read/written. plat-ahbbase has been renamed to plat-flashbase for clarity. plat-triggerbase is added in device tree for mapped spi flash address. Signed-off-by: Vikas Manocha vikas.mano...@st.com

[U-Boot] [PATCH 6/6] spi: cadence_qspi: get fifo width from device tree

2015-06-15 Thread Vikas Manocha
Fifo width could be different on different socs, e.g. stv0991 altera soc have different fifo width. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/dts/socfpga.dtsi |1 + arch/arm/dts/stv0991.dts |1 + drivers/spi/cadence_qspi.c |1 + drivers/spi

Re: [U-Boot] [PATCH 0/6] spi: cadence_qspi: optimize fix indirect read-writes

2015-06-15 Thread Vikas MANOCHA
Thanks Jagan. Rgds, Vikas -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Monday, June 15, 2015 12:31 PM To: Vikas MANOCHA Cc: u-boot@lists.denx.de; s...@denx.de; grmo...@opensource.altera.com; dingu...@opensource.altera.com Subject: Re: [U-Boot] [PATCH 0/6

Re: [U-Boot] [PATCH 0/3] stv0991: enable cadence qspi controller spi flash

2015-06-15 Thread Vikas MANOCHA
Hi Tom, Can you please apply the stv0991 patchset. Rgds, Vikas -Original Message- From: Vikas MANOCHA Sent: Wednesday, May 27, 2015 6:43 PM To: u-boot@lists.denx.de Cc: Vikas MANOCHA Subject: [PATCH 0/3] stv0991: enable cadence qspi controller spi flash This patchset enables

Re: [U-Boot] [PATCH 0/3] stv0991: spi env configs related board changes

2015-06-15 Thread Vikas MANOCHA
Hi Tom, Can you please apply these patchset for stv0991. Rgds, Vikas -Original Message- From: Vikas MANOCHA Sent: Monday, June 08, 2015 5:47 PM To: u-boot@lists.denx.de Cc: Vikas MANOCHA Subject: [PATCH 0/3] stv0991: spi env configs related board changes This patchset does

[U-Boot] [PATCH] spi: cadence_qspi: Fix the indirect ahb trigger address setting

2015-05-28 Thread Vikas Manocha
of addresses from this trigger address to the trigger address + 15, then the AHB request is completed by fetching/storing data from/to the Controllers SRAM. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- drivers/spi/cadence_qspi_apb.c |7 ++- 1 file changed, 2 insertions(+), 5

[U-Boot] [PATCH 0/3] stv0991: enable cadence qspi controller spi flash

2015-05-27 Thread Vikas Manocha
This patchset enables cadence qspi controller for stv0991 soc. Vikas Manocha (3): stv0991: configure clock pad muxing for qspi stv0991: enable cadence qspi controller spi flash stv0991: configure device tree for cadence qspi flash arch/arm/cpu/armv7/stv0991/clock.c

[U-Boot] [PATCH 1/3] stv0991: configure clock pad muxing for qspi

2015-05-27 Thread Vikas Manocha
stv0991 has cadence qspi controller for flash interfacing, this patch configures the device pads clock for the controller. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/cpu/armv7/stv0991/clock.c |4 +++- arch/arm/cpu/armv7/stv0991/pinmux.c

[U-Boot] [PATCH 2/3] stv0991: enable cadence qspi controller spi flash

2015-05-27 Thread Vikas Manocha
This patch does all the board configurations required to use the qspi controller attached spi flash memory. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- include/configs/stv0991.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include/configs/stv0991.h b

[U-Boot] [PATCH 3/3] stv0991: configure device tree for cadence qspi flash

2015-05-27 Thread Vikas Manocha
This patch add the device tree entry for qspi controller spi flash memory. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- arch/arm/dts/stv0991.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/stv0991.dts b/arch/arm/dts/stv0991.dts

  1   2   3   4   5   >