MLK-17684-2: drm/bridge: nwl-dsi: Let CRTC dictate the final bus format
authorMirela Rabulea <mirela.rabulea@nxp.com>
Wed, 7 Mar 2018 08:45:29 +0000 (10:45 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit5d436e1b3086b7e6866acbd39022c34ccaca6257
treefbc1c872cf9a882ca1354084faa28fa8fb383064
parentae42764379706633d4ebc4b60a624a62924204c2
MLK-17684-2: drm/bridge: nwl-dsi: Let CRTC dictate the final bus format

Use the bus format that was established by CRTC in
crtc->mode.private_flags.
This will be available during enable phase.

The DSI host will be configured via interface_color_coding
and pixel_format (DPI-2 interface ports).
Previously the interface_color_coding was hardcoded to 24-bit.

Set the DSI pixel format before it is necessary in
nwl_dsi_get_bit_clock, during imx_nwl_dsi_enable.

Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com>
drivers/gpu/drm/bridge/nwl-dsi.c
include/drm/bridge/nwl_dsi.h