[PATCH] s5p-fimc: Fix typo of URL pointing to Media Controller API's

2013-01-01 Thread Lad, Prabhakar
Signed-off-by: Lad, Prabhakar Cc: Sylwester Nawrocki Cc: Kyungmin Park --- Documentation/video4linux/fimc.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/video4linux/fimc.txt b/Documentation/video4linux/fimc.txt index fd02d9a..25f4d34 100644 --- a

[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 --- 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 100644 --- a/drivers

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

2013-01-02 Thread Lad, Prabhakar
the variable to 0. Signed-off-by: Lad, Prabhakar --- 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..3c28aaa 100644 --- a

[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 Signed-off-by: Manjunath Hadli --- drivers/media/i2c/adv7343.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers

[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 Signed-off-by: Manjunath Hadli --- drivers/media/i2c/ths7303.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c

[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 Signed-off-by: Manjunath Hadli --- drivers/media/i2c/tvp514x.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/media

[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 Signed-off-by: Manjunath Hadli --- drivers/media/i2c/tvp7002.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH v2] 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 Signed-off-by: Manjunath Hadli --- Changes for v2: 1: Fixed comments pointed out by Laurent. drivers/media/i2c/adv7343.c |9 +++-- 1 files

[PATCH v2] 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 Signed-off-by: Manjunath Hadli --- Changes for v2: 1: Fixed comments pointed out by Laurent. drivers/media/i2c/tvp514x.c |4 +--- 1 files changed, 1

[PATCH v2] 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 Signed-off-by: Manjunath Hadli --- Changes for v2: 1: Fixed comments pointed out by Laurent. drivers/media/i2c/tvp7002.c | 18 ++ 1

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

2013-08-14 Thread Lad, Prabhakar
From: "Lad, Prabhakar" 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 to be added, o

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

2013-08-14 Thread Lad, Prabhakar
From: "Lad, Prabhakar" 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 --- changes for v2: None Changes for v3: a> added clock lookup entry for da

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

2013-08-14 Thread Lad, Prabhakar
From: "Lad, Prabhakar" Add OF_DEV_AUXDATA for eth0 driver in da850 board dt file to use emac clock. Signed-off-by: Lad, Prabhakar --- Changes for V2: none Changes for V3: none Changes for v4: none arch/arm/mach-davinci/da8xx-dt.c |3 +++ 1 file changed, 3 insertions(+) di

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

2013-08-14 Thread Lad, Prabhakar
From: "Lad, Prabhakar" Add mdio device tree node information to da850 by providing register details and bus frequency of mdio. Signed-off-by: Lad, Prabhakar --- Changes for v2: none Changes for v3: a> Added pin entries for mdio. Changes for v4: none arch/arm/b

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

2013-08-14 Thread Lad, Prabhakar
From: "Lad, Prabhakar" Add OF_DEV_AUXDATA for mdio driver in da850 board dt file to use mdio clock. Signed-off-by: Lad, Prabhakar --- Changes for v2: none Changes for v3: none Changes for v4: none arch/arm/mach-davinci/da8xx-dt.c |1 + 1 file changed, 1 insertion(+) diff --

[PATCH v4 4/5] ARM: davinci: da850: add DT node for eth0.

2013-08-14 Thread Lad, Prabhakar
From: "Lad, Prabhakar" Add eth0 device tree node information and pinmux for mii to da850 by providing interrupt details and local mac address of eth0. Signed-off-by: Lad, Prabhakar --- Changes for v2: None Changes for v3: a> Split the pinmux for mdio and mii. Changes

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

2013-08-16 Thread Lad, Prabhakar
From: "Lad, Prabhakar" 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 by S

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

2013-08-16 Thread Lad, Prabhakar
From: "Lad, Prabhakar" 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 --- arch/arm/boot/dts/da850-evm.dts |5 + arch/arm/boot/dts/da850.dtsi

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

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

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

2013-08-16 Thread Lad, Prabhakar
From: "Lad, Prabhakar" 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 --- Changes for v6: 1: Fixed review comment pointed by Sergei. arch/arm/boot/dts/da850-evm.

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

2013-08-17 Thread Lad, Prabhakar
From: Philip Avinash 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 additional software latencie

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

2013-08-17 Thread Lad, Prabhakar
ash Acked-by: Linus Walleij [nsek...@ti.com: dropped unused structure member, rebased on new clean-up patch and fixes error messages] Signed-off-by: Sekhar Nori Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/include/mach/gpio-davinci.h |1 + drivers/gpio/g

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

2013-08-17 Thread Lad, Prabhakar
name changes] Acked-by: Linus Walleij Signed-off-by: Sekhar Nori Signed-off-by: Lad, Prabhakar --- drivers/gpio/gpio-davinci.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 17df6db

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

2013-08-17 Thread Lad, Prabhakar
structure Signed-off-by: KV Sujith Signed-off-by: Philip Avinash Acked-by: Linus Walleij [nsek...@ti.com: simplify commit message] Signed-off-by: Sekhar Nori Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/da830.c |4 arch/arm/mach-davinci/da850.c |4

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

2013-08-17 Thread Lad, Prabhakar
From: Philip Avinash 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 Signed-off-by: Sekhar Nori Signed-off-by: Lad, Prabhakar Acked-by: Linus Walleij --- arch/arm/mach-davinci

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

2013-08-17 Thread Lad, Prabhakar
commit message] Signed-off-by: Sekhar Nori Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/davinci.h |2 ++ arch/arm/mach-davinci/devices.c | 13 + 2 files changed, 15 insertions(+) diff --git a/arch/arm/mach-davinci/davinci.h b/arch/arm/mach-davinci/davinci.h index

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

2013-08-17 Thread Lad, Prabhakar
tions. Signed-off-by: Philip Avinash Signed-off-by: Sekhar Nori Signed-off-by: Lad, Prabhakar Acked-by: Linus Walleij --- arch/arm/Kconfig |1 - arch/arm/mach-davinci/da830.c |1 - arch/arm/mach-davinci/da850.c |1 -

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

2013-08-17 Thread Lad, Prabhakar
Nori Signed-off-by: Lad, Prabhakar Acked-by: Linus Walleij --- arch/arm/mach-davinci/board-dm355-evm.c | 33 +++- arch/arm/mach-davinci/board-dm355-leopard.c | 30 ++- arch/arm/mach-davinci/board-dm365-evm.c | 30 ++- arch/arm/mach-davinci

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

2013-07-18 Thread Lad, Prabhakar
From: "Lad, Prabhakar" add OF support for the tvp7002 driver. Signed-off-by: Lad, Prabhakar --- This patch depends on https://patchwork.kernel.org/patch/2828800/ Changes for v4: 1: Improved descrition of end point properties. Changes for v3: 1: Fixed review comments

[PATCH v3 1/2] media: i2c: adv7343: make the platform data members as array

2013-07-19 Thread Lad, Prabhakar
From: "Lad, Prabhakar" This patch makes the platform data members as array wherever possible, so as this makes easier while collecting the data in DT case and read the entire array at once. This patch also makes appropriate changes to board-da850-evm.c Signed-off-by: Lad, Prabhakar

[PATCH v3 2/2] media: i2c: adv7343: add OF support

2013-07-19 Thread Lad, Prabhakar
From: "Lad, Prabhakar" add OF support for the adv7343 driver. Signed-off-by: Lad, Prabhakar --- Changes for v3: 1: Fixed review comments pointed by Sylwester. Changes for v2: 1: Fixed naming of properties. .../devicetree/bindings/media/i2c/adv7343.txt

[PATCH v3 0/2] adv7343 add OF support

2013-07-19 Thread Lad, Prabhakar
From: "Lad, Prabhakar" This series adds OF support for adv7343 driver. The first patch makes platform data members as a array, so to ease in adding DT support. Lad, Prabhakar (2): media: i2c: adv7343: make the platform data members as array media: i2c: adv7343: add

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

2013-08-10 Thread Lad, Prabhakar
From: "Lad, Prabhakar" This patch adds 'sync-on-green-active' property as part of endpoint property. Signed-off-by: Lad, Prabhakar Acked-by: Sylwester Nawrocki --- Changes for non RFC: 1: Fixed review comments pointed by Hans. 2: Added Ack from Sylwester.

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

2013-08-10 Thread Lad, Prabhakar
From: "Lad, Prabhakar" add OF support for the tvp7002 driver. Signed-off-by: Lad, Prabhakar --- This patch depends on https://patchwork.kernel.org/patch/2842680/ Changes for v5: 1: Fixed review comments pointed by Hans. Changes for v4: 1: Improved descrition of end point

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

2013-05-12 Thread Lad Prabhakar
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] drivers/staging: davinci: vpfe: fix dependency for building the driver

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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), This patch fixes this dependency

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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 in dbg_g/s_register media: usb

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- drivers/media/i2c/ad9389b.c |4 drivers/media/i2c/adv7183.c |4 drivers

