[U-Boot] [PATCH re-send v6 01/17] drivers: spi: ti_qspi: do not hard code chip select for memory map configuration

2015-12-23 Thread Mugunthan V N
To enable memory map in dra7xx, specific chip select must be written to control module register. But this hard coded to chip select 1, fixing it by writing the specific chip select value to control module register. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Gl

[U-Boot] [PATCH v2 1/6] dm: implement a DMA uclass

2015-12-23 Thread Mugunthan V N
Implement a DMA uclass so that the devices like ethernet, spi, mmc etc can offload the data transfers from/to the device and memory. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/dma/Kconfig | 15 + drivers/dma/Makefile | 2 ++ drivers/dma/dma-uclass.

[U-Boot] [PATCH v2 3/6] sf: spi_flash: use dma to copy data from mmap region if platform supports

2015-12-23 Thread Mugunthan V N
Add dma memcpy api to the default spi_flash_copy_mmap(), so that dma will be used to copy data when CONFIG_DMA is defined for the platform. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/mtd/spi/spi_flash.c | 9 +

[U-Boot] [PATCH v2 6/6] defconfig: am437x_sk_evm: enable dma driver model

2015-12-23 Thread Mugunthan V N
enable dma driver model for am437x_sk_evm as ti-edma3 supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_sk_evm

[U-Boot] [PATCH v2 4/6] spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined

2015-12-23 Thread Mugunthan V N
When CONFIG_DMA is defined the default spi_flash_copy_mmap() can handle dma memory copy, so compile out spi_flash_copy_mmap() from ti_qspi driver when CONFIG_DMA config is defined. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 2 +- 1 file changed, 1 ins

[U-Boot] [PATCH v2 2/6] dma: Kconfig: Add TI_EDMA3 entry

2015-12-23 Thread Mugunthan V N
Add TI_EDMA3 entry on Kconfig with help description. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- drivers/dma/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 58cb

