Re: [PATCH v2 02/11] leds: add uapi header file

2015-03-30 Thread Jacek Anaszewski
Hi Sakari, On 03/28/2015 11:35 PM, Sakari Ailus wrote: Hi Jacek, On Fri, Mar 27, 2015 at 02:49:36PM +0100, Jacek Anaszewski wrote: This patch adds header file for LED subsystem definitions and declarations. The initial need for the header is allowing the user space to discover the semantics

Re: [PATCH] dw2102: switch ts2022 to ts2020 driver

2015-03-30 Thread Olli Salonen
Just tested this and it seems to work fine with the TT S2-4600. Reviewed-by: Olli Salonen olli.salo...@iki.fi On 30 March 2015 at 01:35, Antti Palosaari cr...@iki.fi wrote: Change ts2022 driver to ts2020 driver. ts2020 driver supports both tuner chip models. That affects TechnoTrend

Re: [PATCH v2 04/11] DT: Add documentation for the mfd Maxim max77693

2015-03-30 Thread Jacek Anaszewski
Hi Sakari, On 03/28/2015 11:55 PM, Sakari Ailus wrote: On Fri, Mar 27, 2015 at 02:49:38PM +0100, Jacek Anaszewski wrote: 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

Re: [PATCH v2 04/11] DT: Add documentation for the mfd Maxim max77693

2015-03-30 Thread Sakari Ailus
Hi Jacek, On Mon, Mar 30, 2015 at 09:36:37AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 03/28/2015 11:55 PM, Sakari Ailus wrote: On Fri, Mar 27, 2015 at 02:49:38PM +0100, Jacek Anaszewski wrote: This patch adds device tree binding documentation for the flash cell of the Maxim max77693

ivtv: v4l2-compliance fixes

2015-03-30 Thread Hans Verkuil
Two patches to fix v4l2-compliance failures in ivtv. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/2] ivtv: replace crop by selection

2015-03-30 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Replace the old g/s_crop ioctls by the new g/s_selection ioctls. This solves a v4l2-compliance failure, and it is something that needs to be done anyway to eventually be able to remove the old g/s_crop ioctl ops. Signed-off-by: Hans Verkuil

[PATCH v3] Documentation: leds: Add description of v4l2-flash sub-device

2015-03-30 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 v3] DT: Add documentation for the mfd Maxim max77693

2015-03-30 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 Acked-by: Sakari Ailus

[PATCH v3] leds: Add support for max77693 mfd flash cell

2015-03-30 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. Device supports up to two leds which can work in flash and torch mode. The leds can be triggered externally or by software. Signed-off-by: Jacek Anaszewski

[PATCH 2/2] ivtv: disable fbuf support if ivtvfb isn't loaded

2015-03-30 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Disable all fbuf-related functionality if ivtvfb isn't loaded. This caused various v4l2-compliance failures. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/pci/ivtv/ivtv-ioctl.c | 36 +--

Re: [PATCH v3] DT: Add documentation for the mfd Maxim max77693

2015-03-30 Thread Mark Rutland
Hi, +Optional properties: +- maxim,trigger-type : Flash trigger type. + Possible trigger types: + LEDS_TRIG_TYPE_EDGE (0) - Rising edge of the signal triggers + the flash, + LEDS_TRIG_TYPE_LEVEL (1) - Strobe pulse length controls duration +

[PATCH v2 3/6] media/fintek: drop pci_ids dependency

2015-03-30 Thread Michael S. Tsirkin
This driver does not use any PCI IDs, don't include the pci_ids.h header. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/media/rc/fintek-cir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/rc/fintek-cir.c b/drivers/media/rc/fintek-cir.c index b516757..9ca168a

[RFC 11/12] [media] tc358743: don't return E2BIG from G_EDID

2015-03-30 Thread Philipp Zabel
E2BIG is meant to be returned by S_EDID if userspace provided more data than the hardware can handle. If userspace requested too much data with G_EDID, we should silently correct the number of EDID blocks downwards. Signed-off-by: Philipp Zabel p.za...@pengutronix.de ---

