[PATCH 4/4] drm/panel/ili9341: Support DPI panels

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Aug 12 15:35:42 UTC 2019


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.

-- 
Regards,

Laurent Pinchart


More information about the dri-devel mailing list