mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk3066B: compatible with rk3188 plus pll config, fix compile error
This commit is contained in:
@@ -71,19 +71,16 @@ enum rk_plls_id {
|
||||
#define PLL_CLKF_SET(val) (PLL_CLKF(val) | CRU_W_MSK(PLL_NF_SHIFT, PLL_NF_MSK))
|
||||
|
||||
/*******************PLL CON2 BITS***************************/
|
||||
#if 0
|
||||
#define PLL_BWADJ_MSK (0xfff)
|
||||
// "BWADJ" Just compatible with RK3188 plus
|
||||
#define PLL_BWADJ_MSK (0xfff & 0x000)
|
||||
#define PLL_BWADJ_SHIFT (0)
|
||||
#define PLL_CLK_BWADJ_SET(val) ((val) | CRU_W_MSK(PLL_BWADJ_SHIFT, PLL_BWADJ_MSK))
|
||||
#endif
|
||||
/*******************PLL CON3 BITS***************************/
|
||||
|
||||
#if 0
|
||||
#define PLL_REST_MSK (1 << 5)
|
||||
#define PLL_REST_W_MSK (PLL_REST_MSK << 16)
|
||||
#define PLL_REST (1 << 5)
|
||||
#define PLL_REST_RESM (0 << 5)
|
||||
#endif
|
||||
// "RESET" Just compatible with RK3188 plus
|
||||
#define PLL_RESET_MSK ((1 & 0x0) << 5)
|
||||
#define PLL_RESET_W_MSK (PLL_RESET_MSK << 16)
|
||||
#define PLL_RESET (1 << 5)
|
||||
#define PLL_RESET_RESUME (0 << 5)
|
||||
|
||||
#define PLL_BYPASS_MSK (1 << 0)
|
||||
#define PLL_BYPASS (1 << 0)
|
||||
|
||||
Reference in New Issue
Block a user