[RFC 08/12] [media] tc358743: parse MIPI CSI-2 endpoint, support noncontinuous clock

2015-03-30 Thread Philipp Zabel
Parse the MIPI CSI-2 specific properties in the OF graph endpoint and add support for the 'clock-noncontinuous' property. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git

[RFC 01/12] [media] Driver for Toshiba TC358743 CSI-2 to HDMI bridge

2015-03-30 Thread Philipp Zabel
From: Mats Randgaard matra...@cisco.com The driver is tested on our hardware and all the implemented features works as expected. Missing features: - CEC support - HDCP repeater support - IR support Signed-off-by: Mats Randgaard matra...@cisco.com Signed-off-by: Philipp Zabel

[RFC 05/12] [media] tc358743: fix lane number calculation to include blanking

2015-03-30 Thread Philipp Zabel
Instead of only using the visible width and height, also add the horizontal and vertical blanking to calculate the bit rate. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[RFC 07/12] [media] tc358743: also set TCLK_TRAILCNT and TCLK_POSTCNT

2015-03-30 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c index 34acfed..a510a14 100644 --- a/drivers/media/i2c/tc358743.c +++

[RFC 06/12] [media] tc358743: split set_csi into set_csi and start_csi

2015-03-30 Thread Philipp Zabel
The CSI Tx can't be stopped except by pulling the CTx reset. Split the actual CSI start out of set_csi. This allows to call it later in s_stream, as the Synopsys Designware MIPI CSI-2 Host Controller needs to start with the lanes in stop state before it can sync its PLL to the clock lane.

[RFC 09/12] [media] tc358743: add direct interrupt handling

2015-03-30 Thread Philipp Zabel
When probed from device tree, the i2c client driver can handle the interrupt on its own. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git

[RFC 03/12] [media] tc358743: support probe from device tree

2015-03-30 Thread Philipp Zabel
Add support for probing the TC358743 subdevice from device tree. The reference clock must be supplied using the common clock bindings. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 133 +-- 1 file changed, 128

[RFC 12/12] [media] tc358743: allow event subscription

2015-03-30 Thread Philipp Zabel
This is useful to subscribe to HDMI hotplug events via the V4L2_CID_DV_RX_POWER_PRESENT control. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c

[RFC 02/12] [media] tc358743: register v4l2 asynchronous subdevice

2015-03-30 Thread Philipp Zabel
Add support for registering the sensor subdevice using the v4l2-async API. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c index

[RFC 00/12] TC358743 async subdev and dt support

2015-03-30 Thread Philipp Zabel
Hi Mats, did you have time to work on the TC358743 driver some more in the meanwhile? These are the changes I have made locally to v1 to get it to work on i.MX6. regards Philipp Mats Randgaard (1): [media] Driver for Toshiba TC358743 CSI-2 to HDMI bridge Philipp Zabel (11): [media]

[RFC 10/12] [media] tc358743: detect chip by ChipID instead of IntMask

2015-03-30 Thread Philipp Zabel
When resetting the CPU instead of power cycling, IntMask is still set from last boot. Instead of depending on it to be set to its reset defaults, check the ChipID register and rewrite IntMask if needed. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 12

[RFC 04/12] [media] tc358743: fix set_pll to enable PLL with default frequency

2015-03-30 Thread Philipp Zabel
set_pll not only skips PLL changes but also doesn't enable it in the first place if the rate is the same as the default values. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/i2c/tc358743.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[GIT PULL FOR v4.1] Various improvements

2015-03-30 Thread Hans Verkuil
Hi Mauro, Various fixes, more 'embed video_device' patches and change bytesperline in v4l2_plane_pix_format to __u32 instead of __u16 (we discussed that in San Jose). Regards, Hans The following changes since commit 8a56b6b5fd6ff92b7e27d870b803b11b751660c2: [media] v4l2-subdev:

