[PATCH/RFC v8 13/14] of: Add Skyworks Solutions, Inc. vendor prefix

2014-11-28 Thread Jacek Anaszewski
Use skyworks as the vendor prefix for the Skyworks Solutions, Inc. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell

[PATCH/RFC v8 14/14] DT: Add documentation for the Skyworks AAT1290

2014-11-28 Thread Jacek Anaszewski
This patch adds device tree binding documentation for 1.5A Step-Up Current Regulator for Flash LEDs. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net Cc: Rob Herring

[PATCH/RFC v8 12/14] leds: Add driver for AAT1290 current regulator

2014-11-28 Thread Jacek Anaszewski
This patch adds a driver for the 1.5A Step-Up Current Regulator for Flash LEDs. The device is programmed through a Skyworks proprietary AS2Cwire serial digital interface. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

[PATCH/RFC v8 09/14] mfd: max77693: adjust max77693_led_platform_data

2014-11-28 Thread Jacek Anaszewski
Add label array for Device Tree strings with the name of a LED device and make flash_timeout a two element array, for caching the sub-led related flash timeout. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park

[PATCH/RFC v8 10/14] leds: Add support for max77693 mfd flash cell

2014-11-28 Thread Jacek Anaszewski
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface or through V4L2 sub-device when the support for V4L2 Flash sub-devices is enabled. Device supports up to two leds which can work in flash and torch mode. The

[PATCH/RFC v8 11/14] DT: Add documentation for the mfd Maxim max77693

2014-11-28 Thread Jacek Anaszewski
This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Signed-off-by: Andrzej Hajda a.ha...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Lee Jones

[PATCH/RFC v8 08/14] DT: Add documentation for exynos4-is 'flashes' property

2014-11-28 Thread Jacek Anaszewski
This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

[PATCH/RFC v8 07/14] exynos4-is: Add support for v4l2-flash subdevs

2014-11-28 Thread Jacek Anaszewski
This patch adds suppport for external v4l2-flash devices. The support includes parsing flashes Device Tree property and asynchronous subdevice registration. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki

[PATCH/RFC v8 04/14] v4l2-async: change custom.match callback argument type

2014-11-28 Thread Jacek Anaszewski
It is useful to have an access to the async sub-device being matched, not only to the related struct device. Change match callback argument from struct device to struct v4l2_subdev. It will allow e.g. for matching a sub-device by its name property. Signed-off-by: Jacek Anaszewski

[PATCH/RFC v8 05/14] v4l2-ctrls: Add V4L2_CID_FLASH_SYNC_STROBE control

2014-11-28 Thread Jacek Anaszewski
Add V4L2_CID_FLASH_SYNC_STROBE control for determining whether a flash device strobe has to be synchronized with other flash leds controller by the same device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sakari Ailus

[PATCH/RFC v8 06/14] media: Add registration helpers for V4L2 flash sub-devices

2014-11-28 Thread Jacek Anaszewski
This patch adds helper functions for registering/unregistering LED Flash class devices as V4L2 sub-devices. The functions should be called from the LED subsystem device driver. In case the support for V4L2 Flash sub-devices is disabled in the kernel config the functions' empty versions will be

[PATCH/RFC v8 03/14] Documentation: leds: Add description of v4l2-flash sub-device

2014-11-28 Thread Jacek Anaszewski
This patch extends LED Flash class documention by the description of interactions with v4l2-flash sub-device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCH/RFC v8 02/14] Documentation: leds: Add description of LED Flash class extension

2014-11-28 Thread Jacek Anaszewski
The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCH/RFC v8 00/14] LED / flash API integration

2014-11-28 Thread Jacek Anaszewski
This patch set is a follow-up of the LED / flash API integration series [1]. Changes since version 7: - removed explicit support for indicator leds from LED Flash class - indicator leds will be registered as a separate LED Flash class devices

[PATCH/RFC v8 01/14] leds: Add LED Flash class extension to the LED subsystem

2014-11-28 Thread Jacek Anaszewski
Some LED devices support two operation modes - torch and flash. This patch provides support for flash LED devices in the LED subsystem by introducing new sysfs attributes and kernel internal interface. The attributes being introduced are: flash_brightness, flash_strobe, flash_timeout,

Re: [PATCH/RFC v7 2/3] leds: Add LED Flash Class wrapper to LED subsystem

