devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/9] Renesas R-Car DU HDMI support
@ 2014-10-26 15:24 Laurent Pinchart
  2014-10-26 15:24 ` [PATCH v3 7/9] video: Add ADV751[13] DT bindings documentation Laurent Pinchart
  2014-10-28  5:30 ` [PATCH v3 0/9] Renesas R-Car DU HDMI support Dave Airlie
  0 siblings, 2 replies; 7+ messages in thread
From: Laurent Pinchart @ 2014-10-26 15:24 UTC (permalink / raw)
  To: dri-devel; +Cc: devicetree, Simon, linux-sh

Hello,

This patch set adds support for the HDMI output port present on the Renesas
Koelsch board. Doing so requires two components, a driver for the external
ADV7511W HDMI encoder, and support for HDMI encoders in the DU driver.

The HDMI encoder drivers uses the DRM slave encoder framework and the
component framework to communicate with the DU driver. The DT bindings are
based on the OF graph bindings to link the display controller and encoder.

The R-Car DU patches start with a bit of refactoring, to finally add HDMI
support in patch 5/9

The new adv7511 driver (patch 8/9) depends on decoupling EDID parsing from the
DDC I2C adapter (patch 6/9). It supports DT instantiation only (bindings are
documented in patch 7/9) for now. Platform data support could be added later
if needed. The code is based on Lars-Peter Clausen's adv7511 driver, with
heavy modifications.

The last patch instantiates the HDMI encoder in the Koelsch board DT file and
connects it to the DU output.

The patch series depends on Koelsch DU DT enablement (scheduled for merge in
v3.19-rc1). Dave, I'd like to get this merged in v3.19-rc1, how would you like
to proceed ? Could it go through Simon's Renesas tree ? There's a small risk
of conflict in drivers/gpu/drm/drm_edid.c, include/drm/drm_edid.h,
drivers/gpu/drm/i2c/Kconfig and drivers/gpu/drm/i2c/Makefile. Simon, could you
alternatively provide a stable branch with the required dependencies ?

Changes since v2:

- Name arguments to get_edid_block()

Changes since v1:

- Dropped Philipp Zabel's OF graph patches (the rcar-du-drm driver will be
  udpated to use for_each_endpoint_of_node when the implementation hits
  upstream)
- adv7511: Clarify the adi,input-format DT property documentation
- adv7511: Use map array to convert input style to hardware value
- adv7511: Fixed typos

For ease of testing and review I've pushed this series and its dependencies to
a git branch on

	git://linuxtv.org/pinchartl/fbdev.git drm/du/adv7511

Cc: devicetree@vger.kernel.org
Cc: Dave Airlie <airlied@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Simon <horms@verge.net.au>

Lars-Peter Clausen (2):
  drm: Decouple EDID parsing from I2C adapter
  drm: Add adv7511 encoder driver

Laurent Pinchart (7):
  drm: rcar-du: Remove platform data support
  drm: rcar-du: Pass the encoder DT node to rcar_du_encoder_init()
  drm: rcar-du: Replace direct DRM encoder access with cast macro
  drm: rcar-du: Replace drm_encoder with drm_slave_encoder
  drm: rcar-du: Add HDMI encoder and connector support
  video: Add ADV751[13] DT bindings documentation
  ARM: shmobile: koelsch: Add DU HDMI output support

 .../devicetree/bindings/video/adi,adv7511.txt      |   88 ++
 arch/arm/boot/dts/r8a7791-koelsch.dts              |   50 +-
 drivers/gpu/drm/drm_edid.c                         |   27 +-
 drivers/gpu/drm/i2c/Kconfig                        |    6 +
 drivers/gpu/drm/i2c/Makefile                       |    2 +
 drivers/gpu/drm/i2c/adv7511.c                      | 1010 ++++++++++++++++++++
 drivers/gpu/drm/i2c/adv7511.h                      |  289 ++++++
 drivers/gpu/drm/rcar-du/Kconfig                    |   11 +-
 drivers/gpu/drm/rcar-du/Makefile                   |    2 +
 drivers/gpu/drm/rcar-du/rcar_du_crtc.h             |   10 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.c              |    4 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.h              |    2 -
 drivers/gpu/drm/rcar-du/rcar_du_encoder.c          |   45 +-
 drivers/gpu/drm/rcar-du/rcar_du_encoder.h          |   23 +-
 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c          |  118 +++
 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h          |   31 +
 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c          |  151 +++
 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h          |   35 +
 drivers/gpu/drm/rcar-du/rcar_du_kms.c              |   53 +-
 drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c          |   31 +-
 drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h          |    2 -
 drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.h          |    1 -
 drivers/gpu/drm/rcar-du/rcar_du_vgacon.c           |    5 +-
 include/drm/drm_edid.h                             |    5 +
 include/linux/platform_data/rcar-du.h              |   74 --
 25 files changed, 1894 insertions(+), 181 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/video/adi,adv7511.txt
 create mode 100644 drivers/gpu/drm/i2c/adv7511.c
 create mode 100644 drivers/gpu/drm/i2c/adv7511.h
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h
 delete mode 100644 include/linux/platform_data/rcar-du.h

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v3 7/9] video: Add ADV751[13] DT bindings documentation
  2014-10-26 15:24 [PATCH v3 0/9] Renesas R-Car DU HDMI support Laurent Pinchart
@ 2014-10-26 15:24 ` Laurent Pinchart
  2014-10-28  5:30 ` [PATCH v3 0/9] Renesas R-Car DU HDMI support Dave Airlie
  1 sibling, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2014-10-26 15:24 UTC (permalink / raw)
  To: dri-devel; +Cc: devicetree, linux-sh

The ADV7511, ADV7511W and ADV7513 are HDMI audio and video transmitters
compatible with HDMI 1.4 and DVI 1.0. They're described in DT using the
OF graph bindings and a list of custom properties pertaining to the
input video bus configuration.

Cc: devicetree@vger.kernel.org
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

---

Changes since v1:

- Clarify the adi,input-format DT property documentation
- Fixed typo
---
 .../devicetree/bindings/video/adi,adv7511.txt      | 88 ++++++++++++++++++++++
 1 file changed, 88 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/video/adi,adv7511.txt

diff --git a/Documentation/devicetree/bindings/video/adi,adv7511.txt b/Documentation/devicetree/bindings/video/adi,adv7511.txt
new file mode 100644
index 000000000000..96c25ee01501
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/adi,adv7511.txt
@@ -0,0 +1,88 @@
+Analog Device ADV7511(W)/13 HDMI Encoders
+-----------------------------------------
+
+The ADV7511, ADV7511W and ADV7513 are HDMI audio and video transmitters
+compatible with HDMI 1.4 and DVI 1.0. They support color space conversion,
+S/PDIF, CEC and HDCP.
+
+Required properties:
+
+- compatible: Should be one of "adi,adv7511", "adi,adv7511w" or "adi,adv7513"
+- reg: I2C slave address
+
+The ADV7511 supports a large number of input data formats that differ by their
+color depth, color format, clock mode, bit justification and random
+arrangement of components on the data bus. The combination of the following
+properties describe the input and map directly to the video input tables of the
+ADV7511 datasheet that document all the supported combinations.
+
+- adi,input-depth: Number of bits per color component at the input (8, 10 or
+  12).
+- adi,input-colorspace: The input color space, one of "rgb", "yuv422" or
+  "yuv444".
+- adi,input-clock: The input clock type, one of "1x" (one clock cycle per
+  pixel), "2x" (two clock cycles per pixel), "ddr" (one clock cycle per pixel,
+  data driven on both edges).
+
+The following input format properties are required except in "rgb 1x" and
+"yuv444 1x" modes, in which case they must not be specified.
+
+- adi,input-style: The input components arrangement variant (1, 2 or 3), as
+  listed in the input format tables in the datasheet.
+- adi,input-justification: The input bit justification ("left", "evenly",
+  "right").
+
+Optional properties:
+
+- interrupts: Specifier for the ADV7511 interrupt
+- pd-gpios: Specifier for the GPIO connected to the power down signal
+
+- adi,clock-delay: Video data clock delay relative to the pixel clock, in ps
+  (-1200 ps .. 1600 ps). Defaults to no delay.
+- adi,embedded-sync: The input uses synchronization signals embedded in the
+  data stream (similar to BT.656). Defaults to separate H/V synchronization
+  signals.
+
+Required nodes:
+
+The ADV7511 has two video ports. Their connections are modelled using the OF
+graph bindings specified in Documentation/devicetree/bindings/graph.txt.
+
+- Video port 0 for the RGB or YUV input
+- Video port 1 for the HDMI output
+
+
+Example
+-------
+
+	adv7511w: hdmi@39 {
+		compatible = "adi,adv7511w";
+		reg = <39>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
+
+		adi,input-depth = <8>;
+		adi,input-colorspace = "rgb";
+		adi,input-clock = "1x";
+		adi,input-style = <1>;
+		adi,input-justification = "evenly";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				adv7511w_in: endpoint {
+					remote-endpoint = <&dpi_out>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				adv7511_out: endpoint {
+					remote-endpoint = <&hdmi_connector_in>;
+				};
+			};
+		};
+	};
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/9] Renesas R-Car DU HDMI support
  2014-10-26 15:24 [PATCH v3 0/9] Renesas R-Car DU HDMI support Laurent Pinchart
  2014-10-26 15:24 ` [PATCH v3 7/9] video: Add ADV751[13] DT bindings documentation Laurent Pinchart
@ 2014-10-28  5:30 ` Dave Airlie
  2014-10-30 11:05   ` Laurent Pinchart
  1 sibling, 1 reply; 7+ messages in thread
From: Dave Airlie @ 2014-10-28  5:30 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: Simon, devicetree@vger.kernel.org, dri-devel, linux-sh

>
> The last patch instantiates the HDMI encoder in the Koelsch board DT file and
> connects it to the DU output.
>
> The patch series depends on Koelsch DU DT enablement (scheduled for merge in
> v3.19-rc1). Dave, I'd like to get this merged in v3.19-rc1, how would you like
> to proceed ? Could it go through Simon's Renesas tree ? There's a small risk
> of conflict in drivers/gpu/drm/drm_edid.c, include/drm/drm_edid.h,
> drivers/gpu/drm/i2c/Kconfig and drivers/gpu/drm/i2c/Makefile. Simon, could you
> alternatively provide a stable branch with the required dependencies ?

I'd probably like to take the drm patches into drm-next first, then
maybe get a stable
branch from Simon I could use to base the rest on.

Dave.

>
> Changes since v2:
>
> - Name arguments to get_edid_block()
>
> Changes since v1:
>
> - Dropped Philipp Zabel's OF graph patches (the rcar-du-drm driver will be
>   udpated to use for_each_endpoint_of_node when the implementation hits
>   upstream)
> - adv7511: Clarify the adi,input-format DT property documentation
> - adv7511: Use map array to convert input style to hardware value
> - adv7511: Fixed typos
>
> For ease of testing and review I've pushed this series and its dependencies to
> a git branch on
>
>         git://linuxtv.org/pinchartl/fbdev.git drm/du/adv7511
>
> Cc: devicetree@vger.kernel.org
> Cc: Dave Airlie <airlied@gmail.com>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Simon <horms@verge.net.au>
>
> Lars-Peter Clausen (2):
>   drm: Decouple EDID parsing from I2C adapter
>   drm: Add adv7511 encoder driver
>
> Laurent Pinchart (7):
>   drm: rcar-du: Remove platform data support
>   drm: rcar-du: Pass the encoder DT node to rcar_du_encoder_init()
>   drm: rcar-du: Replace direct DRM encoder access with cast macro
>   drm: rcar-du: Replace drm_encoder with drm_slave_encoder
>   drm: rcar-du: Add HDMI encoder and connector support
>   video: Add ADV751[13] DT bindings documentation
>   ARM: shmobile: koelsch: Add DU HDMI output support
>
>  .../devicetree/bindings/video/adi,adv7511.txt      |   88 ++
>  arch/arm/boot/dts/r8a7791-koelsch.dts              |   50 +-
>  drivers/gpu/drm/drm_edid.c                         |   27 +-
>  drivers/gpu/drm/i2c/Kconfig                        |    6 +
>  drivers/gpu/drm/i2c/Makefile                       |    2 +
>  drivers/gpu/drm/i2c/adv7511.c                      | 1010 ++++++++++++++++++++
>  drivers/gpu/drm/i2c/adv7511.h                      |  289 ++++++
>  drivers/gpu/drm/rcar-du/Kconfig                    |   11 +-
>  drivers/gpu/drm/rcar-du/Makefile                   |    2 +
>  drivers/gpu/drm/rcar-du/rcar_du_crtc.h             |   10 +-
>  drivers/gpu/drm/rcar-du/rcar_du_drv.c              |    4 +-
>  drivers/gpu/drm/rcar-du/rcar_du_drv.h              |    2 -
>  drivers/gpu/drm/rcar-du/rcar_du_encoder.c          |   45 +-
>  drivers/gpu/drm/rcar-du/rcar_du_encoder.h          |   23 +-
>  drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c          |  118 +++
>  drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h          |   31 +
>  drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c          |  151 +++
>  drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h          |   35 +
>  drivers/gpu/drm/rcar-du/rcar_du_kms.c              |   53 +-
>  drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c          |   31 +-
>  drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h          |    2 -
>  drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.h          |    1 -
>  drivers/gpu/drm/rcar-du/rcar_du_vgacon.c           |    5 +-
>  include/drm/drm_edid.h                             |    5 +
>  include/linux/platform_data/rcar-du.h              |   74 --
>  25 files changed, 1894 insertions(+), 181 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/video/adi,adv7511.txt
>  create mode 100644 drivers/gpu/drm/i2c/adv7511.c
>  create mode 100644 drivers/gpu/drm/i2c/adv7511.h
>  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
>  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h
>  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c
>  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h
>  delete mode 100644 include/linux/platform_data/rcar-du.h
>
> --
> Regards,
>
> Laurent Pinchart
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/9] Renesas R-Car DU HDMI support
  2014-10-28  5:30 ` [PATCH v3 0/9] Renesas R-Car DU HDMI support Dave Airlie
