[PATCH 0/5] davinci: da850: add SATA support

2011-07-06 Thread Sekhar Nori
This series add support for platform AHCI driver on DA850/OMAP-L138/AM18x. Towards this purpose, it also adds support for forced module transtitions on PSC. Sekhar Nori (5): davinci: psc.h: clean up indentation done using spaces davinci: pass clock flags to davinci_psc_config() davinci

[PATCH v2 3/5] davinci: enable forced transitions on PSC

2011-07-06 Thread Sekhar Nori
. ChangeLog: v2: Modified to take care of the fact that davinci_psc_config() now takes the flags directly. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/clock.h|1 + arch/arm/mach-davinci/include/mach/psc.h |1 + arch/arm/mach-davinci/psc.c |2

[RFC/RFT 0/2] gpio: move tnetv107x gpio support to drivers/gpio

2011-07-04 Thread Sekhar Nori
on Grant's tree. Sekhar Nori (2): gpio/basic_mmio: add support for enable register davinci: use generic memory mapped gpio for tnetv107x arch/arm/mach-davinci/Kconfig |1 + arch/arm/mach-davinci/Makefile|1 - arch/arm/mach-davinci/devices-tnetv107x.c | 68

[RFC/RFT 2/2] davinci: use generic memory mapped gpio for tnetv107x

2011-07-04 Thread Sekhar Nori
The GPIO controller on TNETV107x SoC can use the generic memory mapped GPIO driver. Shift to the generic driver instead of the private implementation. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/Kconfig |1 + arch/arm/mach-davinci/Makefile

[RFC/RFT 1/2] gpio/basic_mmio: add support for enable register

2011-07-04 Thread Sekhar Nori
. Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/gpio/gpio-ep93xx.c |2 +- drivers/gpio/gpio-generic.c | 45 ++- drivers/gpio/gpio-mxc.c |2 +- drivers/gpio/gpio-mxs.c |2 +- include/linux/basic_mmio_gpio.h |5

[PATCH v3 3/3] davinci: da850: move input frequency to board specific files

2011-06-05 Thread Sekhar Nori
of a structure instead of passing it as a number. Signed-off-by: Bob Dunlop bob.dun...@xyzzy.org.uk Signed-off-by: Christian Riesch christian.rie...@omicron.at Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c |2 +- arch/arm/mach-davinci/board-mityomapl138.c

