Re: Porting Android on dm6467 evm

2012-10-04 Thread Sekhar Nori
Hi yogesh, On 10/4/2012 7:39 AM, yogesh Parmar wrote: Hi, I would like to port the android on dm6467 evm board. Can anyone suggest which android kernel I should use for the same? I don't know of any android kernel for DM6467. DM6467 does not have a GPU. Based on what I have heard,

Re: [PATCH] media: davinci: vpif: Add return code check at vb2_queue_init()

2012-10-04 Thread Hans Verkuil
Hi Prabhakar, I think this introduces a memory leak, see my comments below. On Wed 3 October 2012 15:42:29 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com from commit with id 896f38f582730a19eb49677105b4fe4c0270b82e it's mandatory to check the return code of vb2_queue_init().

Re: [PATCH v2] media: davinci: vpif: set device capabilities

2012-10-04 Thread Hans Verkuil
On Tue 25 September 2012 16:21:55 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com set device_caps and also change the driver and bus_info to proper values as per standard. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

Re: [alsa-devel] [PATCH 2/3] ASoC: Davinci: pcm: add support for sram-support-less platforms

2012-10-04 Thread Daniel Mack
On 02.10.2012 18:50, Daniel Mack wrote: On 02.10.2012 18:41, Matt Porter wrote: On Tue, Oct 02, 2012 at 03:42:47PM +0200, Daniel Mack wrote: On 02.10.2012 13:06, Sekhar Nori wrote: On 10/2/2012 4:03 PM, Daniel Mack wrote: On 02.10.2012 11:37, Mark Brown wrote: On Tue, Oct 02, 2012 at

[PATCH v2] media: davinci: vpif: Add return code check at vb2_queue_init()

2012-10-04 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com from commit with id 896f38f582730a19eb49677105b4fe4c0270b82e it's mandatory to check the return code of vb2_queue_init(). Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Hans Verkuil

[PATCH v3] media: davinci: vpif: set device capabilities

2012-10-04 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com set device_caps and also change the driver and bus_info to proper values as per standard. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Hans Verkuil hans.verk...@cisco.com --- Changes for

Re: [PATCH v2] media: davinci: vpif: Add return code check at vb2_queue_init()

2012-10-04 Thread Hans Verkuil
On Thu 4 October 2012 11:29:57 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com from commit with id 896f38f582730a19eb49677105b4fe4c0270b82e it's mandatory to check the return code of vb2_queue_init(). Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath

Re: [PATCH v3] media: davinci: vpif: set device capabilities

2012-10-04 Thread Hans Verkuil
On Thu 4 October 2012 11:29:58 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com set device_caps and also change the driver and bus_info to proper values as per standard. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc:

Re: [alsa-devel] [PATCH 2/3] ASoC: Davinci: pcm: add support for sram-support-less platforms

2012-10-04 Thread Porter, Matt
On Oct 4, 2012, at 5:21 AM, Daniel Mack wrote: On 02.10.2012 18:50, Daniel Mack wrote: On 02.10.2012 18:41, Matt Porter wrote: On Tue, Oct 02, 2012 at 03:42:47PM +0200, Daniel Mack wrote: On 02.10.2012 13:06, Sekhar Nori wrote: On 10/2/2012 4:03 PM, Daniel Mack wrote: On 02.10.2012

Re: [alsa-devel] [PATCH 2/3] ASoC: Davinci: pcm: add support for sram-support-less platforms

2012-10-04 Thread Daniel Mack
On 04.10.2012 11:38, Porter, Matt wrote: On Oct 4, 2012, at 5:21 AM, Daniel Mack wrote: On 02.10.2012 18:50, Daniel Mack wrote: On 02.10.2012 18:41, Matt Porter wrote: On Tue, Oct 02, 2012 at 03:42:47PM +0200, Daniel Mack wrote: On 02.10.2012 13:06, Sekhar Nori wrote: On 10/2/2012 4:03

[GIT PULL FOR v3.7] Davinci VPIF driver cleanup