[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 This patch removes check for EPERM in dbg_g/s_register as this check is already performed by core. Signed-off-by: Lad, Prabhakar --- drivers/media/dvb-frontends/au8522_decoder.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar This patch removes check for EPERM in vidioc_g/s_register as this check is already performed by core. Signed-off-by: Lad, Prabhakar --- drivers/media/usb/pvrusb2/pvrusb2-hdw.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- drivers/media/pci/bt8xx/bttv-driver.c |6 -- drivers/media/pci/cx18/cx18-av-core.c |4

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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 drivers register devices

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar Both synchronous and asynchronous tvp514x subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar Cc: Guennadi Liakhovetski Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab --- drivers/media/i2c/tvp514x.c | 23

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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 Cc: Guennadi Liakhovetski Cc: Hans Verkuil Cc: Laurent

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar 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 Cc: Guennadi Liakhovetski Cc: Hans Verkuil Cc: Laurent

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

2013-05-13 Thread Lad Prabhakar
From: Lad, Prabhakar Both synchronous and asynchronous adv7343 subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar Cc: Guennadi Liakhovetski Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab --- drivers/media/i2c/adv7343.c | 16

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar add OF support for the tvp514x driver. Alongside this patch removes unnecessary header file inclusion and sorts them alphabetically. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar 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 members media: i2c

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar 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 Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar 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 Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar This patch rearranges the header inclusion alphabetically and also removes unnecessary includes. 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: linux

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar Both synchronous and asynchronous tvp7002 subdevice probing is supported by this patch. 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: linux-kernel

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar add OF support for the tvp7002 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: devicetree

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

2013-05-14 Thread Lad Prabhakar
From: Lad, Prabhakar add OF support for the tvp514x driver. Alongside this patch removes unnecessary header file inclusion and sorts them alphabetically. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar 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 pdata media: i2c

[PATCH 1/6] media: i2c: ths7303: remove init_enable option from pdata

2013-05-15 Thread Lad Prabhakar
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 2/6] ARM: davinci: dm365 evm: remove init_enable from ths7303 pdata

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar remove init_enable from ths7303 pdata as it is no longer exists. Signed-off-by: Lad, Prabhakar Cc: Sekhar Nori Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Nawrocki Cc: Sakari Ailus Cc: linux-kernel

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

