drm/dsi: Add message to packet translator
authorThierry Reding <treding@nvidia.com>
Thu, 16 Oct 2014 11:44:02 +0000 (13:44 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 12:55:26 +0000 (13:55 +0100)
This commit introduces a new function, mipi_dsi_create_packet(), which
converts from a MIPI DSI message to a MIPI DSI packet. The MIPI DSI
packet is as close to the protocol described in the DSI specification as
possible and useful in drivers that need to write a DSI packet into a
FIFO to send a message off to the peripheral.

Suggested-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

No differences found