2014-11-28 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. [...] +static void led_clamp_align(struct led_flash_setting *s) +{ + u32 v, offset; + + v = s-val + s-step / 2; + v = clamp(v, s-min, s-max); + offset = v - s-min; + offset = s-step * (offset / s-step); You could use the

[PATCH 0/4] media: ov2640: add device tree support

2014-11-28 Thread Josh Wu
This patch series add device tree support for ov2640. And also add the document for the devicetree properties. Josh Wu (4): media: ov2640: add async probe function media: ov2640: add primary dt support media: ov2640: add a master clock for sensor media: ov2640: dt: add the device tree

[PATCH 0/4] media: ov2640: add device tree support

2014-11-28 Thread Josh Wu
This patch series add device tree support for ov2640. And also add the document for the devicetree properties. Josh Wu (4): media: ov2640: add async probe function media: ov2640: add primary dt support media: ov2640: add a master clock for sensor media: ov2640: dt: add the device tree

[PATCH 1/4] media: ov2640: add async probe function

2014-11-28 Thread Josh Wu
To support async probe for ov2640, we need remove the code to get 'mclk' in ov2640_probe() function. oterwise, if soc_camera host is not probed in the moment, then we will fail to get 'mclk' and quit the ov2640_probe() function. So in this patch, we move such 'mclk' getting code to

[PATCH 3/4] media: ov2640: add a master clock for sensor

2014-11-28 Thread Josh Wu
The master clock can be optional. It's a common clock framework clock. It can make sensor output a pixel clock to the camera interface. If you just use a external oscillator clock as the master clock, then, just don't need set 'mck' in dt node. Signed-off-by: Josh Wu josh...@atmel.com ---

[PATCH 4/4] media: ov2640: dt: add the device tree binding document

2014-11-28 Thread Josh Wu
Add the document for ov2640 dt. Cc: devicet...@vger.kernel.org Signed-off-by: Josh Wu josh...@atmel.com --- .../devicetree/bindings/media/i2c/ov2640.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov2640.txt

[PATCH 2/4] media: ov2640: add primary dt support

2014-11-28 Thread Josh Wu
Add device tree support for ov2640. Cc: devicet...@vger.kernel.org Signed-off-by: Josh Wu josh...@atmel.com --- drivers/media/i2c/soc_camera/ov2640.c | 95 --- 1 file changed, 89 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/soc_camera/ov2640.c

Re: [PATCH/RFC v8 08/14] DT: Add documentation for exynos4-is 'flashes' property

2014-11-28 Thread Mark Rutland
On Fri, Nov 28, 2014 at 09:18:00AM +, Jacek Anaszewski wrote: This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Sylwester Nawrocki

[PATCH] em28xx: checkpatch cleanup: whitespaces/new lines cleanups

2014-11-28 Thread Mauro Carvalho Chehab
This patch is basically produced while testing a tool that Joe Perches sent upstream sometime ago: https://lkml.org/lkml/2014/7/11/794 I used it with those arguments: scripts/reformat_with_checkpatch.sh drivers/media/usb/em28xx/em28xx*.[ch] It actually produced 24 patches, with

Re: [PATCH/RFC v8 08/14] DT: Add documentation for exynos4-is 'flashes' property

2014-11-28 Thread Jacek Anaszewski
On 11/28/2014 12:14 PM, Mark Rutland wrote: On Fri, Nov 28, 2014 at 09:18:00AM +, Jacek Anaszewski wrote: This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [PATCH/RFC v8 08/14] DT: Add documentation for exynos4-is 'flashes' property

2014-11-28 Thread Mark Rutland
On Fri, Nov 28, 2014 at 12:09:14PM +, Jacek Anaszewski wrote: On 11/28/2014 12:14 PM, Mark Rutland wrote: On Fri, Nov 28, 2014 at 09:18:00AM +, Jacek Anaszewski wrote: This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski

[PATCH] s5p-jpeg: Fix possible NULL pointer dereference in s_fmt

2014-11-28 Thread Jacek Anaszewski
Some formats are not supported in encoding or decoding mode for given type of buffer (e.g. V4L2_PIX_FMT_JPEG is supported on output buffer only while in decoding mode). Make S_FMT failing if not suitable format is found. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com ---

Re: [PATCH/RFC v4 11/11] Add a libv4l plugin for Exynos4 camera

2014-11-28 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 11/27/2014 09:41 AM, Sakari Ailus wrote: Hi Jacek, On Fri, Nov 21, 2014 at 05:14:40PM +0100, Jacek Anaszewski wrote: The plugin provides support for the media device on Exynos4 SoC. It performs single plane - multi plane API conversion, video pipeline

Re: [PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver

2014-11-28 Thread Hans de Goede
Hi, On 11/27/2014 08:05 PM, Maxime Ripard wrote: Hi, On Thu, Nov 27, 2014 at 11:10:51AM +0100, Hans de Goede wrote: Hi, On 11/27/2014 10:28 AM, Chen-Yu Tsai wrote: Hi, On Thu, Nov 27, 2014 at 4:41 PM, Hans de Goede hdego...@redhat.com wrote: snip I notice that you've not responded to

Re: [PATCH/RFC v8 08/14] DT: Add documentation for exynos4-is 'flashes' property

2014-11-28 Thread Jacek Anaszewski
On 11/28/2014 01:30 PM, Mark Rutland wrote: On Fri, Nov 28, 2014 at 12:09:14PM +, Jacek Anaszewski wrote: On 11/28/2014 12:14 PM, Mark Rutland wrote: On Fri, Nov 28, 2014 at 09:18:00AM +, Jacek Anaszewski wrote: This patch adds a description of 'flashes' property to the

Re: [PATCH/RFC v8 08/14] DT: Add documentation for exynos4-is 'flashes' property

2014-11-28 Thread Mark Rutland
On Fri, Nov 28, 2014 at 02:11:04PM +, Jacek Anaszewski wrote: On 11/28/2014 01:30 PM, Mark Rutland wrote: On Fri, Nov 28, 2014 at 12:09:14PM +, Jacek Anaszewski wrote: On 11/28/2014 12:14 PM, Mark Rutland wrote: On Fri, Nov 28, 2014 at 09:18:00AM +, Jacek Anaszewski wrote:

[PATCH 0/3] hdmi: add unpack and logging functions

2014-11-28 Thread Hans Verkuil
This patch series adds new HDMI 2.0/CEA-861-F defines to hdmi.h and adds unpacking and logging functions to hdmi.c. It also uses those in the V4L2 adv7842 driver (and they will be used in other HDMI drivers once this functionality is merged). Patches 2 and 3 have been posted before by Martin

[PATCH 1/3] hdmi: add new HDMI 2.0 defines

2014-11-28 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add new Video InfoFrame colorspace information introduced in HDMI 2.0 and new Audio Coding Extension Types, also from HDMI 2.0. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/linux/hdmi.h | 20 1 file changed, 20

[PATCH 2/3] hdmi: added unpack and logging functions for InfoFrames

2014-11-28 Thread Hans Verkuil
From: Martin Bugge marbu...@cisco.com When receiving video it is very useful to be able to unpack the InfoFrames. Logging is useful as well, both for transmitters and receivers. Especially when implementing the VIDIOC_LOG_STATUS ioctl (supported by many V4L2 drivers) for a receiver it is

[PATCH 3/3] adv7842: simplify InfoFrame logging

2014-11-28 Thread Hans Verkuil
From: Martin Bugge marbu...@cisco.com Use the new logging functions from the hdmi module. Signed-off-by: Martin Bugge marbu...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/adv7842.c | 174

[PATCH] omap_vout: fix compile warnings

2014-11-28 Thread Hans Verkuil
When compiling under COMPILE_TEST on a x86_64 the following warnings appear: drivers/media/platform/omap/omap_vout.c: In function 'omap_vout_uservirt_to_phys': drivers/media/platform/omap/omap_vout.c:209:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Re: i.MX6 CODA960 encoder

2014-11-28 Thread Philipp Zabel
Am Donnerstag, den 27.11.2014, 16:10 -0200 schrieb Fabio Estevam: On Thu, Nov 27, 2014 at 3:54 PM, Jean-Michel Hautbois jean-michel.hautb...@vodalys.com wrote: I don't have the same behaviour, but I may have missed a patch. I have taken linux-next and rebased my work on it. I have some

Re: em28xx: Terratec G1 USB stick doesn't start recording

2014-11-28 Thread Per Weisteen
Hi Is there anyone that could provide me with some kind of response here ? Not much use in posting questions to this mailinglist as suggested in http://www.linuxtv.org/wiki/index.php/Em28xx_devices if there is no response. Regards, Per Weisteen On 14. nov. 2014 15:52, Per Weisteen wrote: Hi

Re: [PATCH/RFC v4 05/11] mediactl: Add media device graph helpers

2014-11-28 Thread Sakari Ailus
Hi Jacek, On Fri, Nov 21, 2014 at 05:14:34PM +0100, Jacek Anaszewski wrote: Add new graph helpers useful for video pipeline discovering. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com --- utils/media-ctl/libmediactl.c | 174

Re: [PATCH v3] media: usb: uvc: use vb2_ops_wait_prepare/finish helper

2014-11-28 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Thu, Nov 27, 2014 at 9:32 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, [Snip] + queue-queue.lock = queue-mutex; I'm a bit concerned that this would introduce future breakages. Setting the queue.lock pointer enables

Re: [PATCH/RFC v4 07/11] media-ctl: libv4l2subdev: add VYUY8_2X8 mbus code

2014-11-28 Thread Sakari Ailus
On Fri, Nov 21, 2014 at 05:14:36PM +0100, Jacek Anaszewski wrote: The VYUY8_2X8 media bus format is the only one supported by the S5C73M3 camera sensor, that is a part of the media device on the Exynos4412-trats2 board. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by:

ISDB caption support

2014-11-28 Thread David Liontooth
What is the status of ISDB-Tb / ISDB-T International / ISDB Japanese closed captioning support? If anyone is working on this, please get in touch -- we're particularly interested in getting Brazilian SBTVD working. I see Mauro has been working on DVBv5 support, but does this include

Re: [PATCH v3 1/3] drm: add bus_formats and nbus_formats fields to drm_display_info

2014-11-28 Thread Laurent Pinchart
Hi Boris, Thank you for the patch. I just have two small comments. On Tuesday 18 November 2014 14:46:18 Boris Brezillon wrote: Add bus_formats and nbus_formats fields and drm_display_info_set_bus_formats helper function to specify the bus formats supported by a given display. This

[GIT PULL] soc-camera: 1st set for 3.19

2014-11-28 Thread Guennadi Liakhovetski
Hi Mauro, IIUC, this coming Sunday might be the last -rc, so, postponing pull requests to subsystem maintainers even further isn't a good idea, so, here goes an soc-camera request. I know it isn't complete, there are a few more patches waiting to be pushed upstream, but I won't have time this

Re: [PATCH v3 0/3] drm: describe display bus format

2014-11-28 Thread Laurent Pinchart
Hi Boris, On Thursday 27 November 2014 14:37:50 Boris Brezillon wrote: On Tue, 18 Nov 2014 14:46:17 +0100 Boris Brezillon wrote: Hello, This series makes use of the MEDIA_BUS_FMT definition to describe how the data are transmitted to the display. This will allow drivers to

[PATCH v2.1 1/5] v4l: Clean up sub-device format documentation

2014-11-28 Thread Sakari Ailus
The sub-device format documentation documented scaling configuration through formats. Instead the compose selection rectangle is elsewhere documented to be used for the purpose. Remove scaling related part of the documentation. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Acked-by: Hans

[GIT PULL FOR v3.19] Add V4L2_SEL_TGT_NATIVE_SIZE target

2014-11-28 Thread Sakari Ailus
Hi Mauro, This pull request adds support for the V4L2_SEL_TGT_NATIVE_SIZE selection target to access the device's native size. Among is also a patch to clean up sub-device interface documentation and capability flags to tell whether setting the native size is possible. Please pull. The

Re: ISDB caption support

2014-11-28 Thread Devin Heitmueller
Hi David, ISDB-T subtitles are done in a similar manner to DVB-T subtitles - there is a PID in the stream which contains the subtitle data, which needs to be decoded by the application (just as you would handle DVB-T subtitles or ATSC closed captions). It's entirely an application level

Re: ISDB caption support

2014-11-28 Thread David Liontooth
Hi Devin, Great, thanks. I realize captions is an application-layer function, and intend to work with the CCExtractor team. Do any other applications already have ISDB caption support? For DVB and ATSC there's quite a bit of code written by several people for teletext and captions -- has

Re: ISDB caption support

2014-11-28 Thread Devin Heitmueller
I realize captions is an application-layer function, and intend to work with the CCExtractor team. Do any other applications already have ISDB caption support? Based on a Google search, it looks like dvbviewer can decode them:

cron job: media_tree daily build: WARNINGS

2014-11-28 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sat Nov 29 04:00:15 CET 2014 git branch: test git hash: 504febc3f98c87a8bebd8f2f274f32c0724131e4 gcc