]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/panel: simple: make it possible to override LCD bus format
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 14 Sep 2017 09:54:43 +0000 (11:54 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 14 Sep 2017 09:54:43 +0000 (11:54 +0200)
commit09dd2461deba25da409a2c32b23c96ff59f405c3
treea378f16e29ae1b1556c9857fa49621b37cca07bd
parent63df66cbe87b3d1bd95713b7ee7c38768ca706b3
drm/panel: simple: make it possible to override LCD bus format

The baseboards for the Ka-Ro electronics series of i.MX modules have
their display ports wired to the topmost bits of the R,G,B bit
lanes. Thus no matter what LCD bus width (18 or 24bit) a module
provides, the LCD port can be used without shuffling bit lanes.

Add a function to handle certain quirks of the LCD interface to the
panel driver to be able to override the bus format specified in a
panel's display_mode.
Documentation/devicetree/bindings/display/panel/simple-panel.txt
drivers/gpu/drm/panel/panel-simple.c