Skip to content

video: sunxi: rework DE2 driver

Andre Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest9 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9video: sunxi: Add mode_valid callback to sunxi_dw_hdmidrivers/video/sunxi/sunxi_dw_hdmi.c+7 -00 replies
2/9common: edid: check for digital display earliercommon/edid.c+5 -40 replies
3/9common: edid: extract code for detailed timing searchcommon/edid.c+28 -210 replies
4/9common: edid: Search for valid timing in extension blockcommon/edid.c+18 -01 reply
5/9video: sunxi: Use DW-HDMI hpd functiondrivers/video/sunxi/sunxi_dw_hdmi.c+6 -280 replies
6/9video: sunxi: Remove check for ddc-i2c-bus propertydrivers/video/sunxi/sunxi_dw_hdmi.c+0 -30 replies
7/9video: sunxi: Remove TV probe from DE2drivers/video/sunxi/sunxi_de2.c+1 -140 replies
8/9video: sunxi: dw-hdmi: read source_id laterdrivers/video/sunxi/sunxi_dw_hdmi.c+2 -40 replies
9/9video: sunxi: de2: switch to public uclass functionsdrivers/video/sunxi/sunxi_de2.c+10 -190 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchAndre Przywara
1/9R-b
2/9R-b
3/9R-b
4/9A-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/9] video: sunxi: rework DE2 driver

Hi Anatolij,

can you please take this series? This is the first part of Jernej's rework, which was checked quite thoroughly. I left out the patches with issues for a later post.
I pushed a branch to:
https://source.denx.de/u-boot/custodians/u-boot-sunxi/-/commits/de2-fixes-part1/

Thanks,
Andre
-----------------

This series is the first part of a major rework to the DE2 mixer and accompanying DW-HDMI platform driver. Main goal was to drop redundant device specific code, and later use the DT as a source of information. The latter part has still issues (breaks on A64), so this version only covers the first part of the cleanups.

Besides those cleanups the first patches now filter the HDMI modes based on the pixel clock and search for additional detailed timings in the EDID extension block. This change allows to use 4K monitors - the base EDID block typically presents only a 4k at 60 timing, which exceeds the maximum DE2 pixel clock. Other suitable timings, which are appropriate for this HDMI 1.4 compliant controller, are contained in extension block.

Tested on an H5 and an A64 board.

Jernej Skrabec (9):
video: sunxi: Add mode_valid callback to sunxi_dw_hdmi
common: edid: check for digital display earlier
common: edid: extract code for detailed timing search
common: edid: Search for valid timing in extension block
video: sunxi: Use DW-HDMI hpd function
video: sunxi: Remove check for ddc-i2c-bus property
video: sunxi: Remove TV probe from DE2
video: sunxi: dw-hdmi: read source_id later
video: sunxi: de2: switch to public uclass functions

 common/edid.c                       | 68 ++++++++++++++++++++---------
 drivers/video/sunxi/sunxi_de2.c     | 44 +++++--------------
 drivers/video/sunxi/sunxi_dw_hdmi.c | 48 ++++++--------------
 3 files changed, 72 insertions(+), 88 deletions(-)
Signature · 1 line
2.17.5