2012-10-04 Thread Prabhakar Lad
Hi Mauro, Can you please pull the following patches for davinci VPIF driver. There are patches which affect davinci platform code, on top of which cleanup was done, So to avoid conflicts these patches need to go through media tree. Patches affecting davinci platform code have been Acked by

[PATCH 1/2] ASoC: davinci: replace private sram api with genalloc

2012-10-04 Thread Matt Porter
Removes the DaVinci private SRAM API and replaces it with the genalloc API. The SRAM gen_pool is passed in pdata since DaVinci is in the early stages of DT conversion. Signed-off-by: Matt Porter mpor...@ti.com --- include/linux/platform_data/davinci_asp.h |3 +++

[PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-04 Thread Matt Porter
This series converts davinci ASoC to use genalloc and enables that support on DA850. It applies on top of the uio_pruss/genalloc series [1] which allows DaVinci to provide a gen_pool via pdata for driver use. I've tested this on the AM180x EVM. Note that prior to this, the SRAM paths in the

[PATCH 2/2] ARM: davinci: enable SRAM ping ping buffering on DA850

2012-10-04 Thread Matt Porter
Passes the DA850 shared SRAM gen_pool to the McASP driver and enables the ping-pong buffer DMA support. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/mach-davinci/board-da850-evm.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git

Re: [alsa-devel] [PATCH 2/3] ASoC: Davinci: pcm: add support for sram-support-less platforms

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 11:57:30AM +0200, Daniel Mack wrote: On 04.10.2012 11:38, Porter, Matt wrote: On Oct 4, 2012, at 5:21 AM, Daniel Mack wrote: On 02.10.2012 18:50, Daniel Mack wrote: On 02.10.2012 18:41, Matt Porter wrote: On Tue, Oct 02, 2012 at 03:42:47PM +0200, Daniel

is the TI1808 considered a DaVinci?

2012-10-04 Thread Chris Gray
I'm a little confused with the system type for the AM1808 processor - in the past I'd been using a kernel with the 'DaVinci' designation for the 1808 as I believe they shared a similar code base that was a while back however and I'm looking to update to the latest stable linux kernel I have a

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Philipp Zabel
Hi Matt, On 10/3/12, Matt Porter mpor...@ti.com wrote: This series enables uio_pruss on DA850 and removes use of the private SRAM API by the driver. The driver previously was not enabled by any platform and the private SRAM API was accessing an invalid SRAM bank. have you seen my SRAM patch

Re: is the TI1808 considered a DaVinci?

2012-10-04 Thread Matt Porter
On Tue, Oct 02, 2012 at 09:49:03AM -0700, Chris Gray wrote: I'm a little confused with the system type for the AM1808 processor - in the past I'd been using a kernel with the 'DaVinci' designation for the 1808 as I believe they shared a similar code base that was a while back however and I'm

Re: is the TI1808 considered a DaVinci?

2012-10-04 Thread Christian Riesch
On Tue, Oct 2, 2012 at 6:49 PM, Chris Gray chg...@gmail.com wrote: I'm a little confused with the system type for the AM1808 processor - in the past I'd been using a kernel with the 'DaVinci' designation for the 1808 as I believe they shared a similar code base that was a while back however

Re: [alsa-devel] [PATCH 2/3] ASoC: Davinci: pcm: add support for sram-support-less platforms

2012-10-04 Thread Daniel Mack
On 04.10.2012 12:28, Matt Porter wrote: On Thu, Oct 04, 2012 at 11:57:30AM +0200, Daniel Mack wrote: On 04.10.2012 11:38, Porter, Matt wrote: On Oct 4, 2012, at 5:21 AM, Daniel Mack wrote: On 02.10.2012 18:50, Daniel Mack wrote: On 02.10.2012 18:41, Matt Porter wrote: On Tue, Oct 02,

Re: [PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-04 Thread Sekhar Nori
On 10/3/2012 8:25 PM, Matt Porter wrote: From: Ben Gardiner bengardi...@nanometrics.ca The current davinci init sets up SRAM in iotables. There has been an observed failure to boot a da850 with 128K specified in the iotable. Make the davinci sram allocator -- now based on RMK's

Re: [PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-04 Thread Sekhar Nori
On 10/3/2012 8:25 PM, Matt Porter wrote: From: Ben Gardiner bengardi...@nanometrics.ca The sram regions defined for da850-dm646x in their iotable entries are also defined in their davinci_soc_info's. Remove this duplicate information which is now uneccessary since sram init will ioremap

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Sekhar Nori
Matt, On 10/3/2012 8:25 PM, Matt Porter wrote: From: Subhasish Ghosh subhas...@mistralsolutions.com This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh subhas...@mistralsolutions.com [rebased onto consolidated SRAM patches]

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Sekhar Nori
On 10/3/2012 8:25 PM, Matt Porter wrote: Adds PRUSS clock, registers the L3RAM pool, and registers the platform device for uio_pruss on DA850. Signed-off-by: Matt Porter mpor...@ti.com I am interested in knowing how this patch was tested. --- arch/arm/mach-davinci/board-da850-evm.c|

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: Hi Matt, On 10/3/12, Matt Porter mpor...@ti.com wrote: This series enables uio_pruss on DA850 and removes use of the private SRAM API by the driver. The driver previously was not enabled by any platform and the private SRAM

Re: [PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:18:41PM +0530, Sekhar Nori wrote: On 10/3/2012 8:25 PM, Matt Porter wrote: From: Ben Gardiner bengardi...@nanometrics.ca The current davinci init sets up SRAM in iotables. There has been an observed failure to boot a da850 with 128K specified in the iotable.

Re: [PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:23:34PM +0530, Sekhar Nori wrote: On 10/3/2012 8:25 PM, Matt Porter wrote: From: Ben Gardiner bengardi...@nanometrics.ca The sram regions defined for da850-dm646x in their iotable entries are also defined in their davinci_soc_info's. Remove this duplicate

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Sekhar Nori
On 10/4/2012 6:12 PM, Matt Porter wrote: On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: Hi Matt, On 10/3/12, Matt Porter mpor...@ti.com wrote: This series enables uio_pruss on DA850 and removes use of the private SRAM API by the driver. The driver previously was not enabled

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:27:23PM +0530, Sekhar Nori wrote: Matt, On 10/3/2012 8:25 PM, Matt Porter wrote: From: Subhasish Ghosh subhas...@mistralsolutions.com This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: On 10/3/2012 8:25 PM, Matt Porter wrote: Adds PRUSS clock, registers the L3RAM pool, and registers the platform device for uio_pruss on DA850. Signed-off-by: Matt Porter mpor...@ti.com I am interested in knowing how this

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 06:24:56PM +0530, Sekhar Nori wrote: On 10/4/2012 6:12 PM, Matt Porter wrote: On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: Hi Matt, On 10/3/12, Matt Porter mpor...@ti.com wrote: This series enables uio_pruss on DA850 and removes use of the

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Philipp Zabel
On Thu, Oct 04, 2012 at 08:42:53AM -0400, Matt Porter wrote: I think the generic SRAM/genalloc driver (https://lkml.org/lkml/2012/9/7/282) could be useful to map the L3RAM on Davinci. With the gen_pool lookup patch (https://lkml.org/lkml/2012/9/7/284) the uio_pruss driver could then use

Re: [PATCH] ARM: davinci: dm644x: fix out range signal for ED

2012-10-04 Thread Prabhakar Lad
Sekhar On Thu, Oct 4, 2012 at 12:43 PM, Sekhar Nori nsek...@ti.com wrote: On 10/4/2012 10:22 AM, Prabhakar Lad wrote: Hi Sekhar, On Wed, Oct 3, 2012 at 4:08 PM, Sekhar Nori nsek...@ti.com wrote: On 10/3/2012 12:05 PM, Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com while

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 03:35:53PM +0200, Philipp Zabel wrote: On Thu, Oct 04, 2012 at 08:42:53AM -0400, Matt Porter wrote: I think the generic SRAM/genalloc driver (https://lkml.org/lkml/2012/9/7/282) could be useful to map the L3RAM on Davinci. With the gen_pool lookup patch

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Philipp Zabel
On Thu, Oct 04, 2012 at 09:54:33AM -0400, Matt Porter wrote: *sigh*, I see now. I looked at v2 and got wrapped up in the DT use case and missed your platform device support. I think it will work just fine for us to use in a phase 2 of this work, replacing the backend of davinci sram allocation

[PATCH v1] DaVinci: dm365: added sdram dma clock divide ratio management

2012-10-04 Thread Davide Bonfanti
This patch applies to: v2.6.32.17-6450-g6725c92 commit 74f19831af149656f705b3b8a8c32bdf8c1c74fb The CLKDIV register is then used to select a divide ratio of the SDRAM(DMA) clock for the pixel clock frequency which is used to clock the data into the PCLK. The CLKDIV register is then used to select

[PATCH v4] Enable USB peripheral on dm365 EVM

2012-10-04 Thread Constantine Shulyupin
From: Constantine Shulyupin co...@makelinux.com Signed-off-by: Constantine Shulyupin co...@makelinux.com --- Note: USBPHY_CTL_PADDR and USBPHY_CLKFREQ_24MHZ are defined in board-dm365-evm.c because davinci.h can't be included from drivers/usb/musb/. May be davinci.h should be renamed and

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: On 10/3/2012 8:25 PM, Matt Porter wrote: +static struct clk pruss_clk = { + .name = pruss, + .parent = pll0_sysclk2, + .lpsc = DA8XX_LPSC0_PRUSS, +}; + static struct clk uart0_clk = {

Re: [PATCH v4] Enable USB peripheral on dm365 EVM

2012-10-04 Thread Greg KH
On Thu, Oct 04, 2012 at 06:22:33PM +0200, Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Signed-off-by: Constantine Shulyupin co...@makelinux.com --- Note: USBPHY_CTL_PADDR and USBPHY_CLKFREQ_24MHZ are defined in board-dm365-evm.c because davinci.h can't

Re: [alsa-devel] [PATCH 0/3] ASoC: Davinci: McASP: add support new McASP IP Variant

2012-10-04 Thread Matt Porter
On Wed, Oct 03, 2012 at 04:07:41PM +0200, Daniel Mack wrote: On 03.10.2012 14:57, Hebbar, Gururaja wrote: On Wed, Oct 03, 2012 at 16:46:39, Daniel Mack wrote: On 03.10.2012 09:16, Hebbar, Gururaja wrote: On Wed, Oct 03, 2012 at 03:58:45, Daniel Mack wrote: On 31.08.2012 14:50, Hebbar,

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:27:23PM +0530, Sekhar Nori wrote: Matt, On 10/3/2012 8:25 PM, Matt Porter wrote: From: Subhasish Ghosh subhas...@mistralsolutions.com This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh

Re: [PATCH RFC] media: v4l2-ctrl: Add digital gain controls

2012-10-04 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Monday 01 October 2012 19:33:39 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com add support for per color component digital gain controls and also their corresponding offset. Signed-off-by: Lad, Prabhakar prabhakar@ti.com

[PATCH 1/1] Changed pr_warning() to pr_warn()

2012-10-04 Thread Robert Tivy
From: Robert Tivy rt...@ti.com According to checkpatch.pl, source code should use pr_warn instead of pr_warning. Signed-off-by: Robert Tivy rt...@ti.com --- Clean up files that will be otherwise modified in subsequent patch. Applies to v3.5 tag (commit 28a33cbc24e4256c143dce96c7d93bf423229f92)

RE: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-04 Thread Hebbar, Gururaja
Matt, On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: Changes since v1: - Replaced uio_pruss private SRAM API use with genalloc - Added DA850 platform device and clock support - Added DA850 L3 RAM gen_pool