
5 Feb
2017
5 Feb
'17
11:14 p.m.
On Tue, Dec 13, 2016 at 01:36:27AM +0100, Jernej Skrabec wrote:
This patch series add support for HDMI output. Support for other, newer, SoCs, which also uses DE2 and same or similar HDMI controller and PHY can be easily added later (A83T/A64/H5/R40). Current driver can also be easily extended with TV out support, just like video driver for older Allwinner SoCs.
While driver works, I would like to get few opinions first.
- From what I understand, drivers which supports DT are preferred. Would it be better to rewrite this driver to support device tree?
- TCON code is currently exactly the same as in driver for older SoCs. Should I split it out into shared module? Also TV out code seems to be similar, but I didn't manage to confirm that it works as-is on H3.
- A80 SoC is mix of older display engine and newer HDMI controller, so it doesn't really work with either of sunxi video drivers. Two solutions I see here are either combine both driver into one massive display driver or, much better, split everything by components (TCON/DE/DE2/HDMI/TV) and instantiate compatible ones. I guess this is not much different than adding support for DT in drivers. Note that I don't have any A80 board, I'm just thinking ahead.
I have an A80 board with HDMI connector, so I can help with testing.
Is there anywhere a list of which components are the same between Allwinner's SoCs? If not, I'll also accept pointers to pieces of information I can use to start a page on the wiki about it. How about the order in which the SoCs where released?
--
Rask Ingemann Lambertsen