[U-Boot] [PATCH v2 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2015-12-23 Thread Mugunthan V N
adopt ti-edma3 driver to device driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/dma/ti-edma3.c | 74 -- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c

[U-Boot] [PATCH v2 0/6] add dma uclass implementation and adopt ti-edma3 to it

2015-12-23 Thread Mugunthan V N
changes from initial->v2: * changed config_dm_dma to config_dma. * removed un-wanted enums. * added dma_get_device(). * removed post_bind in uclass driver and added device_probe in dma_get_device() Mugunthan V N (6): dm: implement a DMA uclass dma: Kconfig: Add TI_EDMA3 entry sf: spi_fl

Re: [U-Boot] [PATCH v5 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-12-23 Thread Mugunthan V N
On Wednesday 23 December 2015 04:21 PM, Jagan Teki wrote: > On 23 December 2015 at 15:29, Mugunthan V N <mugunthan...@ti.com> wrote: >> Add compatible for spansion 32MiB spi flash s25fl256s1. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> >> --- >

Re: [U-Boot] [PATCH v2 3/4] sf: Read back and check once macronix quad bit set

2015-12-23 Thread Mugunthan V N
On Wednesday 23 December 2015 01:51 PM, Jagan Teki wrote: > On 23 December 2015 at 13:22, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Wednesday 16 December 2015 02:31 PM, Jagan Teki wrote: >>> One macronix quad bit set using SR, it's good to >>> read back a

Re: [U-Boot] [PATCH v2 3/4] sf: Read back and check once macronix quad bit set

2015-12-22 Thread Mugunthan V N
On Wednesday 16 December 2015 02:31 PM, Jagan Teki wrote: > One macronix quad bit set using SR, it's good to > read back and check the written bit and also if > it's already been set check for the bit and return. > > Cc: Vignesh R <vigne...@ti.com> > Cc: Mugunthan V N &l

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-20 Thread Mugunthan V N
On Friday 18 December 2015 11:37 AM, Stefan Roese wrote: > On 17.12.2015 17:44, Jagan Teki wrote: >> On 17 December 2015 at 13:26, Mugunthan V N <mugunthan...@ti.com> wrote: >>> On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote: >>>> On 17 December 201

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-19 Thread Mugunthan V N
On Thursday 17 December 2015 10:10 PM, Jagan Teki wrote: > On 17 December 2015 at 12:19, Jagan Teki <jt...@openedev.com> wrote: >> >> On Dec 17, 2015 12:01 PM, "Mugunthan V N" <mugunthan...@ti.com> wrote: >>> >>> On Tuesday 15 December 20

Re: BUG: TI CPSW driver hanging up when setting mac-address to early

2015-12-19 Thread Mugunthan V N
On Thursday 17 December 2015 01:39 PM, Pascal Speck (Iktek) wrote: > Hi Mugunthan, > please see my comments below: > > Am 17.12.2015 um 07:08 schrieb Mugunthan V N: >> On Tuesday 08 December 2015 09:55 PM, Tony Lindgren wrote: >>> * ker...@iktek.de <ker...@iktek.de

Re: BUG: TI CPSW driver hanging up when setting mac-address to early

2015-12-16 Thread Mugunthan V N
r somewhere, just try to implement the mac address reading mechanism in drivers/net/ethernet/ti/cpsw-common.c file to avoid setting of mac address from userspace. Regards Mugunthan V N -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-16 Thread Mugunthan V N
On Tuesday 15 December 2015 01:43 PM, Jagan Teki wrote: > On 15 December 2015 at 13:22, Mugunthan V N <mugunthan...@ti.com> wrote: >> spi bus can support dual and quad wire data transfers for tx and >> rx. So defining dual and quad modes for both tx and rx. Also add >>

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Mugunthan V N
Jagan On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: > This patch adds time measurement and throughput calculation for > sf read/write commands. > > The output of sf read changes from > > ---8<--- > SF: 4096 bytes @ 0x0 Read: OK > --->8--- > > to

Re: [U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

2015-12-16 Thread Mugunthan V N
On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote: > On 17 December 2015 at 12:33, Mugunthan V N <mugunthan...@ti.com> wrote: >> Jagan >> >> On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote: >>> This patch adds time measurement and throughp

[U-Boot] [PATCH v4 08/16] drivers: spi: ti_qspi: convert driver to adopt device driver model

2015-12-14 Thread Mugunthan V N
adopt ti_qspi driver to device driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> --- Changes from v3->v4: * Use op_mode_{t/r}x for flash tx/rx operation modes. This has bee

[U-Boot] [PATCH v4 05/16] spi: Add support for dual and quad mode

2015-12-14 Thread Mugunthan V N
spi bus can support dual and quad wire data transfers for tx and rx. So defining dual and quad modes for both tx and rx. Also add support to parse bus width used for spi tx and rx transfers. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org&

Re: [U-Boot] [PATCH v3 05/16] spi: Add support for dual and quad mode

2015-12-08 Thread Mugunthan V N
On Sunday 06 December 2015 08:13 PM, Jagan Teki wrote: > On 6 December 2015 at 11:33, Mugunthan V N <mugunthan...@ti.com> wrote: >> On Thursday 03 December 2015 09:37 PM, Jagan Teki wrote: >>> On 19 November 2015 at 12:35, Mugunthan V N <mugunthan...@ti.com> wrote:

Re: [U-Boot] [PATCH v3 05/16] spi: Add support for dual and quad mode

2015-12-05 Thread Mugunthan V N
On Thursday 03 December 2015 09:37 PM, Jagan Teki wrote: > On 19 November 2015 at 12:35, Mugunthan V N <mugunthan...@ti.com> wrote: >> spi bus can support dual and quad wire data transfers for tx and >> rx. So defining dual and quad modes for both tx and rx. Also add >>

Re: [U-Boot] [PATCH v3 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-12-05 Thread Mugunthan V N
On Thursday 03 December 2015 09:32 PM, Jagan Teki wrote: > Hi Mugunthan, > > On 23 November 2015 at 18:42, Jagan Teki <jt...@openedev.com> wrote: >> On 23 November 2015 at 16:59, Mugunthan V N <mugunthan...@ti.com> wrote: >>> On Friday 20 November 2015 05

Re: [U-Boot] [PATCH 1/6] dm: implement a DMA uclass

2015-12-02 Thread Mugunthan V N
On Wednesday 02 December 2015 03:24 AM, Simon Glass wrote: > Hi Mugunthan, > > On 1 December 2015 at 04:13, Mugunthan V N <mugunthan...@ti.com> wrote: >> Implement a DMA uclass so that the devices like ethernet, spi, >> mmc etc can offload the data transfers from/

Re: [U-Boot] [PATCH 1/6] dm: implement a DMA uclass

2015-12-02 Thread Mugunthan V N
On Wednesday 02 December 2015 01:47 PM, Mugunthan V N wrote: >>> + DMA_TRANS_NONE, >> > >> > What does that mean? > DMA driver will be having only one transfer api and to identify what > kind of transfer that the user driver is expecting, these enums are

Re: [U-Boot] [PATCH 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2015-12-02 Thread Mugunthan V N
On Wednesday 02 December 2015 03:24 AM, Simon Glass wrote: > Hi Mugunthan, > > On 1 December 2015 at 04:13, Mugunthan V N <mugunthan...@ti.com> wrote: >> adopt ti-edma3 driver to device driver model >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>

Re: [U-Boot] [PATCH 3/6] sf: sf_ops: use dma to copy data from mmap region if platform supports

2015-12-02 Thread Mugunthan V N
On Wednesday 02 December 2015 03:24 AM, Simon Glass wrote: > Hi, > > On 1 December 2015 at 04:13, Mugunthan V N <mugunthan...@ti.com> wrote: >> Add dma memcpy api to the default spi_flash_copy_mmap(), so that >> dma will be used to copy data when DM_DMA is

Re: [U-Boot] [PATCH 02/19] dm: timer: uclass: add timer init to add timer device

2015-12-02 Thread Mugunthan V N
On Wednesday 02 December 2015 02:59 PM, Bin Meng wrote: > Hi Mugunthan, > > On Tue, Dec 1, 2015 at 10:39 AM, Bin Meng <bmeng...@gmail.com> wrote: >> Hi Mugunthan, >> >> On Sun, Nov 29, 2015 at 9:16 PM, Mugunthan V N <mugunthan...@ti.com> wrote: >>>

[U-Boot] [PATCH 3/6] sf: sf_ops: use dma to copy data from mmap region if platform supports

2015-12-01 Thread Mugunthan V N
Add dma memcpy api to the default spi_flash_copy_mmap(), so that dma will be used to copy data when DM_DMA is defined for the platform. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/mtd/spi/sf_ops.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/m

[U-Boot] [PATCH 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2015-12-01 Thread Mugunthan V N
adopt ti-edma3 driver to device driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/dma/ti-edma3.c | 75 -- 1 file changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c

[U-Boot] [PATCH 4/6] spi: ti_qspi: compile out spi_flash_copy_mmap when DM_DMA is defined

2015-12-01 Thread Mugunthan V N
When DM_DMA is defined the default spi_flash_copy_mmap() can handle dma memory copy, so compile out spi_flash_copy_mmap() from ti_qspi driver when DM_DMA config is defined. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 2 +- 1 file changed, 1 insertion

[U-Boot] [PATCH 6/6] defconfig: am437x_sk_evm: enable dma driver model

2015-12-01 Thread Mugunthan V N
enable dma driver model for am437x_sk_evm as ti-edma3 supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am437x_sk_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig index 8

[U-Boot] [PATCH 2/6] dma: Kconfig: Add TI_EDMA3 entry

2015-12-01 Thread Mugunthan V N
Add TI_EDMA3 entry on Kconfig with help description. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/dma/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index af15199..1e2a8e1 100644 --- a/drivers/dma/Kconfig

[U-Boot] [PATCH 1/6] dm: implement a DMA uclass

2015-12-01 Thread Mugunthan V N
Implement a DMA uclass so that the devices like ethernet, spi, mmc etc can offload the data transfers from/to the device and memory. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/dma/Kconfig | 15 drivers/dma/Makefile | 2 ++ drivers/dma/dma-uclass.

[U-Boot] [PATCH 0/6] add dma uclass implementation and adopt ti-edma3 to it

2015-12-01 Thread Mugunthan V N
Mugunthan V N (6): dm: implement a DMA uclass dma: Kconfig: Add TI_EDMA3 entry sf: sf_ops: use dma to copy data from mmap region if platform supports spi: ti_qspi: compile out spi_flash_copy_mmap when DM_DMA is defined drivers: dma: ti-edma3: convert driver to adopt driver model defconfig

Re: [U-Boot] [PATCH v3 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm

2015-11-30 Thread Mugunthan V N
Jagan On Thursday 19 November 2015 12:35 PM, Mugunthan V N wrote: > This patch series enables ti_qspi to adopt driver model. This has > been tested on dra72, dra74 and am437x-sk evms (logs [1]). > Also pushed a branch for testing [2] > > [1]: http://pastebin.ubuntu.com/13341

Re: [U-Boot] [PATCH 02/19] dm: timer: uclass: add timer init to add timer device

2015-11-29 Thread Mugunthan V N
On Saturday 28 November 2015 05:16 PM, Bin Meng wrote: > Yes, but your patch 01 will break x86. I can prepare a patch for x86 > if you like Can you send the patch so that I can include it on my next series. Regards Mugunthan V N ___ U-Boot mailin

Re: [U-Boot] [PATCH 04/19] drivers: timer: omap_timer: add timer driver for omap devices based on dm

2015-11-29 Thread Mugunthan V N
On Saturday 28 November 2015 05:22 PM, Bin Meng wrote: > Hi Mugunthan, > > On Fri, Nov 27, 2015 at 4:31 PM, Mugunthan V N <mugunthan...@ti.com> wrote: >> Adding a timer driver for omap devices based on driver model >> and device tree. >> >> Signed-off

Re: [U-Boot] [PATCH] dm: timer: Avoid using timer before it is ready

2015-11-29 Thread Mugunthan V N
he > post-relocation bootstage init. > > This fixes booting on chromebook_link. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot

Re: [U-Boot] [PATCH] ns16550: change reg-shift property default to zero

2015-11-29 Thread Mugunthan V N
Most others use reg-shift > of 2. While reg-shift of 1 is rarely used. > > Signed-off-by: Thomas Chou <tho...@wytron.com.tw> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Regards Mugunthan V N ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH 02/19] dm: timer: uclass: add timer init to add timer device

2015-11-28 Thread Mugunthan V N
On Saturday 28 November 2015 01:56 PM, Bin Meng wrote: > Hi Mugunthan, > > On Fri, Nov 27, 2015 at 4:31 PM, Mugunthan V N <mugunthan...@ti.com> wrote: >> Adding timer_init function to create and initialize the timer >> device on platforms where u-boot,dm-p

Re: [U-Boot] [PATCH 02/19] dm: timer: uclass: add timer init to add timer device

2015-11-27 Thread Mugunthan V N
On Saturday 28 November 2015 01:10 AM, Simon Glass wrote: > Hi Mugunthan, > > On 27 November 2015 at 00:31, Mugunthan V N <mugunthan...@ti.com> wrote: >> Adding timer_init function to create and initialize the timer >> device on platforms where u-boot,dm-p

Re: [U-Boot] [PATCH 00/19] device model bring-up of omap timer on dra72, dra74, am335x and am437x-sk evm

2015-11-27 Thread Mugunthan V N
On Saturday 28 November 2015 01:10 AM, Simon Glass wrote: > Hi Mugunthan, > > On 27 November 2015 at 00:31, Mugunthan V N <mugunthan...@ti.com> wrote: >> > This patch series enables omap timer to adopt driver model. This >> > has been tested on the foll

[U-Boot] [PATCH 00/19] device model bring-up of omap timer on dra72, dra74, am335x and am437x-sk evm

2015-11-27 Thread Mugunthan V N
] This patch series depends on [3] for chosen node in dra74 evm dts file. [1] - http://pastebin.ubuntu.com/13524650/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-timer [3] - https://www.mail-archive.com/u-boot@lists.denx.de/msg193763.html Mugunthan V N (19): arm: omap-common

[U-Boot] [PATCH 02/19] dm: timer: uclass: add timer init to add timer device

2015-11-27 Thread Mugunthan V N
-by: Mugunthan V N <mugunthan...@ti.com> --- doc/device-tree-bindings/chosen.txt | 43 + drivers/timer/timer-uclass.c| 34 + lib/time.c | 5 + 3 files changed, 82 insertions(+) create mode 1006

[U-Boot] [PATCH 01/19] arm: omap-common: do not build timer when CONFIG_TIMER defined

2015-11-27 Thread Mugunthan V N
To prepare timer driver to DM/DT conversion do not build the exiting timer driver when CONFIG_TIMER is defined. But since omap's SPL doesn't support DM yet so built timer driver only for SPL build when CONFIG_TIMER is defined. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/a

[U-Boot] [PATCH 04/19] drivers: timer: omap_timer: add timer driver for omap devices based on dm

2015-11-27 Thread Mugunthan V N
Adding a timer driver for omap devices based on driver model and device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/timer/Kconfig | 6 +++ drivers/timer/Makefile | 1 + drivers/timer/omap-timer.c | 108 + 3

[U-Boot] [PATCH 10/19] am335x_evm: timer: do not define CONFIG_TIMER for spl

2015-11-27 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_TIMER for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h

[U-Boot] [PATCH 09/19] defconfig: am437x_gp_evm: enable timer driver model

2015-11-27 Thread Mugunthan V N
Enable timer driver model for am437x_gp_evm as omap-timer supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am437x_gp_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am437x_gp_evm_defconfig b/configs/am437x_gp_evm_defconfig

[U-Boot] [PATCH 05/19] am43xx_evm: timer: do not define CONFIG_TIMER for spl

2015-11-27 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_TIMER for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am43xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h

[U-Boot] [PATCH 08/19] arm: dts: am437x-gp-evm: add tick-timer to chosen node

2015-11-27 Thread Mugunthan V N
Specify timer2 to be used as tick-timer in chosen node. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/am437x-gp-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am437x-gp-evm.dts b/arch/arm/dts/am437x-gp-evm.dts index b5f0b4e..8e23b96

[U-Boot] [PATCH 06/19] arm: dts: am437x-sk-evm: add tick-timer to chosen node

2015-11-27 Thread Mugunthan V N
Specify timer2 to be used as tick-timer in chosen node. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/am437x-sk-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am437x-sk-evm.dts b/arch/arm/dts/am437x-sk-evm.dts index 3f9d808..85d3381

[U-Boot] [PATCH 07/19] defconfig: am437x_sk_evm: enable timer driver model

2015-11-27 Thread Mugunthan V N
Enable timer driver model for am437x_sk_evm as omap-timer supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am437x_sk_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig

[U-Boot] [PATCH 03/19] dm: timer: uclass: Add flag to control sequence numbering

2015-11-27 Thread Mugunthan V N
Like SPI and I2C, timer devices also have multiple chip instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in timer_uclass driver to control device sequence numbering. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/timer/timer-uclass.c | 1 + 1 file changed, 1 ins

[U-Boot] [PATCH 14/19] defconfig: am335x_gp_evm: enable timer driver model

2015-11-27 Thread Mugunthan V N
Enable timer driver model for am335x_gp_evm as omap-timer supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am335x_gp_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_gp_evm_defconfig b/configs/am335x_gp_evm_defconfig

[U-Boot] [PATCH 16/19] arm: dts: dra72-evm: add tick-timer to chosen node

2015-11-27 Thread Mugunthan V N
Specify timer2 to be used as tick-timer in chosen node. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra72-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra72-evm.dts b/arch/arm/dts/dra72-evm.dts index efb544c..6e3bbfd 100644 --- a/arch/a

[U-Boot] [PATCH 18/19] arm: dts: dra7-evm: add tick-timer to chosen node

2015-11-27 Thread Mugunthan V N
Specify timer2 to be used as tick-timer in chosen node. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra7-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index e4daa99..2568aad 100644 --- a/arch/arm/dt

[U-Boot] [PATCH 12/19] defconfig: am335x_boneblack_vboot: enable timer driver model

2015-11-27 Thread Mugunthan V N
Enable timer driver model for am335x_boneblack_vboot as omap-timer supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/am335x_boneblack_vboot_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_boneblack_vboot_defconfig b/c

[U-Boot] [PATCH 11/19] arm: dts: am335x-boneblack: add tick-timer to chosen node

2015-11-27 Thread Mugunthan V N
Specify timer2 to be used as tick-timer in chosen node. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/am335x-boneblack.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am335x-boneblack.dts b/arch/arm/dts/am335x-boneblack.dts index 679248a..2

[U-Boot] [PATCH 17/19] defconfig: dra72_evm: enable timer driver model

2015-11-27 Thread Mugunthan V N
Enable timer driver model for dra72_evm_defconfig as omap-timer supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra72_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra72_evm_defconfig b/configs/dra72_evm_defconfig index 3

[U-Boot] [PATCH 15/19] ti_omap5_common: timer: do not define CONFIG_TIMER for spl

2015-11-27 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_TIMER for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/ti_omap5_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_omap5_common.h b/include/c

[U-Boot] [PATCH 19/19] defconfig: dra74_evm: enable timer driver model

2015-11-27 Thread Mugunthan V N
Enable timer driver model for dra74_evm_defconfig as omap-timer supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra74_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index 3

[U-Boot] [PATCH 13/19] arm: dts: am335x-evm: add tick-timer to chosen node

2015-11-27 Thread Mugunthan V N
Specify timer2 to be used as tick-timer in chosen node. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/am335x-evm.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/am335x-evm.dts b/arch/arm/dts/am335x-evm.dts index e1c5d4f..c0bc2af 100644 --- a/ar

Re: [PATCH 06/14] ARM: am437x: cm-t43: dts: add dual emac support

2015-11-26 Thread Mugunthan V N
; > Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> > Cc: Tony Lindgren <t...@atomide.com> > Cc: Igor Grinberg <grinb...@compulab.co.il> > Cc: Dmitry Lifshitz <lifsh...@compulab.co.il> > Cc: Ian Campbell <ijc+devicet...@hellion.org.uk> Acked-by

[U-Boot] [PATCH] arm: dts: omap: add reg-shift to serial device tree node

2015-11-26 Thread Mugunthan V N
rial nodes for dra7, am4372 and am33xx dtsi files. Tested this patch on am437x-sk-evm, am437x-gp-evm, am335x-boneblack, dra74x-evm and dra72x-evm. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- reg-shift was hard coded to 2 in both u-boot and kernel driver, so the DT entry was n

[U-Boot] [PATCH 1/2] arm: dts: dra7-evm: add chosen node to specify serial console device

2015-11-26 Thread Mugunthan V N
Introduce chosen node and specify uart0 to be used as serial console. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/dts/dra7-evm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index 096f68b..e4daa99

[U-Boot] [PATCH 0/2] Enable DM_SERIAL for dra74x evm

2015-11-26 Thread Mugunthan V N
DM_SERIAL is not enabled for dra74x evm, enabling it and tested on dra74x evm. Logs [1]. [1] - http://pastebin.ubuntu.com/13513965/ Mugunthan V N (2): arm: dts: dra7-evm: add chosen node to specify serial console device defconfig: dra74_evm: enable serial driver model arch/arm/dts/dra7

[U-Boot] [PATCH 2/2] defconfig: dra74_evm: enable serial driver model

2015-11-26 Thread Mugunthan V N
Enable serial driver model for dra74_evm as ns16550 supports driver model. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- configs/dra74_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra74_evm_defconfig b/configs/dra74_evm_defconfig index 7bff294..3

Re: [PATCH 06/14] ARM: am437x: cm-t43: dts: add dual emac support

2015-11-26 Thread Mugunthan V N
; > Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> > Cc: Tony Lindgren <t...@atomide.com> > Cc: Igor Grinberg <grinb...@compulab.co.il> > Cc: Dmitry Lifshitz <lifsh...@compulab.co.il> > Cc: Ian Campbell <ijc+devicet...@hellion.org.uk> Acked-by

Re: [U-Boot] [PATCH v3 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-23 Thread Mugunthan V N
On Friday 20 November 2015 05:57 PM, Jagan Teki wrote: > On 20 November 2015 at 11:31, Mugunthan V N <mugunthan...@ti.com> wrote: >> Jagan >> >> On Thursday 19 November 2015 03:40 PM, Jagan Teki wrote: >>> On 19 November 2015 at 12:35, Mugunthan V N <muguntha

Re: [U-Boot] [PATCH v3 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-19 Thread Mugunthan V N
Jagan On Thursday 19 November 2015 03:40 PM, Jagan Teki wrote: > On 19 November 2015 at 12:35, Mugunthan V N <mugunthan...@ti.com> wrote: >> Add compatible for spansion 32MiB spi flash s25fl256s1. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com> >>

Re: [U-Boot] [PATCH v2 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-18 Thread Mugunthan V N
separately add do the dm > conversion only on existing code. > ctrl_mod_map is used in non DM mode as well. Earlier there was a define, I changed it to a variable while preparing driver for DM conversion. Regards Mugunthan V N ___ U-Boo

[U-Boot] [PATCH v3 04/16] dm: core: Add a new api to get indexed device address

2015-11-18 Thread Mugunthan V N
Add new api to get device address based on index. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/core/device.c | 31 +++ include/dm/device.h | 11 +++ 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/drivers/core/devi

[U-Boot] [PATCH v3 08/16] drivers: spi: ti_qspi: convert driver to adopt device driver model

2015-11-18 Thread Mugunthan V N
adopt ti_qspi driver to device driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> --- drivers/spi/ti_qspi.c | 187 ++ 1

[U-Boot] [PATCH v3 12/16] defconfig: dra72_evm: enable spi driver model

2015-11-18 Thread Mugunthan V N
enable mmc driver model for dra72_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/dra72_evm_defconfig | 2 ++ 1 file changed, 2 inserti

[U-Boot] [PATCH v3 11/16] drivers: mtd: spi: sf_probe: add compatible for Macronix spi flash

2015-11-18 Thread Mugunthan V N
Add compatible for Macronix 64MiB spi flash mx66l51235l. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index ffbce59..add6738 100644 --- a/drive

[U-Boot] [PATCH v3 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-18 Thread Mugunthan V N
Add qspi memory map and control module register maps to device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- arch/arm/dts/dra7.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/dra7

[U-Boot] [PATCH v3 07/16] dts: dra7: add spi alias for qspi

2015-11-18 Thread Mugunthan V N
add spi alias for qspi so that spi probes the device and driver successfully. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- arch/arm/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/dra7.dtsi b/arch/

[U-Boot] [PATCH v3 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-18 Thread Mugunthan V N
Add compatible for spansion 32MiB spi flash s25fl256s1. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index bc05d30..ffbce59 100644 --- a/drive

[PATCH 1/2] dts: dra7: add spi alias for qspi

2015-11-18 Thread Mugunthan V N
Set the alias for qspi to spi0 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/boot/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index bc672fb..b2badf9 100644 --- a/arch/arm/boot/dts/dra7.dtsi

[PATCH 2/2] arm: dts: am4372: add spi alias for qspi

2015-11-18 Thread Mugunthan V N
Set the alias for qspi to spi0 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/boot/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index d83ff9c..bb03b80 100644 --- a/arch/arm/boot/dts/am437

[U-Boot] [PATCH v3 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-18 Thread Mugunthan V N
Prepare driver for DM conversion. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- drivers/spi/ti_qspi.c | 276 +++--- 1 file changed, 151 insertions(+), 125 deletions(-) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index 4

[U-Boot] [PATCH v3 00/16] device model bring-up of ti-qspi on dra72, dra74 and am437x-sk evm

2015-11-18 Thread Mugunthan V N
to the driver * Fixed the cosmetic reviews from Simon * Modified the dev_get_addr_index to adopt OF_TRANSULATE as well and also removed code duplicate. * Added compatibles for spi flashed found in DRA7xx and AM437x SK Mugunthan V N (16): drivers: spi: ti_qspi: do not hard code chip select f

[U-Boot] [PATCH v3 02/16] drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver model conversion

2015-11-18 Thread Mugunthan V N
Changing the ti_qspi_priv structure and its instance names from to priv for driver mode conversion. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> Reviewed-by: Jagan Teki <jt...@opene

[U-Boot] [PATCH v3 05/16] spi: Add support for dual and quad mode

2015-11-18 Thread Mugunthan V N
spi bus can support dual and quad wire data transfers for tx and rx. So defining dual and quad modes for both tx and rx. Also add support to parse bus width used for spi tx and rx transfers. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org&

[U-Boot] [PATCH v3 06/16] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-18 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define DM_SPI and DM_SPI_FLASH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/dra7xx_evm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/dra7xx_evm.h b/include/c

[U-Boot] [PATCH v3 01/16] drivers: spi: ti_qspi: do not hard code chip select for memory map configuration

2015-11-18 Thread Mugunthan V N
To enable memory map in dra7xx, specific chip select must be written to control module register. But this hard coded to chip select 1, fixing it by writing the specific chip select value to control module register. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Gl

Re: [PATCH] net: cpsw: Fix ethernet regression for dm814x

2015-11-18 Thread Mugunthan V N
> Let's fix the issue by adding handling for dm814x. > > Cc: Mugunthan V N <mugunthan...@ti.com> > Signed-off-by: Tony Lindgren <t...@atomide.com> Acked-by: Mugunthnan V N <mugunthan...@ti.com> Regards Mugunthan V N -- To unsubscribe from this list: send the li

Re: [PATCH] net: cpsw: Fix ethernet regression for dm814x

2015-11-18 Thread Mugunthan V N
> Let's fix the issue by adding handling for dm814x. > > Cc: Mugunthan V N <mugunthan...@ti.com> > Signed-off-by: Tony Lindgren <t...@atomide.com> Acked-by: Mugunthnan V N <mugunthan...@ti.com> Regards Mugunthan V N -- To unsubscribe from this list: send the line &qu

[PATCH 0/2] adding spi alias for qspi

2015-11-18 Thread Mugunthan V N
Adding missed spi alias for qspi which helps probe the qspi device in U-Boot. Mugunthan V N (2): dts: dra7: add spi alias for qspi arm: dts: am4372: add spi alias for qspi arch/arm/boot/dts/am4372.dtsi | 1 + arch/arm/boot/dts/dra7.dtsi | 1 + 2 files changed, 2 insertions

[PATCH 0/2] adding spi alias for qspi

2015-11-18 Thread Mugunthan V N
Adding missed spi alias for qspi which helps probe the qspi device in U-Boot. Mugunthan V N (2): dts: dra7: add spi alias for qspi arm: dts: am4372: add spi alias for qspi arch/arm/boot/dts/am4372.dtsi | 1 + arch/arm/boot/dts/dra7.dtsi | 1 + 2 files changed, 2 insertions

[PATCH 1/2] dts: dra7: add spi alias for qspi

2015-11-18 Thread Mugunthan V N
Set the alias for qspi to spi0 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/boot/dts/dra7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index bc672fb..b2badf9 100644 --- a/arch/arm/boot/dts/dra7.dtsi

[PATCH 2/2] arm: dts: am4372: add spi alias for qspi

2015-11-18 Thread Mugunthan V N
Set the alias for qspi to spi0 Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- arch/arm/boot/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index d83ff9c..bb03b80 100644 --- a/arch/arm/boot/dts/am437

[U-Boot] [PATCH v3 13/16] defconfig: dra74_evm: enable spi driver model

2015-11-18 Thread Mugunthan V N
enable spi driver model for dra74_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/dra74_evm_defconfig | 2 ++ 1 file changed, 2 inserti

[U-Boot] [PATCH v3 14/16] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-18 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define DM_SPI and DM_SPI_FLASH for spl build. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> --- include/configs/am43xx_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am43xx_evm.h b/include/c

[U-Boot] [PATCH v3 15/16] arm: dts: am4372: add qspi register maps for memory map

2015-11-18 Thread Mugunthan V N
Add qspi memory map address to device tree. Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> --- arch/arm/dts/am4372.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts

[U-Boot] [PATCH v3 16/16] defconfig: am437x_sk_evm: enable spi driver model

2015-11-18 Thread Mugunthan V N
enable spi driver model for am437x_sk_evm as ti_qspi supports driver model Signed-off-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Tom Rini <tr...@konsulko.com> --- configs/am437x_sk_evm_defconfig | 3 +++ 1 file changed, 3 i

Re: [U-Boot] [PATCH v2 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-17 Thread Mugunthan V N
On Monday 16 November 2015 07:43 AM, Tom Rini wrote: > On Sat, Nov 14, 2015 at 01:01:45PM +0530, Mugunthan V N wrote: >> On Thursday 12 November 2015 06:17 PM, Tom Rini wrote: >>> On Thu, Nov 12, 2015 at 02:33:48PM +0530, Mugunthan V N wrote: >>>> On Sunday 08 No

Re: [U-Boot] [PATCH v2 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-17 Thread Mugunthan V N
On Tuesday 17 November 2015 02:38 AM, Simon Glass wrote: > Hi, > > On 12 November 2015 at 05:48, Tom Rini <tr...@konsulko.com> wrote: >> On Thu, Nov 12, 2015 at 02:42:41PM +0530, Mugunthan V N wrote: >>> On Friday 06 November 2015 05:37 PM, Simon Glass wrote: >

Re: [U-Boot] [PATCH v2 03/16] drivers: spi: ti_qspi: prepare driver for DM conversion

2015-11-16 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote: >> Prepare driver for DM conversion. >> >> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>

<    3   4   5   6   7   8   9   10   11   12   >