[PATCH] [media] DocBook/media/Makefile: Do not fail mkdir if dir already exists

2015-11-12 Thread Graham Whaley
Commit 5240f4e68d42 ("[media] DocBook/media/Makefile: Avoid make htmldocs to fail") introduced a mkdir which is always called through install_media_images from the Documentation/DocBook/Makefile htmldocs rule. If you run 'make htmldocs' more than once you get: mkdir: cannot create directory

[ANNOUNCE DRAFT] Kernel Summit Media Workshop 2015 report - Seoul

2015-11-12 Thread Mauro Carvalho Chehab
That's the first draft of the KS workshop that we had in Seoul. It is based on the notes we took on Etherpad, but I had to add several things from my memory and from Hans slide deck. A graph version of this draft is at: http://linuxtv.org/news.php?entry=2015-11-12.mchehab TODO:

[PATCH v2 1/1] v4l2-device: Don't unregister ACPI/Device Tree based devices

2015-11-12 Thread Sakari Ailus
From: Tommi Franttila When a V4L2 sub-device backed by a DT or ACPI based device was removed, the device was unregistered as well which certainly was not intentional, as the client device would not be re-created by simply reinstating the V4L2 sub-device (indeed the

Re: [PATCH v2 1/1] v4l2-device: Don't unregister ACPI/Device Tree based devices

2015-11-12 Thread Hans Verkuil
On 11/12/15 10:01, Sakari Ailus wrote: > From: Tommi Franttila > > When a V4L2 sub-device backed by a DT or ACPI based device was removed, > the device was unregistered as well which certainly was not intentional, > as the client device would not be re-created by

Re: [PATCH] tv tuner max2165 driver: extend frequency range

2015-11-12 Thread Mauro Carvalho Chehab
Em Thu, 22 Oct 2015 12:18:58 +0800 Walter Cheuk escreveu: > Extend the frequency range to cover Hong Kong's digital TV > broadcasting, which should be the whole UHF; RTHK TV uses 802MHz and > is not covered currently. Tested on my TV tuner card "MyGica X8558 > Pro". > >

Re: [PATCH] media: adv7180: increase delay after reset to 5ms

2015-11-12 Thread Geert Uytterhoeven
On Thu, Nov 12, 2015 at 12:10 AM, Laurent Pinchart wrote: > (CC'ing Lars-Peter Clausen) > > Thank you for the patch. > > On Tuesday 10 November 2015 14:39:00 Ulrich Hecht wrote: >> Initialization of the ADV7180 chip fails on the Renesas R8A7790-based >> Lager

[PATCH] v4l2-dv-timings: Compare horizontal blanking

2015-11-12 Thread matrandg
From: Mats Randgaard hsync and hbackporch must also be compared Signed-off-by: Mats Randgaard --- drivers/media/v4l2-core/v4l2-dv-timings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c

[PATCHv10 13/16] cec: adv7842: add cec support

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7842 driver. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7842.c | 255 +--- 1 file changed, 238 insertions(+), 17 deletions(-) diff --git

[PATCHv10 08/16] cec: add compat32 ioctl support

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil The CEC ioctls didn't have compat32 support, so they returned -ENOTTY when used in a 32 bit application on a 64 bit kernel. Since all the CEC ioctls are 32-bit compatible adding support for this API is trivial. Signed-off-by: Hans Verkuil

[PATCHv10 07/16] cec: add HDMI CEC framework

2015-11-12 Thread Hans Verkuil
The added HDMI CEC framework provides a generic kernel interface for HDMI CEC devices. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: Merged Update author commit by Hans Verkuil] [k.deb...@samsung.com:

[PATCHv10 06/16] rc: Add HDMI CEC protocol handling

2015-11-12 Thread Hans Verkuil
From: Kamil Debski Add handling of remote control events coming from the HDMI CEC bus. This patch includes a new keymap that maps values found in the CEC messages to the keys pressed and released. Also, a new protocol has been added to the core. Signed-off-by: Kamil Debski

[PATCHv10 01/16] dts: exynos4*: add HDMI CEC pin definition to pinctrl

2015-11-12 Thread Hans Verkuil
From: Kamil Debski Add pinctrl nodes for the HDMI CEC device to the Exynos4210 and Exynos4x12 SoCs. These are required by the HDMI CEC device. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski

[PATCHv10 14/16] cec: adv7511: add cec support.

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil

[PATCHv10 02/16] dts: exynos4: add node for the HDMI CEC device

2015-11-12 Thread Hans Verkuil
From: Kamil Debski This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski ---

[PATCHv10 04/16] input.h: add BUS_CEC type

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Inputs can come in over the HDMI CEC bus, so add a new type for this. Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov --- include/uapi/linux/input.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCHv10 00/16] HDMI CEC framework

2015-11-12 Thread Hans Verkuil
Hi all, The tenth version of this patchset addresses comments I received from Russell King and various bug fixes and enhancements as the result of more testing. The cec.txt has been updated, but before I can make the final version there are three areas that I want to look at more closely: 1)