@ 2014-10-30 11:05   ` Laurent Pinchart
  2014-10-30 11:29     ` Simon Horman
  0 siblings, 1 reply; 7+ messages in thread
From: Laurent Pinchart @ 2014-10-30 11:05 UTC (permalink / raw)
  To: Dave Airlie
  Cc: Laurent Pinchart, dri-devel, linux-sh, devicetree@vger.kernel.org,
	Lars-Peter Clausen, Simon

On Tuesday 28 October 2014 15:30:05 Dave Airlie wrote:
> > The last patch instantiates the HDMI encoder in the Koelsch board DT file
> > and connects it to the DU output.
> > 
> > The patch series depends on Koelsch DU DT enablement (scheduled for merge
> > in v3.19-rc1). Dave, I'd like to get this merged in v3.19-rc1, how would
> > you like to proceed ? Could it go through Simon's Renesas tree ? There's
> > a small risk of conflict in drivers/gpu/drm/drm_edid.c,
> > include/drm/drm_edid.h, drivers/gpu/drm/i2c/Kconfig and
> > drivers/gpu/drm/i2c/Makefile. Simon, could you alternatively provide a
> > stable branch with the required dependencies ?
>
> I'd probably like to take the drm patches into drm-next first, then
> maybe get a stable branch from Simon I could use to base the rest on.