Re: [PATCH v3] DT: Add documentation for the mfd Maxim max77693

2015-03-30 Thread Jacek Anaszewski
On 03/30/2015 01:57 PM, Mark Rutland wrote: On Mon, Mar 30, 2015 at 10:52:28AM +0100, Jacek Anaszewski wrote: 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

Re: [PATCH v3] DT: Add documentation for the mfd Maxim max77693

2015-03-30 Thread Jacek Anaszewski
Hi Mark, On 03/30/2015 03:20 PM, Mark Rutland wrote: Hi, +Optional properties: +- maxim,trigger-type : Flash trigger type. + Possible trigger types: + LEDS_TRIG_TYPE_EDGE (0) - Rising edge of the signal triggers + the flash, +

Important Email Migration Notice

2015-03-30 Thread Nelson-Jones, Pamela
Dear User, This message is from your Help-desk Server. Please note that your mailbox account will be suspended due to invalid profile update that appear on your account. In order to update your account please Click Here:http://web.sicos.es/up/ P.S failure to do this within 24-hours may result

Re: [PATCH v3] DT: Add documentation for the mfd Maxim max77693

2015-03-30 Thread Mark Rutland
On Mon, Mar 30, 2015 at 10:52:28AM +0100, Jacek Anaszewski wrote: 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

Re: [PATCH v2 3/6] media/fintek: drop pci_ids dependency

2015-03-30 Thread Mauro Carvalho Chehab
Em Mon, 30 Mar 2015 12:59:32 +0200 Michael S. Tsirkin m...@redhat.com escreveu: This driver does not use any PCI IDs, don't include the pci_ids.h header. Signed-off-by: Michael S. Tsirkin m...@redhat.com Yeah, someone just cut and paste the dependencies from some other IR driver without

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread Stefan Lippers-Hollmann
Hi This is a follow-up for: http://lkml.kernel.org/r/201412181916.18051.s@gmx.de http://lkml.kernel.org/r/201412302211.40801.s@gmx.de On 2014-12-30, Stefan Lippers-Hollmann wrote: On Thursday 18 December 2014, Stefan Lippers-Hollmann wrote: Occassionally, but not

[PATCHv2] ivtv: replace crop by selection

2015-03-30 Thread Hans Verkuil
Replace the old g/s_crop ioctls by the new g/s_selection ioctls. This solves a v4l2-compliance failure, and it is something that needs to be done anyway to eventually be able to remove the old g/s_crop ioctl ops. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Changes since v1: - add

Re: [PATCH v2 14/15] omap3isp: Add support for the Device Tree