[PATCH v2 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init()

2011-06-05 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm646x-evm.c| 23 +++ arch/arm/mach-davinci/dm646x.c |6 -- arch/arm/mach-davinci/include/mach/common.h | 10 ++ arch/arm/mach-davinci/include/mach/dm646x.h |4 ++-- 4 files

[PATCH 1/3] davinci: dm646x.h: include header files under mach/ after those in linux/

2011-06-05 Thread Sekhar Nori
The general header file inclusion order followed in the kernel is to include files under linux/ first and then under mach/. The dm646x.h file has the opposite of this. Fix it. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/dm646x.h |5 +++-- 1 files changed

[PATCH] davinci: make PCM platform devices static

2011-06-05 Thread Sekhar Nori
Make the PCM device structures used in devices.c and devices-da8xx.c static as they are used only in the respective files. This was found when trying to build a single image for DaVinci and DA8x devices using runtime P2V support. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach

[PATCH 1/3] davinci: dm646x.h: include header files under mach/ after those in linux/

2011-06-02 Thread Sekhar Nori
The general header file inclusion order followed in the kernel is to include files under linux/ first and then under mach/. The dm646x.h file has the opposite of this. Fix it. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/dm646x.h |5 +++-- 1 files changed

[PATCH v3 3/3] davinci: da850: move input frequency to board specific files

2011-06-02 Thread Sekhar Nori
allows setting a different input frequency in the board specific files to support boards with oscillator/crystal frequencies other than 24 MHz. Signed-off-by: Bob Dunlop bob.dun...@xyzzy.org.uk Signed-off-by: Christian Riesch christian.rie...@omicron.at Signed-off-by: Sekhar Nori nsek...@ti.com

[PATCH 2/3] davinci: dm6467/T EVM: pass reference clock rate to dm646x_init()

2011-06-02 Thread Sekhar Nori
. Instead, pass the reference clock frequency as a parameter to dm646x_init(). Boards which do not need the default reference clock changed can pass NULL to this function. Signed-off-by: Bob Dunlop bob.dun...@xyzzy.org.uk Signed-off-by: Sekhar Nori nsek...@ti.com --- I have marked Bob as the author

[PATCH 2/4] davinci: enable forced transitions on PSC

2011-03-25 Thread Sekhar Nori
Some DaVinci modules like the SATA on DA850 need forced module state transitions. Add a force parameter to the PSC config function to enable it to make forced transitions. Forced transitions shouldn't normally be attempted, unless the TRM explicitly specifies its usage. Signed-off-by: Sekhar

[PATCH 1/4] davinci: psc.h: clean up indentation done using spaces

2011-03-23 Thread Sekhar Nori
psc.h has indentation using spaces at a number of places. Fix this by indenting using tabs instead. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/psc.h | 148 +++--- 1 files changed, 74 insertions(+), 74 deletions(-) diff --git a/arch

[PATCH 2/4] davinci: enable forced transitions on PSC

2011-03-23 Thread Sekhar Nori
Some DaVinci modules like the SATA on DA850 need forced module state transitions. Add a force parameter to the PSC config function to enable it to make forced transitions. Forced transitions shouldn't normally be attempted, unless the TRM explicitly specifies its usage. Signed-off-by: Sekhar

[PATCH 3/4] davinci: da850: add support for SATA interface

2011-03-23 Thread Sekhar Nori
. While testing this patch, enable port multiplier support iff you are actually using one. The reasons of this behaviour are discussed here: http://patchwork.ozlabs.org/patch/78163/ Signed-off-by: Sekhar Nori nsek...@ti.com Cc: linux-...@vger.kernel.org --- arch/arm/mach-davinci/da850.c

[PATCH 4/4] davinci: da850 evm: register SATA device

2011-03-23 Thread Sekhar Nori
Register the platform device for SATA interface present on the DA850/OMAP-L138/AM18x EVM. Signed-off-by: Sekhar Nori nsek...@ti.com Cc: linux-...@vger.kernel.org --- arch/arm/mach-davinci/board-da850-evm.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm

[PATCH v4] mmc: davinci: add support for SDIO irq handling

2011-01-02 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com --- Applies to mmc-next branch of the mmc tree Since v3, fixed the check for no SDIO IRQ from platform. drivers/mmc/host/davinci_mmc.c | 78 +--- 1 files changed, 73 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host

[PATCH v5] mmc: davinci: add support for SDIO irq handling

2011-01-02 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com --- Applies to mmc-next branch of the mmc tree Since v4, fixed a typo in patch description drivers/mmc/host/davinci_mmc.c | 78 +--- 1 files changed, 73 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/davinci_mmc.c b

[PATCH v3] mmc: davinci: add support for SDIO irq handling

2010-12-30 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com --- Applies to mmc-next branch of the mmc tree Since v2, the patch has received some cosmetic clean-up and is being posted for the first time on the linux-mmc list. drivers/mmc/host/davinci_mmc.c | 78 +--- 1 files changed, 73

[PATCH v4 2/2 (REPOST)] davinci: am18x/da850/omap-l138 evm: add support for higher speed grades

2010-12-20 Thread Sekhar Nori
this information to pass on the speed grade information to the SoC code. Signed-off-by: Sekhar Nori nsek...@ti.com --- re-posting with linux-arm-kernel included in CC. arch/arm/mach-davinci/board-da850-evm.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git

[PATCH v4 1/2 (REPOST)] davinci: am18x/da850/omap-l138: add support for higher speed grades

2010-12-20 Thread Sekhar Nori
informs the maximum speed grade information to the SoC by calling the da850_set_max_speed() function. Signed-off-by: Sekhar Nori nsek...@ti.com --- re-posting with linux-arm-kernel included in CC. arch/arm/mach-davinci/da850.c | 75 ++-- arch/arm/mach-davinci

[PATCH v4 1/2 (REPOST)] davinci: am18x/da850/omap-l138: add support for higher speed grades

2010-12-20 Thread Sekhar Nori
informs the maximum speed grade information to the SoC by calling the da850_set_max_speed() function. Signed-off-by: Sekhar Nori nsek...@ti.com --- re-posting with linux-arm-kernel included in CC. arch/arm/mach-davinci/da850.c | 75 ++-- arch/arm/mach-davinci

[PATCH v4 2/2 (REPOST)] davinci: am18x/da850/omap-l138 evm: add support for higher speed grades

2010-12-20 Thread Sekhar Nori
this information to pass on the speed grade information to the SoC code. Signed-off-by: Sekhar Nori nsek...@ti.com --- re-posting with linux-arm-kernel included in CC. arch/arm/mach-davinci/board-da850-evm.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git

[PATCH v5 1/2] davinci: am18x/da850/omap-l138: add support for higher speed grades

2010-12-20 Thread Sekhar Nori
informs the maximum speed grade information by setting the da850_max_speed variable. Signed-off-by: Sekhar Nori nsek...@ti.com --- Since v4, the patch decription has been updated to match the code. No code change has been made. arch/arm/mach-davinci/da850.c | 75

[PATCH v4 2/2] davinci: am18x/da850/omap-l138 evm: add support for higher speed grades

2010-12-20 Thread Sekhar Nori
this information to pass on the speed grade information to the SoC code. Signed-off-by: Sekhar Nori nsek...@ti.com --- No change in version since last post. arch/arm/mach-davinci/board-da850-evm.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH v4 2/2] davinci: am18x/da850/omap-l138 evm: add support for higher speed grades

2010-12-09 Thread Sekhar Nori
this information to pass on the speed grade information to the SoC code. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm

[PATCH v4 1/2] davinci: am18x/da850/omap-l138: add support for higher speed grades

2010-12-09 Thread Sekhar Nori
informs the maximum speed grade information to the SoC by calling the da850_set_max_speed() function. Signed-off-by: Sekhar Nori nsek...@ti.com --- Since v3: Fixed pre-div and post-div for 372MHz OPP based on PLLOUT range limitations documented in OMAP-L138 datasheet. AM1808 datasheet will be updated

[PATCH v3 1/2] davinci: am18x/da850/omap-l138: add support for higher speed grades

2010-12-02 Thread Sekhar Nori
informs the maximum speed grade information to the SoC by calling the da850_set_max_speed() function. Signed-off-by: Sekhar Nori nsek...@ti.com --- Since v2, fixed comments from Sergei here: https://patchwork.kernel.org/patch/366501/ arch/arm/mach-davinci/da850.c | 72

[PATCH v3 2/2] davinci: am18x/da850/omap-l138 evm: add support for higher speed grades

2010-12-02 Thread Sekhar Nori
this information to pass on the speed grade information to the SoC code. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 25 +++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm

[PATCH v2 2/2] davinci: am18x/da850/omap-l138 evm: add support for higher speed grades

2010-11-30 Thread Sekhar Nori
this information to pass on the speed grade information to the SoC code. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 17 - 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach

[PATCH v2 1/2] davinci: am18x/da850/omap-l138: add support for higher speed grades

2010-11-30 Thread Sekhar Nori
informs the maximum speed grade information to the SoC by calling the da850_set_max_speed() function. Signed-off-by: Sekhar Nori nsek...@ti.com --- v1 of this patch was posted back in July[1]. Since then U-Boot has gained support to specify silicon speed grade using ATAG_REVISION[2]. v2 of the patch