2013-05-15 Thread Lad Prabhakar
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 4/6] media: i2c: ths7303: make the pdata as a constant pointer

2013-05-15 Thread Lad Prabhakar
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

[PATCH 5/6] media: i2c: ths7303: add support for asynchronous probing

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar Both synchronous and asynchronous ths7303 subdevice probing is supported by this patch. 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: linux-kernel

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

2013-05-15 Thread Lad Prabhakar
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: devicetree

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar 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 Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhov

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

2013-05-15 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- NOte:- Boot tested on Logic-PD OMAP-L138 EVM arch

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

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

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- drivers/video/da8xx-fb.c | 39

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar 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 the alphabetically

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar 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: davinci_emac: remove unwanted

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar This patch removes unwanted header inclusion and sorts them alphabetically Signed-off-by: Lad, Prabhakar --- drivers/net/ethernet/ti/davinci_emac.c | 42 +++- 1 files changed, 9 insertions(+), 33 deletions(-) diff --git a/drivers/net

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- drivers/net/ethernet/ti/davinci_emac.c

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- drivers/net/ethernet/ti/davinci_emac.c | 67 +++- 1 files

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar 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 --- drivers/net/ethernet/ti/davinci_mdio.c | 23 +++ 1 files changed

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar --- 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/ti/davinci_cpdma.c index 49dfd59..f7ce97f 100644

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

2013-05-16 Thread Lad Prabhakar
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 3.10.rc1 and is tested on OMAP-L138. Lad, Prabhakar (7): media: davinci: vpif: remove unwanted header includes

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar --- 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/davinci/vpif.c index ea82a8b..d354d50 100644 --- a/drivers

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

2013-05-16 Thread Lad Prabhakar
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 3/7] media: davinci: vpif: remove unnecessary braces around defines

2013-05-16 Thread Lad Prabhakar
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 7d028ca..1f2b2c6 100644 --- a

[PATCH 4/7] media: davinci: vpif_capture: remove unwanted header inclusion and sort them alphabetically

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar This patch removes unwanted header inclusion and sorts them alphabetically Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 21 + drivers/media/platform/davinci/vpif_capture.h |6 ++ 2 files changed, 7

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

2013-05-16 Thread Lad Prabhakar
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 | 75

[PATCH 6/7] media: davinci: vpif_display: remove unwanted header inclusion and sort them alphabetically

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar This patch removes unwanted header inclusion and sorts them alphabetically Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_display.c | 23 +++ drivers/media/platform/davinci/vpif_display.h |6 ++ 2 files changed, 5

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

2013-05-16 Thread Lad Prabhakar
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 | 62

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

2013-05-16 Thread Lad Prabhakar
From: Lad, Prabhakar This patch adds "sync-on-green" property as part of endpoint properties and also support to parse them in the parser. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski Cc: Sylwester Na

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

2013-05-09 Thread Lad Prabhakar
From: Lad, Prabhakar 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 Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci

[PATCH] videodev2.h: fix typos

2013-05-20 Thread Lad Prabhakar
From: Lad, Prabhakar This patch fixes several typos in videodev2.h file Signed-off-by: Lad, Prabhakar --- include/uapi/linux/videodev2.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index

