[PATCH v4 01/11] media: davinci: vpif: remove unwanted header mach/hardware.h and sort the includes alphabetically

2013-06-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" This patch removes unwanted header include of mach/hardware.h and along side sorts the header inclusion alphabetically. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif.c | 10 -- 1 file changed, 4

[PATCH v4 06/11] media: davinci: vpif_capture: Convert to devm_* api

2013-06-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif_capture.c | 36 + 1 file

[PATCH v4 05/11] media: davinci: vpif_capture: use module_platform_driver()

2013-06-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" This patch uses module_platform_driver() to simplify the code. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif_capture.c | 28 + 1 file changed, 1 insertion(+), 27 deletions(-) diff --git

[PATCH v4 10/11] media: davinci: vpif_display: Convert to devm_* api

2013-06-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif_display.c | 35 +++-- 1 file

[PATCH v4 02/11] media: davinci: vpif: Convert to devm_* api

2013-06-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" Use devm_ioremap_resource instead of reques_mem_region()/ioremap(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif.c | 27

[PATCH v4 00/11] media: davinci: vpif driver cleanup

2013-06-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" This patch series cleans the VPIF driver, uses devm_* api wherever required and uses module_platform_driver() to simplify the code. This patch series applies on http://git.linuxtv.org/hverkuil/media_tree.git/ shortlog/refs/heads/for-v3.11 and is tested on OMAP-L138 EVM.

Re: [PATCH v2] ARM: edma: Convert to devm_* api

2013-06-18 Thread Prabhakar Lad
Hi Sekhar, On Tue, Jun 18, 2013 at 2:05 PM, Sekhar Nori wrote: > On 6/17/2013 8:27 PM, Prabhakar Lad wrote: >> From: "Lad, Prabhakar" >> >> Use devm_ioremap_resource instead of reques_mem_region()/ioremap(), >> devm_request_irq() instead of request_irq() a

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-25 Thread Prabhakar Lad
ponent-sync' or similar property that would enumerate all possible > synchronisation methods. We might as well use separate boolean properties, > but I'm a bit concerned about the increasing number of properties that need > to be parsed for each parallel video bus "endpoint&qu

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-25 Thread Prabhakar Lad
Hi Sylwester, On Sat, May 25, 2013 at 7:41 PM, Sylwester Nawrocki wrote: > Hi, > > > On 05/25/2013 11:17 AM, Prabhakar Lad wrote: >>> >>> From looking at Figure 8 "TVP7002 Application Example" in the TVP7002's >>> > datasheet >>> &

[PATCH v2 0/5] media: davinci: vpif trivial cleanup

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar This patch series cleans the VPIF driver, uses devm_* api wherever required and uses module_platform_driver() to simplify the code. This patch series applies on http://git.linuxtv.org/hverkuil/media_tree.git/ shortlog/refs/heads/for-v3.11 and is tested on OMAP-L138.

