All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/mxsfb: support swapped RGB lanes
@ 2019-01-02 17:02 Ahmad Fatoum
  2019-01-02 17:02 ` [PATCH 1/3] drm/mxsfb: use bus_format to determine pixel RGB component order Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ahmad Fatoum @ 2019-01-02 17:02 UTC (permalink / raw)
  To: Stefan Agner, Marek Vasut, David Airlie, Daniel Vetter; +Cc: kernel, dri-devel

Hello,

I got a board with the RED[0:7]/BLUE[0:7] lanes originating from the
LCDIF swapped and would like to describe this in the device tree:

This first patch extends the mxsfb driver to support
following bus formats:
	MEDIA_BUS_FMT_BGR888_1X24
	MEDIA_BUS_FMT_RBG888_1X24
	MEDIA_BUS_FMT_GBR888_1X24

The latter two patches add a new interface-pix-fmt property
(named so because fsl,imx-parallel-display has one),
which allows a device tree to override the bus format to account
for swapped signal lanes.

Thoughts?

Cheers
Ahmad

--

Ahmad Fatoum (3):
  drm/mxsfb: use bus_format to determine pixel RGB component order
  drm/mxsfb: implement interface-pix-fmt of_property to override bus
    format
  dt-bindings: mxsfb: document new interface-pix-fmt property

 .../devicetree/bindings/display/mxsfb.txt     |  5 +++
 drivers/gpu/drm/mxsfb/mxsfb_crtc.c            | 45 +++++++++++++++----
 drivers/gpu/drm/mxsfb/mxsfb_drv.c             | 13 ++++++
 drivers/gpu/drm/mxsfb/mxsfb_drv.h             |  7 +++
 drivers/gpu/drm/mxsfb/mxsfb_regs.h            | 17 +++++++
 5 files changed, 79 insertions(+), 8 deletions(-)

-- 
2.19.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-03-27 14:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-02 17:02 [PATCH 0/3] drm/mxsfb: support swapped RGB lanes Ahmad Fatoum
2019-01-02 17:02 ` [PATCH 1/3] drm/mxsfb: use bus_format to determine pixel RGB component order Ahmad Fatoum
2019-01-02 17:14   ` Ahmad Fatoum
2019-01-02 17:02 ` [PATCH 2/3] drm/mxsfb: implement interface-pix-fmt of_property to override bus format Ahmad Fatoum
2019-01-02 17:02 ` [PATCH 3/3] dt-bindings: mxsfb: document new interface-pix-fmt property Ahmad Fatoum
2019-01-02 21:05 ` [PATCH 0/3] drm/mxsfb: support swapped RGB lanes Stefan Agner
2019-01-02 21:37   ` Sam Ravnborg
2019-01-07 17:35     ` Ahmad Fatoum
2019-01-07 18:04       ` Sam Ravnborg
2019-03-27 14:26         ` Ahmad Fatoum
2019-01-03  9:59   ` Ahmad Fatoum
2019-03-27 14:30   ` Ahmad Fatoum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.