mbox series

[v2,0/6] R-Car DU DPAD support for D3 and E3

Message ID 20190122225405.7815-1-laurent.pinchart+renesas@ideasonboard.com (mailing list archive)
Headers show
Series R-Car DU DPAD support for D3 and E3 | expand

Message

Laurent Pinchart Jan. 22, 2019, 10:53 p.m. UTC
Hello,

This series adds support for the DPAD0 output for the D3 and E3 SoCs. On
the Draak and Ebisu boards, DPAD0 is used for the VGA output.

Patches 1/6 and 2/6 prepare the grounds by successfully probing LVDS
encoders that have no connected output. This is required in order to
provide a dot clock to the DPAD output, as on the D3 and E3 SoCs the dot
clock is provided by the LVDS encoders.

Patch 3/6 then adds an API to the LVDS encoder driver to control the
LVDS output clock independently of the LVDS encoder itself, and patch
4/6 makes use of that API to control the clock from the DU driver.

Patches 5/6 and 6/6 finally enable the LVDS1 encoders in the Ebisu and
Draak boards DTs, required to operate the HDMI (out of LVDS0) and VGA
(using the LVDS1 dot clock) together.

Changes compared to v1 are minor and include compilation fixes (in patch
3/6), typo fixes and additional comments in the DT files.

The patches have been tested on Draak only as I don't have access to an
Ebisu board, but they should work equally well on both boards.

For your convenience the patches are available from

        git://linuxtv.org/pinchartl/media.git drm/du/d3e3

Laurent Pinchart (6):
  drm: rcar-du: Simplify encoder registration
  drm: rcar-du: lvds: Don't fail probe if output is not connected on
    D3/E3
  drm: rcar-du: lvds: Add API to enable/disable clock output
  drm: rcar-du: Turn LVDS clock output on/off for DPAD0 output on D3/E3
  arm64: dts: renesas: r8a77990: ebisu: Enable LVDS1 encoder
  arm64: dts: renesas: r8a77995: draak: Enable LVDS1 encoder

 .../arm64/boot/dts/renesas/r8a77990-ebisu.dts |  2 +
 .../arm64/boot/dts/renesas/r8a77995-draak.dts |  7 ++
 drivers/gpu/drm/Makefile                      |  2 +-
 drivers/gpu/drm/rcar-du/Kconfig               |  1 +
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c        | 34 +++++++
 drivers/gpu/drm/rcar-du/rcar_du_drv.h         |  3 +
 drivers/gpu/drm/rcar-du/rcar_du_encoder.c     |  4 +-
 drivers/gpu/drm/rcar-du/rcar_du_encoder.h     |  3 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c         | 52 +---------
 drivers/gpu/drm/rcar-du/rcar_lvds.c           | 94 ++++++++++++++++---
 drivers/gpu/drm/rcar-du/rcar_lvds.h           | 27 ++++++
 11 files changed, 164 insertions(+), 65 deletions(-)
 create mode 100644 drivers/gpu/drm/rcar-du/rcar_lvds.h

Comments

Kuninori Morimoto Feb. 25, 2019, 7:44 a.m. UTC | #1
Hi Laurent

> For your convenience the patches are available from
> 
>         git://linuxtv.org/pinchartl/media.git drm/du/d3e3

It seems we can't find this branch/tag on your branch
Is it removed ? or not yet pushed ?

	https://git.linuxtv.org/pinchartl/media.git/refs/heads

Best regards
---
Kuninori Morimoto
Laurent Pinchart Feb. 25, 2019, 8:30 a.m. UTC | #2
Hi Morimoto-san,

On Mon, Feb 25, 2019 at 04:44:55PM +0900, Kuninori Morimoto wrote:
> 
> Hi Laurent
> 
> > For your convenience the patches are available from
> > 
> >         git://linuxtv.org/pinchartl/media.git drm/du/d3e3
> 
> It seems we can't find this branch/tag on your branch
> Is it removed ? or not yet pushed ?
> 
> 	https://git.linuxtv.org/pinchartl/media.git/refs/heads

The branch has been merged to drm-next (for the DU driver part) and to
Simon's next branch (for the DT part), so I've removed it from my tree.
You can find a merge of those two branches in my repository in the
drm/du/base branch.
Kuninori Morimoto Feb. 25, 2019, 8:40 a.m. UTC | #3
Hi Laurent

> > > For your convenience the patches are available from
> > > 
> > >         git://linuxtv.org/pinchartl/media.git drm/du/d3e3
> > 
> > It seems we can't find this branch/tag on your branch
> > Is it removed ? or not yet pushed ?
> > 
> > 	https://git.linuxtv.org/pinchartl/media.git/refs/heads
> 
> The branch has been merged to drm-next (for the DU driver part) and to
> Simon's next branch (for the DT part), so I've removed it from my tree.
> You can find a merge of those two branches in my repository in the
> drm/du/base branch.

OK, Thanks.
Nice to know


Best regards
---
Kuninori Morimoto