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
.
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
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
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
.
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
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
-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
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
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
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
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
.
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
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
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
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
.
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
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
-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
-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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
...@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
-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
...@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
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
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
-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
...@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
...@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
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
-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
-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
-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
...@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
-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
-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
...@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
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
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
...@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
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
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
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
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
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
-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
...@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
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
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
...@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
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
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
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
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
.
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
-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
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
-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
...@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
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
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
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
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
/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
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
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
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
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
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
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
.
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
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
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
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
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
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
...@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
...@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
...@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
-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
601 - 700 of 824 matches
Mail list logo