video: tegra: dc: support disp mode override via boot args
authorNirav Patel <nipatel@nvidia.com>
Tue, 22 May 2012 22:58:55 +0000 (15:58 -0700)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 12 Jul 2012 15:24:43 +0000 (08:24 -0700)
commitddb5f0fe7d694255237edd3576d39247907d4f3a
tree37747890cbed2a08c520e1c089aa1f22896b4cfe
parent479b0c165fa230e8ae899c3a74d8f3aa82d10743
video: tegra: dc: support disp mode override via boot args

Allows overidding the default disp mode without having to recompile
the kernel. Boot args can be specified in the following format:

disp_params=<rgb|hdmi|dsi>:pclk,h_active,v_active,h_ref_to_sync,
v_ref_to_sync,h_sync_width,v_sync_width,h_back_porch,v_back_porch,
h_front_porch,v_front_porch;<rgb|hdmi|dsi>:pclk,h_active,...

Bug 969088

Change-Id: Id0acf608de145493f6749d5b799d4bbb8162ba72
Signed-off-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-on: http://git-master/r/104604
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/video/tegra/dc/dc.c