drm/tegra: dsi: Refactor in preparation for command mode
authorThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 13:44:27 +0000 (14:44 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:12:20 +0000 (16:12 +0100)
commit563eff1f989917779d8db4c5208e12adcbfcf655
treebce4ba10b92f7973edaef0ce4944ae78f65e6413
parentd2d0a9d21285ace23b7e99c89a52ee9b5ceef792
drm/tegra: dsi: Refactor in preparation for command mode

For command mode panels, the DSI controller needs to be enabled and
configured so that panel drivers can send commands prior to the video
stream being enabled.

Move code from the monolithic output enable/disable functions into
smaller, reusable units to allow more fine-grained control over the
controller state.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dsi.c