mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk30xx/rk3168/rk3188: dvfs: nandc delayline break lock status to make sure every time relock
This commit is contained in:
@@ -1150,6 +1150,8 @@ static u8 rk30_get_avs_val(void)
|
||||
nandc_writel(nanc_save_reg[0] | 0x1 << 14, 0);
|
||||
nandc_writel(0x5, 0x130);
|
||||
|
||||
/* Just break lock status */
|
||||
nandc_writel(0x1, 0x158);
|
||||
nandc_writel(3, 0x158);
|
||||
nandc_writel(1, 0x134);
|
||||
|
||||
|
||||
@@ -637,6 +637,8 @@ static u8 rk30_get_avs_val(void)
|
||||
nandc_writel(nanc_save_reg[0] | 0x1 << 14, 0);
|
||||
nandc_writel(0x5, 0x130);
|
||||
|
||||
/* Just break lock status */
|
||||
nandc_writel(0x1, 0x158);
|
||||
#ifdef CONFIG_ARCH_RK3066B
|
||||
nandc_writel(3, 0x158);
|
||||
#else
|
||||
|
||||
@@ -754,6 +754,8 @@ static u8 rk30_get_avs_val(void)
|
||||
nandc_writel(nanc_save_reg[0] | 0x1 << 14, 0);
|
||||
nandc_writel(0x5, 0x130);
|
||||
|
||||
/* Just break lock status */
|
||||
nandc_writel(0x1, 0x158);
|
||||
nandc_writel(0x3, 0x158);
|
||||
nandc_writel(0x21, 0x134);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user