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

2015-03-31 Thread Jacek Anaszewski
Hi Sakari, On 03/31/2015 11:14 AM, sakari.ai...@iki.fi wrote: Hi Mark and Jacek, On Mon, Mar 30, 2015 at 02:20:03PM +0100, Mark Rutland wrote: Hi, +Optional properties: +- maxim,trigger-type : Flash trigger type. + Possible trigger types: + LEDS_TRIG_TYPE_EDGE (0) -

[PATCH] sur40: fix occasional hard freeze due to buffer queue underrun

2015-03-31 Thread Florian Echtler
This patch fixes a kernel panic which occurs when buf_list is empty. This can happen occasionally when user space is under heavy load (e.g. due to image processing on the CPU) and new buffers aren't re-queued fast enough. In that case, vb2_start_streaming_called can return true, but when the

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

2015-03-31 Thread sakari.ai...@iki.fi
Hi Mark and Jacek, On Mon, Mar 30, 2015 at 02:20:03PM +0100, 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 +

cron job: media_tree daily build: WARNINGS

2015-03-31 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: Wed Apr 1 04:00:13 CEST 2015 git branch: test git hash: 8a56b6b5fd6ff92b7e27d870b803b11b751660c2 gcc

[PATCH v4 12/12] DT: aat1290: Document handling external strobe sources

2015-03-31 Thread Jacek Anaszewski
This patch adds documentation for a pinctrl-names property. The property, when present, is used for switching the source of the strobe signal for the device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu coolo...@gmail.com

[PATCH v4 08/12] media: Add registration helpers for V4L2 flash sub-devices

2015-03-31 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 v4 09/12] Documentation: leds: Add description of v4l2-flash sub-device

2015-03-31 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 v4 11/12] leds: aat1290: add support for V4L2 Flash sub-device

2015-03-31 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the aat1290 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

Re: [PATCH v4 04/12] DT: Add documentation for the mfd Maxim max77693

2015-03-31 Thread Jacek Anaszewski
I've just pushed PATCH v5 - it adds more precise description of current settings constraints. On 03/31/2015 03:52 PM, 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

[PATCH v4 04/12] DT: Add documentation for the mfd Maxim max77693

2015-03-31 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 v4 03/12] leds: Add support for max77693 mfd flash cell

2015-03-31 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 v4 05/12] leds: Add driver for AAT1290 flash LED controller

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

[PATCH v4 02/12] leds: unify the location of led-trigger API

2015-03-31 Thread Jacek Anaszewski
Part of led-trigger API was in the private drivers/leds/leds.h header. Move it to the include/linux/leds.h header to unify the API location and announce it as public. It has been already exported from led-triggers.c with EXPORT_SYMBOL_GPL macro. Signed-off-by: Jacek Anaszewski

[PATCH v4 06/12] of: Add Skyworks Solutions, Inc. vendor prefix

2015-03-31 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: devicet...@vger.kernel.org --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1

[PATCH v4 07/12] DT: Add documentation for the Skyworks AAT1290

2015-03-31 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:

Re: [PATCH v4] v4l: mt9v032: Add OF support

2015-03-31 Thread Philipp Zabel
Hi Laurent, Am Mittwoch, den 18.03.2015, 15:38 +0200 schrieb Laurent Pinchart: Parse DT properties into a platform data structure when a DT node is available. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Changes since v3: - Use /bits/ 64 in the DT bindings

[PATCH 2/6] [media] v4l2-core: Implement dev_pm_ops.prepare()

2015-03-31 Thread Tomeu Vizoso
Have it return 1 so that video devices that are runtime-suspended won't be suspended when the system goes to a sleep state. This can make resume times considerably shorter because these devices don't need to be resumed when the system is awaken. Signed-off-by: Tomeu Vizoso

[PATCH 4/6] [media] media-devnode: Implement dev_pm_ops.prepare callback

2015-03-31 Thread Tomeu Vizoso
Have it return 1 so that media device nodes that are runtime-suspended won't be suspended when the system goes to a sleep state. This can make resume times considerably shorter because these devices don't need to be resumed when the system is awaken. Signed-off-by: Tomeu Vizoso

[PATCH 0/6] Allow UVC devices to remain runtime-suspended when sleeping

