Skip to contentSkip to conversation

D3 and E3 HDMI output support

GIT PULL Laurent Pinchart 2 participants 4 messages Sep 15, 2018 – Oct 9, 2018

lore
Share & tools
lore
#0 lore raw

Hi Geert,

The following changes since commit 6e1637c91742570ff873433ed27227933b792af4:

drm: rcar-du: Remove packed VYUY support (2018-09-15 17:28:34 +0300)

are available in the Git repository at:

git://linuxtv.org/pinchartl/media.git for/renesas-drivers

for you to fetch changes up to d7e0cb47e1d06d3033812281fe98528d1713ec16:

Merge tag 'drm-du-dt-lvds-pll-v1-20180915' into for/renesas-drivers
(2018-09-15 17:38:05 +0300)

Please note that the for/renesas-drivers branch is a merge of a code and a DT branch (available under the drm-du-lvds-pll-v1-20180915 and drm-du-dt-lvds- pll-v1-20180915 tags respectively). Those two branches have different bases (drm-next from Dave's tree and devel from Simon's tree respectively), I've thus edited the diffstat below manually.

----------------------------------------------------------------
Kieran Bingham (1):

      arm64: dts: renesas: r8a77995: Add LVDS support

Laurent Pinchart (14):
arm64: dts: renesas: r8a77990: Add display output support
arm64: dts: renesas: r8a77990: ebisu: Enable VGA and HDMI outputs
pinctrl: sh-pfc: r8a77990: Add DU pins, groups and function
dt-bindings: display: renesas: du: Document r8a77990 bindings
dt-bindings: display: renesas: lvds: Document r8a77990 bindings
dt-bindings: display: renesas: lvds: Add EXTAL and DU_DOTCLKIN clocks
drm: bridge: thc63: Restrict modes based on hardware operating frequency
drm: rcar-du: lvds: D3/E3 support
drm: rcar-du: Perform the initial CRTC setup from rcar_du_crtc_get()
drm: rcar-du: Use LVDS PLL clock as dot clock when possible
drm: rcar-du: Enable configurable DPAD0 routing on Gen3
drm: rcar-du: Cache DSYSR value to ensure known initial value
drm: rcar-du: Don't use TV sync mode when not supported by the hardware Merge tag 'drm-du-dt-lvds-pll-v1-20180915' into for/renesas-drivers

Ulrich Hecht (2):
arm64: dts: renesas: r8a77995: draak: Enable HDMI display output
drm: rcar-du: Add r8a77990 and r8a77995 device support

 Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt |   13 
 Documentation/devicetree/bindings/display/renesas,du.txt          |    2 
 arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts                    |  166 ++++
 arch/arm64/boot/dts/renesas/r8a77990.dtsi                         |  167 ++++
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts                    |   98 ++
 arch/arm64/boot/dts/renesas/r8a77995.dtsi                         |   56 +
 drivers/gpu/drm/bridge/thc63lvd1024.c                             |   18 
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c                            |  136 ++-
 drivers/gpu/drm/rcar-du/rcar_du_crtc.h                            |    5 
 drivers/gpu/drm/rcar-du/rcar_du_drv.c                             |   63 +
 drivers/gpu/drm/rcar-du/rcar_du_drv.h                             |    3 
 drivers/gpu/drm/rcar-du/rcar_du_group.c                           |   88 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c                             |   12 
 drivers/gpu/drm/rcar-du/rcar_lvds.c                               |  355 +++-
 drivers/gpu/drm/rcar-du/rcar_lvds_regs.h                          |   43 +
 drivers/pinctrl/sh-pfc/pfc-r8a77990.c                             |  110 +++
 16 files changed, 1187 insertions(+), 148 deletions(-)
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

Hi Laurent (and Kieran),

Quoted 10 lines · Laurent Pinchart

The following changes since commit 6e1637c91742570ff873433ed27227933b792af4:

drm: rcar-du: Remove packed VYUY support (2018-09-15 17:28:34 +0300)

are available in the Git repository at:

git://linuxtv.org/pinchartl/media.git for/renesas-drivers

for you to fetch changes up to d7e0cb47e1d06d3033812281fe98528d1713ec16:

Quoted 8 lines

Merge tag 'drm-du-dt-lvds-pll-v1-20180915' into for/renesas-drivers
(2018-09-15 17:38:05 +0300)

Please note that the for/renesas-drivers branch is a merge of a code and a DT branch (available under the drm-du-lvds-pll-v1-20180915 and drm-du-dt-lvds- pll-v1-20180915 tags respectively). Those two branches have different bases (drm-next from Dave's tree and devel from Simon's tree respectively), I've thus edited the diffstat below manually.

Thanks for your pull request!

This causes merge conflicts with next-20180913 in

    arch/arm64/boot/dts/renesas/r8a774a1.dtsi
    arch/arm64/boot/dts/renesas/r8a77990.dtsi
    arch/arm64/boot/dts/renesas/r8a77995-draak.dts

and with Kieran's du/2018q3 in

drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_lvds.c

While the DT conflicts may not be unavoidedable, please coordinate with Kieran for the rcar-du conflicts.

Thanks!

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#2 lore raw

Hi Geert,

Simon, there's a question for your below.

Quoted 2 lines · On Monday, 17 September 2018 10:53:33 EEST Geert Uytterhoeven wrote:
Quoted 1 line · Laurent Pinchart

The following changes since commit

6e1637c91742570ff873433ed27227933b792af4:

Quoted 16 lines
Quoted 8 lines

drm: rcar-du: Remove packed VYUY support (2018-09-15 17:28:34 +0300)

