tizen 2.4 release
[kernel/u-boot-tm1.git] / drivers / video / sprdfb / sprdfb_chip_8825.c
1 /******************************************************************************
2  ** File Name:    sprdfb_chip_8825.c                                     *
3  ** Author:       congfu.zhao                                           *
4  ** DATE:         30/04/2013                                        *
5  ** Copyright:    2013 Spreatrum, Incoporated. All Rights Reserved. *
6  ** Description:                                                    *
7  ******************************************************************************/
8 /******************************************************************************
9  **                   Edit    History                               *
10  **---------------------------------------------------------------------------*
11  ** DATE          NAME            DESCRIPTION                       *
12
13  ******************************************************************************/
14
15
16 #include "sprdfb_chip_common.h"
17 #include "sprdfb_chip_8825.h"
18 #include "sprdfb.h"
19
20
21 void dsi_enable(void)
22 {
23         __raw_bits_or(DSI_BIT_EB, DSI_REG_EB);  //enable dphy
24 }
25
26 void dispc_print_clk(void)
27 {
28         FB_PRINT("0x20900200 = 0x%x\n", __raw_readl(0x20900200));
29         FB_PRINT("0x20900208 = 0x%x\n", __raw_readl(0x20900208));
30         FB_PRINT("0x20900220 = 0x%x\n", __raw_readl(0x20900220));
31 }
32
33
34