Software defect about LCDIF clock

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Software defect about LCDIF clock

463 次查看
PeterChan
NXP Employee
NXP Employee

Dear All,

 

In MX23 BSP release L2.6.31_ER_10.05.02, it is a software defect that the value at HW_CLKCTRL_PIX DIV field may be cleared by mistake when "lcdif" clock is enabled. Clearing the DIV field to 0 can lead to LCDIF malfunction. Please apply the change below to fix this problem.

 

Thanks! 

 

diff --git a/arch/arm/mach-mx23/clock.c b/arch/arm/mach-mx23/clock.c
index a4de6d5..8f20117 100644
--- a/arch/arm/mach-mx23/clock.c
+++ b/arch/arm/mach-mx23/clock.c
@@ -498,7 +498,7 @@ static struct clk lcdif_clk = {
.busy_reg = CLKCTRL_BASE_ADDR + HW_CLKCTRL_PIX,
.busy_bits = 29,
.enable_reg = CLKCTRL_BASE_ADDR + HW_CLKCTRL_PIX,
- .enable_bits = 31,
+ .enable_bits = BM_CLKCTRL_PIX_CLKGATE,
.bypass_reg = CLKCTRL_BASE_ADDR + HW_CLKCTRL_CLKSEQ,
.bypass_bits = 1,
.get_rate = lcdif_get_rate,

标签 (1)
0 项奖励
0 回复数