Simon, I believe that would be the dt-du-for-v3.19 branch of
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git 

Is it correct ?

> > Changes since v2:
> > 
> > - Name arguments to get_edid_block()
> > 
> > Changes since v1:
> > 
> > - Dropped Philipp Zabel's OF graph patches (the rcar-du-drm driver will be
> >   udpated to use for_each_endpoint_of_node when the implementation hits
> >   upstream)
> > - adv7511: Clarify the adi,input-format DT property documentation
> > - adv7511: Use map array to convert input style to hardware value
> > - adv7511: Fixed typos
> > 
> > For ease of testing and review I've pushed this series and its
> > dependencies to a git branch on
> > 
> >         git://linuxtv.org/pinchartl/fbdev.git drm/du/adv7511
> > 
> > Cc: devicetree@vger.kernel.org
> > Cc: Dave Airlie <airlied@gmail.com>
> > Cc: Lars-Peter Clausen <lars@metafoo.de>
> > Cc: Simon <horms@verge.net.au>
> > 
> > Lars-Peter Clausen (2):
> >   drm: Decouple EDID parsing from I2C adapter
> >   drm: Add adv7511 encoder driver
> > 
> > Laurent Pinchart (7):
> >   drm: rcar-du: Remove platform data support
> >   drm: rcar-du: Pass the encoder DT node to rcar_du_encoder_init()
> >   drm: rcar-du: Replace direct DRM encoder access with cast macro
> >   drm: rcar-du: Replace drm_encoder with drm_slave_encoder
> >   drm: rcar-du: Add HDMI encoder and connector support
> >   video: Add ADV751[13] DT bindings documentation
> >   ARM: shmobile: koelsch: Add DU HDMI output support
> >  
> >  .../devicetree/bindings/video/adi,adv7511.txt      |   88 ++
> >  arch/arm/boot/dts/r8a7791-koelsch.dts              |   50 +-
> >  drivers/gpu/drm/drm_edid.c                         |   27 +-
> >  drivers/gpu/drm/i2c/Kconfig                        |    6 +
> >  drivers/gpu/drm/i2c/Makefile                       |    2 +
> >  drivers/gpu/drm/i2c/adv7511.c                      | 1010 +++++++++++++++
> >  drivers/gpu/drm/i2c/adv7511.h                      |  289 ++++++
> >  drivers/gpu/drm/rcar-du/Kconfig                    |   11 +-
> >  drivers/gpu/drm/rcar-du/Makefile                   |    2 +
> >  drivers/gpu/drm/rcar-du/rcar_du_crtc.h             |   10 +-
> >  drivers/gpu/drm/rcar-du/rcar_du_drv.c              |    4 +-
> >  drivers/gpu/drm/rcar-du/rcar_du_drv.h              |    2 -
> >  drivers/gpu/drm/rcar-du/rcar_du_encoder.c          |   45 +-
> >  drivers/gpu/drm/rcar-du/rcar_du_encoder.h          |   23 +-
> >  drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c          |  118 +++
> >  drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h          |   31 +
> >  drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c          |  151 +++
> >  drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h          |   35 +
> >  drivers/gpu/drm/rcar-du/rcar_du_kms.c              |   53 +-
> >  drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c          |   31 +-
> >  drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h          |    2 -
> >  drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.h          |    1 -
> >  drivers/gpu/drm/rcar-du/rcar_du_vgacon.c           |    5 +-
> >  include/drm/drm_edid.h                             |    5 +
> >  include/linux/platform_data/rcar-du.h              |   74 --
> >  25 files changed, 1894 insertions(+), 181 deletions(-)
> >  create mode 100644
> >  Documentation/devicetree/bindings/video/adi,adv7511.txt
> >  create mode 100644 drivers/gpu/drm/i2c/adv7511.c
> >  create mode 100644 drivers/gpu/drm/i2c/adv7511.h
> >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
> >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h
> >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c
> >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h
> >  delete mode 100644 include/linux/platform_data/rcar-du.h

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/9] Renesas R-Car DU HDMI support
  2014-10-30 11:05   ` Laurent Pinchart
@ 2014-10-30 11:29     ` Simon Horman
  2014-10-30 11:40       ` Laurent Pinchart
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Horman @ 2014-10-30 11:29 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: devicetree@vger.kernel.org, linux-sh, dri-devel, Laurent Pinchart


[-- Attachment #1.1: Type: text/plain, Size: 5014 bytes --]

2014/10/30 20:05 "Laurent Pinchart" <laurent.pinchart@ideasonboard.com>:
>
> On Tuesday 28 October 2014 15:30:05 Dave Airlie wrote:
> > > The last patch instantiates the HDMI encoder in the Koelsch board DT
file
> > > and connects it to the DU output.
> > >
> > > The patch series depends on Koelsch DU DT enablement (scheduled for
merge
> > > in v3.19-rc1). Dave, I'd like to get this merged in v3.19-rc1, how
would
> > > you like to proceed ? Could it go through Simon's Renesas tree ?
There's
> > > a small risk of conflict in drivers/gpu/drm/drm_edid.c,
> > > include/drm/drm_edid.h, drivers/gpu/drm/i2c/Kconfig and
> > > drivers/gpu/drm/i2c/Makefile. Simon, could you alternatively provide a
> > > stable branch with the required dependencies ?
> >
> > I'd probably like to take the drm patches into drm-next first, then
> > maybe get a stable branch from Simon I could use to base the rest on.
>
> Simon, I believe that would be the dt-du-for-v3.19 branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
>
> Is it correct ?

Sorry I shuffled things around a bit and what you need should now be in the
dt-for-v3.19 branch. I hope what is there now is stable. But I'd appreciate
it if you could wait a few more days.

>
> > > Changes since v2:
> > >
> > > - Name arguments to get_edid_block()
> > >
> > > Changes since v1:
> > >
> > > - Dropped Philipp Zabel's OF graph patches (the rcar-du-drm driver
will be
> > >   udpated to use for_each_endpoint_of_node when the implementation
hits
> > >   upstream)
> > > - adv7511: Clarify the adi,input-format DT property documentation
> > > - adv7511: Use map array to convert input style to hardware value
> > > - adv7511: Fixed typos
> > >
> > > For ease of testing and review I've pushed this series and its
> > > dependencies to a git branch on
> > >
> > >         git://linuxtv.org/pinchartl/fbdev.git drm/du/adv7511
> > >
> > > Cc: devicetree@vger.kernel.org
> > > Cc: Dave Airlie <airlied@gmail.com>
> > > Cc: Lars-Peter Clausen <lars@metafoo.de>
> > > Cc: Simon <horms@verge.net.au>
> > >
> > > Lars-Peter Clausen (2):
> > >   drm: Decouple EDID parsing from I2C adapter
> > >   drm: Add adv7511 encoder driver
> > >
> > > Laurent Pinchart (7):
> > >   drm: rcar-du: Remove platform data support
> > >   drm: rcar-du: Pass the encoder DT node to rcar_du_encoder_init()
> > >   drm: rcar-du: Replace direct DRM encoder access with cast macro
> > >   drm: rcar-du: Replace drm_encoder with drm_slave_encoder
> > >   drm: rcar-du: Add HDMI encoder and connector support
> > >   video: Add ADV751[13] DT bindings documentation
> > >   ARM: shmobile: koelsch: Add DU HDMI output support
> > >
> > >  .../devicetree/bindings/video/adi,adv7511.txt      |   88 ++
> > >  arch/arm/boot/dts/r8a7791-koelsch.dts              |   50 +-
> > >  drivers/gpu/drm/drm_edid.c                         |   27 +-
> > >  drivers/gpu/drm/i2c/Kconfig                        |    6 +
> > >  drivers/gpu/drm/i2c/Makefile                       |    2 +
> > >  drivers/gpu/drm/i2c/adv7511.c                      | 1010
+++++++++++++++
> > >  drivers/gpu/drm/i2c/adv7511.h                      |  289 ++++++
> > >  drivers/gpu/drm/rcar-du/Kconfig                    |   11 +-
> > >  drivers/gpu/drm/rcar-du/Makefile                   |    2 +
> > >  drivers/gpu/drm/rcar-du/rcar_du_crtc.h             |   10 +-
> > >  drivers/gpu/drm/rcar-du/rcar_du_drv.c              |    4 +-
> > >  drivers/gpu/drm/rcar-du/rcar_du_drv.h              |    2 -
> > >  drivers/gpu/drm/rcar-du/rcar_du_encoder.c          |   45 +-
> > >  drivers/gpu/drm/rcar-du/rcar_du_encoder.h          |   23 +-
> > >  drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c          |  118 +++
> > >  drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h          |   31 +
> > >  drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c          |  151 +++
> > >  drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h          |   35 +
> > >  drivers/gpu/drm/rcar-du/rcar_du_kms.c              |   53 +-
> > >  drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c          |   31 +-
> > >  drivers/gpu/drm/rcar-du/rcar_du_lvdscon.h          |    2 -
> > >  drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.h          |    1 -
> > >  drivers/gpu/drm/rcar-du/rcar_du_vgacon.c           |    5 +-
> > >  include/drm/drm_edid.h                             |    5 +
> > >  include/linux/platform_data/rcar-du.h              |   74 --
> > >  25 files changed, 1894 insertions(+), 181 deletions(-)
> > >  create mode 100644
> > >  Documentation/devicetree/bindings/video/adi,adv7511.txt
> > >  create mode 100644 drivers/gpu/drm/i2c/adv7511.c
> > >  create mode 100644 drivers/gpu/drm/i2c/adv7511.h
> > >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c
> > >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmicon.h
> > >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c
> > >  create mode 100644 drivers/gpu/drm/rcar-du/rcar_du_hdmienc.h
> > >  delete mode 100644 include/linux/platform_data/rcar-du.h
>
> --
> Regards,
>
> Laurent Pinchart
>

[-- Attachment #1.2: Type: text/html, Size: 7062 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/9] Renesas R-Car DU HDMI support
  2014-10-30 11:29     ` Simon Horman
@ 2014-10-30 11:40       ` Laurent Pinchart
  2014-10-31  8:18         ` Simon Horman
  0 siblings, 1 reply; 7+ messages in thread
From: Laurent Pinchart @ 2014-10-30 11:40 UTC (permalink / raw)
  To: Simon Horman
  Cc: devicetree@vger.kernel.org, linux-sh, dri-devel, Laurent Pinchart

Hi Simon,

On Thursday 30 October 2014 20:29:22 Simon Horman wrote:
> 2014/10/30 20:05 "Laurent Pinchart" <laurent.pinchart@ideasonboard.com>:
> > On Tuesday 28 October 2014 15:30:05 Dave Airlie wrote:
> >>> The last patch instantiates the HDMI encoder in the Koelsch board DT
> >>> file and connects it to the DU output.
> >>> 
> >>> The patch series depends on Koelsch DU DT enablement (scheduled for
> >>> merge in v3.19-rc1). Dave, I'd like to get this merged in v3.19-rc1, how
> >>> would you like to proceed ? Could it go through Simon's Renesas tree ?
> >>> There's a small risk of conflict in drivers/gpu/drm/drm_edid.c,
> >>> include/drm/drm_edid.h, drivers/gpu/drm/i2c/Kconfig and
> >>> drivers/gpu/drm/i2c/Makefile. Simon, could you alternatively provide a
> >>> stable branch with the required dependencies ?
> >> 
> >> I'd probably like to take the drm patches into drm-next first, then
> >> maybe get a stable branch from Simon I could use to base the rest on.
> > 
> > Simon, I believe that would be the dt-du-for-v3.19 branch of
> > git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
> > 
> > Is it correct ?
> 
> Sorry I shuffled things around a bit and what you need should now be in the
> dt-for-v3.19 branch. I hope what is there now is stable. But I'd appreciate
> it if you could wait a few more days.

Sure, no problem. Could you please let me know when I can use it ?

-- 
Regards,

Laurent Pinchart

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v3 0/9] Renesas R-Car DU HDMI support
  2014-10-30 11:40       ` Laurent Pinchart
@ 2014-10-31  8:18         ` Simon Horman
  0 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2014-10-31  8:18 UTC (permalink / raw)
  To: Laurent Pinchart
  Cc: Lars-Peter Clausen, dri-devel, Laurent Pinchart, Dave Airlie,
	devicetree@vger.kernel.org, linux-sh

On Thu, Oct 30, 2014 at 01:40:34PM +0200, Laurent Pinchart wrote:
> Hi Simon,
> 
> On Thursday 30 October 2014 20:29:22 Simon Horman wrote:
> > 2014/10/30 20:05 "Laurent Pinchart" <laurent.pinchart@ideasonboard.com>:
> > > On Tuesday 28 October 2014 15:30:05 Dave Airlie wrote:
> > >>> The last patch instantiates the HDMI encoder in the Koelsch board DT
> > >>> file and connects it to the DU output.
> > >>> 
> > >>> The patch series depends on Koelsch DU DT enablement (scheduled for
> > >>> merge in v3.19-rc1). Dave, I'd like to get this merged in v3.19-rc1, how
> > >>> would you like to proceed ? Could it go through Simon's Renesas tree ?
> > >>> There's a small risk of conflict in drivers/gpu/drm/drm_edid.c,
> > >>> include/drm/drm_edid.h, drivers/gpu/drm/i2c/Kconfig and
> > >>> drivers/gpu/drm/i2c/Makefile. Simon, could you alternatively provide a
> > >>> stable branch with the required dependencies ?
> > >> 
> > >> I'd probably like to take the drm patches into drm-next first, then
> > >> maybe get a stable branch from Simon I could use to base the rest on.
> > > 
> > > Simon, I believe that would be the dt-du-for-v3.19 branch of
> > > git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
> > > 
> > > Is it correct ?
> > 
> > Sorry I shuffled things around a bit and what you need should now be in the
> > dt-for-v3.19 branch. I hope what is there now is stable. But I'd appreciate
> > it if you could wait a few more days.
> 
> Sure, no problem. Could you please let me know when I can use it ?

Of course, will do.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-10-31  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-26 15:24 [PATCH v3 0/9] Renesas R-Car DU HDMI support Laurent Pinchart
2014-10-26 15:24 ` [PATCH v3 7/9] video: Add ADV751[13] DT bindings documentation Laurent Pinchart
2014-10-28  5:30 ` [PATCH v3 0/9] Renesas R-Car DU HDMI support Dave Airlie
2014-10-30 11:05   ` Laurent Pinchart
2014-10-30 11:29     ` Simon Horman
2014-10-30 11:40       ` Laurent Pinchart
2014-10-31  8:18         ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).