Hi Laurent/Noralf.
On Mon, Aug 12, 2019 at 06:35:42PM +0300, Laurent Pinchart wrote:
On Mon, Aug 12, 2019 at 02:13:54PM +0200, Noralf Trønnes wrote:
Den 11.08.2019 18.41, skrev Sam Ravnborg:
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.
Usually the compatible identifies the device, not the interface. Additional properties are preferred to describe the interface.
Thanks Laurent. Then the ports idea as implmented by the patch seems to fly.
Sam