[PATCH v2 1/5] media: davinci: vpif: remove unwanted header mach/hardware.h and sort the includes alphabetically

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar This patch removes unwanted header include of mach/hardware.h and along side sorts the header inclusion alphabetically. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH v2 2/5] media: davinci: vpif: Convert to devm_* api

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar Use devm_ioremap_resource instead of reques_mem_region()/ioremap(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif.c | 27 --- 1 files changed, 4

[PATCH v2 3/5] media: davinci: vpif: remove unnecessary braces around defines

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform/davinci/vpif.c index 164c1b7..d9269c9 100644 ---

[PATCH v2 4/5] media: davinci: vpif_capture: Convert to devm_* api

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. use module_platform_driver to simplify the code. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 73

[PATCH v2 5/5] media: davinci: vpif_display: Convert to devm_* api

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. use module_platform_driver to simplify the code. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c | 61

[PATCH v2 0/4] media: i2c: ths7303 cleanup

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar Trivial cleanup of the driver. Changes for v2: 1: Dropped the asynchronous probing and, OF support patches will be handling them independently because of dependencies. 2: Arranged the patches logically so that git bisect succeeds. Lad, Prabhakar (4): ARM: davinci:

[PATCH v2 1/4] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar remove init_enable from ths7303 pdata as it is being dropped from ths7303_platform_data. Signed-off-by: Lad, Prabhakar Cc: Sekhar Nori Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org Cc:

[PATCH v2 2/4] media: i2c: ths7303: remove init_enable option from pdata

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar This patch removes init_enable option from pdata, the init_enable was intended that the device should start streaming video immediately but ideally the bridge drivers should call s_stream explicitly for such devices to start video. Signed-off-by: Lad, Prabhakar Cc: Hans

[PATCH v2 3/4] media: i2c: ths7303: remove unnecessary function ths7303_setup()

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar the ths7303_setup() was doing the same thing as ths7303_setval() except that ths7303_setval() sets it to some particular mode. This patch removes ths7303_setup() function and calls ths7303_setval() in the probe setting the device to 480I_576I filter mode in the probe.

[PATCH v2 4/4] media: i2c: ths7303: make the pdata as a constant pointer

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar generally the pdata needs to be a constant pointer in the device state structure. This patch makes the pdata as a constant pointer and alongside returns -EINVAL when pdata is NULL. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho

Re: [PATCH v2 1/4] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-25 Thread Prabhakar Lad
Hi Sekhar, On Sat, May 25, 2013 at 11:09 PM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > remove init_enable from ths7303 pdata as it is being dropped > from ths7303_platform_data. > Can you please ack this patch as I intend to take this patch via media tree. Regards,

[PATCH v3 0/9] media: davinci: vpif trivial cleanup

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch series cleans the VPIF driver, uses devm_* api wherever required and uses module_platform_driver() to simplify the code. This patch series applies on http://git.linuxtv.org/hverkuil/media_tree.git/ shortlog/refs/heads/for-v3.11 and is tested on OMAP-L138.

[PATCH v3 1/9] media: davinci: vpif: remove unwanted header mach/hardware.h and sort the includes alphabetically

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch removes unwanted header include of mach/hardware.h and along side sorts the header inclusion alphabetically. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif.c | 10 -- 1 files changed, 4 insertions(+),

[PATCH v3 2/9] media: davinci: vpif: Convert to devm_* api

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar Use devm_ioremap_resource instead of reques_mem_region()/ioremap(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif.c | 27 ---

[PATCH v3 3/9] media: davinci: vpif: remove unnecessary braces around defines

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch removes unnecessary braces around defines. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/davinci/vpif.c

[PATCH v3 4/9] media: davinci: vpif_capture: move the freeing of irq and global variables to remove()

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar Ideally the freeing of irq's and the global variables needs to be done in the remove() rather than module_exit(), this patch moves the freeing up of irq's and freeing the memory allocated to channel objects to remove() callback of struct platform_driver. Signed-off-by: Lad,

[PATCH v3 5/9] media: davinci: vpif_capture: use module_platform_driver()

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch uses module_platform_driver() to simplify the code. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 28 + 1 files changed, 1 insertions(+), 27 deletions(-) diff --git

[PATCH v3 6/9] media: davinci: vpif_capture: Convert to devm_* api

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 38 - 1 files changed, 12 insertions(+), 26

[PATCH v3 7/9] media: davinci: vpif_display: move the freeing of irq and global variables to remove()

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar Ideally the freeing of irq's and the global variables needs to be done in the remove() rather than module_exit(), this patch moves the freeing up of irq's and freeing the memory allocated to channel objects to remove() callback of struct platform_driver. Signed-off-by: Lad,

[PATCH v3 8/9] media: davinci: vpif_display: use module_platform_driver()

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch uses module_platform_driver() to simplify the code. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c | 18 +- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git

[PATCH v3 9/9] media: davinci: vpif_display: Convert to devm_* api

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c | 35 ++-- 1 files changed, 9 insertions(+), 26

[PATCH v4] media: i2c: tvp514x: add OF support

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

Re: [PATCH v4] media: i2c: tvp514x: add OF support

2013-05-26 Thread Prabhakar Lad
Hi All, On Sun, May 26, 2013 at 6:10 PM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the tvp514x driver. > > Signed-off-by: Lad, Prabhakar > Cc: Hans Verkuil > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski >

[PATCH] media: i2c: mt9p031: add OF support

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the mt9p031 sensor driver. Alongside this patch sorts the header inclusion alphabetically. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari

[PATCH v5] media: i2c: tvp514x: add OF support

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

[PATCH] media: i2c: ths7303: add OF support

2013-05-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the ths7303 driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 9:01 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Sunday 26 May 2013 18:38:54 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the mt9p031 sensor driver. >> Alongsid

Re: [PATCH v3 4/9] media: davinci: vpif_capture: move the freeing of irq and global variables to remove()

2013-05-28 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Wed, May 29, 2013 at 8:02 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Sunday 26 May 2013 17:30:07 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> Ideally the freeing of irq's and the glo

Re: [PATCH v3 9/9] media: davinci: vpif_display: Convert to devm_* api

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 9:08 AM, Laurent Pinchart wrote: > On Sunday 26 May 2013 17:30:12 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> use devm_request_irq() instead of request_irq(). This ensures >> more consistent error values and simplifies er

Re: [PATCH v5] media: i2c: tvp514x: add OF support

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 6:52 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Sunday 26 May 2013 18:49:46 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp514x driver. >> >> Signe

Re: [PATCH 1/2] rtc: omap: add option to indicate wakeup support through DT

2013-05-31 Thread Prabhakar Lad
previous ompa1 boards. > [snip] > > +Optional properties: > +- ti,wakeup_capable: Inform the rtc driver that this module is wake-up For devicetree properties '-' is preferred over '_'. Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 2/2] rtc: omap: add rtc wakeup support to alarm events

2013-05-31 Thread Prabhakar Lad
ave the hex values in smaller case as done in the rest of the file ? Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2 1/4] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-31 Thread Prabhakar Lad
Hi Sekhar, On Sat, May 25, 2013 at 11:13 PM, Prabhakar Lad wrote: > Hi Sekhar, > > On Sat, May 25, 2013 at 11:09 PM, Prabhakar Lad > wrote: >> From: Lad, Prabhakar >> >> remove init_enable from ths7303 pdata as it is being dropped >> from ths7303_pl