[PATCH 05/49] spi: davinci: remove unnecessary typecast

2010-11-17 Thread Sekhar Nori
The typecasting of SPI base address to davinci_spi_reg is unused. Remove it. Tested-By: Michael Williamson michael.william...@criticallink.com Tested-By: Brian Niebuhr bnieb...@efjohnson.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |3 +-- 1 files changed, 1

[PATCH 00/49] spi: davinci: re-write existing driver

2010-11-17 Thread Sekhar Nori
on per-device basis spi: davinci: remove non-useful clk_internal platform data spi: davinci: enable and power-up SPI only when required spi: davinci: setup the driver owner spi: davinci: add additional comments spi: davinci: add EF Johnson Technologies copyright Sekhar Nori (7): spi

[PATCH 04/49] spi: davinci: removed unused #defines

2010-11-17 Thread Sekhar Nori
Remove unused defines from code which should help in easy reading of code. Also, use the opportuinity to keep the SPIGCR1 register defines together. Tested-By: Michael Williamson michael.william...@criticallink.com Tested-By: Brian Niebuhr bnieb...@efjohnson.com Signed-off-by: Sekhar Nori nsek

[PATCH 01/49] spi: davinci: fix checkpatch errors

2010-11-17 Thread Sekhar Nori
michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index b85090c..6b04762 100644 --- a/drivers/spi/davinci_spi.c +++ b

[PATCH 02/49] spi: davinci: whitespace cleanup

2010-11-17 Thread Sekhar Nori
From: Brian Niebuhr bnieb...@efjohnson.com Cleanup unnecessary white space from various parts of the file. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi

[PATCH 08/49] spi: davinci: remove unnecessary data transmit on CS disable

2010-11-17 Thread Sekhar Nori
-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 20 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 105c686..82dddf8

[PATCH 11/49] spi: davinci: remove 'wait_enable' platform data member

2010-11-17 Thread Sekhar Nori
method of indicating this capability. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/spi.h |1 - drivers/spi/davinci_spi.c|2

[PATCH 07/49] spi: davinci: enable both activation and deactivation of chip-selects

2010-11-17 Thread Sekhar Nori
michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm355.c|1 - arch/arm/mach-davinci/dm365.c|1 - arch/arm/mach-davinci/include/mach/spi.h |1 - drivers/spi/davinci_spi.c| 53

[PATCH 12/49] spi: davinci: make chip-slect specific parameters really chip-select specific

2010-11-17 Thread Sekhar Nori
can be passed along using controller_data member of spi_device data structure on a per-device basis. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm355.c

[PATCH 15/49] spi: davinci: add support for wait enable timeouts

2010-11-17 Thread Sekhar Nori
...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/spi.h |2 + drivers/spi/davinci_spi.c| 36 ++--- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/spi.h b

[PATCH 13/49] spi: davinci: consolidate setup of SPIFMTn in one function

2010-11-17 Thread Sekhar Nori
-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 154 ++-- 1 files changed, 49 insertions(+), 105 deletions(-) diff --git

[PATCH 14/49] spi: davinci: setup chip-select timers values only if timer enabled

2010-11-17 Thread Sekhar Nori
...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 21 - 1 files changed, 4 insertions(+), 17 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi

[PATCH 16/49] spi: davinci: remove unused members of davinci_spi_slave

2010-11-17 Thread Sekhar Nori
From: Brian Niebuhr bnieb...@efjohnson.com Several members of struct davinci_spi_slave are unused in code. Remove such members. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com

[PATCH 20/49] spi: davinci: check for NULL buffer pointer before using it

2010-11-17 Thread Sekhar Nori
Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 40 ++-- 1 files changed, 22 insertions(+), 18 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi

[PATCH 23/49] spi: davinci: do not treat Tx interrupt being set as error

