From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Thu, 22 Apr 2021 01:14:25 +0100 Subject: [PATCH v3 0/9] video: sunxi: rework DE2 driver Message-ID: <20210422001434.11367-1-andre.przywara@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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