Re: [PATCH] of/base: fix typos

2013-05-31 Thread Prabhakar Lad
Hi Linus, On Thu, May 23, 2013 at 5:58 PM, Prabhakar Lad wrote: > Hi Rob/Grant, > > On Tue, May 7, 2013 at 11:34 AM, Prabhakar Lad > wrote: >> From: Lad, Prabhakar >> >> the function of_property_read_u8/16/32_array() has a parameter >> out_values, but the d

[PATCH 0/2] media: i2c: add suppport for ths8200 encoder.

2013-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar The first patch of the series adds support for the THS8200 encoder The full datasheets are available from TI website[1]. The second patch of the series adds supports for v4l-async subdevice probing. [1] http://www.ti.com/product/ths8200 Hans Verkuil (1): media: i2c:

[PATCH 1/2] media: i2c: ths8200: driver for TI video encoder.

2013-06-03 Thread Prabhakar Lad
From: Hans Verkuil The full datasheets are available from TI website:- http://www.ti.com/product/ths8200 Note:- This patch adds support only for progressive format as of now. Signed-off-by: Hans Verkuil Signed-off-by: Mats Randgaard Signed-off-by: Martin Bugge Signed-off-by: Lad, Prabhakar

[PATCH 2/2] media: i2c: ths8200: add support v4l-async

2013-06-03 Thread Prabhakar Lad
From: Lad, Prabhakar This patch supports ths8200 driver for v4l-async subdevice probing. Signed-off-by: Lad, Prabhakar --- drivers/media/i2c/ths8200.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c

Re: [PATCH] ARM: daVinci: remove __init modifier from function declaration

2013-06-04 Thread Prabhakar Lad
Hi Sekhar, On Mon, Apr 1, 2013 at 5:03 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > This patch removes the __init modifier from function declaration > of all the header files for davinci platform. > gentle ping for v3.11 Regards, --Prabhakar Lad -- To unsubscribe from

[PATCH v6] media: i2c: tvp514x: add OF support

2013-06-04 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-21 Thread Prabhakar Lad
an I send non RFC version of it ? Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/4] media: remove duplicate check for EPERM

2013-05-21 Thread Prabhakar Lad
gister > media: dvb-frontends: remove duplicate checks for EPERM in > dbg_g/s_register > media: usb: remove duplicate checks for EPERM in vidioc_g/s_register > media: pci: remove duplicate checks for EPERM > Gentle ping.. Regards, --Prabhakar Lad -- To unsubscribe from this li

Re: [PATCH 0/6] media: i2c: ths7303 feature enhancement and cleanup

2013-05-23 Thread Prabhakar Lad
have that I can take in the first four patches and I can take the > final two patches once the async support is merged. > Ok I'll do it today. Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord

Re: [PATCH 2/6] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-23 Thread Prabhakar Lad
Hi Sekhar, On Wed, May 15, 2013 at 5:27 PM, Lad Prabhakar wrote: > From: Lad, Prabhakar > > remove init_enable from ths7303 pdata as it is no longer exists. > Can you please ack this patch, as this patch is intended to go via media tree. Regards, --Prabhakar Lad -- To unsu

Re: [PATCH] drivers/staging: davinci: vpfe: fix dependency for building the driver

2013-05-23 Thread Prabhakar Lad
plan to take this patch for 3.10 as a fix ? or for v3.11 ? Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/7] media: davinci: vpif trivial cleanup

2013-05-23 Thread Prabhakar Lad
the code. >> >> This patch series applies on 3.10.rc1 and is tested on OMAP-L138. > > Can you repost this taken into account Laurent's comments regarding the > unwanted header includes? > Yes I plan to do this weekend. Regards, --Prabhakar Lad -- To unsubscribe from

Re: [PATCH 3/5] media: i2c: tvp7002: rearrange header inclusion alphabetically

2013-05-23 Thread Prabhakar Lad
s. > OK > I would just drop this patch. I've merged the first two patches of > this patch series, the last two I can't merge as long as the async > code isn't in yet. > Thanks. yes the last two depend on v4l-async patches. Regards, --Prabhakar Lad -- To unsubscribe from thi

Re: [PATCH] of/base: fix typos

2013-05-23 Thread Prabhakar Lad
Hi Rob/Grant, On Tue, May 7, 2013 at 11:34 AM, Prabhakar Lad wrote: > From: Lad, Prabhakar > > the function of_property_read_u8/16/32_array() has a parameter > out_values, but the description mentioned it as out_value. This > patch fixes this typo. > gentle ping. Regard

Re: [PATCH] Drivers: staging: media: davinci_vpfe: Use resource_size function

2013-03-10 Thread Prabhakar Lad
Hi Alexandru, Thanks for the patch! On Sun, Mar 10, 2013 at 5:44 PM, Alexandru Gheorghiu wrote: > Use resource_size function on resource object instead of explicit > computation. > > Signed-off-by: Alexandru Gheorghiu Acked-by: Lad, Prabhakar Regards, --Prabhakar Lad >

[GIT PULL FOR v3.9] DaVinci media driver fixes

2013-03-10 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for Davinci. The first patch fixes module build for VPBE driver and the second patch fixes the module build for VPIF driver. The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are

[GIT PULL FOR v3.10] DaVinci media/tvp514x/ths7353 cleanups and feature enhancement

2013-03-10 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches. A gentle request, can you please pull these patches ASAP as my TI I'd might get shut any movement, so as the mails of patches being queued don’t get bounce. Regards, --Prabhakar Lad The following changes since commit

Re: [PATCH v5 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-14 Thread Prabhakar Lad
Hi Sekhar, On Tue, Dec 4, 2012 at 6:52 PM, Sekhar Nori wrote: > On 12/3/2012 1:51 PM, Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> add support for V4L2 video display to DM365 EVM. >> Support for SD and ED modes is provided, along with Composite >> and Co

[PATCH 0/6] Davinci fbdev driver and enable it for DMx platform

2013-04-24 Thread Prabhakar Lad
From: Lad, Prabhakar This patch series adds an fbdev driver for Texas Instruments Davinci SoC.The display subsystem consists of OSD and VENC, with OSD supporting 2 RGb planes and 2 video planes. http://focus.ti.com/general/docs/lit/ getliterature.tsp?literatureNumber=sprue37d=pdf A good amount

[PATCH 1/6] media: davinci: vpbe: fix checkpatch warning for CamelCase

2013-04-24 Thread Prabhakar Lad
From: Lad, Prabhakar This patch fixes checkpatch warning to avoid CamelCase. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c |2 +- drivers/media/platform/davinci/vpbe_osd.c | 24 include/media/davinci/vpbe_osd.h

[PATCH 2/6] media: davinci: vpbe: enable vpbe for fbdev addition

2013-04-24 Thread Prabhakar Lad
From: Lad, Prabhakar enable the venc, osd and vpbe display driver for addition of fbdev driver. Mainly includes fbdev ops structure inclusion, palette and osd layer related functionality for OSD block. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpbe_display.c |6 +

[PATCH 4/6] ARM: davinci: dm355: enable fbdev driver

2013-04-24 Thread Prabhakar Lad
From: Lad, Prabhakar This patch enables fbdev driver by creating fbdev device and register it. Alongside renames 'vpfe_capture_dma_mask' to 'dm355_video_dma_mask' for better clarity since it was reused by capture and diplay aswell. Signed-off-by: Lad, Prabhakar ---

[PATCH 6/6] ARM: davinci: dm644x: enable fbdev driver

2013-04-24 Thread Prabhakar Lad
From: Lad, Prabhakar This patch enables fbdev driver by creating fbdev device and register it. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/dm644x.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm644x.c

[PATCH 5/6] ARM: davinci: dm365: enable fbdev driver

2013-04-24 Thread Prabhakar Lad
From: Lad, Prabhakar This patch enables fbdev driver by creating fbdev device and register it. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/dm365.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c

Re: [PATCH 0/6] Davinci fbdev driver and enable it for DMx platform

2013-04-25 Thread Prabhakar Lad
Hi Laurent, On Thu, Apr 25, 2013 at 2:32 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > On Wednesday 24 April 2013 17:30:02 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> This patch series adds an fbdev driver for Texas >&

[PATCH] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage

2013-04-26 Thread Prabhakar Lad
From: Lad, Prabhakar This patch enables tvp7002 decoder driver for media controller based usage by adding v4l2_subdev_pad_ops operations support for enum_mbus_code, set_pad_format, get_pad_format and media_entity_init() on probe and media_entity_cleanup() on remove. The device supports 1

[PATCH] media: i2c: tvp514x: add OF support

2013-04-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

[PATCH] media: i2c: adv7343: add OF support

2013-04-26 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the adv7343 driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

[PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the mt9p031 sensor driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc:

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Prabhakar Lad
an you actually boot from devicetree. You must still > handle platform data properly. > OK. which one should be given higher preference client->dev.of_node or the client->dev.platform_data ? >> + struct device_node *np; >> + struct mt9p031_platform_data *pdata; >> + i

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Prabhakar Lad
31m-sensor", }, > > As you'll need to resubmit anyway, please add a space between '{' and '.' > OK >> + {}, >> +}; >> +MODULE_DEVICE_TABLE(of, mt9p031_of_match); >> + [Snip] >> - struct mt9p031_platform_data *pdata = client->dev.platform_data; >> + struct mt9p0

Re: [PATCH] media: i2c: tvp514x: add OF support

2013-04-29 Thread Prabhakar Lad
> On Friday 26 April 2013 16:53:50 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp514x driver. >> >> Signed-off-by: Lad, Prabhakar >> Cc: Hans Verkuil >> Cc: Laurent Pinchart >> Cc: Mauro Carvalho Chehab >> C

Re: [PATCH] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage

2013-04-29 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Mon, Apr 29, 2013 at 7:57 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > On Friday 26 April 2013 13:35:35 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> This patch enables tvp7002 de

Re: [PATCH] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage

2013-04-29 Thread Prabhakar Lad
Hi Laurent, On Mon, Apr 29, 2013 at 11:06 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > On Monday 29 April 2013 23:00:26 Prabhakar Lad wrote: >> On Mon, Apr 29, 2013 at 7:57 PM, Laurent Pinchart wrote: >> > On Friday 26 April 2013 13:35:35 Prabhakar Lad wrote: &g

Re: [PATCH] media: i2c: adv7343: add OF support

2013-04-29 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Mon, Apr 29, 2013 at 7:32 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > On Friday 26 April 2013 18:48:06 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the adv7343

Re: [PATCH v3] media: ths7353: add support for ths7353 video amplifier

2013-02-14 Thread Prabhakar Lad
Hi Mauro, Thanks for the review. On Thu, Feb 14, 2013 at 12:47 AM, Mauro Carvalho Chehab wrote: > Em Thu, 7 Feb 2013 11:10:28 +0530 > Prabhakar lad escreveu: > >> From: Lad, Prabhakar >> >> The patch adds support for THS7353 video amplifier. >> The the THS73

[PATCH v4] media: ths7353: add support for ths7353 video amplifier

2013-02-18 Thread Prabhakar lad
From: Lad, Prabhakar The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver. This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This patch also adds

[PATCH] mtd: davinci_nand: Remove unnecessary labels from error path

2014-01-15 Thread Prabhakar Lad
From: "Lad, Prabhakar" This patch removes the unnecessary labels from the error path in probe function which did nothing than just returning error values, Thus simplifying code path and improved readability. Signed-off-by: Lad, Prabhakar --- drivers/mtd/nand/davinci_nand.c | 31

Re: Kconfig errors

2014-01-22 Thread Prabhakar Lad
Hi Russell, On Fri, Jan 17, 2014 at 1:07 PM, Prabhakar Lad wrote: > Hi, > > On Linux-next branch I see following errors for davinci_all_defconfig > & da8xx_omapl_defconfig configs, > > arch/arm/Kconfig:1966:error: recursive dependency detected! > arch/arm/Kconfig:

Re: Kconfig errors

2014-01-22 Thread Prabhakar Lad
On Wed, Jan 22, 2014 at 5:56 PM, Russell King - ARM Linux wrote: > On Wed, Jan 22, 2014 at 05:54:29PM +0530, Prabhakar Lad wrote: >> Hi Russell, >> >> On Fri, Jan 17, 2014 at 1:07 PM, Prabhakar Lad >> wrote: >> > Hi, >> > >> > On Linux-next b

Re: [PATCH] [media] s5p-mfc: Add Horizontal and Vertical search range for Video Macro Blocks

2014-01-22 Thread Prabhakar Lad
changed, 58 insertions(+), 6 deletions(-) >> This patch from the outset looks OK, but you need to split up into two, first adding a v4l control and second one using it up in the driver. Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

[no subject]

2014-01-23 Thread Prabhakar Lad
onstraints(); call in .init_machine but results the same. Any pointer would be helpfull. Thanks, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/maj

[PATCH] ARM: davinci: defconfig: drop CONFIG_REGULATOR_DUMMY

2014-01-23 Thread Prabhakar Lad
From: "Lad, Prabhakar" This patch drops CONFIG_REGULATOR_DUMMY as this obsolete. Signed-off-by: Lad, Prabhakar --- arch/arm/configs/da8xx_omapl_defconfig |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/da8xx_omapl_defconfig b/arch/arm/configs/da8xx_omapl_defconfig

[PATCH] lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULL

2014-01-23 Thread Prabhakar Lad
From: "Lad, Prabhakar" In the gen_pool_dma_alloc() the dma pointer can be NULL and while assigning gen_pool_virt_to_phys(pool, vaddr) to dma caused the following crash on da850 evm, Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 []

Re: [PATCH] lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULL

2014-01-23 Thread Prabhakar Lad
Hi Sachin, On Thu, Jan 23, 2014 at 3:38 PM, Sachin Kamat wrote: > Hi Prabhakar, > > On 23 January 2014 15:26, Prabhakar Lad wrote: >> From: "Lad, Prabhakar" >> >> In the gen_pool_dma_alloc() the dma pointer can be NULL >> and while assigning gen_pool

[PATCH] ARM: davinci: fix typo

2014-02-05 Thread Prabhakar Lad
From: "Lad, Prabhakar" this patch fixes a typo in mach/hardware.h, by replacing "ths" to "this". Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/include/mach/hardware.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/include/mach/hardware.h

Re: [PATCH] media: i2c: Kconfig: create dependency to MEDIA_CONTROLLER for adv7*

2014-02-06 Thread Prabhakar Lad
nd if you see VIDEO_V4L2_SUBDEV_API depends on MEDIA_CONTROLLER config so there is no point in adding this dependency. Thanks, --Prabhakar Lad > Signed-off-by: Marcus Folkesson > --- > drivers/media/i2c/Kconfig |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >

Re: [PATCH 1/2] [media] v4l2: Add settings for Horizontal and Vertical MV Search Range

2014-02-06 Thread Prabhakar Lad
On Tue, Feb 4, 2014 at 3:29 PM, Amit Grover wrote: > Adding V4L2 controls for horizontal and vertical search range in pixels > for motion estimation module in video encoder. > > Signed-off-by: Swami Nathan > Signed-off-by: Amit Grover Acked-by: Lad, Prabhakar Regards,

[PATCH] net: davinci_mdio: Fix sparse warning

2014-01-15 Thread Prabhakar Lad
From: "Lad, Prabhakar" This patch fixes following sparse warning davinci_mdio.c:85:27: warning: symbol 'default_pdata' was not declared. Should it be static? Also makes the default_pdata as a constant. Signed-off-by: Lad, Prabhakar --- drivers/net/ethernet/ti/davinci_mdio.c |2 +- 1 file

Re: [PATCH] mtd: davinci_nand: Remove unnecessary labels from error path

2014-01-16 Thread Prabhakar Lad
Hi Brian, On Fri, Jan 17, 2014 at 3:02 AM, Brian Norris wrote: > On Wed, Jan 15, 2014 at 01:38:26PM +0530, Prabhakar Lad wrote: >> From: "Lad, Prabhakar" >> >> This patch removes the unnecessary labels from >> the error path in probe function which did

Kconfig errors

2014-01-16 Thread Prabhakar Lad
cted by ZBOOT_ROM # # configuration written to .config # Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read th

Re: [PATCH] mtd: davinci_nand: Remove unnecessary labels from error path

2014-01-16 Thread Prabhakar Lad
Hi Brain, On Fri, Jan 17, 2014 at 10:46 AM, Prabhakar Lad wrote: > Hi Brian, > > On Fri, Jan 17, 2014 at 3:02 AM, Brian Norris > wrote: >> On Wed, Jan 15, 2014 at 01:38:26PM +0530, Prabhakar Lad wrote: >>> From: "Lad, Prabhakar" >>> >

[PATCH] media: i2c: mt9p031: Check return value of clk_prepare_enable/clk_set_rate

2014-01-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" clk_set_rate(), clk_prepare_enable() functions can fail, so check the return values to avoid surprises. Signed-off-by: Lad, Prabhakar --- drivers/media/i2c/mt9p031.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

[PATCH] media: i2c: mt9v032: Check return value of clk_prepare_enable/clk_set_rate

2014-01-17 Thread Prabhakar Lad
From: "Lad, Prabhakar" clk_set_rate(), clk_prepare_enable() functions can fail, so check the return values to avoid surprises. Signed-off-by: Lad, Prabhakar --- drivers/media/i2c/mt9v032.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH v2] media: i2c: mt9p031: Check return value of clk_prepare_enable/clk_set_rate

2014-01-20 Thread Prabhakar Lad
From: "Lad, Prabhakar" clk_set_rate(), clk_prepare_enable() functions can fail, so check the return values to avoid surprises. Signed-off-by: Lad, Prabhakar --- Changes for v2: 1: Called regulator_bulk_disable() in the error path drivers/media/i2c/mt9p031.c | 15 --- 1 file

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Prabhakar Lad
mplicit declaration of function ‘msleep’ > Will you pick this patch or shall I go ahead and issue a pull to Mauro ? Regards, --Prabhakar Lad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH] media: davinci_vpfe: fix build error

2013-12-20 Thread Prabhakar Lad
in linux-media but its present DLOS [1]. I posted it the same day when you pinged me about this issue. Anyway your patch too didnt reach me and I also cannot find it in the ML. May be you directly issued the pull ? [1] https://patchwork.kernel.org/patch/3362211/ Regards, --Prabhakar Lad -- To u

<    5   6   7   8   9   10   11   12   13   >