[PATCHv5.1 03/11] cec: integrate CEC notifier support

2017-03-29 Thread Hans Verkuil
Support the CEC notifier framework, simplifying drivers that depend on this. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- Accidentally removed adap->notifier causing this to fail. Fixed this stupid mistake. --- dr

[PATCHv5 07/11] s5p-cec: add cec-notifier support, move out of staging

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> By using the CEC notifier framework there is no longer any reason to manually set the physical address. This was the one blocking issue that prevented this driver from going out of staging, so do this move as well. Update the bindings docum

[PATCHv5 05/11] ARM: dts: exynos: add HDMI controller phandle to exynos4.dtsi

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add the new hdmi phandle to exynos4.dtsi. This phandle is needed by the s5p-cec driver to initialize the CEC notifier framework. Tested with my Odroid U3. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowsk

[PATCHv5 03/11] cec: integrate CEC notifier support

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the CEC notifier framework, simplifying drivers that depend on this. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- drivers/media/c

[PATCHv5 11/11] arm: sti: update sti-cec for CEC notifier support

2017-03-29 Thread Hans Verkuil
From: Benjamin Gaignard <benjamin.gaign...@linaro.org> To use CEC notifier sti CEC driver needs to get phandle of the hdmi device. Signed-off-by: Benjamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> CC: devicet...@vger.kernel

[PATCHv5 09/11] stih-cec.txt: document new hdmi phandle

2017-03-29 Thread Hans Verkuil
From: Benjamin Gaignard <benjamin.gaign...@linaro.org> Update the bindings documentation with the new hdmi phandle. Signed-off-by: Benjamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Acked-by: Rob Herring <r...@ke

[PATCHv5 01/11] cec-edid: rename cec_get_edid_phys_addr

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Rename cec_get_edid_phys_addr to cec_get_raw_edid_phys_addr. Add a new cec_get_edid_phys_addr function that takes a struct edid pointer. This reflects the fact that some drivers have a struct edid pointer and others a u8 pointer to the raw edi

[PATCHv5 02/11] media: add CEC notifier support

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for CEC notifiers, which is used to convey CEC physical address information from video drivers to their CEC counterpart driver(s). Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9277043/ The cec_no

[PATCHv5 08/11] sti: hdmi: add CEC notifier support

2017-03-29 Thread Hans Verkuil
From: Benjamin Gaignard <benjamin.gaign...@linaro.org> Implement the CEC notifier support to allow CEC drivers to be informed when there is a new physical address. Signed-off-by: Benjamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkuil <hans.verk...@cisco.co

[PATCHv5 10/11] stih-cec: add CEC notifier support

2017-03-29 Thread Hans Verkuil
njamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> CC: devicet...@vger.kernel.org --- drivers/media/platform/Kconfig | 10 +++ drivers/media/platform/Makefile| 1 + .../st-cec => media/platf

[PATCHv5 04/11] exynos_hdmi: add CEC notifier support

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Implement the CEC notifier support to allow CEC drivers to be informed when there is a new physical address. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- driv

[PATCHv5 06/11] s5p-cec.txt: document the HDMI controller phandle

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Update the bindings documenting the new hdmi phandle. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> CC: linux-samsung-...@vger.kernel.org CC: devicet...@vger.kernel.org CC: Krzysztof Kozlowski <k...@kernel.org> --- Docume

[PATCHv5 00/11] video/exynos/sti/cec: add CEC notifier & use in drivers

2017-03-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This patch series adds the CEC physical address notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds s

Re: [PATCH v3 2/6] media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller

2017-03-20 Thread Hans Verkuil
On 03/07/2017 05:42 PM, Neil Armstrong wrote: > In order to describe the RGB and YUB bus formats used to feed the > Synopsys DesignWare HDMI TX Controller, add missing formats to the > list of Bus Formats. > > Documentation for these formats is added in a separate patch. > > Signed-off-by: Neil

