On Tue, Dec 13, 2016 at 11:40 PM, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > Hi, > > On Tue, Dec 13, 2016 at 01:36:29AM +0100, Jernej Skrabec wrote: >> This patch adds support for hdmi output. It is designed in the same >> way as video driver for older Allwinner SoCs. >> >> First it checks if monitor is attached. If it is, recommended >> timings are read from EDID. After that, DE2, TCON and HDMI are >> configured according to this timings. >> >> 32MB of RAM is used for framebuffer. This is just enough to support >> 4K resolution. >> >> SimpleFB is also supported by this driver. >> >> Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> > > From the linux discussion, I recall that you said that the TCON was > still the same, and the HDMI was something that could be shared with > the Rockchip implementation. Did you look into sharing the TCON code > (for example using a small "library" to share the functions) and to > reuse Rockchip's HDMI code?
I second the first proposal. The TCON structure has not changed since the A10. Allwinner just removed the unused channels. Channel 1 is removed from the first TCON, and channel 0 is removed from the second TCON. So Allwinner is more or less committing to a static mapping for the display pipeline outputs. Regards ChenYu _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot