Den 11.08.2019 18.41, skrev Sam Ravnborg:
Hi Noralf.
On Thu, Aug 01, 2019 at 03:52:49PM +0200, Noralf Trønnes wrote:
Add support for panels that use the DPI interface. ILI9341 has onboard RAM so the assumption made here is that all such panels support pixel upload over DBI.
The presence/absense of the Device Tree 'port' node decides which interface is used for pixel transfer.
Have you consiered if the compatible could be used to determine the use of a panel? Then it is more explicit how the HW is described in DT.
Is that common to use the compatible to tell which interface to use? I don't know what best practice is here.
Noralf.