2015-03-31 Thread Tomeu Vizoso
Hi, this series contain what I needed to do in order to have my USB webcam to not be resumed when the system resumes, reducing considerably the total time that resuming takes. It makes use of the facility that Rafael Wysocki added in aae4518b3 (PM / sleep: Mechanism to avoid resuming

[PATCH 1/6] [media] uvcvideo: Enable runtime PM of descendant devices

2015-03-31 Thread Tomeu Vizoso
So UVC devices can remain runtime-suspended when the system goes into a sleep state, they and all of their descendant devices need to have runtime PM enable. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/media/usb/uvc/uvc_driver.c | 4 drivers/media/usb/uvc/uvc_status.c

[PATCH v4 00/12] LED / flash API integration

2015-03-31 Thread Jacek Anaszewski
This is a fourth non-RFC version of LED / flash API integration series [1]. It is based on linux-next_20150330. Changes since v2 - improved leds/common DT bindings documentation - improved max77693-led DT documentation - fixed validation of DT confguration for

[PATCH v4 01/12] DT: leds: Improve description of flash LEDs related properties

2015-03-31 Thread Jacek Anaszewski
Description of flash LEDs related properties was not precise regarding the state of corresponding settings in case a property is missing. Add relevant statements. Removed is also the requirement making the flash-max-microamp property obligatory for flash LEDs. It was inconsistent as the property

[PATCH v4 10/12] leds: max77693: add support for V4L2 Flash sub-device

2015-03-31 Thread Jacek Anaszewski
Add support for V4L2 Flash sub-device to the max77693 LED Flash class driver. The support allows for V4L2 Flash sub-device to take the control of the LED Flash class device. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Bryan Wu

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

2015-03-31 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 v3 7/7] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback

2015-03-31 Thread Antti Seppälä
Nuvoton-cir utilizes the encoding capabilities of rc-core to convert scancodes from user space to pulse/space format understood by the underlying hardware. Converted samples are then written to the wakeup fifo along with other necessary configuration to enable wake up functionality.

[PATCH v3 6/7] rc: rc-loopback: Add loopback of filter scancodes

2015-03-31 Thread Antti Seppälä
From: James Hogan ja...@albanarts.com Add the s_wakeup_filter callback to the rc-loopback driver, which instead of setting the filter just feeds the scancode back through the input device so that it can be verified. Signed-off-by: James Hogan ja...@albanarts.com Signed-off-by: Antti Seppälä

[PATCH v3 5/7] rc: rc-core: Add support for encode_wakeup drivers

2015-03-31 Thread Antti Seppälä
From: James Hogan ja...@albanarts.com Add support in rc-core for drivers which implement the wakeup scancode filter by encoding the scancode using the raw IR encoders. This is by way of rc_dev::encode_wakeup which should be set to true to make the allowed wakeup protocols the same as the set of

[PATCH v3 1/7] rc: rc-ir-raw: Add scancode encoder callback

2015-03-31 Thread Antti Seppälä
From: James Hogan ja...@albanarts.com Add a callback to raw ir handlers for encoding and modulating a scancode to a set of raw events. This could be used for transmit, or for converting a wakeup scancode filter to a form that is more suitable for raw hardware wake up filters. Signed-off-by:

[PATCH v3 4/7] rc: ir-rc6-decoder: Add encode capability

2015-03-31 Thread Antti Seppälä
Add the capability to encode RC-6 and RC-6A scancodes as raw events. The protocol is chosen based on the specified protocol mask, and whether all the required bits are set in the scancode mask, and none of the unused bits are set in the scancode data. The Manchester modulation helper is used

[PATCH v3 3/7] rc: ir-rc5-decoder: Add encode capability

2015-03-31 Thread Antti Seppälä
From: James Hogan ja...@albanarts.com Add the capability to encode RC-5, RC-5X and RC-5-SZ scancodes as raw events. The protocol is chosen based on the specified protocol mask, and whether all the required bits are set in the scancode mask, and none of the unused bits are set in the scancode

[PATCH v3 0/7] rc: Add IR encode based wakeup filtering

2015-03-31 Thread Antti Seppälä
Hello. I'd like to revive efforts and discussion on adding IR encoding support to rc-core. Here is an updated patchset which adds support for modulating RC-5 scancodes into raw IR events which can be written to hardware such as nuvoton-cir to perform system wakeup with an IR pulse. The previous

[PATCH v3 2/7] rc: rc-ir-raw: Add Manchester encoder (phase encoder) helper

2015-03-31 Thread Antti Seppälä
Adding a simple Manchester encoder to rc-core. Manchester coding is used by at least RC-5 and RC-6 protocols and their variants. Signed-off-by: Antti Seppälä a.sepp...@gmail.com Signed-off-by: James Hogan ja...@albanarts.com Cc: David Härdeman da...@hardeman.nu --- Notes: Changes in v3:

Important Email Migration Notice

2015-03-31 Thread Madak, Barbara
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: [RFC PATCH 0/6] Send and receive decoded IR using lirc interface

2015-03-31 Thread Mauro Carvalho Chehab
Em Mon, 30 Mar 2015 23:18:19 +0200 David Härdeman da...@hardeman.nu escreveu: 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: Haven't look at the series