diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-05-31 07:24:02 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-07-10 11:35:39 +0200 |
commit | cf65d478ab4e0bb0247c374e6b0b40ef77eddbe8 (patch) | |
tree | b92165b15e55f1d0c1d831a97cef97666881e8de /drivers/video/ipu_disp.c | |
parent | 9fbdb1aac5583197270c5d1a7634b7f93b34a654 (diff) | |
download | u-boot-imx-cf65d478ab4e0bb0247c374e6b0b40ef77eddbe8.zip u-boot-imx-cf65d478ab4e0bb0247c374e6b0b40ef77eddbe8.tar.gz u-boot-imx-cf65d478ab4e0bb0247c374e6b0b40ef77eddbe8.tar.bz2 |
ipu_common: Add ldb_clk for use in parenting the pixel clock
Add ldb_clk for use in parenting the pixel clock.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'drivers/video/ipu_disp.c')
-rw-r--r-- | drivers/video/ipu_disp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/ipu_disp.c b/drivers/video/ipu_disp.c index fa8fb2c..b4116df 100644 --- a/drivers/video/ipu_disp.c +++ b/drivers/video/ipu_disp.c @@ -64,6 +64,7 @@ static int dmfc_size_28, dmfc_size_29, dmfc_size_24, dmfc_size_27, dmfc_size_23; int g_di1_tvout; extern struct clk *g_ipu_clk; +extern struct clk *g_ldb_clk; extern struct clk *g_di_clk[2]; extern struct clk *g_pixel_clk[2]; @@ -941,7 +942,7 @@ int32_t ipu_init_sync_panel(int disp, uint32_t pixel_clk, udelay(10000); } } - clk_set_parent(g_pixel_clk[disp], g_di_clk[disp]); + clk_set_parent(g_pixel_clk[disp], g_ldb_clk); } else { if (clk_get_usecount(g_pixel_clk[disp]) != 0) clk_set_parent(g_pixel_clk[disp], g_ipu_clk); |