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

Andre Przywara andre.przywara at arm.com
Thu Apr 22 02:14:25 CEST 2021


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(-)

-- 
2.17.5



More information about the U-Boot mailing list