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
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
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>
On Tuesday 17 November 2015 11:51 AM, Jagan Teki wrote:
> On 4 November 2015 at 13:46, Mugunthan V N <mugunthan...@ti.com> wrote:
>> Prepare driver for DM conversion.
>>
>> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
>&
On Friday 06 November 2015 05:37 PM, Simon Glass wrote:
> +Stephen
>
> Hi,
>
> On 4 November 2015 at 01:16, Mugunthan V N <mugunthan...@ti.com> wrote:
>> Add new api to get device address based on index.
>>
>> Signed-off-by: Mugunthan V N <mugunthan..
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 November 2015 07:01 PM, Tom Rini wrote:
>>> On Wed, Nov 04, 2015 at 01:46:17PM +0530, Mugunthan V N wrote:
>>>
>>>>
On Sunday 08 November 2015 07:02 PM, Tom Rini wrote:
> On Wed, Nov 04, 2015 at 01:46:23PM +0530, Mugunthan V N wrote:
>> Add qspi memory map address to device tree.
>>
>> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
>> Reviewed-by: Simon Glass <s...@c
On Friday 06 November 2015 09:11 PM, Stephen Warren wrote:
> On 11/06/2015 05:19 AM, Stefan Roese wrote:
>> +Stephan Warren & Thomas Chou
>>
>> On 06.11.2015 13:08, Simon Glass wrote:
>>> +Stefan
>>>
>>> Hi Mugunthan,
>>>
>>>
On Tuesday 10 November 2015 11:52 AM, Vignesh R wrote:
> Enable TI_EDMA3 and QUAD read support for ti_qspi on am43xx, this
> increases read performance to 4 MB/s.
>
> Signed-off-by: Vignesh R <vigne...@ti.com>
> ---
Reviewed-by: Mugunthan V N <mugunthan...@ti.com
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:
>> Add compatible for spansion 32MiB spi flash s25fl256s1.
>>
>> Signed-off-by: Mugunthan V N <mugunthan..
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:
>> > Since spl doesn't support DM currently, do not define DM_SPI and
>> > DM_SPI_FLASH for spl build.
> Si
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:
>> > Since spl doesn't support DM currently, do not define DM_SPI and
>> > DM_SPI_FLASH for spl build.
> D
lash present on am437x-sk and am437x-idk evms.
>
> Signed-off-by: Vignesh R <vigne...@ti.com>
> ---
Reviewed-by: Mugunthan V N <mugunthan...@ti.com>
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Sunday 08 November 2015 07:01 PM, Tom Rini wrote:
> On Wed, Nov 04, 2015 at 01:46:17PM +0530, Mugunthan V N wrote:
>
>> Add qspi memory map and control module register maps to device tree.
>>
>> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
>> Reviewe
t;n" and enable
OF_TRANSLATE only on required platform.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
Tested this patch on TI DRA72 platform.
---
drivers/core/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/core/Kconfig b/drivers/core/Kcon
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 c000c53..9cfa9b6 100644
--- a/drive
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 9cfa9b6..b16a392 100644
--- a/drive
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...@chr
Since 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/configs/dra7xx
enable mmc 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>
---
configs/dra74_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/dra74_evm_defconf
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>
---
configs/dra72_evm_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/dra72_evm_defconf
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/dra7
adopt ti_qspi driver to device driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/spi/ti_qspi.c | 172 ++
1 file changed, 172 insertions(+)
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
index 003df80..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>
---
drivers/spi/ti_qspi.c | 118 +-
1 file changed, 59 insertions(+), 59 deletions(-)
diff
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>
---
drivers/spi/ti_qspi
Prepare driver for DM conversion.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/spi/ti_qspi.c | 287 --
1 file changed, 161 insertions(+), 126 deletions(-)
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
index 4
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 new api to get device address based on index.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/core/device.c | 16
include/dm/device.h | 10 ++
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/drivers/core/device.c b/driver
shed found in DRA7xx and AM437x SK
Mugunthan V N (16):
drivers: spi: ti_qspi: do not hard code chip select for memory map
configuration
drivers: spi:ti_qspi: change ti_qspi_slave to ti_qspi_priv for driver
model conversion
drivers: spi: ti_qspi: prepare driver for DM conversion
dm: core:
enable mmc 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>
---
configs/am437x_sk_evm_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/am437x_sk_evm
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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts
Since 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/configs/am43xx_evm.h
On Saturday 31 October 2015 02:17 AM, Jagan Teki wrote:
>
> ti_qspi.c
I had already converted this driver and posted [1] Last week. Will be
submitting a v2 shortly.
[1]: http://lists.denx.de/pipermail/u-boot/2015-October/231800.html
Regards
Mugunth
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote:
> Hi Mugunthan,
>
> On 27 October 2015 at 05:12, Mugunthan V N <mugunthan...@ti.com> wrote:
>> Add new api to get device address based on index.
>>
>> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
On Thursday 29 October 2015 10:47 PM, Simon Glass wrote:
> Hi Mugunthan,
>
> On 27 October 2015 at 05:13, Mugunthan V N <mugunthan...@ti.com> wrote:
>> > Since spl doesn't support DM currently, do not define DM_SPI and
>> > DM_SPI_FLASH for spl build.
> SPL doe
On Thursday 29 October 2015 10:48 PM, Simon Glass wrote:
> On 27 October 2015 at 05:13, Mugunthan V N <mugunthan...@ti.com> wrote:
>> > add spi alias for qspi so that spi probes the device and driver
>> > successfully.
>> >
>> > Sign
the correct driver.
> */
>
> This code is used when there is no device attached. It should not
> happen that you have a device tree node which is ignored when the SPI
> bus is bound. spi_post_bind() should pick up these node and create
> drivers for them.
Hmmmm, will dro
message. Why not
> just drop this? The driver should not be scanning the device tree - it
> should be able to look at the number of child devices instead.
>
Hmmm, will fix in v2
Regards
Mugunthan V N
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
enable mmc driver model for dra72_evm as ti_qspi 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 cce3255..d88b2b7
adopt ti_qspi driver to device driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/spi/ti_qspi.c | 126 ++
1 file changed, 126 insertions(+)
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
index 4893472..4
Since 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/configs/am43xx_evm.h
Add qspi memory map address to device tree.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
arch/arm/dts/am4372.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts/am4372.dtsi
index ade28c7..1b30d53 100644
--- a/arch/a
enable mmc driver model for dra74_evm as ti_qspi 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 a57cd7f..b7c541b
Add qspi memory map and control module register maps to device tree.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
arch/arm/dts/dra7.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi
index 7357b0e..b72c1fa
add spi alias for qspi so that spi probes the device and driver
successfully.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
arch/arm/dts/dra7.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/dra7.dtsi b/arch/arm/dts/dra7.dtsi
index 8f1e25b..7357b0e
enable mmc driver model for am437x_sk_evm as ti_qspi supports
driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
configs/am437x_sk_evm_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/am437x_sk_evm_defconfig b/configs/am437x_sk_evm_defconfig
index 0
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>
---
drivers/spi/spi-uclass.
Prepare driver for DM conversion.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/spi/ti_qspi.c | 341 --
1 file changed, 188 insertions(+), 153 deletions(-)
diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c
index b
red with of_offset and its
fdt is parsed properly.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/spi/spi-uclass.c | 38 --
1 file changed, 32 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c
inde
Since 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/configs/dra7xx
Add new api to get device address based on index.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/core/device.c | 20
include/dm/device.h | 9 +
2 files changed, 29 insertions(+)
diff --git a/drivers/core/device.c b/drivers/core/device.c
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/12978685/
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-qspi
Mugunthan V N
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
---8<---
SF: 4096 bytes @ 0x0 Read: OK in 6 ms (666 KiB/s)
--->8---
Signed-off-by: Mugunthan V N <mugu
Currently omap_hsmmc driver doesn't use sdcd pin to detect
whether the card is present or not. Instead the same pin is used
as GPIO to detect card presence. So change the pin mux mode from
mmc0_sdcd to gpio0_6.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
board/ti/am335x/mux
.xlate ops to
omap_gpio.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/gpio/omap_gpio.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c
index cd960dc..93d18e4 100644
--- a/drivers/gpio/omap_gpio.c
+++ b/driver
Import various DT files for am57xx-beagle-x15 from
Linux Kernel v4.2
Add config file for this board, enable DM, DM_GPIO,
DM_SERIAL and DM_MMC.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/am57xx-beagle-x15.dts
]: http://pastebin.ubuntu.com/12610054/
[2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git am57xx-dm
[3]: https://www.mail-archive.com/u-boot@lists.denx.de/msg186964.html
[4]: http://patchwork.ozlabs.org/patch/519024/
[5]: http://patchwork.ozlabs.org/patch/521035/
Mugunthan V N (2
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
asdfsadf
---
include/configs/ti_omap5_common.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/ti_omap5_common.h
b/include/c
enable mmc driver model for am335x gp_evm as omap_hsmmc
supports driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
configs/am335x_gp_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_gp_evm
enable mmc driver model for am335x bbb as omap_hsmmc
supports driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
configs/am335x_boneblack_vboot_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --g
adopt omap_hsmmc driver to device driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/mmc/omap_hsmmc.c | 117 ++-
1 file changed, 116 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_h
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
include/configs/am335x_evm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/am
Existing driver gets the actual omap hammc base address + 0x100
bytes as the first 0x100 bytes is not used by the driver. But
with DM conversion the base address from DT is different, to
accommodate the offset adding res0[0x100] to struct hsmmc.
Signed-off-by: Mugunthan V N <mugunthan...@ti.
from initial version:
* Added additional compatibles as per Tom's comment
* Fixed $subject for enabling DM_MMC patch
Mugunthan V N (5):
omap_hsmmc: update struct hsmmc to accomodate base address from DT
am335x_evm: mmc: do not define DM_MMC for spl
drivers: mmc: omap_hsmmc: convert driver
On Monday 28 September 2015 04:25 PM, Lokesh Vutla wrote:
>
> On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote:
>> > Tested on am437x gp evm and am437x sk evm
>> >
>> > Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
>> > ---
>> &
Import various DT files for am437x-sk-evm from Linux Kernel v4.2
Add config file for this board, enable DM, DM_GPIO, DM_SERIAL
and DM_MMC.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
arch/arm/dts/Makefile | 2 +-
arch/arm/dts/am437x-sk-evm.dts
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
include/configs/am43xx_evm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 0
Adding compatibles for am335x, am437x and dra7 platforms.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/serial/serial_omap.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/serial/serial_omap.c b/drivers/serial/serial_omap.c
index 9709444..891cd7b
Import various DT files for am4372, an43xx pinctrl and
am437x-gp-evm from Linux Kernel v4.2
Add config file for this board, enable DM, DM_GPIO, DM_SERIAL
and DM_MMC.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
arch/arm/dts/Makefile| 1 +
arch/arm/dts/am437
Tested on am437x gp evm and am437x sk evm
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
include/configs/am43xx_evm.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d868442..03713e3
In some platforms like am437x, serial node is not populated with
clock-frequency node. So in that case have a default clock-clock
frequency.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/serial/serial_omap.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git am437x-dm
[3]: https://www.mail-archive.com/u-boot@lists.denx.de/msg186964.html
Mugunthan V N (6):
drivers: serial: serial_omap: populate default clock frequency when
not found in dt
drivers: serial: serial_omap: add comaptibles for all ti
On Tuesday 22 September 2015 07:20 PM, Tom Rini wrote:
> On Tue, Sep 15, 2015 at 07:41:48PM +0530, Mugunthan V N wrote:
>
>> adopt omap_hsmmc driver to device driver model
>>
>> Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
> [snip]
>> +static
Import various DT files for dra7-evm from Linux Kernel v4.2
Add config file for this board, enable DM and DM_GPIO
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
Tested the patch on dra7-evm logs [1] and pushed a branch [2]
[1]: http://pastebin.ubuntu.com/12520984/
[2]: git://git.
On Monday 07 September 2015 02:22 PM, Mugunthan V N wrote:
> This patch seires enables cpsw to adopt driver model. This has
> been tested on AM335x beagle bone black and GP EVM (logs [1]).
> Also pushed a branch for testing [2]
>
> This patch depends on [3] for getting cpsw addres
On Tuesday 15 September 2015 07:41 PM, Mugunthan V N wrote:
> This patch seires enables omap_hsmmc to adopt driver model. This
> has been tested on AM335x beagle bone black and GP EVM (logs [1]).
> Also pushed a branch for testing [2]
>
> [1]: http://pastebin.ubuntu.com/12417
On Friday 11 September 2015 04:24 PM, Mugunthan V N wrote:
> On Wednesday 09 September 2015 11:38 PM, Simon Glass wrote:
>> Hi,
>>
>> On Monday, 7 September 2015, Mugunthan V N <mugunthan...@ti.com> wrote:
>>>
>>> On Friday 07 August 2015 03:01 AM, St
On Friday 04 September 2015 09:01 PM, Joe Hershberger wrote:
> On Thu, Sep 3, 2015 at 5:20 AM, Mugunthan V N <mugunthan...@ti.com> wrote:
>> Currently when phy device is created the link variable is
>> initialized to 1 which denoted phy link is already up. On a power
>&
be added after
fixing the omap gpio driver.
Mugunthan V N (5):
omap_hsmmc: update struct hsmmc to accomodate base address from DT
am335x_evm: mmc: do not define DM_MMC for spl
drivers: mmc: omap_hsmmc: convert driver to adopt device driver model
defconfig: am335x: bbb: enable ethernet
Existing driver gets the actual omap hammc base address + 0x100
bytes as the first 0x100 bytes is not used by the driver. But
with DM conversion the base address from DT is different, to
accommodate the offset adding res0[0x100] to struct hsmmc.
Signed-off-by: Mugunthan V N <mugunthan...@ti.
adopt omap_hsmmc driver to device driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
drivers/mmc/omap_hsmmc.c | 115 ++-
1 file changed, 114 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_h
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
include/configs/am335x_evm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 5
enable mmc driver model for am335x bbb as omap_hsmmc
supports driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
configs/am335x_boneblack_vboot_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_boneblack_vboot_defconfig
b/c
enable mmc driver model for am335x gp_evm as omap_hsmmc
supports driver model
Signed-off-by: Mugunthan V N <mugunthan...@ti.com>
---
configs/am335x_gp_evm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am335x_gp_evm_defconfig b/configs/am335x_gp_evm_defconfig
index c
501 - 600 of 665 matches
Mail list logo