Re: [PATCH] media: adv7180: increase delay after reset to 5ms

2015-11-12 Thread Lars-Peter Clausen
On 11/12/2015 12:10 AM, Laurent Pinchart wrote: > Hi Ulrich, > > (CC'ing Lars-Peter Clausen) > > Thank you for the patch. > > On Tuesday 10 November 2015 14:39:00 Ulrich Hecht wrote: >> Initialization of the ADV7180 chip fails on the Renesas R8A7790-based >> Lager board about 50% of the time.

[PATCHv10 05/16] HID: add HDMI CEC specific keycodes

2015-11-12 Thread Hans Verkuil
From: Kamil Debski Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- include/uapi/linux/input.h | 28 1 file changed, 28 insertions(+)

[PATCHv10 03/16] dts: exynos4412-odroid*: enable the HDMI CEC device

2015-11-12 Thread Hans Verkuil
From: Kamil Debski Add a dts node entry and enable the HDMI CEC device present in the Exynos4 family of SoCs. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Krzysztof Kozlowski ---

[PATCHv10 12/16] cec: adv7604: add cec support.

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: add missing methods cec/io_write_and_or]

[PATCHv10 10/16] DocBook/media: add CEC documentation

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Add DocBook documentation for the CEC API. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add documentation for passthrough mode] [k.deb...@samsung.com: minor fixes and change of reserved field sizes] Signed-off-by: Kamil

[PATCHv10 11/16] v4l2-subdev: add HDMI CEC ops

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Add CEC callbacks to the new v4l2_subdev_cec_ops struct. These are the low-level CEC ops that subdevs that support CEC have to implement. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: Merged changes from CEC Updates commit by

[PATCHv10 09/16] cec.txt: add CEC framework documentation