[PATCH] media: tvp514x: remove field description

2013-01-14 Thread Lad, Prabhakar
This patch removes the field description of fields that no longer exists, along side aligns the field description of fields. Signed-off-by: Lad, Prabhakar --- include/media/tvp514x.h |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/media/tvp514x.h b/include

[PATCH] media: adv7343: accept configuration through platform data

2013-01-15 Thread Lad, Prabhakar
The current code was implemented with some default configurations, this default configuration works on board and doesn't work on other. This patch accepts the configuration through platform data and configures the encoder depending on the data set. Signed-off-by: Lad, Prabhakar --- dr

[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 --- This patch is dependent on http

[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 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 Cc: Guennadi Liakhovetski Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Sakari Ailus Cc: Mauro Carvalho Chehab --- drivers/media/platform/davinci/vpif_capture.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 Cc: Guennadi Liakhovetski Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab --- drivers/media/i2c/tvp514x.c | 20 ++-- 1

[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 Cc: Sekhar Nori --- arch/arm/mach-davinci/board-da850

Re: [PATCH 2/3] [media] davinci: constify platform_device_id

2017-08-17 Thread Lad, Prabhakar
Arvind Yadav Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad

Re: [PATCH] [media] davinci/dm644x: work around ccdc_update_raw_params trainwreck

2017-06-20 Thread Lad, Prabhakar
Hi Arnd, Thanks for the patch. On Fri, Jun 9, 2017 at 10:36 PM, Arnd Bergmann wrote: > Now that the davinci drivers can be enabled in compile tests on other > architectures, I ran into this warning on a 64-bit build: > > drivers/media/platform/davinci/dm644x_ccdc.c: In function > 'ccdc_update_r

Re: [PATCH 2/2] fbdev: ssd1307fb: add ssd1309 support

2015-09-09 Thread Lad, Prabhakar
. > > Signed-off-by: Olliver Schinagl Acked-by: Lad, Prabhakar Cheers, --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

Re: [PATCH v2 1/2] media: davinci: vpif_display: Mix memory leak on probe error path

2018-08-13 Thread Lad, Prabhakar
/vpif_display.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad

[PATCH v5] media: platform: add VPFE capture driver support for AM437X

2014-12-08 Thread Lad, Prabhakar
Signed-off-by: Darren Etheridge Signed-off-by: Lad, Prabhakar --- Changes for v5: 1: Fixed review comments pointed out by Hans, fixing race condition. v4l2-compliance output:- -- root@am437x-evm:~# ./v4l2-compliance -s -i 0 -vv Driver Info: Driver name : vpfe

[PATCH v6] media: platform: add VPFE capture driver support for AM437X

2014-12-09 Thread Lad, Prabhakar
Signed-off-by: Darren Etheridge Signed-off-by: Lad, Prabhakar --- Changes for v6: 1: Fixed review comments pointed Hans, fixing race condition. v5: https://patchwork.kernel.org/patch/5459311/ v4: https://patchwork.kernel.org/patch/5449211/ v3: https://patchwork.kernel.org/patch/5434291/ v2

[PATCH] misc: suppress build warning

2014-12-04 Thread Lad, Prabhakar
declared here uint64_t start, end, period; Signed-off-by: Lad, Prabhakar --- Note:- I have compile tested only, and this was noticed on linux-next drivers/misc/ioc4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/ioc4.c b/drivers/misc/ioc4.c index 3336ddc

[PATCH] power: bq24190_charger: suppress build warning

2014-12-04 Thread Lad, Prabhakar
g, f_reg; Signed-off-by: Lad, Prabhakar --- drivers/power/bq24190_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/bq24190_charger.c b/drivers/power/bq24190_charger.c index ad3ff8f..72e552d 100644 --- a/drivers/power/bq24190_charger.c +++ b/drive

[PATCH v4] media: platform: add VPFE capture driver support for AM437X

2014-12-06 Thread Lad, Prabhakar
Signed-off-by: Darren Etheridge Signed-off-by: Lad, Prabhakar --- Changes for v4: 1: Fixed review comments pointed by Hans to check ycbcr_enc and quantization while comparing formats, fixed the release function and dropped compose cases for vpfe_g_selection as compose isn't supp

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, On Thu, Jan 22, 2015 at 4:16 PM, Shuah Khan wrote: > Hi Prabhakar, > [snip] >>> + buf->vb.v4l2_buf.field = V4L2_FIELD_INTERLACED; >>> + v4l2_get_timestamp(&buf->vb.v4l2_buf.timestamp); >>> + vb2_buffer_done(&buf->vb, VB2_BUF_STATE_DONE); >>> } >>> >> Why not just have

  1   2   3   4   5   6   7   8   9   10   >