2010-11-17 Thread Sekhar Nori
-By: Michael Williamson michael.william...@criticallink.com Tested-By: Brian Niebuhr bnieb...@efjohnson.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi

[PATCH 21/49] spi: davinci: remove unnecessary disable of SPI

2010-11-17 Thread Sekhar Nori
...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 10b0a08..1169e8e 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c

[PATCH 10/49] spi: davinci: simplify prescalar calculation

2010-11-17 Thread Sekhar Nori
...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 53 ++-- 1 files changed, 31 insertions(+), 22 deletions(-) diff --git a/drivers/spi/davinci_spi.c b

[PATCH 25/49] spi: davinci: remove non-useful interrupt mode support

2010-11-17 Thread Sekhar Nori
this fake interrupt mode since users can anyway use poll mode with no functional difference. A usefully implemented interrupt mode support can be added later. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar

[PATCH 19/49] spi: davinci: simplify calculation of edma acount value

2010-11-17 Thread Sekhar Nori
-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 25 +++-- 1 files changed, 3 insertions(+), 22 deletions(-) diff --git a/drivers/spi/davinci_spi.c

[PATCH 17/49] spi: davinci: eliminate the single member structure davinci_spi_slave

2010-11-17 Thread Sekhar Nori
-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 14 +- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 31b9c22..3dac2038 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi

[PATCH 24/49] spi: davinci: remove unnecessary completion variable initialization

2010-11-17 Thread Sekhar Nori
-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index a60a65c..54d06f4 100644 --- a/drivers

[PATCH 28/49] spi: davinci: configure the invariable bits in spipc0 only once

2010-11-17 Thread Sekhar Nori
...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 45cc1a7..6f279c5 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi

[PATCH 32/49] spi: davinci: always start transmit DMA

2010-11-17 Thread Sekhar Nori
-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm355.c|1 + arch/arm/mach-davinci/include/mach/spi.h |1 + drivers/spi/davinci_spi.c| 22 +- 3 files changed, 11

[PATCH 34/49] spi: davinci: always start receive DMA

2010-11-17 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 70 +++-- 1 files changed, 42 insertions(+), 28 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index f512939..705d006 100644 --- a/drivers/spi/davinci_spi.c +++ b

[PATCH 29/49] spi: davinci: remove unnecessary function davinci_spi_bufs_prep()

2010-11-17 Thread Sekhar Nori
...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 64 ++-- 1 files changed, 21 insertions(+), 43 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 6f279c5..05b6145 100644 --- a/drivers/spi

[PATCH 36/49] spi: davinci: fix DMA event generation stoppage

2010-11-17 Thread Sekhar Nori
michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 18 +++--- 1 files changed, 3 insertions(+), 15 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 67f1e46..9695f98 100644 --- a/drivers/spi

[PATCH 30/49] spi: davinci: remove unnecessary call to davinci_spi_setup_transfer()

2010-11-17 Thread Sekhar Nori
the transfer before it begins. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 11 +++ 1 files changed, 3 insertions(+), 8 deletions(-) diff --git

[PATCH 42/49] spi: davinci: remove non-useful clk_internal platform data

2010-11-17 Thread Sekhar Nori
...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/dm355.c|1 - arch/arm/mach-davinci/dm365.c|1 - arch/arm/mach-davinci/include/mach/spi.h |1 - drivers/spi

[PATCH 35/49] spi: davinci: use edma_write_slot() to setup EDMA PaRAM slot

2010-11-17 Thread Sekhar Nori
Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 34 +++--- 1 files changed, 19 insertions(+), 15 deletions(-) diff --git a/drivers/spi/davinci_spi.c b

[PATCH 40/49] spi: davinci: remove usage of additional completion variables for DMA

2010-11-17 Thread Sekhar Nori
michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 58 +--- 1 files changed, 23 insertions(+), 35 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index a47947d..6094e3a

[PATCH 38/49] spi: davinci: fix EDMA CC errors at end of transfers

2010-11-17 Thread Sekhar Nori
michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 28 +--- 1 files changed, 25 insertions(+), 3 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 6db4786..975c2a2 100644

[PATCH 45/49] spi: davinci: add additional comments

2010-11-17 Thread Sekhar Nori
Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/spi.h | 32 ++ drivers/spi/davinci_spi.c|7 ++ 2 files changed, 39 insertions(+), 0 deletions(-) diff --git a/arch/arm

[PATCH 43/49] spi: davinci: enable and power-up SPI only when required

2010-11-17 Thread Sekhar Nori
From: Brian Niebuhr bnieb...@efjohnson.com Enable SPI only when active transfers are in progress. Keep it in local low power when not in use. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek

[PATCH 39/49] spi: davinci: handle DMA completion errors correctly

2010-11-17 Thread Sekhar Nori
-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 63 +--- 1 files changed, 36 insertions(+), 27 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c

[PATCH 49/49] spi: davinci: kconfig: add manufacturer name to prompt string

2010-11-17 Thread Sekhar Nori
...@efjohnson.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/Kconfig |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 78f9fd0..a32796e 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -111,11

[PATCH 46/49] spi: davinci: add EF Johnson Technologies copyright

2010-11-17 Thread Sekhar Nori
From: Brian Niebuhr bnieb...@efjohnson.com Add copyright for EF Johnson Technologies since the driver has been majorly overhauled by Brian. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |1 + 1 files changed, 1

[PATCH 33/49] spi: davinci: do not use temporary buffer if no transmit data provided

2010-11-17 Thread Sekhar Nori
when no real data is being transmitted. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 52 ++-- 1 files changed

[PATCH 22/49] spi: davinci: remove unnecessary 'count' variable in driver private data

2010-11-17 Thread Sekhar Nori
...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 1169e8e..ad814f2 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi

[PATCH 47/49] spi: davinci: remove unnecessary private data member 'region_size'

2010-11-17 Thread Sekhar Nori
Remove unnecesary private data member 'region_size' being used to store the size of SPI memory region. Instead, get the memory resource size directly from the platform data. Tested-By: Brian Niebuhr bnieb...@efjohnson.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c

[PATCH 27/49] spi: davinci: add support for interrupt mode

2010-11-17 Thread Sekhar Nori
consolidate the code between interrupt mode processing and polled mode processing. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/spi.h |4

[PATCH 48/49] spi: davinci: shorten variable names

2010-11-17 Thread Sekhar Nori
is already called 'davinci_spi_dma' * 'davinci_spi_dma' in 'davinci_spi' structure is being renamed 'dma' Tested-By: Brian Niebuhr bnieb...@efjohnson.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 409 ++--- 1 files changed, 198

[PATCH 31/49] spi: davinci: do not store DMA channel information per chip select

2010-11-17 Thread Sekhar Nori
Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 47 +--- 1 files changed, 18 insertions(+), 29 deletions(-) diff --git a/drivers/spi

[PATCH 41/49] spi: davinci: let DMA operation be specified on per-device basis

2010-11-17 Thread Sekhar Nori
. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/spi.h |1 + drivers/spi/davinci_spi.c| 342 ++ 2 files

[PATCH 18/49] spi: davinci: eliminate unnecessary update of davinci_spi-count

2010-11-17 Thread Sekhar Nori
-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 3dac2038..f1c3502 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -726,9

[PATCH 09/49] spi: davinci: enable GPIO lines to be used as chip selects

2010-11-17 Thread Sekhar Nori
to treat specific GPIO lines as chip selects based on information provided in platform data. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/include/mach/spi.h |3

[PATCH 06/49] spi: davinci: set chip-select mode in SPIDEF only once

2010-11-17 Thread Sekhar Nori
-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 76decda..d6b6a49 100644

[PATCH 26/49] spi: davinci: simplify poll mode transfers

