[PATCH] [media] radio: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/radio/radio-cadet.c| 2 +-

[PATCH v3 14/14] [media] cxd2880 : Update MAINTAINERS file for CXD2880 driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is MAINTAINERS file update about the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. [Change list] Changes in V3 MAINTAINERS -no change Signed-off-by: Yasunari Takiguchi Signed-off-by:

[PATCH v3 13/14] [media] cxd2880: Add all Kconfig files for the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the Kconfig files of driver for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/Kconfig -no change drivers/media/dvb-frontends/cxd2880/Kconfig -no change

[PATCH v3 12/14] [media] cxd2880: Add all Makefile files for the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the Makefile files of driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. [Change list] Changes in V3 drivers/media/dvb-frontends/Makefile -no change drivers/media/dvb-frontends/cxd2880/Makefile -removed

[PATCH v3 11/14] [media] cxd2880: Add DVB-T2 monitor and integration layer functions

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide monitor and integration layer functions (DVB-T2) for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_integ_dvbt2.c -changed CXD2880_SLEEP to

[PATCH v3 10/14] [media] cxd2880: Add DVB-T2 control functions for the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide definitions, interfaces and functions needed for DVB-T2 of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt2.h -changed hexadecimal code to

[PATCH v3 09/14] [media] cxd2880: Add DVB-T monitor and integration layer functions

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide monitor and integration layer functions (DVB-T) for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_integ_dvbt.c -changed CXD2880_SLEEP to

[PATCH v3 08/14] [media] cxd2880: Add DVB-T control functions the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Provide definitions, interfaces and functions needed for DVB-T of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_dvbt.h -no change

[PATCH v3 07/14] [media] cxd2880: Add top level of the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This provides the main dvb frontend operation functions for the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c -adjusted indent spaces -modified

[PATCH v3 06/14] [media] cxd2880: Add integration layer for the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi These functions monitor the driver and watch for task completion. This is part of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_integ.c -changed

[PATCH v3 05/14] [media] cxd2880: Add tuner part of the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This part of the driver has the main routines to handle the tuner and demodulator functionality. The tnrdmd_mon.* files have monitor functions for the driver. This is part of the Sony CXD2880 DVB-T2/T tuner + demodulator driver. [Change

[PATCH v3 04/14] [media] cxd2880: Add spi device IO routines

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Add functions for initializing, reading and writing to the SPI device for the Sony CXD2880 DVB-T2/T tuner + demodulator. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c -removed unnecessary cast

[PATCH v3 03/14] [media] cxd2880: Add common files for the driver

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi These are common files for the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. These contains helper functions for the driver. [Change list] Changes in V3 drivers/media/dvb-frontends/cxd2880/cxd2880.h -no change

[PATCH v3 02/14] [media] cxd2880-spi: Add support for CXD2880 SPI interface

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the SPI adapter part of the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. [Change list] Changes in V3 drivers/media/spi/cxd2880-spi.c -adjusted of indent spaces -removed unnecessary cast -changed

[PATCH v3 01/14] [dt-bindings] [media] Add document file for CXD2880 SPI I/F

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the document file for Sony CXD2880 DVB-T2/T tuner + demodulator. It contains the description of the SPI adapter binding. No change since version 1. I should have carried the ack forward: Acked-by: Rob Herring

[PATCH v3 00/14] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-08-15 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Hi, This is the patch series (version 3) of Sony CXD2880 DVB-T2/T tuner + demodulator driver. The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media

cron job: media_tree daily build: ERRORS

2017-08-15 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 Aug 16 05:00:18 CEST 2017 media-tree git hash:ec0c3ec497cabbf3bfa03a9eb5edcc252190a4e0 media_build

[PATCH] v4l: vsp1: Start and stop DRM pipeline independently of planes

2017-08-15 Thread Laurent Pinchart
The KMS API supports enabling a CRTC without any plane. To enable that use case, we need to start the pipeline when configuring the LIF, instead of when enabling the first plane. Signed-off-by: Laurent Pinchart ---

Re: [PATCH v2] media: isl6421: add checks for current overflow

2017-08-15 Thread Jemma Denson
Hi Mauro, On 13/08/17 20:35, Mauro Carvalho Chehab wrote: This Kaffeine's BZ: https://bugs.kde.org/show_bug.cgi?id=374693 affects SkyStar S2 PCI DVB-S/S2 rev 3.3 device. It could be due to a Kernel bug. While checking the Isil 6421, comparing with its manual, available at:

[PATCHv2] cec: rename pin events/function

2017-08-15 Thread Hans Verkuil
The CEC_EVENT_PIN_LOW/HIGH defines and the cec_queue_pin_event() function did not specify that these were about CEC pin events. Since in the future there will also be HPD pin events it is wise to rename the event defines and function to CEC_EVENT_PIN_CEC_LOW/HIGH and cec_queue_pin_cec_event() now

[PATCH] cec: rename pin events/function

2017-08-15 Thread Hans Verkuil
The CEC_EVENT_PIN_LOW/HIGH defines and the cec_queue_pin_event() function did not specify that these were about CEC pin events. Since in the future there will also be HPD pin events it is wise to rename the event defines and function to CEC_EVENT_PIN_CEC_LOW/HIGH and cec_queue_pin_cec_event() now

Re: [PATCH 2/2] media: ov7670: Add the s_power operation

2017-08-15 Thread Sakari Ailus
Hi Wenyou, On Thu, Aug 10, 2017 at 05:06:45PM +0800, Wenyou Yang wrote: > Add the s_power operation which is responsible for manipulating the > power dowm mode through the PWDN pin and the reset operation through > the RESET pin. > > Signed-off-by: Wenyou Yang > --- >

Re: [PATCH 1/2] media: ov7670: Add entity pads initialization

2017-08-15 Thread Sakari Ailus
Hi Wenyou, On Thu, Aug 10, 2017 at 05:06:44PM +0800, Wenyou Yang wrote: > Add the media entity pads initialization. > > Signed-off-by: Wenyou Yang The patch itself seems fine. However the driver is lacking support for get_fmt which I think would be necessary for the

Re: [PATCH 1/4] v4l: async: fix unbind error in v4l2_async_notifier_unregister()

2017-08-15 Thread Sakari Ailus
On Mon, Jul 31, 2017 at 12:31:55AM +0200, Niklas Söderlund wrote: > The call to v4l2_async_cleanup() will set sd->asd to NULL so passing it > to notifier->unbind() have no effect and leaves the notifier confused. > Call the unbind() callback prior to cleaning up the subdevice to avoid > this. > >

Re: [PATCH 4/4] v4l: async: add comment about re-probing to v4l2_async_notifier_unregister()

2017-08-15 Thread Sakari Ailus
Hi Niklas, Thanks for the patchset. On Mon, Jul 31, 2017 at 12:31:58AM +0200, Niklas Söderlund wrote: > The re-probing of subdevices when unregistering a notifier is tricky to > understand, and implemented somewhat as a hack. Add a comment trying to > explain why the re-probing is needed in the

Re: [PATCH 2/3] [media] rc: constify usb_device_id

2017-08-15 Thread Sean Young
On Sun, Aug 13, 2017 at 02:24:44PM +0530, Arvind Yadav wrote: > usb_device_id are not supposed to change at runtime. All functions > working with usb_device_id provided by work with > const usb_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav

Re: [PATCH 1/3] [media] coda: constify platform_device_id

2017-08-15 Thread Philipp Zabel
On Tue, 2017-08-15 at 16:53 +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All > functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav

Re: [GIT PULL] linux-firmware: intel: Add Kabylake IPU3 firmware

2017-08-15 Thread Tomasz Figa
Hi everyone, On Sat, Aug 5, 2017 at 9:04 AM, Mani, Rajmohan wrote: > Hi, > > Please review this PULL request to add Kabylake IPU3 firmware to the > linux-firmware repository. > > > The following changes since commit 7d2c913dcd1be083350d97a8cb1eba24cfacbc8a: > >

[PATCH v3.2 2/3] v4l2-flash-led-class: Create separate sub-devices for indicators

2017-08-15 Thread Sakari Ailus
The V4L2 flash interface allows controlling multiple LEDs through a single sub-devices if, and only if, these LEDs are of different types. This approach scales badly for flash controllers that drive multiple flash LEDs or for LED specific associations. Essentially, the original assumption of a LED

[PATCH 3/3] [media] omap3isp: constify platform_device_id

2017-08-15 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/platform/omap3isp/isp.c | 2

[PATCH 1/3] [media] coda: constify platform_device_id

2017-08-15 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/platform/coda/coda-common.c |

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

2017-08-15 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/platform/davinci/vpbe_osd.c

Re: [RFC 04/19] dt: bindings: Add lens-focus binding for image sensors

2017-08-15 Thread Sakari Ailus
Hi Hans, On Fri, Jul 28, 2017 at 10:53:35AM +0200, Hans Verkuil wrote: > Hi Sakari, > > Is the lens-focus phandle specific to voice-coil controllers? What about I think it's not important. Right now the information is used for making the association only. > motor-controlled focus systems? What

[PATCH 0/3] constify media platform_device_id

2017-08-15 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] [media] coda: constify platform_device_id [PATCH 2/3] [media] davinci:

[PATCH] uvcvideo: Apply flags from device to actual properties

2017-08-15 Thread Edgar Thier
Use flags the device exposes for UVC controls. Signed-off-by: Edgar Thier --- drivers/media/usb/uvc/uvc_ctrl.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/uvc/uvc_ctrl.c b/drivers/media/usb/uvc/uvc_ctrl.c

[GIT PULL v2 for 4.14] Flash LED class improvements

2017-08-15 Thread Sakari Ailus
Hi Mauro, Here is greybus flash memory leak fix as well as V4L2 flash class change for making the interface more logical by creating a sub-device per LED. since v1: Fix arguments in nop implementation of v4l2_flash_init(). Please pull. The following changes since commit

[PATCH v3.1 2/3] v4l2-flash-led-class: Create separate sub-devices for indicators

2017-08-15 Thread Sakari Ailus
The V4L2 flash interface allows controlling multiple LEDs through a single sub-devices if, and only if, these LEDs are of different types. This approach scales badly for flash controllers that drive multiple flash LEDs or for LED specific associations. Essentially, the original assumption of a LED

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-15 Thread Hans Verkuil
On 08/14/17 10:41, Stanimir Varbanov wrote: > Hi, > > This RFC patch is intended to give to the drivers a choice to change > the default behavior of the v4l2-core DMA mapping direction from > DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) > to DMA_BIDIRECTIONAL during

[GIT PULL for 4.14] Flash LED class improvements

2017-08-15 Thread Sakari Ailus
Hi Mauro, Here is greybus flash memory leak fix as well as V4L2 flash class change for making the interface more logical by creating a sub-device per LED. Please pull. The following changes since commit ec0c3ec497cabbf3bfa03a9eb5edcc252190a4e0: media: ddbridge: split code into multiple

Re: [RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-15 Thread Sakari Ailus
On Mon, Aug 14, 2017 at 11:41:55AM +0300, Stanimir Varbanov wrote: > Hi, > > This RFC patch is intended to give to the drivers a choice to change > the default behavior of the v4l2-core DMA mapping direction from > DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) > to