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
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.
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 +
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
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
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
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
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
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>
>> ---
>
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
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
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
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
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
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
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
>>
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
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
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
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&
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:
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
>>
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
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/
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
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>
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
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:
>>>
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
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
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
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
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
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.
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
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
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
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
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
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.
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
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
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
]
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
;
> 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
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
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
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
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
;
> 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
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
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>
>>
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
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
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
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
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
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
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/
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
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
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
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
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
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
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&
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
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
> 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
> 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
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
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
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
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
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
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
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
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
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
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:
>
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>
701 - 800 of 1799 matches
Mail list logo