are available in the Git repository at:
git://linuxtv.org/pinchartl/media.git for/renesas-drivers

for you to fetch changes up to d7e0cb47e1d06d3033812281fe98528d1713ec16:
Merge tag 'drm-du-dt-lvds-pll-v1-20180915' into for/renesas-drivers

Quoted 7 lines

(2018-09-15 17:38:05 +0300)

Please note that the for/renesas-drivers branch is a merge of a code and a DT branch (available under the drm-du-lvds-pll-v1-20180915 and drm-du-dt-lvds- pll-v1-20180915 tags respectively). Those two branches have different bases (drm-next from Dave's tree and devel from Simon's tree respectively), I've thus edited the diffstat below manually.

Quoted 7 lines

Thanks for your pull request!

This causes merge conflicts with next-20180913 in

    arch/arm64/boot/dts/renesas/r8a774a1.dtsi
    arch/arm64/boot/dts/renesas/r8a77990.dtsi
    arch/arm64/boot/dts/renesas/r8a77995-draak.dts

What would be a better base than Simon's devel branch for DT patches ?

Quoted 8 lines

and with Kieran's du/2018q3 in

drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_lvds.c

While the DT conflicts may not be unavoidedable, please coordinate with Kieran for the rcar-du conflicts.

Apart from the topmost patch ("drm: rcar-du: Revert "drm: rcar-du: Use __drm_atomic_helper_plane_reset instead of copying the logic"") which Kieran's added due the last minute discovery of a 4.19-rc regression, Kieran's branch is identical in content with the base of my pull request. The commit IDs are not the same though, as I've since then rebased my tree to prepare it for upstream, but only one commit message has changed, without touching the code itself.

git seems not to be doing a great job here. If you merge my drm/du/next branch into Kieran's du/2018q3 branch, and then merge my for/renesas-drivers branch, it will all merge cleanly (drm/du/next is included in for/renesas-drivers). However, merging for/renesas-drivers results in merge conflicts.

Signature · 3 lines
Regards,

Laurent Pinchart
#3 lore raw
In reply to Laurent Pinchart

Hi Laurent,

Quoted 52 lines · Laurent Pinchart

The following changes since commit 6e1637c91742570ff873433ed27227933b792af4:

drm: rcar-du: Remove packed VYUY support (2018-09-15 17:28:34 +0300)

are available in the Git repository at:

git://linuxtv.org/pinchartl/media.git for/renesas-drivers

for you to fetch changes up to d7e0cb47e1d06d3033812281fe98528d1713ec16:

Merge tag 'drm-du-dt-lvds-pll-v1-20180915' into for/renesas-drivers
(2018-09-15 17:38:05 +0300)

Please note that the for/renesas-drivers branch is a merge of a code and a DT branch (available under the drm-du-lvds-pll-v1-20180915 and drm-du-dt-lvds- pll-v1-20180915 tags respectively). Those two branches have different bases (drm-next from Dave's tree and devel from Simon's tree respectively), I've thus edited the diffstat below manually.

----------------------------------------------------------------
Kieran Bingham (1):

      arm64: dts: renesas: r8a77995: Add LVDS support

Laurent Pinchart (14):
arm64: dts: renesas: r8a77990: Add display output support
arm64: dts: renesas: r8a77990: ebisu: Enable VGA and HDMI outputs
pinctrl: sh-pfc: r8a77990: Add DU pins, groups and function
dt-bindings: display: renesas: du: Document r8a77990 bindings
dt-bindings: display: renesas: lvds: Document r8a77990 bindings
dt-bindings: display: renesas: lvds: Add EXTAL and DU_DOTCLKIN clocks
drm: bridge: thc63: Restrict modes based on hardware operating frequency
drm: rcar-du: lvds: D3/E3 support
drm: rcar-du: Perform the initial CRTC setup from rcar_du_crtc_get()
drm: rcar-du: Use LVDS PLL clock as dot clock when possible
drm: rcar-du: Enable configurable DPAD0 routing on Gen3
drm: rcar-du: Cache DSYSR value to ensure known initial value
drm: rcar-du: Don't use TV sync mode when not supported by the hardware Merge tag 'drm-du-dt-lvds-pll-v1-20180915' into for/renesas-drivers

Ulrich Hecht (2):
arm64: dts: renesas: r8a77995: draak: Enable HDMI display output
drm: rcar-du: Add r8a77990 and r8a77995 device support

 Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt |   13
 Documentation/devicetree/bindings/display/renesas,du.txt          |    2
 arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts                    |  166 ++++
 arch/arm64/boot/dts/renesas/r8a77990.dtsi                         |  167 ++++
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts                    |   98 ++
 arch/arm64/boot/dts/renesas/r8a77995.dtsi                         |   56 +
 drivers/gpu/drm/bridge/thc63lvd1024.c                             |   18
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c                            |  136 ++-
 drivers/gpu/drm/rcar-du/rcar_du_crtc.h                            |    5
Quoted 8 lines
 drivers/gpu/drm/rcar-du/rcar_du_drv.c                             |   63 +
 drivers/gpu/drm/rcar-du/rcar_du_drv.h                             |    3
 drivers/gpu/drm/rcar-du/rcar_du_group.c                           |   88 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c                             |   12
 drivers/gpu/drm/rcar-du/rcar_lvds.c                               |  355 +++-
 drivers/gpu/drm/rcar-du/rcar_lvds_regs.h                          |   43 +
 drivers/pinctrl/sh-pfc/pfc-r8a77990.c                             |  110 +++
 16 files changed, 1187 insertions(+), 148 deletions(-)

Dropped, as all (or a newer version) of this seems to have found its way to\
maintainers' for-next branches.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds