[PATCH RFC 0/9] sunxi: video: Support LCD and HDMI output on H6/D1

John Watts contact at jookia.org
Sat Apr 20 02:02:33 CEST 2024


This patch series is my first attempt at supporting an LCD panel on the
T113. I can confirm this specific use case works, but I've added code
for the H6/H616 too in the process as a lot of the logic is the same.

I've also included an untested patch for HDMI support at the end in case
anyone wants to work on it. It compiles and looks like it should work,
but I haven't ungated/reset the slow HDMI clock, or HDMI sub.

Signed-off-by: John Watts <contact at jookia.org>
---
John Watts (9):
      sunxi: clock: support H6/D1 video clocks
      sunxi: ncat2: Specify DE2 and LCD0 base addresses
      sunxi: sun50i-h6: Specify DE2 and LCD0 base addresses
      sunxi: video: support LCD on H6/D1
      sunxi: video: enable DE2 on H6/D1
      sunxi: video: silence unused use_mipi_pll warning
      sunxi: video: dummy out HDMI on H6/D1
      sunxi: Enable display engine on H6/D1
      sunxi: video: support HDMI on H6/H616

 arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 65 ++++++++++++++++++
 arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h   |  3 +
 arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h |  3 +
 arch/arm/mach-sunxi/Kconfig                       |  2 +
 arch/arm/mach-sunxi/clock_sun50i_h6.c             | 81 +++++++++++++++++++++++
 drivers/video/sunxi/lcdc.c                        | 23 +++++++
 drivers/video/sunxi/sunxi_de2.c                   | 18 +++++
 drivers/video/sunxi/sunxi_dw_hdmi.c               | 77 +++++++++++++++++++--
 drivers/video/sunxi/sunxi_lcd.c                   |  6 +-
 9 files changed, 270 insertions(+), 8 deletions(-)
---
base-commit: 1f1bbbdf85b67316770a6964a4a02b73a720a167
change-id: 20240420-d1_de2-9be81d56bd85

Best regards,
-- 
John Watts <contact at jookia.org>



More information about the U-Boot mailing list