2010-11-17 Thread Sekhar Nori
...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/spi/davinci_spi.c | 96 +++-- 1 files changed, 41 insertions(+), 55 deletions(-) diff --git a/drivers/spi/davinci_spi.c b

[PATCH 03/49] spi: davinci: remove unused variable 'pdata'

2010-11-17 Thread Sekhar Nori
From: Brian Niebuhr bnieb...@efjohnson.com The 'pdata' variable is unused in couple of routines. Remove such occurences. Signed-off-by: Brian Niebuhr bnieb...@efjohnson.com Tested-By: Michael Williamson michael.william...@criticallink.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers

[PATCH] davinci: mityomapl138: make file local data static

2010-10-11 Thread Sekhar Nori
Most of the regulator data structures are local to the board file, but not made static. Fix this. Also make the nand partition table static. This gets rid of all the sparse warnings for this file. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-mityomapl138.c | 14

[PATCH v2 RESEND] rtc: omap: let device wakeup capability be configured from chip init logic

2010-08-27 Thread Sekhar Nori
the wakeup capability to 0 by default. Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Kevin Hilman khil...@deeprootsystems.com --- Resending this patch since it was not merged anywhere. The previous discussion on this patch is here: http://groups.google.com/group/rtc-linux/browse_thread

[PATCH] davinci: dm365 evm: use EDMAQ_3 as the audio DMA queue

2010-08-27 Thread Sekhar Nori
to EDMAQ_3. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm365-evm.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index 5bb86b2..60c59dd 100644 --- a/arch/arm

[PATCH 0/6] davinci: add support for aemif timing configuration

2010-08-09 Thread Sekhar Nori
/nand/davinci_nand.c file along with other arch specific files. Based on the discussion on DaVinci list, Kevin is OK to merge this with your agreement. Please let us know how to proceed. Sekhar Nori (5): davinci: add support for aemif timing configuration nand: davinci: add support

[PATCH 4/6] davinci: am17x/da830/omap-l137 evm: setup NAND flash timing

2010-08-09 Thread Sekhar Nori
write and 5.1 MB/s read. [Mukul Bhatnagar: actual calculation of timing values from the NAND datasheet] Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Cc: Mukul Bhatnagar mbhatna...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com Acked-by: Kevin Hilman khil...@deeprootsystems.com

[PATCH v2 6/6] davinci: dm6467t evm: setup NAND flash timing

2010-08-09 Thread Sekhar Nori
Setup NAND flash timing on DM6467T EVM. Without the timing setup, the NAND flash on DM6467T RevC EVM reports a number of random bad blocks because of read errors. Also, with this, copying a 100M file on RevB EVM takes ~35 sec against 1 minute 30 seconds earlier. Signed-off-by: Sekhar Nori nsek

[PATCH 3/6] davinci: dm644x evm: setup NAND flash timing

2010-08-09 Thread Sekhar Nori
file. The values being programmed match what was being done earlier and thus do not represent any change in performance/functionality. Signed-off-by: Sekhar Nori nsek...@ti.com Acked-by: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-davinci/board-dm644x-evm.c | 12 1

[PATCH v2 2/6] nand: davinci: add support for timing configuration

2010-08-09 Thread Sekhar Nori
transtitions. This patch forms the basis for adding that support. Signed-off-by: Sekhar Nori nsek...@ti.com Acked-by: Kevin Hilman khil...@deeprootsystems.com --- v2: no need to include aemif.h in nand.c in this patch since patch 1/6 does that now. arch/arm/mach-davinci/include/mach/nand.h |3

[PATCH v3 1/6] davinci: add support for aemif timing configuration

2010-08-09 Thread Sekhar Nori
and cannot be upgraded because the box is already in the field. Since there is now a header file for AEMIF interface, the common (non-NAND specific) defines for AEMIF registers have been moved from nand.h into the newly created aemif.h Signed-off-by: Sekhar Nori nsek...@ti.com Acked-by: Kevin Hilman

[PATCH 5/6] davinci: am18x/da850/omap-l138 evm: setup NAND flash timing

2010-08-09 Thread Sekhar Nori
calculation of timing values from the NAND datasheet] Signed-off-by: Sekhar Nori nsek...@ti.com Cc: Mukul Bhatnagar mbhatna...@ti.com Acked-by: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-davinci/board-da850-evm.c | 12 1 files changed, 12 insertions(+), 0 deletions

[PATCH 2/4] davinci: clock: add support for setting sysclk rate

2010-07-20 Thread Sekhar Nori
. This patch has been tested on OMAP-L138. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/clock.c | 73 + arch/arm/mach-davinci/clock.h |5 +++ 2 files changed, 78 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/clock.c

[PATCH 1/4] davinci: cpufreq: bailout on regulator errors

2010-07-20 Thread Sekhar Nori
this by not increasing frequency in case increasing voltage is not successful. Also, do not lower the voltage if changing the cpu frequency has failed for some reason. Note that we do not return error on failure to decrease voltage as that is not a hard error. Signed-off-by: Sekhar Nori nsek...@ti.com

[PATCH 3/4] davinci: cpufreq: add support for keeping an additional clock constant

2010-07-20 Thread Sekhar Nori
that the EMIF timings need not be re-programmed whenever the CPU frequency changes. This patch adds the required suppport to cpufreq driver. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/cpufreq.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions

[PATCH 4/4] davinci: am18x/da850/omap-l138: keep async clock constant with cpufreq

2010-07-20 Thread Sekhar Nori
Keep PLL0 SYSCLK3 at a constant rate of 100MHz. This enables the AEMIF timing to remain valid even as the PLL0 output is changed by cpufreq driver to save power. Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c|2 +- arch/arm/mach-davinci/da850.c

[PATCH v2] asoc: davinci: let platform data define edma queue numbers

2010-07-19 Thread Sekhar Nori
tested on DM644x and OMAP-L138 EVMs. Signed-off-by: Sekhar Nori nsek...@ti.com Acked-by: Liam Girdwood l...@slimlogic.co.uk --- This patch applies to for-2.6.36 branch of ASoC tree. v2: same as v1 except rebased to branch/tree noted above. arch/arm/mach-davinci/board-da830-evm.c |2 +- arch

[PATCH] asoc: davinci: let platform data define edma queue numbers

2010-07-15 Thread Sekhar Nori
tested on DM644x and OMAP-L138 EVMs. Signed-off-by: Sekhar Nori nsek...@ti.com --- This patch applies to latest of Linus's tree. arch/arm/mach-davinci/board-da830-evm.c |2 +- arch/arm/mach-davinci/board-da850-evm.c |2 +- arch/arm/mach-davinci/board-dm646x-evm.c |4 ++-- arch/arm

[PATCH] davinci: dm365: disable pulldowns for all MMC/SD1 pins.

2010-07-14 Thread Sekhar Nori
...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/devices.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 8b7201e..2a9a252 100644 --- a/arch/arm/mach-davinci/devices.c +++ b

[PATCH] davinci: dm365: disable pulldowns for all MMC/SD1 pins.

2010-07-14 Thread Sekhar Nori
...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/devices.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 8b7201e..2a9a252 100644 --- a/arch/arm/mach-davinci/devices.c +++ b

[PATCH 1/2] regulator: tps6507x: allow driver to use DEFDCDC{2, 3}_HIGH register

2010-07-12 Thread Sekhar Nori
...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com --- drivers/regulator/tps6507x-regulator.c | 36 +-- include/linux/regulator/tps6507x.h | 32 2 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 include/linux

[PATCH 2/2] davinci: da850/omap-l138 evm: account for DEFDCDC{2, 3} being tied high

2010-07-12 Thread Sekhar Nori
-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 2ec3095..0c436c9 100644 --- a/arch/arm/mach-davinci/board

<    2   3   4   5   6   7   8   9   >