RE: [PATCH] [media] videobuf-dma-contig: restore buffer mapping for uncached bufers

2012-06-25 Thread Lad, Prabhakar
observed while mapping uncached buffers. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Hadli, Manjunath manjunath.ha...@ti.com Acked-by: Federico Vaga federico.v...@gmail.com I tested the patch on the STA2X11 board. Was this patch

[GIT PULL] Videobuf dma-contig fix for v3.5

2012-07-10 Thread Lad, Prabhakar
/v4l-dvb-davinci_devices.git pull_videobuf_core_fix Lad, Prabhakar (1): videobuf-dma-contig: restore buffer mapping for uncached bufers drivers/media/video/videobuf-dma-contig.c | 53 +--- 1 files changed, 32 insertions(+), 21 deletions

[GIT PULL] Davinci VPIF feature enhancement and fixes for v3.5

2012-07-10 Thread Lad, Prabhakar
://linuxtv.org/mhadli/v4l-dvb-davinci_devices.git pull_vpif Lad, Prabhakar (2): davinci: vpif capture: migrate driver to videobuf2 davinci: vpif display: migrate driver to videobuf2 Manjunath Hadli (12): davinci: vpif: add check for genuine interrupts in the isr davinci: vpif

RE: [PATCH v6 1/2] media: add new mediabus format enums for dm365

2012-07-23 Thread Lad, Prabhakar
hans.verk...@cisco.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Sakari Ailus sakari.ai...@iki.fi Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de --- Documentation

RE: [PATCH v6 2/2] v4l2: add new pixel formats supported on dm365

2012-07-23 Thread Lad, Prabhakar
to represent Bayer format frames compressed by A-LAW algorithm, add V4L2_PIX_FMT_UV8 to represent storage of CbCr data (UV interleaved) only. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Laurent Pinchart laurent.pinch

RE: [PATCH v6 1/2] media: add new mediabus format enums for dm365

2012-07-23 Thread Lad, Prabhakar
-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Sakari Ailus sakari.ai...@iki.fi Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de

[GIT PULL FOR v3.7] Davinci VPIF cleanup and feature enhancement

2012-09-18 Thread Lad, Prabhakar
. davinci: vpif: remove unwanted header file inclusion Lad, Prabhakar (2): media: davinci: vpif: add check for NULL handler davinci: vpif: capture/display: fix race condition drivers/media/platform/davinci/vpif.c | 22 +++-- drivers/media/platform/davinci/vpif.h |4

[PATCH] davinci: dm355: Fix uninitialized variable compiler warnings

2013-01-02 Thread Lad, Prabhakar
the variable to 0. Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/platform/davinci/dm355_ccdc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/davinci/dm355_ccdc.c b/drivers/media/platform/davinci/dm355_ccdc.c index ce0e413

[PATCH] davinci: dm644x: fix enum ccdc_gama_width and enum ccdc_data_size comparision warning

2013-01-02 Thread Lad, Prabhakar
] Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/platform/davinci/dm644x_ccdc.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/davinci/dm644x_ccdc.c b/drivers/media/platform/davinci/dm644x_ccdc.c index ee7942b..42b473a

[PATCH] adv7343: use devm_kzalloc() instead of kzalloc()

2013-01-03 Thread Lad, Prabhakar
I2C drivers can use devm_kzalloc() too in their .probe() methods. Doing so simplifies their clean up paths. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/i2c/adv7343.c | 13 - 1 files changed, 4 insertions

[PATCH] ths7303: use devm_kzalloc() instead of kzalloc()

2013-01-03 Thread Lad, Prabhakar
I2C drivers can use devm_kzalloc() too in their .probe() methods. Doing so simplifies their clean up paths. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/i2c/ths7303.c |3 +-- 1 files changed, 1 insertions(+), 2

[PATCH] tvp514x: use devm_kzalloc() instead of kzalloc()

2013-01-03 Thread Lad, Prabhakar
I2C drivers can use devm_kzalloc() too in their .probe() methods. Doing so simplifies their clean up paths. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/i2c/tvp514x.c |8 ++-- 1 files changed, 2 insertions

[PATCH] tvp7002: use devm_kzalloc() instead of kzalloc()

2013-01-03 Thread Lad, Prabhakar
I2C drivers can use devm_kzalloc() too in their .probe() methods. Doing so simplifies their clean up paths. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/i2c/tvp7002.c | 10 ++ 1 files changed, 2 insertions

[PATCH RFC 0/3] vpif capture support for async subdevice probing

2013-01-09 Thread Lad, Prabhakar
for vpif disaply, based on review comments on this series. Lad, Prabhakar (3): davinci: vpif: capture: add V4L2-async support tvp514x: support asynchronous probing ARM: da850/omap-l138: vpif capture convert to asynchronously register of subdev arch/arm/mach-davinci/board-da850-evm.c

[PATCH RFC 2/3] tvp514x: support asynchronous probing

2013-01-09 Thread Lad, Prabhakar
Both synchronous and asynchronous tvp514x subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Hans Verkuil hverk...@xs4all.nl Cc: Sakari Ailus

[PATCH RFC 1/3] davinci: vpif: capture: add V4L2-async support

2013-01-09 Thread Lad, Prabhakar
, even when there are multiple such instances registered with a single soc-camera host simultaneously. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc

[PATCH RFC 3/3] ARM: da850/omap-l138: vpif capture convert to asynchronously register of subdev

2013-01-09 Thread Lad, Prabhakar
Register the tvp514x decoder devices directly in board platform data instead of letting the vpif capture driver register them at their run-time. This uses the V4L2 asynchronous subdevice probing capability. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Sekhar Nori nsek...@ti.com

[PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder

2013-01-15 Thread Lad, Prabhakar
Without this patch the adv7343 encoder was being set to default configuration which caused display not to work on this board. This patch passes the necessary platform data required for adv7343 encoder to work on da850 evm. Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- This patch

[PATCH] davinci: vpfe: fix error path in probe

2013-05-09 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com The error path on failure was calling mutex_unlock(), but there was no actuall call before for mutex_lock(). This patch fixes this issue by pointing it to proper go label. Reported-by: Jose Pablo Carballo jose.carba...@ridgerun.com Signed-off

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

2013-05-12 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver. Alongside this patch sorts the header inclusion alphabetically. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com from commit 3778d05036cc7ddd983ae2451da579af00acdac2 [media: davinci: kconfig: fix incorrect selects] VIDEO_VPFE_CAPTURE was removed but there was a negative dependancy for building the DM365 VPFE MC based capture driver (VIDEO_DM365_VPFE

[PATCH 1/4] media: i2c: remove duplicate checks for EPERM in dbg_g/s_register

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes check for EPERM in dbg_g/s_register of subdevice drivers as this check is already performed by core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/i2c/ad9389b.c |4 drivers

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleanups the check for EPERM in dbg_g/s_register and vidioc_g/s_register. Lad, Prabhakar (4): media: i2c: remove duplicate checks for EPERM in dbg_g/s_register media: dvb-frontends: remove duplicate checks for EPERM

[PATCH 3/4] media: usb: remove duplicate checks for EPERM in vidioc_g/s_register

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes check for EPERM in vidioc_g/s_register as this check is already performed by core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/usb/pvrusb2/pvrusb2-hdw.c |2 -- 1 files changed, 0 insertions

[PATCH 2/4] media: dvb-frontends: remove duplicate checks for EPERM in dbg_g/s_register

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes check for EPERM in dbg_g/s_register as this check is already performed by core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/dvb-frontends/au8522_decoder.c |4 1 files changed, 0 insertions

[PATCH 4/4] media: pci: remove duplicate checks for EPERM

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes check for EPERM in dbg_g/s_register and vidioc_g/s_register as this check is already performed by core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/pci/bt8xx/bttv-driver.c |6

[PATCH RFC v3 1/4] media: i2c: adv7343: add support for asynchronous probing

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous adv7343 subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com

[PATCH RFC v3 0/4] media: davinci: vpif: capture/display support for async subdevice probing

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series adds support for vpif capture and display driver to support asynchronously register subdevices. The first two patches adds asynchronous probing for adv7343 and tvp514x respectively. Need for this support: Currently bridge device

[PATCH RFC v3 2/4] media: i2c: tvp514x: add support for asynchronous probing

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous tvp514x subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc

[PATCH RFC v3 3/4] media: davinci: vpif: capture: add V4L2-async support

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add support for asynchronous subdevice probing, using the v4l2-async API. The legacy synchronous mode is still supported too, which allows to gradually update drivers and platforms. Signed-off-by: Prabhakar Lad prabhakar.cse...@gmail.com Cc

[PATCH RFC v3 4/4] media: davinci: vpif: display: add V4L2-async support

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add support for asynchronous subdevice probing, using the v4l2-async API. The legacy synchronous mode is still supported too, which allows to gradually update drivers and platforms. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp514x driver. Alongside this patch removes unnecessary header file inclusion and sorts them alphabetically. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent

[PATCH 0/5] media: i2c: tvp7002 feature enhancement and cleanup

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables tvp7002 decoder driver for asynchronous probing and adds OF support, with few cleanup patches. Lad, Prabhakar (5): media: i2c: tvp7002: remove duplicate define media: i2c: tvp7002: rearrange description of structure

[PATCH 2/5] media: i2c: tvp7002: rearrange description of structure members

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch rearranges the description of field members of struct tvp7002_config. Also as the all the fields where accepting a value either 0/1, made the members as bool. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil

[PATCH 5/5] media: i2c: tvp7002: add OF support

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp7002 driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: Guennadi

[PATCH 4/5] media: i2c: tvp7002: add support for asynchronous probing

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Both synchronous and asynchronous tvp7002 subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc

[PATCH 1/5] media: i2c: tvp7002: remove duplicate define

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch removes duplicate #define TVP7002_MODULE_NAME form the driver file, which was also defined in media/tvp7002.h Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch rearranges the header inclusion alphabetically and also removes unnecessary includes. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp514x driver. Alongside this patch removes unnecessary header file inclusion and sorts them alphabetically. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables the ths7303 driver for asynchronous probing, OF support with some cleanup patches. Lad, Prabhakar (6): media: i2c: ths7303: remove init_enable option from pdata ARM: davinci: dm365 evm: remove init_enable from ths7303

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com remove init_enable from ths7303 pdata as it is no longer exists. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Sekhar Nori nsek...@ti.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com 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 prabhakar.cse...@gmail.com Cc: Hans

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the ths7303 driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: Guennadi

[PATCH RFC] media: OF: add field-active and sync-on-green endpoint properties

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch adds field-active and sync-on-green as part of endpoint properties and also support to parse them in the parser. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart

[PATCH] ARM: davinci: dma: Convert to devm_* api

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Use devm_ioremap_resource instead of reques_mem_region()/ioremap() and devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com

[PATCH 0/2] video: da8xx-fb trival cleanup

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleans the header inclusion and uses devm_* api in the driver. This patch series applies on 3.10-rc1 and is only boot tested enabling FB driver. Lad, Prabhakar (2): video: da8xx-fb: remove unwanted header inclusion and sort

[PATCH 2/2] video:da8xx-fb: Convert to devm_* api

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Use devm_ioremap_resource instead of reques_mem_region()/ioremap() and devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com

[PATCH 1/2] video: da8xx-fb: remove unwanted header inclusion and sort the alphabetically

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes unwanted header inclusion and sorts them alphabetically Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/video/da8xx-fb.c | 23 ++- 1 files changed, 10 insertions(+), 13 deletions

[PATCH 1/5] davinci: net: cpdma: remove unwanted header file incusion and sort thme alphabetically

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/net/ethernet/ti/davinci_cpdma.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet

[PATCH 3/5] net: davinci: emac: Convert to devm_* api

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Use devm_ioremap_resource instead of devm_request_mem_region()/devm_ioremap() and devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. Signed-off-by: Lad, Prabhakar prabhakar.cse

[PATCH 0/5] net: davinci: trivial cleanup

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleans up the davinci driver. This patch series applies on 3.10.rc1 and is boot tested on OMAP-L138 EVM. Lad, Prabhakar (5): davinci: net: cpdma: remove unwanted header file incusion and sort thme alphabetically net

[PATCH 2/5] net: davinci_emac: remove unwanted header inclusion and sort the alphabetically

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes unwanted header inclusion and sorts them alphabetically Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/net/ethernet/ti/davinci_emac.c | 42 +++- 1 files changed, 9 insertions

[PATCH 4/5] net: davinci_emac: simplify the OF parser code

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch cleans up the OF parser code, removes unnecessary checks on of_property_read_*() and guards davinci_emac_of_match table with CONFIG_OF. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/net/ethernet/ti/davinci_emac.c

[PATCH 5/5] net: davinci_mdio: trivial cleanup

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com remove unwanted header inclusion and sort the alphabetically also guard the davinci_mdio_of_mtable table and davinci_mdio_probe_dt() with CONFIG_OF. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/net/ethernet/ti

[PATCH 1/7] media: davinci: vpif: remove unwanted header includes

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/davinci/vpif.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com 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 3.10.rc1 and is tested on OMAP-L138. Lad, Prabhakar (7): media: davinci: vpif

[PATCH] media: OF: add sync-on-green-active property

2013-08-11 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch adds 'sync-on-green-active' property as part of endpoint property. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Sylwester Nawrocki s.nawro...@samsung.com --- Changes for non RFC: 1: Fixed review comments

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

2013-08-11 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp7002 driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- This patch depends on https://patchwork.kernel.org/patch/2842680/ Changes for v5: 1: Fixed review comments pointed by Hans. Changes for v4

[PATCH v4 1/5] ARM: davinci: fix clock lookup for mdio device

2013-08-15 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes the clock alias for mdio device and adds a entry in clock lookup table, this entry can now be used by both DT and NON DT case. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- changes for v2: None Changes for v3

[PATCH v4 0/5] ARM: davinci: da850: add ethernet driver DT support

2013-08-15 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch set enables Ethernet support through device tree model. This patch set enables mii interface only and is being tested to boot via rootfs. The rmii phy is present on the i2c gpio expander chip (UI board) for which yet support needs

[PATCH v4 3/5] ARM: davinci: da850: add OF_DEV_AUXDATA entry for mdio.

2013-08-15 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add OF_DEV_AUXDATA for mdio driver in da850 board dt file to use mdio clock. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for v2: none Changes for v3: none Changes for v4: none arch/arm/mach-davinci/da8xx-dt.c |1

[PATCH v4 2/5] ARM: davinci: da850: add DT node for mdio device

2013-08-15 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add mdio device tree node information to da850 by providing register details and bus frequency of mdio. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for v2: none Changes for v3: a Added pin entries for mdio

[PATCH v4 5/5] ARM: davinci: da850: add OF_DEV_AUXDATA entry for eth0.

2013-08-15 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add OF_DEV_AUXDATA for eth0 driver in da850 board dt file to use emac clock. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for V2: none Changes for V3: none Changes for v4: none arch/arm/mach-davinci/da8xx-dt.c |3

[PATCH v5 1/2] ARM: davinci: da850: add DT node for ethernet

2013-08-16 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add ethernet device tree node information and pinmux for mii to da850 by providing interrupt details and local mac address. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/boot/dts/da850-evm.dts |5 + arch/arm/boot

[PATCH v5 2/2] ARM: davinci: da850: add OF_DEV_AUXDATA entry for davinci_emac

2013-08-16 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add OF_DEV_AUXDATA for ethernet davinci_emac driver in da850 board dt file to use emac clock. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/mach-davinci/da8xx-dt.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v5 0/2] ARM: davinci: da850: add ethernet driver DT support

2013-08-16 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch set enables Ethernet support through device tree model. This patch set enables mii interface only and is being tested to boot via rootfs. Patches 1-2 of v4 are queued for v3-12, just resending patch 4-5 by fixing review comments pointed

[PATCH v6] ARM: davinci: da850: add DT node for ethernet

2013-08-16 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Add ethernet device tree node information and pinmux for mii to da850 by providing interrupt details and local mac address. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for v6: 1: Fixed review comment pointed by Sergei

[PATCH v3 2/7] gpio: davinci: move to platform device

2013-08-17 Thread Lad, Prabhakar
-by: Philip Avinash avinashphi...@ti.com Acked-by: Linus Walleij linus.wall...@linaro.org [nsek...@ti.com: dropped unused structure member, rebased on new clean-up patch and fixes error messages] Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch

[PATCH v3 0/7] Convert GPIO Davinci to platform driver

2013-08-17 Thread Lad, Prabhakar
From: Philip Avinash avinashphi...@ti.com To support DT booting of da850 EVM, davinci gpio driver converted to platform driver. Also when here, start using gpiolib API for gpio get/set functionalities. Hence removing gpio inline functionalities. However usage of gpiolib API will cause an

[PATCH v3 1/7] gpio: davinci: coding style correction

2013-08-17 Thread Lad, Prabhakar
considered churn - line break fixes and variable name changes] Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/gpio/gpio-davinci.c | 20 1 file changed, 12 insertions(+), 8

[PATCH v3 7/7] ARM: davinci: Start using gpiolib API inplace of inline functions

2013-08-17 Thread Lad, Prabhakar
platform definitions. Signed-off-by: Philip Avinash avinashphi...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/Kconfig |1 - arch/arm/mach

[PATCH v3 6/7] ARM: davinci: dmxxx: gpio device creation

2013-08-17 Thread Lad, Prabhakar
avinashphi...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/mach-davinci/board-dm355-evm.c | 33 +++- arch/arm/mach-davinci/board-dm355-leopard.c | 30

[PATCH v3 4/7] ARM: davinci: devices.c: support gpio platform device

2013-08-17 Thread Lad, Prabhakar
...@ti.com: move function declaration to local header, simplify commit message] Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/mach-davinci/davinci.h |2 ++ arch/arm/mach-davinci/devices.c | 13 + 2 files changed, 15

[PATCH v3 3/7] ARM: davinci: da8xx: support gpio platform device

2013-08-17 Thread Lad, Prabhakar
in davinci_soc_info structure Signed-off-by: KV Sujith sujit...@ti.com Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Linus Walleij linus.wall...@linaro.org [nsek...@ti.com: simplify commit message] Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse

[PATCH v3 5/7] ARM: davinci: da8xx: gpio device creation

2013-08-17 Thread Lad, Prabhakar
From: Philip Avinash avinashphi...@ti.com Create davinci gpio device and remove references in davinci_soc_info structure. Also rearrange header file inclusion in group basis. Signed-off-by: Philip Avinash avinashphi...@ti.com Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lad