2015-11-12 Thread Hans Verkuil
Document the new HDMI CEC framework. Signed-off-by: Hans Verkuil [k.deb...@samsung.com: add DocBook documentation by Hans Verkuil, with Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- Documentation/cec.txt | 326

[PATCHv10 15/16] cec: s5p-cec: Add s5p-cec driver

2015-11-12 Thread Hans Verkuil
From: Kamil Debski Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil

[PATCHv10 16/16] cobalt: add cec support

2015-11-12 Thread Hans Verkuil
From: Hans Verkuil Add CEC support to the cobalt driver. Signed-off-by: Hans Verkuil --- drivers/media/pci/cobalt/Kconfig | 1 + drivers/media/pci/cobalt/cobalt-driver.c | 108 +-

[PATCH] media: fix kernel hang in media_device_unregister() during device removal

2015-11-12 Thread Shuah Khan
Media core drivers (dvb, v4l2, bridge driver) unregister their entities calling media_device_unregister_entity() during device removal from their unregister paths. In addition media_device_unregister() tries to unregister entity calling media_device_unregister_entity() for each one of them. This

[PATCH] tv tuner max2165 driver: extend frequency range

2015-11-12 Thread Walter Cheuk
Extend the frequency range to cover Hong Kong's digital TV broadcasting; RTHK TV uses 802MHz and is not covered now. Tested on my TV tuner card "MyGica X8558 Pro". Signed-off-by: Walter Cheuk --- --- media_build/media/drivers/media/tuners/max2165.c.orig 2015-10-22

cron job: media_tree daily build: ERRORS

2015-11-12 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: Fri Nov 13 04:00:18 CET 2015 git branch: test git hash: 79f5b6ae960d380c829fb67d5dadcd1d025d2775 gcc

Re:

2015-11-12 Thread Alberto Mardegan
On 11/12/2015 06:25 AM, Walter Cheuk wrote: I sent a patch named "[PATCH] tv tuner max2165 driver: extend frequency range" two weeks ago (22/10). Is it being reviewed? Thank you. Since such reminders seem to help, I also sent a patch on 27/10: "[PATCH] [media] em28xx: add Terratec Cinergy T XS

adv7511: fix incorrect bit offset

2015-11-12 Thread Hans Verkuil
The quantization bits are in bits 7-6, not 7-4, so shift by 6 instead of 4. This bug is caused by a typo in the adv7511 datasheet. Signed-off-by: Hans Verkuil diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511.c index e4900df..b8de64c 100644 ---

[PATCH] Move internal header file lirc.h to uapi/ (#75751).

2015-11-12 Thread Alec Leamas
The file include/media/lirc.h describes a public interface and should thus be a public header. See kernel bug https://bugzilla.kernel.org/show_bug.cgi?id=75751 which has a manpage describing the interface + an acknowledgement that this info belongs to uapi. --- include/media/lirc.h | 169

Re:

2015-11-12 Thread Alec Leamas
On 12/11/15 18:41, Mauro Carvalho Chehab wrote: > Em Thu, 12 Nov 2015 18:31:51 +0100 > Alec Leamas escreveu: > >> On 12/11/15 18:20, Mauro Carvalho Chehab wrote: >>> Em Thu, 12 Nov 2015 18:16:18 +0300 >>> Alberto Mardegan escreveu: >> >>>

Re:

2015-11-12 Thread Alec Leamas
On 12/11/15 18:20, Mauro Carvalho Chehab wrote: > Em Thu, 12 Nov 2015 18:16:18 +0300 > Alberto Mardegan escreveu: > Complaining doesn't help at all. We don't read the mailing list to > check for new patches. Instead, we look for them at: >

Re:

2015-11-12 Thread Mauro Carvalho Chehab
Em Thu, 12 Nov 2015 18:16:18 +0300 Alberto Mardegan escreveu: > On 11/12/2015 06:25 AM, Walter Cheuk wrote: > > I sent a patch named "[PATCH] tv tuner max2165 driver: extend > > frequency range" two weeks ago (22/10). Is it being reviewed? Thank > > you. > > Since

Re:

2015-11-12 Thread Mauro Carvalho Chehab
Em Thu, 12 Nov 2015 18:31:51 +0100 Alec Leamas escreveu: > On 12/11/15 18:20, Mauro Carvalho Chehab wrote: > > Em Thu, 12 Nov 2015 18:16:18 +0300 > > Alberto Mardegan escreveu: > > > Complaining doesn't help at all. We don't read the mailing

Re: [PATCH] media: fix kernel hang in media_device_unregister() during device removal

2015-11-12 Thread Shuah Khan
On 11/12/2015 07:41 AM, Shuah Khan wrote: > Media core drivers (dvb, v4l2, bridge driver) unregister > their entities calling media_device_unregister_entity() > during device removal from their unregister paths. In > addition media_device_unregister() tries to unregister > entity calling