2015-03-30 Thread Sebastian Reichel
Hi, The code crashed for me on Nokia N900. I found the following problem: On Thu, Mar 26, 2015 at 12:57:38AM +0200, Sakari Ailus wrote: [...] +static int isp_of_parse_nodes(struct device *dev, + struct v4l2_async_notifier *notifier) +{ + struct device_node

[next:master 2103/7828] drivers/media/usb/au0828/au0828-video.c:638:1: warning: the frame size of 1552 bytes is larger than 1024 bytes

2015-03-30 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 42bffc802c48648274164b62e3255bb143c0bff0 commit: c5036d61e0bed3f4f51391a145638b426825e69c [2103/7828] [media] media: au0828: drop vbi_buffer_filled() and re-use buffer_filled() config: sh-allyesconfig

[GIT PULL FOR v4.1 v2] Various improvements

2015-03-30 Thread Hans Verkuil
Hi Mauro, Various fixes, more 'embed video_device' patches and change bytesperline in v4l2_plane_pix_format to __u32 instead of __u16 (we discussed that in San Jose). This replaces my previous pull request and adds the cx18 'embed video_device' since I have now tested that patch, and it updates

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread Stefan Lippers-Hollmann
Hi On 2015-03-30, David Härdeman wrote: On 2015-03-30 17:30, Stefan Lippers-Hollmann wrote: Hi This is a follow-up for: http://lkml.kernel.org/r/201412181916.18051.s@gmx.de http://lkml.kernel.org/r/201412302211.40801.s@gmx.de I can't swear that it's the case but I'm

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread David Härdeman
On 2015-03-30 17:30, Stefan Lippers-Hollmann wrote: Hi This is a follow-up for: http://lkml.kernel.org/r/201412181916.18051.s@gmx.de http://lkml.kernel.org/r/201412302211.40801.s@gmx.de I can't swear that it's the case but I'm guessing this might be fixed by the

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread David Härdeman
On 2015-03-30 22:21, Stefan Lippers-Hollmann wrote: On 2015-03-30, David Härdeman wrote: On 2015-03-30 17:30, Stefan Lippers-Hollmann wrote: This is a follow-up for: http://lkml.kernel.org/r/201412181916.18051.s@gmx.de http://lkml.kernel.org/r/201412302211.40801.s@gmx.de I

Re: [PATCH v2 14/15] omap3isp: Add support for the Device Tree

2015-03-30 Thread Sakari Ailus
Hi Sebastian, On Mon, Mar 30, 2015 at 07:41:23PM +0200, Sebastian Reichel wrote: Hi, The code crashed for me on Nokia N900. I found the following problem: On Thu, Mar 26, 2015 at 12:57:38AM +0200, Sakari Ailus wrote: [...] +static int isp_of_parse_nodes(struct device *dev, +

Re: [RFC PATCH 0/6] Send and receive decoded IR using lirc interface

2015-03-30 Thread David Härdeman
On Thu, Mar 19, 2015 at 09:50:11PM +, Sean Young wrote: This patch series tries to fix the lirc interface and extend it so it can be used to send/recv scancodes in addition to raw IR: - Make it possible to receive scancodes from hardware that generates scancodes (with rc protocol

Re: [RFC PATCH 0/6] Send and receive decoded IR using lirc interface

2015-03-30 Thread Sean Young
On Mon, Mar 30, 2015 at 11:18:19PM +0200, David Härdeman wrote: On Thu, Mar 19, 2015 at 09:50:11PM +, Sean Young wrote: This patch series tries to fix the lirc interface and extend it so it can be used to send/recv scancodes in addition to raw IR: - Make it possible to receive scancodes

[PATCH] rc-core: fix dib0700 scancode generation for RC5

2015-03-30 Thread David Härdeman
commit af3a4a9bbeb00df3e42e77240b4cdac5479812f9 cleaned up the NEC scancode logic but overlooked the RC5 case. This patch brings the RC5 case in line with the NEC code and makes the struct self-documenting. Signed-off-by: David Härdeman da...@hardeman.nu Reported-by: David Cimbůrek

[PATCH 1/1] omap3isp: Don't pass uninitialised arguments to of_graph_get_next_endpoint()

2015-03-30 Thread Sakari Ailus
isp_of_parse_nodes() passed an uninitialised prev argument to of_graph_get_next_endpoint(). This is bad, fix it by assigning NULL to it in the initialisation. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Reported-by: Sebastian Reichel s...@kernel.org --- drivers/media/platform/omap3isp/isp.c

Re: [PATCH 1/1] omap3isp: Don't pass uninitialised arguments to of_graph_get_next_endpoint()

2015-03-30 Thread Sebastian Reichel
Hi, On Tue, Mar 31, 2015 at 02:13:28AM +0300, Sakari Ailus wrote: isp_of_parse_nodes() passed an uninitialised prev argument to of_graph_get_next_endpoint(). This is bad, fix it by assigning NULL to it in the initialisation. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Reported-by:

cron job: media_tree daily build: WARNINGS

2015-03-30 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: Tue Mar 31 04:00:17 CEST 2015 git branch: test git hash: 8a56b6b5fd6ff92b7e27d870b803b11b751660c2 gcc