ns / API for
1) Setting up a descriptor loading for DMA channel for sg type transfers
2) configuration with linked list elements
3) Starting / pause and resume of the said transfers, query state
4) Clearing the sglist mode
Signed-off-by: Venkatraman S
Signed-off-by: Manjunatha GK
Cc: Benoit
This patch introduces generic way of handling all OMAP DMA
errata's which are applicable for OMAP1 and OMAP2PLUS processors.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap1/dma.c |6
arch/arm/mach-omap2/
d-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap1/Makefile |2 +-
arch/arm/mach-omap1/include/mach/dma.h | 66 +
arch/arm/mach-omap2/Makefile |2 +-
arch/arm/mach-omap2/include/mach/dma.h |
This patch introduces OMAP1 DMA driver as platform device
and adds support for registering through platform device
layer.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap1/dma.c | 234
This patch converts omap2/3/4 dma driver into platform
devices through using omap hwmod, omap device and runtime pm
frameworks.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap2/dma.c | 134
This patch adds OMAP2430 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 85
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/arch/arm
This patch adds OMAP3 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 85
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
This patch adds OMAP4430 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 99
1 files changed, 99 insertions(+), 0 deletions(-)
diff --git a/arch/arm
This patch introduces OMAP DMA device attributes for using the same in
DMA platform driver for all OMAP's and HWMOD database(OMAP2PLUS onwards)
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/plat-omap/include/plat/dma.h |
This patch adds OMAP2420 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Santosh Shilimkar
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 85
1 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/arch/arm
27; into pm-wip/hwmods-omap4-base
The earlier version of the patches can be found at:
RFC patches:
http://www.spinics.net/lists/linux-omap/index.html#33393
v1 patches:
http://www.spinics.net/lists/linux-omap/msg34066.html
Patch series summary:
=========
Manjunatha GK (10):
OMAP: DMA
d-am3517evm.c:350:24: warning: symbol
'am3517_evm_dss_device' was not declared. Should it be static?
arch/arm/mach-omap2/board-am3517evm.c:141:17: warning: Initializer entry
defined twice
arch/arm/mach-omap2/board-am3517evm.c:142:18: also defined here
Signed-off-by: Manjunatha GK
Cc: Ton
ns / API for
1) Setting up a descriptor loading for DMA channel for sg type transfers
2) configuration with linked list elements
3) Starting / pause and resume of the said transfers, query state
4) Clearing the sglist mode
Signed-off-by: Venkatraman S
Signed-off-by: Manjunatha GK
---
arch/arm/mach-
This patch converts DMA library into DMA platform driver and make use
of platform data provided by HWMOD data base for OMAP2PLUS onwards.
For OMAP1 processors, the DMA driver in mach-omap uses resource structures
for getting platform data.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap1
This patch converts omap2/3/4 dma driver into platform
devices through using omap hwmod, omap device and runtime pm
frameworks.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap2/dma.c | 134
arch/arm/mach-omap2/include/mach/dma.h | 80
ns / API for
1) Setting up a descriptor loading for DMA channel for sg type transfers
2) configuration with linked list elements
3) Starting / pause and resume of the said transfers, query state
4) Clearing the sglist mode
Signed-off-by: Venkatraman S
Signed-off-by: Manjunatha GK
---
arch/arm/mach-
This patch introduces OMAP1 DMA driver as platform device
and adds support for registering through platform device
layer.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap1/dma.c | 234
arch/arm/mach-omap1/include/mach/dma.h | 80 +++
2
This patch introduces generic way of handling all OMAP DMA
errata's which are applicable for OMAP1 and OMAP2PLUS processors.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap1/dma.c |6
arch/arm/mach-omap2/dma.c | 34 +++
arch/arm
This patches introduces OMAP DMA device attributes for using the same in
DMA platform driver for all OMAP's and HWMOD database(OMAP2PLUS onwards)
Signed-off-by: Manjunatha GK
---
arch/arm/plat-omap/include/plat/dma.h | 22 ++
1 files changed, 22 insertions(+), 0 dele
The OMAP4 hwmod data base is updated with DMA controller attributes.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 19 ++-
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
b/arch/arm
This patch adds OMAP3 DMA hwmod structures.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 89
1 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
b/arch/arm/mach-omap2
This patch adds OMAP2420 DMA hwmod structures.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 89
1 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
b/arch/arm/mach-omap2
This patch adds OMAP2430 DMA hwmod structures.
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 89
1 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c
b/arch/arm/mach-omap2
17:54:37 2010 +0200
OMAP4: hwmod: Enable omap_hwmod build for OMAP4
Patch series summary:
=
Manjunatha GK (10):
OMAP: DMA: Introduce DMA device attributes
OMAP2420: DMA: HWMOD: Add hwmod data structures
OMAP2430: DMA: HWMOD: Add hwmod data structures
OMAP3: DMA:
us.c: In function 'platform_pm_runtime_idle':
arch/arm/mach-omap1/pm_bus.c:72: error: 'ret' undeclared (first use in this
function)
make[1]: *** [arch/arm/mach-omap1/pm_bus.o] Error 1
make: *** [arch/arm/mach-omap1] Error 2
This patch fixes build issues and same has been tested f
ned-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch/arm/mach-omap2/dma.c | 663
arch/arm/mach-omap2/include/mach/dma.h | 27 ++
2 files ch
This patch adds OMAP3 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 90
1 files
This patch introduces OMAP1 DMA driver as platform device
and adds support for registering through platform device
layer.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch/arm
The DMA IRQ handling is completely differnet between
omap1 and omap2 plus processors hence the IRQ handlers are
moved to respective dma.c in mach-omap directories.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh
The OMAP4 hwmod data base is updated with DMA controller attributes.
Also, irq name are changed from 0 to dma_0, 1->dma_1 ... in order provide
meaningful name to irq names.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
This patch converts omap2/3/4 dma driver into platform
devices through using omap hwmod, omap device and runtime pm
frameworks.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch
This patch adds OMAP2430 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 93 +++-
1
void build break.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch/arm/mach-omap1/dma.c | 253 ++
arch/arm/mach-omap2/dm
1. To perform more tests on OMAP4 once the branch is bootable.
2. OMAP2 boot and basic dma tests
It will be helpful is some one tests and provides feedback on OMAP1 and OMAP2
boards since I don't have OMAP1 board.
Manjunatha GK (10):
OMAP2420: DMA: HWMOD: Add hwmod data structures
OMAP243
This patch adds OMAP2420 DMA hwmod structures.
Signed-off-by: Manjunatha GK
Signed-off-by: Basak, Partha
Cc: Benoit Cousson
Cc: Kevin Hilman
Cc: Paul Walmsley
Cc: Santosh Shilimkar
Cc: Rajendra Nayak
---
arch/arm/mach-omap2/omap_hwmod_2420_data.c | 95 +++-
1
From: Satish
The memory allocated for sgt structure is not freed on error
when sg_alloc_table is called in sgtable_alloc().
Signed-off-by: Satish Kumar
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
Cc: vimal singh
---
arch/arm/plat-omap/iovmm.c |4 +++-
1 files changed, 3 insertions
The SGX powervr_device is registered with it's platform specific
data to provide information about setting constraint through
omap_pm_set_min_bus_tput.
Signed-off-by: Preshit Agarwal
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
Cc: Kevin Hilman
Cc: Mike Turquette
Cc: Hemanth V
---
From: Satish
The memory allocated for sgt structure is not freed on error
when sg_alloc_table is called in sg_alloc_table().
Signed-off-by: Satish Kumar
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
---
arch/arm/plat-omap/iovmm.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions
From: Satish
Fix Null pointer check for pointer r in omap2_mcspi_remove() function.
Signed-off-by: Satish Kumar
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
---
drivers/spi/omap2_mcspi.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/spi/omap2_mcspi.c b
From: Satish Kumar
Fix Null pointer check for display pointer in omapfb_blank().
Signed-off-by: Satish Kumar
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
---
drivers/video/omap2/omapfb/omapfb-main.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/video
From: Damodar
This patch corrects Possible memory leak of 'input' allocated
through input_allocate_device and Suspicious dereference of pointer 'pdata'
before NULL check
Signed-off-by: Damodar Santhapuri
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
---
dr
The SGX powervr_device is registered with it's platform specific
data to provide information about setting constraint through
omap_pm_set_min_bus_tput.
Signed-off-by: Preshit Agarwal
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
Cc: Kevin Hilman
Cc: Mike Turquette
Cc: Hemanth V
---
The SGX powervr_device is registered with it's platform specific
data to provide information about setting constraint through
omap_pm_set_min_bus_tput.
Signed-off-by: Preshit Agarwal
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
Cc: Kevin Hilman
Cc: Mike Turquette
Cc: Hemanth V
---
. omap34xx(including omap3630).
Signed-off-by: Manjunatha GK
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
Cc: Nishanth Menon
Cc: Aaro Koskinen
Cc: Tony Lindgren
---
drivers/i2c/busses/i2c-omap.c | 40
1 files changed, 40
The SGX powervr_device is registered with it's platform specific
data to provide information about setting constraint through
omap_pm_set_min_bus_tput.
Signed-off-by: Preshit Agarwal
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
Cc: Kevin Hilman
Cc: Mike Turquette
Cc: Hemanth V
---
ball offset 0x594
mux: Unknown ball offset 0x598
mux: Unknown ball offset 0x59c
mux: Unknown ball offset 0x9d4
Fix this by adding the missing offsets to omap3 superset.
Note that additionally the uninitialized pins need to be
skipped on 34xx.
Reported-by: Manjunatha GK
Signed-off-by: Allen Pais
The SGX powervr_device is registered with it's platform specific
data to provide information about setting constraint through
omap_pm_set_min_bus_tput.
Signed-off-by: Preshit Agarwal
Signed-off-by: Manjunatha GK
Cc: Tony Lindgren
Cc: Kevin Hilman
Cc: Mike Turquette
Cc: Hemanth V
---
Clean up existing Errata 1p153 handling to use generic
errata handling mechanism through dev flag.
Signed-off-by: Manjunatha GK
Cc: linux-...@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Tony Lindgren
Cc: Nishanth Menon
Cc: Alexander Shishkin
---
PS : This patch
This patch updates ES1.1 silicon revision ID for OMAP3630
processor. The silicon revision can be read by reading hawkeye
and revision bits in IDCODE register.
Tested on 3630sdp(with ES1.1 silicon) and Zoom3(with ES1.0) silicon.
Signed-off-by: Manjunatha GK
Cc: Nishanth Menon
Cc: Tony Lindgren
OMAP4.
Signed-off-by: Manjunatha GK
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
Cc: Nishanth Menon
Cc: Aaro Koskinen
Cc: Tony Lindgren
---
drivers/i2c/busses/i2c-omap.c | 40
1 files changed, 40 insertions(+), 0 deletions
OMAP4.
Signed-off-by: Manjunatha GK
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
Cc: Nishanth Menon
Cc: Aaro Koskinen
Cc: Tony Lindgren
---
drivers/i2c/busses/i2c-omap.c | 39 +++
1 files changed, 39 insertions(+), 0 deletions
/opp.h: In function 'opp_find_freq_exact':
arch/arm/plat-omap/include/plat/opp.h:255: error: implicit declaration of
function 'ERR_PTR'
Signed-off-by: Manjunatha GK
Cc: Kevin Hilman
---
arch/arm/plat-omap/include/plat/opp.h |1 +
1 files changed, 1 insertions(+), 0 dele
OMAP4.
Signed-off-by: Manjunatha GK
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
Cc: Nishanth Menon
Cc: Aaro Koskinen
---
drivers/i2c/busses/i2c-omap.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c
OMAP4.
Signed-off-by: Manjunatha GK
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
Cc: Nishanth Menon
---
drivers/i2c/busses/i2c-omap.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/drivers/i2c/busses/i2c-omap.c b
interrupts.
Patch tested on OMAP zoom3 board.
Signed-off-by: Manjunatha GK
Cc: linux-omap@vger.kernel.org
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
Cc: Nishanth Menon
---
Review comments for earlier post can be found at:
https://patchwork.kernel.org/patch/90122
Kanti DebBarma
Cc: Siarhei Siamashka
Cc: Manjunatha GK
---
arch/arm/Kconfig | 59 +++---
arch/arm/oprofile/Makefile|1 +
arch/arm/oprofile/common.c|4 +
arch/arm/oprofile/op_arm_model.h |1 +
arch/arm
interrupts.
Reviewed-by: Kalliguddi, Hema
Signed-off-by: Manjunatha GK
Cc: linux-omap@vger.kernel.org
Cc: linux-...@vger.kernel.org
Cc: ben-li...@fluff.org
Cc: Kalliguddi, Hema
---
drivers/i2c/busses/i2c-omap.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a
d identifier
is reported only once
arch/arm/mach-omap2/clock3xxx_data.c:3564: error: for each function it appears
in.)
make[1]: *** [arch/arm/mach-omap2/clock3xxx_data.o] Error 1
Signed-off-by: Manjunatha GK
---
arch/arm/configs/omap_zoom3_defconfig | 20 ++--
1 files changed
The register DMA4_CDAC needs to be initialized to zero
before starting DMA transfer.
Cc: Tony Lindgren
Cc: Santosh Shilimkar
Cc: Govindraj R
Cc: Kevin Hilman
Reported-by:S, Venkatraman
Signed-off-by: Manjunatha GK
---
It was aligned to reset CDAC to zero in omap_start_dma(int lch)
instead
Multi line comments are fixed as per CodingStyle
guidelines.
Cc: Tony Lindgren
Cc: Kevin Hilman
Signed-off-by: Manjunatha GK
---
arch/arm/plat-omap/dma.c | 18 --
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap
The register DMA4_CDAC needs to be initialized to zero
before starting DMA transfer.
Cc: Tony Lindgren
Cc: Santosh Shilimkar
Cc: Govindraj R
Cc: Kevin Hilman
Reported-by:S, Venkatraman
Signed-off-by: Manjunatha GK
---
It was aligned to reset CDAC to zero in omap_start_dma(int lch)
instead
The register DMA4_CDAC needs to be initialized to zero
before starting DMA transfer.
Cc: Tony Lindgren
Cc: Santosh Shilimkar
Cc: Govindraj R
Cc: Kevin Hilman
Reported-by:S, Venkatraman
Signed-off-by: Manjunatha GK
---
It was aligned to reset CDAC to zero in omap_start_dma(int lch)
instead
The new API - omap_set_dma_dst_pos(int lch, int value) is added
for setting channel destination address in CPC/CDAC register
Cc: Tony Lindgren
Cc: Santosh Shilimkar
Cc: S, Venkatraman
Signed-off-by: Manjunatha GK
Signed-off-by: Govindraj R
---
arch/arm/plat-omap/dma.c | 17
to 3 to prevent
boot up issues until clock nodes are added for UART4 on OMAP3630.
Cc: Tony Lindgren
Cc: Santosh Shilimkar
Signed-off-by: Manjunatha GK
Signed-off-by: Govindraj R
---
arch/arm/mach-omap2/serial.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch
The new API - omap_set_dma_dst_pos(int lch, int value) is added
for setting channel destination address in CPC/CDAC register
Cc: Tony Lindgren
Cc: S, Venkatraman
Signed-off-by: Manjunatha GK
Signed-off-by: Govindraj R
---
arch/arm/plat-omap/dma.c | 17 +
arch
Some of the features are not enabled by default in zoom3 defconfig.
This patch enables:
- MMC Resume
- TWL4030 RTC driver
- Debug File system
Build and boot tested on Zoom3 board.
Signed-off-by: Manjunatha GK
---
arch/arm/configs/omap_zoom3_defconfig |6 +++---
1 files changed, 3
bit until it is set to 1 to
indicate the software reset is complete.
Tested on Zoom2, Zoom3, 3430SDP and 3630SDP
Signed-off-by: Manjunatha GK
Signed-off-by: George, Harith
Acked-by: Varadarajan, Charu Latha
---
v1 : Initital version
v2 : Removed delay since time taken for disabling I2C controller
bit until it is set to 1 to
indicate the software reset is complete.
v1 : Initital version
v2 : Removed delay since time taken for disabling I2C controller is zero
jiffies
Tested on Zoom2 and Zoom3
Signed-off-by: Manjunatha GK
Signed-off-by: George, Harith
---
drivers/i2c/busses/i2c-omap.c
The TWL4030 keypad driver is not enabled by default for zoom2 and zoom3
boards.
This patch will enable the same for both zoom2 and zoom3 boards.
Tested on zoom2(3430) and zoom3(3630) boards.
Signed-off-by: Manjunatha GK
---
arch/arm/configs/omap_zoom2_defconfig |3 ++-
arch/arm/configs
_vmlinux1] Error 1
This patch fixes the above errors.
Kernel booting is tested on omap zoom2 and zoom3 boards.
Review Comments fixed:
http://patchwork.kernel.org/patch/56955/
http://patchwork.kernel.org/patch/56946/
Signed-off-by: Manjunatha GK
---
arch/arm/mach-omap2/pm-debug.c |
70 matches
Mail list logo