Re: [PATCH v3 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-20 Thread Hans Verkuil
On 03/17/2017 05:11 PM, Neil Armstrong wrote: > On 03/16/2017 06:01 PM, Archit Taneja wrote: >> >> >> On 3/7/2017 10:12 PM, Neil Armstrong wrote: >>> Add documentation for added Bus Formats to describe RGB and YUS formats used >> >> s/YUS/YUV > > Thanks again > >> >>> as input to the

Re: [PATCHv2 1/4] video: add hotplug detect notifier support

2017-03-20 Thread Hans Verkuil
On 03/20/2017 03:27 PM, Russell King - ARM Linux wrote: On Mon, Mar 20, 2017 at 02:26:16PM +, Russell King - ARM Linux wrote: On Mon, Jan 02, 2017 at 03:19:04PM +0100, Hans Verkuil wrote: From: Hans Verkuil <hans.verk...@cisco.com> Add support for video hotplug detect and ED

Re: [PATCH v3 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-20 Thread Hans Verkuil
On 03/07/2017 05:42 PM, Neil Armstrong wrote: > Add documentation for added Bus Formats to describe RGB and YUS formats used > as input to the Synopsys DesignWare HDMI TX Controller. > > Signed-off-by: Neil Armstrong > --- >

Re: DRM Atomic property for color-space conversion

2017-03-20 Thread Hans Verkuil
On 03/17/2017 03:09 PM, Ville Syrjälä wrote: > On Fri, Mar 17, 2017 at 10:33:15AM +, Brian Starkey wrote: >> For not-programmable hardware, would a second "DEGAMMA_FIXED" property >> make sense, which is an enum type exposing what curves are supported? >> (with analogous GAMMA_FIXED as well) >

Re: [PATCHv4 1/9] video: add hotplug detect notifier support

2017-02-28 Thread Hans Verkuil
On 02/28/17 09:51, Daniel Vetter wrote: On Mon, Feb 27, 2017 at 05:46:51PM +, Russell King - ARM Linux wrote: On Mon, Feb 27, 2017 at 06:21:05PM +0100, Hans Verkuil wrote: On 02/27/2017 06:04 PM, Russell King - ARM Linux wrote: I'm afraid that I walked away from this after it became clear

Re: [PATCHv4 1/9] video: add hotplug detect notifier support

2017-02-27 Thread Hans Verkuil
On 02/27/2017 06:04 PM, Russell King - ARM Linux wrote: > On Mon, Feb 27, 2017 at 05:08:41PM +0100, Daniel Vetter wrote: >> On Mon, Feb 06, 2017 at 11:29:43AM +0100, Hans Verkuil wrote: >>> From: Hans Verkuil <hans.verk...@cisco.com> >>> >>> Add sup

[PATCHv4 9/9] arm: sti: update sti-cec for HPD notifier support

2017-02-06 Thread Hans Verkuil
From: Benjamin Gaignard <benjamin.gaign...@linaro.org> To use HPD notifier sti CEC driver needs to get phandle of the hdmi device. Signed-off-by: Benjamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> CC: devicet...@vger.kernel

[PATCHv4 6/9] s5p-cec: add hpd-notifier support, move out of staging

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> By using the HPD notifier framework there is no longer any reason to manually set the physical address. This was the one blocking issue that prevented this driver from going out of staging, so do this move as well. Update the bindings docum

[PATCHv4 8/9] stih-cec: add HPD notifier support

2017-02-06 Thread Hans Verkuil
ndings documentation the new hdmi phandle. Signed-off-by: Benjamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> CC: devicet...@vger.kernel.org --- .../devicetree/bindings/media/stih-cec.txt | 2 ++ drivers/media/platform/Kconfig

[PATCHv4 3/9] cec: integrate HPD notifier support

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the HPD notifier framework, simplifying drivers that depend on this. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- drivers/media/c

[PATCHv4 5/9] s5p-cec.txt: document the HDMI controller phandle

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Update the bindings documenting the new hdmi phandle. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> CC: linux-samsung-...@vger.kernel.org CC: devicet...@vger.kernel.org CC: Krzysztof Kozlowski <k...@kernel.org> --- Docume

[PATCHv4 7/9] sti: hdmi: add HPD notifier support

2017-02-06 Thread Hans Verkuil
From: Benjamin Gaignard <benjamin.gaign...@linaro.org> Implement the HPD notifier support to allow CEC drivers to be informed when there is a new EDID and when a connect or disconnect happens. Signed-off-by: Benjamin Gaignard <benjamin.gaign...@linaro.org> Signed-off-by: Hans Verkui

[PATCHv4 1/9] video: add hotplug detect notifier support

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for video hotplug detect and EDID/ELD notifiers, which is used to convey information from video drivers to their CEC and audio counterparts. Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9

[PATCHv4 4/9] ARM: dts: exynos: add HDMI controller phandle to exynos4.dtsi

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add the new hdmi phandle to exynos4.dtsi. This phandle is needed by the s5p-cec driver to initialize the HPD notifier framework. Tested with my Odroid U3. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowsk

[PATCHv4 2/9] exynos_hdmi: add HPD notifier support

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Implement the HPD notifier support to allow CEC drivers to be informed when there is a new EDID and when a connect or disconnect happens. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow

[PATCHv4 0/9] video/exynos/sti/cec: add HPD state notifier & use in drivers

2017-02-06 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This patch series adds the hotplug detect notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds s

[PATCHv3 4/5] exynos4.dtsi: add HDMI controller phandle

2017-01-23 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Update the bindings documenting the new hdmi phandle and update exynos4.dtsi accordingly. This phandle is needed by the s5p-cec driver to initialize the HPD notifier framework. Tested with my Odroid U3. Signed-off-by: Hans Verkuil <

[PATCHv3 5/5] s5p-cec: add hpd-notifier support, move out of staging

2017-01-23 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> By using the HPD notifier framework there is no longer any reason to manually set the physical address. This was the one blocking issue that prevented this driver from going out of staging, so do this move as well. Update the bindings docum

[PATCHv3 1/5] video: add hotplug detect notifier support

2017-01-23 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for video hotplug detect and EDID/ELD notifiers, which is used to convey information from video drivers to their CEC and audio counterparts. Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9

[PATCHv3 2/5] exynos_hdmi: add HPD notifier support

2017-01-23 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Implement the HPD notifier support to allow CEC drivers to be informed when there is a new EDID and when a connect or disconnect happens. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow

[PATCHv3 3/5] cec: integrate HPD notifier support

2017-01-23 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the HPD notifier framework, simplifying drivers that depend on this. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Tested-by: Marek Szyprowski <m.szyprow...@samsung.com> --- drivers/media/c

[PATCHv3 0/5] video/exynos/cec: add HPD state notifier & use in s5p-cec

2017-01-23 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This patch series adds the hotplug detect notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds s

Re: [PATCHv2 4/4] s5p-cec: add hpd-notifier support, move out of staging

2017-01-23 Thread Hans Verkuil
On 01/04/2017 09:44 AM, Andrzej Hajda wrote: > On 03.01.2017 09:11, Hans Verkuil wrote: >> On 01/03/2017 09:00 AM, Andrzej Hajda wrote: >>> Is there a reason to split registration into two steps? >>> Wouldn't be better to integrate hpd_notifier_get into >>&g

Re: [RFC/RFT PATCH 4/4] drm/bridge: dw-hdmi: Take input format from plat_data

2017-01-19 Thread Hans Verkuil
and quantization and transfer functions. Hans Verkuil has researched this topic for V4L2 (see https://urldefense.proofpoint.com/v2/url?u=https-3A__gstreamer.freedesktop.org_data_events_gstreamer-2Dconference_2015_Hans=DwICAg=DPL6_X_6JkXFx7AXWqB0tg=WHDsc6kcWAl4i96Vm5hJ_19IJiuxx_p_Rzo2g-uHDKw

[PATCHv2 2/4] exynos_hdmi: add HPD notifier support

2017-01-03 Thread Hans Verkuil
On 01/03/2017 08:55 AM, Andrzej Hajda wrote: > On 02.01.2017 15:19, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Implement the HPD notifier support to allow CEC drivers to >> be informed when there is a new EDID and when a connect or >> disconnect happens.

[PATCHv2 4/4] s5p-cec: add hpd-notifier support, move out of staging

2017-01-03 Thread Hans Verkuil
On 01/03/2017 09:00 AM, Andrzej Hajda wrote: > On 02.01.2017 15:19, Hans Verkuil wrote: >> From: Hans Verkuil >> >> By using the HPD notifier framework there is no longer any reason >> to manually set the physical address. This was the one blocking >> issue that

[PATCHv2 1/4] video: add hotplug detect notifier support

2017-01-03 Thread Hans Verkuil
On 01/03/2017 08:50 AM, Andrzej Hajda wrote: > Hi Hans, > > On 02.01.2017 15:19, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Add support for video hotplug detect and EDID/ELD notifiers, which is used >> to convey information from video drivers to their CEC an

[PATCHv2 4/4] s5p-cec: add hpd-notifier support, move out of staging

2017-01-02 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> By using the HPD notifier framework there is no longer any reason to manually set the physical address. This was the one blocking issue that prevented this driver from going out of staging, so do this move as well. Update the bindings docum

[PATCHv2 3/4] cec: integrate HPD notifier support

2017-01-02 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the HPD notifier framework, simplifying drivers that depend on this. Signed-off-by: Hans Verkuil Tested-by: Marek Szyprowski --- drivers/media/cec/cec-core.c | 50 include/media

[PATCHv2 2/4] exynos_hdmi: add HPD notifier support

2017-01-02 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Implement the HPD notifier support to allow CEC drivers to be informed when there is a new EDID and when a connect or disconnect happens. Signed-off-by: Hans Verkuil Tested-by: Marek Szyprowski --- drivers/gpu/drm/exynos/Kconfig

[PATCHv2 1/4] video: add hotplug detect notifier support

2017-01-02 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for video hotplug detect and EDID/ELD notifiers, which is used to convey information from video drivers to their CEC and audio counterparts. Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9

[PATCHv2 0/4] video/exynos/cec: add HPD state notifier & use in s5p-cec

2017-01-02 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This patch series adds the hotplug detect notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds s

[RFC v2 00/11] vb2: Handle user cache hints, allow drivers to choose cache coherency

2016-12-16 Thread Hans Verkuil
ion handled > by the exported through the dma_buf_map_attachment() and > dma_buf_unmap_attachment() functions, and dma-buf lacks an API to perform > memory synchronization without unmapping and remapping the buffers. This is > not a blocker as far as this patch series is concerned, but im

[PATCH 4/4] s5p-cec: add hdmi-notifier support, move out of staging

2016-12-13 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> By using the HDMI notifier framework there is no longer any reason to manually set the physical address. This was the one blocking issue that prevented this driver from going out of staging, so do this move as well. Update the bindings docum

[PATCH 3/4] cec: integrate HDMI notifier support

2016-12-13 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Support the HDMI notifier framework, simplifying drivers that depend on this. Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-core.c | 50 include/media/cec.h | 15 + 2

[PATCH 2/4] exynos_hdmi: add HDMI notifier support

2016-12-13 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Implement the HDMI notifier support to allow CEC drivers to be informed when there is a new EDID and when a connect or disconnect happens. Signed-off-by: Hans Verkuil --- drivers/gpu/drm/exynos/Kconfig | 1 + drivers/gpu/drm/

[PATCH 1/4] video: add HDMI state notifier support

2016-12-13 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for HDMI hotplug and EDID notifiers, which is used to convey information from HDMI drivers to their CEC and audio counterparts. Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9277043/ The hdmi_no

[PATCH 0/4] video/exynos/cec: add HDMI state notifier & use in s5p-cec

2016-12-13 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This patch series adds the HDMI notifier code, based on Russell's code: https://patchwork.kernel.org/patch/9277043/ It adds support for it to the exynos_hdmi drm driver, adds support for it to the CEC framework and finally adds support to the s

[RFCv2 PATCH 1/5] video: add HDMI state notifier support

2016-12-01 Thread Hans Verkuil
On 11/14/16 16:22, Hans Verkuil wrote: > From: Hans Verkuil > > Add support for HDMI hotplug and EDID notifiers, which is used to convey > information from HDMI drivers to their CEC and audio counterparts. I realized that the name 'HDMI notifier' isn't the best: the same mechanism

[RFCv2 PATCH 1/5] video: add HDMI state notifier support

2016-11-16 Thread Hans Verkuil
On 11/15/16 21:41, Hans Verkuil wrote: > Hi Philipp, > > On 11/15/2016 07:24 PM, Philipp Zabel wrote: >> Hi Hans, >> >> Am Montag, den 14.11.2016, 16:22 +0100 schrieb Hans Verkuil: >>> From: Hans Verkuil >>> >>> Add support for HD

[RFCv2 PATCH 1/5] video: add HDMI state notifier support

2016-11-15 Thread Hans Verkuil
Hi Philipp, On 11/15/2016 07:24 PM, Philipp Zabel wrote: > Hi Hans, > > Am Montag, den 14.11.2016, 16:22 +0100 schrieb Hans Verkuil: >> From: Hans Verkuil >> >> Add support for HDMI hotplug and EDID notifiers, which is used to convey >> information from HD

[RFCv2 PATCH 2/5] drm/bridge: dw_hdmi: remove CEC engine register definitions

2016-11-14 Thread Hans Verkuil
n't comment on these, you've not included me in patch 1 nor the > covering message. > > On Mon, Nov 14, 2016 at 04:22:45PM +0100, Hans Verkuil wrote: >> From: Russell King <rmk+kernel at arm.linux.org.uk> >> >> We don't need the CEC engine register definitions, so

[RFCv2 PATCH 5/5] drm/i2c: add tda998x/tda9950 CEC driver

2016-11-14 Thread Hans Verkuil
From: Russell King Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device. The TDA9950 contains a command processor which handles retransmissions and the low level bus protocol. The driver just has to read and write the messages, and handle error

[RFCv2 PATCH 4/5] drm/bridge: add dw-hdmi cec driver using Hans Verkuil's CEC code

2016-11-14 Thread Hans Verkuil
From: Russell King Add a CEC driver for the dw-hdmi hardware using Hans Verkuil's CEC implementation. Signed-off-by: Russell King --- drivers/gpu/drm/bridge/Kconfig| 7 + drivers/gpu/drm/bridge/Makefile | 1

[RFCv2 PATCH 3/5] drm/bridge: dw_hdmi: add HDMI notifier support

2016-11-14 Thread Hans Verkuil
From: Russell King Add HDMI notifiers to the HDMI bridge driver. Signed-off-by: Russell King --- drivers/gpu/drm/bridge/Kconfig | 1 + drivers/gpu/drm/bridge/dw-hdmi.c | 25 - 2 files changed, 25

[RFCv2 PATCH 2/5] drm/bridge: dw_hdmi: remove CEC engine register definitions

2016-11-14 Thread Hans Verkuil
From: Russell King We don't need the CEC engine register definitions, so let's remove them. Signed-off-by: Russell King --- drivers/gpu/drm/bridge/dw-hdmi.h | 45 1 file changed, 45

[RFCv2 PATCH 1/5] video: add HDMI state notifier support

2016-11-14 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add support for HDMI hotplug and EDID notifiers, which is used to convey information from HDMI drivers to their CEC and audio counterparts. Based on an earlier version from Russell King: https://patchwork.kernel.org/patch/9277043/ The hdmi_no

[RFCv2 PATCH 0/5] CEC drivers for iMX6 and TDA9950

2016-11-14 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> This patch series is an update to this RFC series from Russell: https://lists.freedesktop.org/archives/dri-devel/2016-August/115733.html I have not seen any updates to this, so I hope that that series is still the latest version. The main p

Plan to support Rockchip VPU in DRM, is it a good idea

2016-08-26 Thread Hans Verkuil
On 08/26/2016 12:05 PM, Randy Li wrote: > > > On 08/26/2016 05:34 PM, Hans Verkuil wrote: >> Hi Randi, >> >> On 08/26/2016 04:13 AM, Randy Li wrote: >>> Hello, >>>We always use some kind of hack work to make our Video Process >>> Unit(Mu

Plan to support Rockchip VPU in DRM, is it a good idea

2016-08-26 Thread Hans Verkuil
Hi Randi, On 08/26/2016 04:13 AM, Randy Li wrote: > Hello, >We always use some kind of hack work to make our Video Process > Unit(Multi-format Video Encoder/Decoder) work in kernel. From a > customize driver(vpu service) to the customize V4L2 driver. The V4L2 > subsystem is really not

[PATCH RFC 4/5] drm/bridge: add dw-hdmi cec driver using Hans Verkil's CEC code

2016-08-23 Thread Hans Verkuil
On 08/23/16 09:59, Russell King - ARM Linux wrote: > On Tue, Aug 23, 2016 at 09:21:17AM +0200, Hans Verkuil wrote: >> Hi Russell, >> >> On 08/12/2016 04:15 PM, Russell King wrote: >>> Add a CEC driver for the dw-hdmi hardware using Hans Verkil's CEC >>

[PATCH RFC 4/5] drm/bridge: add dw-hdmi cec driver using Hans Verkil's CEC code

2016-08-23 Thread Hans Verkuil
Hi Russell, On 08/12/16 16:15, Russell King wrote: > + ret = devm_request_threaded_irq(>dev, cec->irq, > + dw_hdmi_cec_hardirq, > + dw_hdmi_cec_thread, IRQF_SHARED, > + DEV_NAME,

[PATCH RFC 4/5] drm/bridge: add dw-hdmi cec driver using Hans Verkil's CEC code

2016-08-23 Thread Hans Verkuil
Hi Russell, On 08/12/2016 04:15 PM, Russell King wrote: > Add a CEC driver for the dw-hdmi hardware using Hans Verkil's CEC > implementation. > > Signed-off-by: Russell King > --- > drivers/gpu/drm/bridge/Kconfig| 7 + >

[PATCH for v4.8] cec-edid: check for IEEE identifier

2016-08-18 Thread Hans Verkuil
identifier as well. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/cec-edid.c b/drivers/media/cec-edid.c index 7001824..5719b99 100644 --- a/drivers/media/cec-edid.c +++ b/drivers/media/cec-edid.c @@ -70,7 +70,10 @@ static unsigned int cec_get_edid_spa_location(const u8 *edid, unsigned int

[ANN] HDMI CEC: added cec-compliance/cec-follower utilities

2016-08-15 Thread Hans Verkuil
Two new CEC utilities have been added to the v4l-utils repository: https://git.linuxtv.org/v4l-utils.git/ The cec-follower utility can emulate a CEC device, implementing the follower functionality needed. The cec-compliance utility can test a remote CEC device and check how compliant it is

[PATCH RFC 5/5] drm/i2c: add tda998x/tda9950 CEC driver

2016-08-12 Thread Hans Verkuil
On 08/12/2016 05:29 PM, Russell King - ARM Linux wrote: > On Fri, Aug 12, 2016 at 05:16:41PM +0200, Hans Verkuil wrote: >> On 08/12/2016 04:38 PM, Hans Verkuil wrote: >>> On 08/12/2016 04:15 PM, Russell King wrote: >>>> Add a CEC driver for the TDA9950, which i

[PATCH RFC 1/5] video: add HDMI state notifier support

2016-08-12 Thread Hans Verkuil
, so: Acked-by: Hans Verkuil Regards, Hans > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk> > --- > drivers/video/Kconfig | 3 +++ > drivers/video/Makefile| 1 + > drivers/video/hdmi-notifier.c | 61 > +

[PATCH RFC 5/5] drm/i2c: add tda998x/tda9950 CEC driver

2016-08-12 Thread Hans Verkuil
On 08/12/2016 04:38 PM, Hans Verkuil wrote: > On 08/12/2016 04:15 PM, Russell King wrote: >> Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device. >> The TDA9950 contains a command processor which handles retransmissions >> and the low level bus protocol.

[PATCH RFC 5/5] drm/i2c: add tda998x/tda9950 CEC driver

2016-08-12 Thread Hans Verkuil
On 08/12/2016 04:15 PM, Russell King wrote: > Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device. > The TDA9950 contains a command processor which handles retransmissions > and the low level bus protocol. The driver just has to read and write > the messages, and handle error

[PATCH RFC 4/5] drm/bridge: add dw-hdmi cec driver using Hans Verkil's CEC code

2016-08-12 Thread Hans Verkuil
On 08/12/2016 04:15 PM, Russell King wrote: > Add a CEC driver for the dw-hdmi hardware using Hans Verkil's CEC That's Verkuil :-) BTW, since cec is part of the media subsystem please include linux-media for the next round. Regards, Hans

DRM device memory writeback (Mali-DP)

2016-07-18 Thread Hans Verkuil
On 07/18/2016 12:29 PM, Brian Starkey wrote: > Hi, > > On Fri, Jul 15, 2016 at 10:42:01AM -0700, Eric Anholt wrote: >> Ville Syrjälä writes: >> >>> On Fri, Jul 15, 2016 at 10:09:19AM +0100, Brian Starkey wrote: Hi Daniel, Thanks for taking a look. (+Cc Laurent)

[PATCHv16 04/13] cec: add HDMI CEC framework

2016-06-25 Thread Hans Verkuil
On 06/16/2016 06:00 PM, Mauro Carvalho Chehab wrote: > Em Fri, 29 Apr 2016 15:52:19 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> The added HDMI CEC framework provides a generic kernel interface for >> HDMI CEC devices. >> >> Besides

[PATCHv16 08/13] DocBook/media: add CEC documentation

2016-06-17 Thread Hans Verkuil
On 06/17/2016 11:50 AM, Mauro Carvalho Chehab wrote: + + CEC_MODE_MONITOR + 0xe0 + Put the file descriptor into monitor mode. Can only be used in combination + with CEC_MODE_NO_INITIATOR, otherwise will be + returned. In

[PATCHv16 10/13] cec: adv7842: add cec support

2016-06-17 Thread Hans Verkuil
On 06/16/2016 11:22 PM, Mauro Carvalho Chehab wrote: > Em Fri, 29 Apr 2016 15:52:25 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> Add CEC support to the adv7842 driver. >> >> Signed-off-by: Hans Verkuil > > Won't review patches

[PATCHv16 09/13] cec: adv7604: add cec support.

2016-06-17 Thread Hans Verkuil
On 06/16/2016 11:17 PM, Mauro Carvalho Chehab wrote: > Em Fri, 29 Apr 2016 15:52:24 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> Add CEC support to the adv7604 driver. >> >> Signed-off-by: Hans Verkuil >> [k.debski at samsung.com: M

[PATCHv16 08/13] DocBook/media: add CEC documentation

2016-06-17 Thread Hans Verkuil
On 06/16/2016 11:09 PM, Mauro Carvalho Chehab wrote: > Em Fri, 29 Apr 2016 15:52:23 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> Add DocBook documentation for the CEC API. > > Please always send the documentation patch *before* the code, > in

[PATCHv16 07/13] cec.txt: add CEC framework documentation

2016-06-17 Thread Hans Verkuil
On 06/16/2016 10:12 PM, Mauro Carvalho Chehab wrote: > Em Fri, 29 Apr 2016 15:52:22 +0200 > Hans Verkuil escreveu: > >> From: Hans Verkuil >> >> Document the new HDMI CEC framework. > > As we'll be moving documentation to Sphinx/Rst, it would be good

[PATCH 3/3] cec: correctly cancel delayed work when the CEC adapter is disabled

2016-05-11 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> When cleaning up pending work from the wait_queue list, make sure to cancel the delayed work. Otherwise nasty kernel oopses will occur when the timer goes off and the cec_data struct has disappeared. Signed-off-by: Hans Verkuil --- drivers/s

[PATCH 2/3] cec: remove WARN_ON

2016-05-11 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> If a transmit is issued and before cec_transmit_done() is called the HDMI cable is unplugged, then it is possible that adap->transmitting == NULL. So drop the WARN_ON, explain why it can happen and just ignore the tranmit. Signed-off-by: Han

[PATCH 1/3] adv7511: always update CEC irq mask

2016-05-11 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Instead of doing: if (state->cec_enabled_adap) adv7511_wr_and_or(sd, 0x95, 0xc0, enable ? 0x39 : 0x00); do: adv7511_wr_and_or(sd, 0x95, 0xc0, (state->cec_enabled_adap && e

[PATCH 0/3] CEC Framework fixes

2016-05-11 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> While stress testing my CEC Framework v16 patch series found here: http://www.spinics.net/lists/linux-input/msg44422.html I discovered a few issues when dealing with HDMI disconnects. The adv7511 patch fixes a potential race condition (neve

[RFC PATCH 2/3] omap4: add CEC support

2016-05-10 Thread Hans Verkuil
Hi Tomi, On 05/10/16 14:01, Tomi Valkeinen wrote: > Hi Hans, > > On 29/04/16 12:39, Hans Verkuil wrote: >> From: Hans Verkuil >> >> Signed-off-by: Hans Verkuil >> --- >> arch/arm/boot/dts/omap4-panda-a4.dts | 2 +- >> arch/arm/boot/dts/omap4-

[PATCHv16 13/13] vivid: add CEC emulation

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> The vivid driver has been extended to provide CEC adapters for the HDMI input and HDMI outputs in order to test CEC applications. This CEC emulation is faithful to the CEC timings (i.e., it all at a snail's pace). Signed-off-by: Hans V

[PATCHv16 12/13] cec: s5p-cec: Add s5p-cec driver

2016-04-29 Thread Hans Verkuil
From: Kamil Debski <ka...@wypas.org> 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 --- .../devicetree/bi

[PATCHv16 11/13] cec: adv7511: add cec support.

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil [k.debski at samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- drivers/media/i2c/Kconfig

[PATCHv16 10/13] cec: adv7842: add cec support

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add CEC support to the adv7842 driver. Signed-off-by: Hans Verkuil --- drivers/media/i2c/Kconfig | 9 ++ drivers/media/i2c/adv7842.c | 368 2 files changed, 314 insertions(+), 63 deletions(-)

[PATCHv16 09/13] cec: adv7604: add cec support.

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add CEC support to the adv7604 driver. Signed-off-by: Hans Verkuil [k.debski at samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] [k.debski at samsung.com: add missing methods cec/io_write_and_or] [k.debski at samsung.com:

[PATCHv16 08/13] DocBook/media: add CEC documentation

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Add DocBook documentation for the CEC API. Signed-off-by: Hans Verkuil [k.debski at samsung.com: add documentation for passthrough mode] [k.debski at samsung.com: minor fixes and change of reserved field sizes] Signed-off-by: Kamil Debski Sign

[PATCHv16 07/13] cec.txt: add CEC framework documentation

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hansv...@cisco.com> Document the new HDMI CEC framework. Signed-off-by: Hans Verkuil [k.debski at samsung.com: add DocBook documentation by Hans Verkuil, with Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil --- Documentation/cec.txt

[PATCHv16 06/13] cec: add compat32 ioctl support

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> 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 -

[PATCHv16 05/13] cec/TODO: add TODO file so we know why this is still in staging

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Explain why cec.c is still in staging. Signed-off-by: Hans Verkuil --- drivers/staging/media/cec/TODO | 13 + 1 file changed, 13 insertions(+) create mode 100644 drivers/staging/media/cec/TODO diff --git a/drivers/staging/media/ce

[PATCHv16 04/13] cec: add HDMI CEC framework

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hansv...@cisco.com> The added HDMI CEC framework provides a generic kernel interface for HDMI CEC devices. Besides the cec module itself it also adds a cec-edid module that contains helper functions to find and manipulate the CEC physical address inside an EDID

[PATCHv16 03/13] rc: Add HDMI CEC protocol handling

2016-04-29 Thread Hans Verkuil
Debski Signed-off-by: Hans Verkuil --- drivers/media/rc/keymaps/Makefile | 1 + drivers/media/rc/keymaps/rc-cec.c | 174 ++ drivers/media/rc/rc-main.c| 1 + include/media/rc-map.h| 5 +- 4 files changed, 180 insertions(+), 1 deletion(-)

[PATCHv16 02/13] HID: add HDMI CEC specific keycodes

2016-04-29 Thread Hans Verkuil
From: Kamil Debski <ka...@wypas.org> Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski Signed-off-by: Hans Verkuil Acked-by: Dmitry Torokhov --- include/uapi/linux/input-event-codes.h | 30 ++ 1 file changed, 30 inse

[PATCHv16 01/13] input.h: add BUS_CEC type

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> 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 --git a/include/uapi/linux/input.h b/includ

[PATCHv16 00/13] HDMI CEC framework

2016-04-29 Thread Hans Verkuil
From: Hans Verkuil <hans.verk...@cisco.com> Hi all, The sixteenth version of this patchset does some final cleanup and I'll post a pull request on the linux-media list for this patch series. At first I didn't want to post a v16 at all, but there were just a bit too many changes, even

<    4   5   6   7   8   9   10   11   12   13   >