[PATCH v4 4/6] gpio: davinci: add OF support

2013-11-02 Thread Lad, Prabhakar
[prabhakar.cse...@gmail.com: simplified the OF code, removed unnecessary DT property and also simplified the commit message] Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- .../devicetree/bindings/gpio/gpio-davinci.txt | 32 drivers/gpio

[PATCH v4 1/6] gpio: davinci: Fixed a check for unbanked gpio

2013-11-02 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch fixes the check for the offset in gpio_to_irq_unbanked() function. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/gpio/gpio-davinci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH v4 2/6] gpio: davinci: remove unnecessary printk

2013-11-02 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com the devm_*() helper prints error messages in case of errors no need to do the same in the driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/gpio/gpio-davinci.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions

[PATCH v4 0/6] gpio: daVinci: Fixes and feature enhancement

2013-11-02 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Patches 1, 2 and 3 are newly added. This patch series does the following a Fixes check for offset for unbanked gpios. b Ports the driver to use irqdomain. c Adds dt binding support for gpio-davinci. d Adds DA850 dt support goio. Changes for v4: 1

[PATCH v4 6/6] ARM: davinci: da850 evm: add GPIO pinumux entries DT node

2013-11-02 Thread Lad, Prabhakar
From: KV Sujith sujit...@ti.com Add GPIO DT node and pinmux entries for DA850 EVM. GPIO is configurable differently on different boards. So add GPIO pinmuxing in dts file. Signed-off-by: KV Sujith sujit...@ti.com Signed-off-by: Philip Avinash avinashphi...@ti.com Signed-off-by: Lad, Prabhakar

[PATCH v4 5/6] ARM: davinci: da850: add GPIO DT node

2013-11-02 Thread Lad, Prabhakar
From: KV Sujith sujit...@ti.com Add DT node for Davinci GPIO driver. Signed-off-by: KV Sujith sujit...@ti.com Signed-off-by: Philip Avinash avinashphi...@ti.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/boot/dts/da850.dtsi | 15 +++ 1 file changed, 15

[PATCH] media: davinci_vpfe: fix build error

2013-12-17 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch includes linux/delay.h required for msleep, which fixes following build error. dm365_isif.c: In function ‘isif_enable’: dm365_isif.c:129:2: error: implicit declaration of function ‘msleep’ Signed-off-by: Lad, Prabhakar prabhakar.cse

[PATCH] media: davinci: vpbe: fix build warning

2014-03-13 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch fixes following build warning drivers/media/platform/davinci/vpbe_display.c: In function 'vpbe_start_streaming': drivers/media/platform/davinci/vpbe_display.c:344: warning: unused variable 'vpbe_dev' Signed-off-by: Lad, Prabhakar

[PATCH] media: davinci: vpbe: use v4l2_fh for priority handling

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch migrates the vpbe driver to use v4l2_fh for priority handling. This also fixes v4l2-compliance test. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/davinci/vpbe_display.c | 39

[PATCH RESEND for v3.15 1/3] media: davinci: vpif_capture: fix releasing of active buffers

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4 vb2: only call start_streaming if sufficient buffers are queued the vb2 framework warns on (WARN_ON()) if all the active buffers are not released when streaming is stopped, initially the vb2

[PATCH RESEND for v3.15 0/3] Davinci: media: fix releasing of active buffers

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Resending the patch series as it missed DLOS ML. No-changes from previous version. This patch series fixes the releasing of active buffers in davinci drivers which are migrated to vb2. Hi Hans, This patches are just fixes to v3.15, more patches

[PATCH RESEND for v3.15 2/3] media: davinci: vpif_display: fix releasing of active buffers

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4 vb2: only call start_streaming if sufficient buffers are queued the vb2 framework warns on (WARN_ON()) if all the active buffers are not released when streaming is stopped, initially the vb2

[PATCH RESEND for v3.15 3/3] media: davinci: vpbe_display: fix releasing of active buffers

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4 vb2: only call start_streaming if sufficient buffers are queued the vb2 framework warns on (WARN_ON()) if all the active buffers are not released when streaming is stopped, initially the vb2

[PATCH] media: davinci: vpfe: use v4l2_fh for priority handling

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch migrates the vpfe driver to use v4l2_fh for priority handling. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/davinci/vpfe_capture.c | 13 ++--- include/media/davinci/vpfe_capture.h

[PATCH for v3.15] staging: media: davinci: vpfe: make sure all the buffers are released

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com from commit-id: b3379c6201bb3555298cdbf0aa004af260f2a6a4 vb2: only call start_streaming if sufficient buffers are queued the vb2 framework warns on (WARN_ON()) if all the active buffers are not released when streaming is stopped, initially the vb2

[PATCH for v3.15] media: davinci: vpfe: make sure all the buffers unmapped and released

2014-03-22 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch makes sure that it terminates if any IO in progress and also makes sure that all the buffers are unmapped. It was observed that with several runs of application the application sometimes failed to allocate memory, This patch makes sure

[PATCH 0/2] staging: media: davinci_vpfe: fixes and enhancement

2014-03-23 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com The first patch adds v4l2_fh for priority handling and the second patch makes sure that the buffers are released if start_streaming() callback fails. Lad, Prabhakar (2): staging: media: davinci: vpfe: use v4l2_fh for priority handling staging

[PATCH 1/2] staging: media: davinci: vpfe: use v4l2_fh for priority handling

2014-03-23 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- .../staging/media/davinci_vpfe/vpfe_mc_capture.h |2 -- drivers/staging/media/davinci_vpfe/vpfe_video.c|8 +++- drivers/staging/media/davinci_vpfe/vpfe_video.h|2

[PATCH 2/2] staging: media: davinci: vpfe: release buffers in case start_streaming call back fails

2014-03-23 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch releases the buffer bu calling vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED if start_streaming() call back fails. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/staging/media/davinci_vpfe

[PATCH 2/2] media: davinci: vpif display: upgrade the driver with v4l offerings

2014-03-31 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch upgrades the vpif display driver with v4l helpers, this patch does the following, 1: initialize the vb2 queue and context at the time of probe and removes context at remove() callback. 2: uses vb2_ioctl_*() helpers. 3: uses vb2_fop_

[PATCH 1/2] media: davinci: vpif capture: upgrade the driver with v4l offerings

2014-03-31 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch upgrades the vpif display driver with v4l helpers, this patch does the following, 1: initialize the vb2 queue and context at the time of probe and removes context at remove() callback. 2: uses vb2_ioctl_*() helpers. 3: uses vb2_fop_

[PATCH 0/2] DaVinci: VPIF: upgrade with v4l helpers

2014-03-31 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Hi All, This patch series upgrades the vpif capture display driver with the all the helpers provided by v4l, this makes the driver much simpler and cleaner. This also includes few checkpatch issues. Sending them as single patch one for capture

[PATCH v2 2/2] media: davinci: vpif display: upgrade the driver with v4l offerings

2014-04-03 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch upgrades the vpif display driver with v4l helpers, this patch does the following, 1: initialize the vb2 queue and context at the time of probe and removes context at remove() callback. 2: uses vb2_ioctl_*() helpers. 3: uses vb2_fop_

[PATCH v2 0/2] DaVinci: VPIF: upgrade with v4l helpers

2014-04-03 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Hi All, This patch series upgrades the vpif capture display driver with the all the helpers provided by v4l, this makes the driver much simpler and cleaner. This also includes few checkpatch issues. Sending them as single patch one for capture

[PATCH v2 1/2] media: davinci: vpif capture: upgrade the driver with v4l offerings

2014-04-03 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch upgrades the vpif display driver with v4l helpers, this patch does the following, 1: initialize the vb2 queue and context at the time of probe and removes context at remove() callback. 2: uses vb2_ioctl_*() helpers. 3: uses vb2_fop_

  1   2   >