Re: [v2] media: rc: fix Meson IR decoder

2016-06-27 Thread Neil Armstrong
On 06/26/2016 11:06 PM, Martin Blumenstingl wrote: > The meson-ir driver uses the wrong offset (at least according to > Amlogic's reference driver as well as the datasheets of the > Meson8b/S805 and GXBB/S905). > This means that we are getting incorrect durations (REG1_TIME_IV) > reported from

Re: [v2] media: rc: fix Meson IR decoder

2016-06-27 Thread Neil Armstrong
On 06/27/2016 12:53 PM, Martin Blumenstingl wrote: > On Mon, Jun 27, 2016 at 8:27 AM, Neil Armstrong <narmstr...@baylibre.com> > wrote: >> I'm quite sure the registers are good for meson6 actually, and >> it seems reasonable Amlogic made the HW evolve for the Meson8 and

[PATCH] media: usb: uvc: add a quirk for Generalplus Technology Inc. 808 Camera

2017-02-09 Thread Neil Armstrong
As reported on [1], this device needs this quirk to be able to reliably initialise the webcam. [1] https://sourceforge.net/p/linux-uvc/mailman/message/33791098/ Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/usb/uvc/uvc_driver.c | 9 + 1 file chan

Re: [PATCH v4 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-22 Thread Neil Armstrong
On 03/22/2017 05:08 PM, Jose Abreu wrote: > Hi Neil, > > > On 21-03-2017 15:12, Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if provided. &

Re: [PATCH v4 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-22 Thread Neil Armstrong
On 03/22/2017 05:21 PM, Philipp Zabel wrote: > On Tue, 2017-03-21 at 16:12 +0100, Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if provided. >> &

Re: [PATCH v4 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-28 Thread Neil Armstrong
On 03/22/2017 02:53 PM, Jose Abreu wrote: > Hi Neil, > > > On 21-03-2017 15:12, Neil Armstrong wrote: >> From: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> >> >> In preparation for adding PHY operations to handle RX SENSE and HPD, >&

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

2017-03-30 Thread Neil Armstrong
Add documentation for added Bus Formats to describe RGB and YUV formats used as input to the Synopsys DesignWare HDMI TX Controller. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/media/uapi/v4l/subdev-formats.rst | 871 +++- 1 file change

[PATCH v5 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-03-30 Thread Neil Armstrong
and RXSENSE handling code is refactored into a supplementaty set of default PHY operations that are used automatically when the platform glue doesn't provide its own operations. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- dri

[PATCH v5 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-03-30 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/gpu/bridge/dw-hdmi.rst | 15 +++ Documentation/gpu/index.rst | 1 + 2 files chang

[PATCH v5 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-30 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge

[PATCH v5 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-30 Thread Neil Armstrong
hart+rene...@ideasonboard.com> Reviewed-by: Jose Abreu <joab...@synopsys.com> [narmstrong: renamed dw_hdmi_fb_registered to dw_hdmi_setup_i2c] Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 51 ++- 1 fil

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

2017-03-30 Thread Neil Armstrong
Abreu <joab...@synopsys.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- include/uapi/linux/media-bus-format.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-form

[PATCH v5 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-03-30 Thread Neil Armstrong
t-send-email-narmstr...@baylibre.com Laurent Pinchart (1): drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function Neil Armstrong (5): media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller documentation: media: Add documentation for new RGB and YUV bus formats

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

2017-03-17 Thread Neil Armstrong
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 Synopsys DesignWare HDMI TX Control

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

2017-03-17 Thread Neil Armstrong
On 03/16/2017 06:06 PM, Archit Taneja wrote: > > > On 3/7/2017 10:12 PM, Neil Armstrong wrote: >> In order to describe the RGB and YUB bus formats used to feed the > > s/YUB/YUV Thanks for pointing me this ! Neil > >> Synopsys DesignWare HDMI TX C

[PATCH v6.1 4/4] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-04-04 Thread Neil Armstrong
-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 135 ++ include/drm/bridge/dw_hdmi.h | 5 ++ 2 files changed, 86 insertions(+), 54

[PATCH v6.1 3/4] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-04-04 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Reviewed-by: Archit Taneja <arch...@codeaurora.org> Acked-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Signed-off-by: Neil Armstrong <narmstr.

[PATCH v6.1 2/4] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-04-04 Thread Neil Armstrong
Abreu <joab...@synopsys.com> Reviewed-by: Archit Taneja <arch...@codeaurora.org> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 326 +++

[PATCH v6.1 0/4] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-04-04 Thread Neil Armstrong
xtract PHY interrupt setup to a function Neil Armstrong (3): drm: bridge: dw-hdmi: Switch to V4L bus format and encodings drm: bridge: dw-hdmi: Add Documentation on supported input formats drm: bridge: dw-hdmi: Move HPD handling to PHY operations Documentation/gpu/bridge/dw-hdmi.rst

[PATCH v6.1 1/4] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-04-04 Thread Neil Armstrong
hart+rene...@ideasonboard.com> Reviewed-by: Jose Abreu <joab...@synopsys.com> [narmstrong: renamed dw_hdmi_fb_registered to dw_hdmi_setup_i2c] Reviewed-by: Archit Taneja <arch...@codeaurora.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/

Re: [PATCH v6.1 0/4] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-04-04 Thread Neil Armstrong
On 04/04/2017 02:31 PM, Neil Armstrong wrote: > The Amlogic GX SoCs implements a Synopsys DesignWare HDMI TX Controller > in combination with a very custom PHY. > > Thanks to Laurent Pinchart's changes, the HW report the following : > Detected HDMI TX controller v

[PATCH v6 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-04-03 Thread Neil Armstrong
and RXSENSE handling code is refactored into a supplementaty set of default PHY operations that are used automatically when the platform glue doesn't provide its own operations. Reviewed-by: Jose Abreu <joab...@synopsys.com> Reviewed-by: Archit Taneja <arch...@codeaurora.org> Signed-

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

2017-04-03 Thread Neil Armstrong
Abreu <joab...@synopsys.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> Acked-by: Mauro Carvalho Chehab <mche...@s-opensource.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- include/uapi/linux/media-bus-format.h | 13 +++-- 1 file changed, 11 inser

[PATCH v6 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-04-03 Thread Neil Armstrong
r...@baylibre.com [7] http://lkml.kernel.org/r/1490970319-24981-1-git-send-email-narmstr...@baylibre.com Laurent Pinchart (1): drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function Neil Armstrong (5): media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller docum

[PATCH v6 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-04-03 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Reviewed-by: Archit Taneja <arch...@codeaurora.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/gpu/bridge/dw-hdmi.rst | 15 +++ D

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

2017-04-03 Thread Neil Armstrong
-opensource.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/media/uapi/v4l/subdev-formats.rst | 960 +++- 1 file changed, 959 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/v4l/subdev-formats.rst b/Documentation/media/uap

[PATCH v6 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-04-03 Thread Neil Armstrong
hart+rene...@ideasonboard.com> Reviewed-by: Jose Abreu <joab...@synopsys.com> [narmstrong: renamed dw_hdmi_fb_registered to dw_hdmi_setup_i2c] Reviewed-by: Archit Taneja <arch...@codeaurora.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/

[PATCH v6 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-04-03 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Reviewed-by: Jose Abreu <joab...@synopsys.com> Reviewed-by: Archit Taneja <arch...@codeaurora.org> Signed-off-by: Neil Armstr

Re: [PATCH 3/5] media: rc: meson-ir: switch to managed rc device allocation / registration

2017-04-11 Thread Neil Armstrong
return 0; > -out_unreg: > - rc_unregister_device(ir->rc); > - ir->rc = NULL; > -out_free: > - rc_free_device(ir->rc); > - > - return ret; > } > > static int meson_ir_remove(struct platform_device *pdev) > @@ -203,8 +195,6 @@ static int meson_ir_remove(struct platform_device *pdev) > meson_ir_set_mask(ir, IR_DEC_REG1, REG1_ENABLE, 0); > spin_unlock_irqrestore(>lock, flags); > > - rc_unregister_device(ir->rc); > - > return 0; > } > > Reviewed-by: Neil Armstrong <narmstr...@baylibre.com>

Re: [PATCH 4/5] media: rc: meson-ir: use readl_relaxed in the interrupt handler

2017-04-11 Thread Neil Armstrong
.pulse = !!(readl(ir->reg + IR_DEC_STATUS) & STATUS_IR_DEC_IN); > + status = readl_relaxed(ir->reg + IR_DEC_STATUS); > + rawir.pulse = !!(status & STATUS_IR_DEC_IN); > > ir_raw_event_store_with_filter(ir->rc, ); > ir_raw_event_handle(ir->rc); > Reviewed-by: Neil Armstrong <narmstr...@baylibre.com>

Re: [PATCH 1/5] media: rc: meson-ir: remove irq from struct meson_ir

2017-04-11 Thread Neil Armstrong
On 04/11/2017 07:53 AM, Heiner Kallweit wrote: > The irq number is used in the probe function only, therefore just use > a local variable. > > Signed-off-by: Heiner Kallweit > --- > drivers/media/rc/meson-ir.c | 11 +-- > 1 file changed, 5 insertions(+), 6

Re: [PATCH v3 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-14 Thread Neil Armstrong
On 03/13/2017 12:43 PM, Jose Abreu wrote: > Hi Neil, > > > On 09-03-2017 14:27, Jose Abreu wrote: >> Hi Neil, >> >> >> On 08-03-2017 12:12, Neil Armstrong wrote: >>> Hi Jose, >>> >>> It seems here that we only have the RGB44

Re: [PATCH v3 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-08 Thread Neil Armstrong
On 03/07/2017 06:35 PM, Jose Abreu wrote: > Hi Neil, > > > On 07-03-2017 16:42, Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if provided. &

Re: [PATCH v3 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-08 Thread Neil Armstrong
On 03/07/2017 06:35 PM, Jose Abreu wrote: > Hi Neil, > > > On 07-03-2017 16:42, Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if provided. &

[PATCH v3 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-07 Thread Neil Armstrong
hart+rene...@ideasonboard.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 50 ++- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/

[PATCH v3 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-03-07 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/gpu/dw-hdmi.rst | 15 +++ Documentation/gpu/index.rst | 1 + 2 files changed, 16 inse

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

2017-03-07 Thread Neil Armstrong
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 <narmstr...@baylibre.com> --- Documentation/media/uapi/v4l/subdev-formats.rst | 4992 ++- 1 file changed

Re: [PATCH v3 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-08 Thread Neil Armstrong
Hi Jose, On 03/07/2017 06:12 PM, Jose Abreu wrote: > Hi Neil, > > > On 07-03-2017 16:42, Neil Armstrong wrote: >> From: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> >> >> In preparation for adding PHY operations to handle RX SENSE and HPD,

[PATCH v3 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-03-07 Thread Neil Armstrong
and RXSENSE handling code is refactored into a supplementaty set of default PHY operations that are used automatically when the platform glue doesn't provide its own operations. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

[PATCH v3 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-03-07 Thread Neil Armstrong
(1): drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function Neil Armstrong (5): media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller documentation: media: Add documentation for new RGB and YUV bus formats drm: bridge: dw-hdmi: Switch to V4L

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

2017-03-07 Thread Neil Armstrong
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 Armstrong <narmstr...@baylibre.com> --- include/uapi

[PATCH v3 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-07 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

[PATCH v5.1 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-03-31 Thread Neil Armstrong
and RXSENSE handling code is refactored into a supplementaty set of default PHY operations that are used automatically when the platform glue doesn't provide its own operations. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- dri

[PATCH v5.1 3/6] documentation: media: Add documentation for new RGB and YUV bus formats

2017-03-31 Thread Neil Armstrong
Add documentation for added Bus Formats to describe RGB and YUV formats used as input to the Synopsys DesignWare HDMI TX Controller. Acked-by: Hans Verkuil <hans.verk...@cisco.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/media/uapi/v4l/subdev-forma

[PATCH v5.1 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-31 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge

[PATCH v5.1 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-31 Thread Neil Armstrong
hart+rene...@ideasonboard.com> Reviewed-by: Jose Abreu <joab...@synopsys.com> [narmstrong: renamed dw_hdmi_fb_registered to dw_hdmi_setup_i2c] Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 51 ++- 1 fil

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

2017-03-31 Thread Neil Armstrong
Abreu <joab...@synopsys.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- include/uapi/linux/media-bus-format.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/media

[PATCH v5.1 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-03-31 Thread Neil Armstrong
r...@baylibre.com [5] http://lkml.kernel.org/r/1490109161-20529-1-git-send-email-narmstr...@baylibre.com [6] http://lkml.kernel.org/r/1490864675-17336-1-git-send-email-narmstr...@baylibre.com Laurent Pinchart (1): drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function Neil Armstron

[PATCH v5.1 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-03-31 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/gpu/bridge/dw-hdmi.rst | 15 +++ Documentation/gpu/index.rst | 1 + 2 files chang

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

2017-03-31 Thread Neil Armstrong
On 03/31/2017 03:14 PM, Hans Verkuil wrote: > On 30/03/17 11:04, Neil Armstrong wrote: >> Add documentation for added Bus Formats to describe RGB and YUV formats used >> as input to the Synopsys DesignWare HDMI TX Controller. >> >> Signed-off-by: Neil Armstro

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

2017-03-21 Thread Neil Armstrong
In order to describe the RGB and YUV 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. Reviewed-by: Archit Taneja <arch...@codeaurora.org> Signed-off-by

[PATCH v4 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings

2017-03-21 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

[PATCH v4 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs

2017-03-21 Thread Neil Armstrong
://lkml.kernel.org/r/1488904944-14285-1-git-send-email-narmstr...@baylibre.com Laurent Pinchart (1): drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function Neil Armstrong (5): media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller documentation: media: Add docum

[PATCH v4 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats

2017-03-21 Thread Neil Armstrong
This patch adds a new DRM documentation entry and links to the input format table added in the dw_hdmi header. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/gpu/bridge/dw-hdmi.rst | 15 +++ Documentation/gpu/index.rst | 1 + 2 files chang

[PATCH v4 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

2017-03-21 Thread Neil Armstrong
hart+rene...@ideasonboard.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 50 ++- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/

[PATCH v4 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations

2017-03-21 Thread Neil Armstrong
and RXSENSE handling code is refactored into a supplementaty set of default PHY operations that are used automatically when the platform glue doesn't provide its own operations. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- dri

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

2017-03-21 Thread Neil Armstrong
Add documentation for added Bus Formats to describe RGB and YUV formats used as input to the Synopsys DesignWare HDMI TX Controller. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- Documentation/media/uapi/v4l/subdev-formats.rst | 871 +++- 1 file change

Re: [PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support

2017-07-28 Thread Neil Armstrong
On 07/28/2017 02:37 PM, Hans Verkuil wrote: > On 07/28/2017 02:35 PM, Hans Verkuil wrote: >> Hi Neil, >> >> On 07/27/2017 05:20 PM, Neil Armstrong wrote: >>> The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver >>> for such controlle

[PATCH v2 0/2] media: Add Amlogic Meson AO CEC Controller support

2017-07-10 Thread Neil Armstrong
-24118-1-git-send-email-narmstr...@baylibre.com Neil Armstrong (2): platform: Add Amlogic Meson AO CEC Controller driver dt-bindings: media: Add Amlogic Meson AO-CEC bindings .../devicetree/bindings/media/meson-ao-cec.txt | 28 + drivers/media/platform/Kconfig | 11

[PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-10 Thread Neil Armstrong
the device. The Suspend firmware configuration will be added in an other patchset. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/platform/Kconfig| 11 + drivers/media/platform/Makefile | 2 + drivers/media/platform/meson/Makefile | 1 + drivers

[PATCH v2 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

2017-07-10 Thread Neil Armstrong
The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this device bindings. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- .../devicetree/bindings/media/meson-ao-cec.txt | 28 ++ 1 file

Re: [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-25 Thread Neil Armstrong
Hi Hans, On 07/17/2017 10:01 AM, Hans Verkuil wrote: > On 10/07/17 10:01, Neil Armstrong wrote: >> The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver >> for such controller. >> The controller does not need HPD to be active, and could support u

[PATCH v3 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-27 Thread Neil Armstrong
the device. The Suspend firmware configuration will be added in an other patchset. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/platform/Kconfig| 11 + drivers/media/platform/Makefile | 2 + drivers/media/platform/meson/Makefile | 1 + drivers

[PATCH v3 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

2017-07-27 Thread Neil Armstrong
The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this device bindings. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- .../devicetree/bindings/media/meson-ao-cec.txt | 28 ++ 1 file

[PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support

2017-07-27 Thread Neil Armstrong
operations - add CEC_CAP_PASSTHROUGH - add bindings ack [1] https://lkml.kernel.org/r/1499336870-24118-1-git-send-email-narmstr...@baylibre.com [2] https://lkml.kernel.org/r/1499673696-21372-1-git-send-email-narmstr...@baylibre.com Neil Armstrong (2): platform: Add Amlogic Meson AO CEC Controller

Re: [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-27 Thread Neil Armstrong
On 07/27/2017 04:43 PM, Neil Armstrong wrote: > On 07/25/2017 03:45 PM, Hans Verkuil wrote: >> On 07/25/17 14:34, Neil Armstrong wrote: >>> Hi Hans, >> >>>>> +static int meson_ao_cec_probe(struct platform_device *pdev) >>>>> +{ >

Re: [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-27 Thread Neil Armstrong
On 07/25/2017 03:45 PM, Hans Verkuil wrote: > On 07/25/17 14:34, Neil Armstrong wrote: >> Hi Hans, > >>>> +static int meson_ao_cec_probe(struct platform_device *pdev) >>>> +{ >>>> + struct meson_ao_cec_device *ao_cec; >>>> + stru

Re: [PATCH 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-06 Thread Neil Armstrong
On 07/06/2017 12:55 PM, Hans Verkuil wrote: > On 07/06/17 12:27, Neil Armstrong wrote: >> The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver >> for such controller. >> The controller does not need HPD to be active, and could support up to max &

[PATCH 1/2] platform: Add Amlogic Meson AO CEC Controller driver

2017-07-06 Thread Neil Armstrong
the device. The Suspend firmware configuration will be added in an other patchset. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/platform/Kconfig| 11 + drivers/media/platform/Makefile | 2 + drivers/media/platform/meson/Makefile | 1 + drivers

[PATCH 0/2] media: Add Amlogic Meson AO CEC Controller support

2017-07-06 Thread Neil Armstrong
the device. The Suspend firmware configuration will be added in an other patchset. Neil Armstrong (2): platform: Add Amlogic Meson AO CEC Controller driver dt-bindings: media: Add Amlogic Meson AO-CEC bindings .../devicetree/bindings/media/meson-ao-cec.txt | 28 + drivers/media/platform

[PATCH 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

2017-07-06 Thread Neil Armstrong
The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this device bindings. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- .../devicetree/bindings/media/meson-ao-cec.txt | 28 ++ 1 file changed, 28 insertions(+) create mode

[PATCH] ARM64: defconfig: enable IR core, decoders and Meson IR device

2017-04-25 Thread Neil Armstrong
This patch enables the MEDIA Infrared RC Decoders and Meson Infrared decoder for ARM64 defconfig. These drivers are selected as modules by default. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- arch/arm64/configs/defconfig | 5 + 1 file changed, 5 insertions(+) diff

[PATCH] media: rc: meson-ir: switch config to NEC decoding on shutdown

2017-04-25 Thread Neil Armstrong
snake.com> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/rc/meson-ir.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/media/rc/meson-ir.c b/drivers/media/rc/meson-ir.c index 42ae2ec..0632f6a 100644 --- a/drivers/media/r

[PATCH] media: rc: meson-ir: store raw event without processing

2017-04-25 Thread Neil Armstrong
Signed-off-by: Jonas Karlman <jo...@kwiboo.se> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/rc/meson-ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/meson-ir.c b/drivers/media/rc/meson-ir.c index 5576dbd..42ae2ec 10

Re: [PATCH] MAINTAINERS: add entry for meson ao cec driver

2017-08-08 Thread Neil Armstrong
TAINERS > +++ b/MAINTAINERS > @@ -8671,6 +8671,16 @@ F: drivers/leds/leds-menf21bmc.c > F: drivers/hwmon/menf21bmc_hwmon.c > F: Documentation/hwmon/menf21bmc > > +MESON AO CEC DRIVER FOR AMLOGIC SOCS > +M: Neil Armstrong <narmstr...@baylibre.com> > +

Re: [ANN] HDMI CEC Status Update

2017-05-30 Thread Neil Armstrong
Hi Hans, On 05/30/2017 08:53 AM, Hans Verkuil wrote: > For those who are interested in HDMI CEC support I made a little status > document that I intend to keep up to date: > > https://hverkuil.home.xs4all.nl/cec-status.txt > > My goal is to get CEC supported for any mainlined HDMI driver where

Re: iMX6q/coda encoder failures with ffmpeg/gstreamer m2m encoders

2017-12-19 Thread Neil Armstrong
On 19/12/2017 12:17, Philipp Zabel wrote: > Hi Neil, > > On Tue, 2017-11-21 at 10:50 +0100, Neil Armstrong wrote: >> Hi, >> >> I'm trying to make the coda960 h.264 encoder work on an i.MX6q SoC with >> Linux 4.14 and the 3.1.1 firmware. >> >> # dme

Re: [PATCH/RFC 1/4] drm: Add colorkey properties

2017-12-19 Thread Neil Armstrong
os property for this plane > * @rotation_property: rotation property for this plane > - * @helper_private: mid-layer private data > + * @colorkey.mode_property: color key mode property > + * @colorkey.min_property: color key range minimum property > + * @colorkey.max_property: color key range maximum property > + * @colorkey.value_property: color key replacement value property > */ > struct drm_plane { > struct drm_device *dev; > @@ -558,6 +577,13 @@ struct drm_plane { > > struct drm_property *zpos_property; > struct drm_property *rotation_property; > + > + struct { > + struct drm_property *mode_property; > + struct drm_property *min_property; > + struct drm_property *max_property; > + struct drm_property *value_property; > + } colorkey; > }; > > #define obj_to_plane(x) container_of(x, struct drm_plane, base) > Apart from that, Reviewed-by: Neil Armstrong <narmstr...@baylibre.com>

iMX6q/coda encoder failures with ffmpeg/gstreamer m2m encoders

2017-11-21 Thread Neil Armstrong
cific parameters ? Thanks, Neil -- Neil Armstrong Embedded Linux Software Engineer BayLibre - At the Heart of Embedded Linux www.baylibre.com

[RFC PATCH 4/5] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-05-14 Thread Neil Armstrong
first doing a notification and then a read. Signed-off-by: Stefan Adolfsson <sadolfs...@chromium.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/platform/chrome/cros_ec_proto.c | 42 + include/linux/mfd/cros_ec.h | 2 +-

[RFC PATCH 2/5] media: cec-notifier: Get notifier by device and connector name

2018-05-14 Thread Neil Armstrong
at least 2 HDMI connectors, this patch also adds the possibility to add a connector name tied to the notifier device to form a tuple and associate different CEC controllers for each HDMI connectors. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/cec/cec-notifier.

[RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-14 Thread Neil Armstrong
This patchs adds the cec_notifier feature to the intel_hdmi part of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate between each HDMI ports. The changes will allow the i915 HDMI code to notify EDID and HPD changes to an eventual CEC adapter. Signed-off-by: Neil Armstrong

[RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-14 Thread Neil Armstrong
address and handles all the messages retries and will only expose Success or Error. When the logical address is invalid, the controller will act as a CEC sniffer and transfer all messages on the bus. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/platform/K

[RFC PATCH 0/5] Add ChromeOS EC CEC Support

2018-05-14 Thread Neil Armstrong
connector notifier from another if they share the same device. Feel free to comment this patchset ! Neil Armstrong (5): mfd: cros_ec_dev: Add CEC sub-device registration media: cec-notifier: Get notifier by device and connector name drm/i915: hdmi: add CEC notifier to intel_hdmi mfd: cros-ec:

[RFC PATCH 1/5] mfd: cros_ec_dev: Add CEC sub-device registration

2018-05-14 Thread Neil Armstrong
The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device when the CEC feature bit is present. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/mfd/cros_ec_dev.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mfd/cros_ec_d

Re: [RFC PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Neil Armstrong
Hi Hans, Thanks for the extensive review. On 15/05/2018 08:58, Hans Verkuil wrote: > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> The Chrome OS Embedded Controller can expose a CEC bus, this patch add the >> driver for such feature of the Embedded Controller. >> &

Re: [RFC PATCH 2/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Neil Armstrong
On 15/05/2018 08:27, Hans Verkuil wrote: > Hi Neil, > > Thanks for this patch series! > > Some comments below: > > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> In non device-tree world, we can need to get the notifier by the driver >> name directly and

Re: [RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
On 15/05/2018 08:34, Hans Verkuil wrote: > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> This patchs adds the cec_notifier feature to the intel_hdmi part >> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate >> between each HDMI ports. >

Re: [RFC PATCH 3/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
On 15/05/2018 08:29, Hans Verkuil wrote: > On 05/15/2018 12:40 AM, Neil Armstrong wrote: >> This patchs adds the cec_notifier feature to the intel_hdmi part >> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate >> between each HDMI ports. >

[PATCH v2 4/5] mfd: cros_ec_dev: Add CEC sub-device registration

2018-05-15 Thread Neil Armstrong
The EC can expose a CEC bus, thus add the cros-ec-cec MFD sub-device when the CEC feature bit is present. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/mfd/cros_ec_dev.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/mfd/cros_ec_d

[PATCH v2 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Neil Armstrong
address and handles all the messages retries and will only expose Success or Error. The controller will be tied to the HDMI CEC notifier by using the platform DMI Data and the i915 device name and connector name. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/platform/K

[PATCH v2 3/5] mfd: cros-ec: Introduce CEC commands and events definitions.

2018-05-15 Thread Neil Armstrong
-by: Stefan Adolfsson <sadolfs...@chromium.org> Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/platform/chrome/cros_ec_proto.c | 42 + include/linux/mfd/cros_ec.h | 2 +- include/linux/mfd/cros_ec_comman

Re: [PATCH 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
Hi, On 15/05/2018 14:56, Hans Verkuil wrote: > On 05/15/18 14:46, Neil Armstrong wrote: >> This patchs adds the cec_notifier feature to the intel_hdmi part >> of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate >> between each HDMI ports. >

[PATCH v2 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Neil Armstrong
at least 2 HDMI connectors, this patch also adds the possibility to add a connector name tied to the notifier device to form a tuple and associate different CEC controllers for each HDMI connectors. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/cec/cec-notifier.

[PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
This patchs adds the cec_notifier feature to the intel_hdmi part of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate between each HDMI ports. The changes will allow the i915 HDMI code to notify EDID and HPD changes to an eventual CEC adapter. Signed-off-by: Neil Armstrong

[PATCH v2 0/5] Add ChromeOS EC CEC Support

2018-05-15 Thread Neil Armstrong
ros-ec-cec media platform directory - Use bus_find_device() to find the pci i915 device instead of get_notifier_get_byname() - Fix Logical Address setup - Added comment about HW support - Removed memset of msg structures Neil Armstrong (5): media: cec-notifier: Get notifier by device and conn

[PATCH 1/5] media: cec-notifier: Get notifier by device and connector name

2018-05-15 Thread Neil Armstrong
at least 2 HDMI connectors, this patch also adds the possibility to add a connector name tied to the notifier device to form a tuple and associate different CEC controllers for each HDMI connectors. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/cec/cec-notifier.

[PATCH 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-15 Thread Neil Armstrong
This patchs adds the cec_notifier feature to the intel_hdmi part of the i915 DRM driver. It uses the HDMI DRM connector name to differentiate between each HDMI ports. The changes will allow the i915 HDMI code to notify EDID and HPD changes to an eventual CEC adapter. Signed-off-by: Neil Armstrong

[PATCH 5/5] media: platform: Add Chrome OS EC CEC driver

2018-05-15 Thread Neil Armstrong
address and handles all the messages retries and will only expose Success or Error. The controller will be tied to the HDMI CEC notifier by using the platform DMI Data and the i915 device name and connector name. Signed-off-by: Neil Armstrong <narmstr...@baylibre.com> --- drivers/media/platform/K

[PATCH 0/5] Add ChromeOS EC CEC Support

2018-05-15 Thread Neil Armstrong
HW support - Removed memset of msg structures Neil Armstrong (5): media: cec-notifier: Get notifier by device and connector name drm/i915: hdmi: add CEC notifier to intel_hdmi mfd: cros-ec: Introduce CEC commands and events definitions. mfd: cros_ec_dev: Add CEC sub-device registrati

  1   2   >