how to change ls1028ardb emmc actual clock ?

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

how to change ls1028ardb emmc actual clock ?

跳至解决方案
305 次查看
Eddy1
Contributor V

Hi:

Recently, I've installed the ls1028ardb edge 2.0 image onto the official evaluation board. However, through /sys/kernel/debug/mmc1/ios, I found that the actual clock of emmc is lower than expected. For example, even if the HS200 mode is set, the actual clock is only 83M. Could you please advise on how to adjust the actual clock of emmc?

clock:          200000000 Hz
actual clock:   83333333 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    9 (mmc HS200)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)

 

0 项奖励
回复
1 解答
211 次查看
LFGP
NXP TechSupport
NXP TechSupport
the actual driver has support for HS400 mode.
For steps please review the subject "15.6.3.8 HS400" into the LS1028ARM.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
277 次查看
LFGP
NXP TechSupport
NXP TechSupport

The actual driver has support for the HS400 mode.

Please use the LLDP 6.1.55, with this one you don't have to add any patch driver or modify the dts.

please note: 

root@localhost:~# cat /sys/kernel/debug/mmc1/ios
clock:          200000000 Hz
actual clock:   150000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    10 (mmc HS400)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)

 Technical parameters of the eSDHC HS400 mode are provided in the QorIQ LS1028A/LS1018A Data Sheet.

Due to A-011334: Limited clock dividers for HS400 mode, maximum SDHC_CLK frequency supported in HS400 (VDD=1.0v) mode is 150 MHz.

0 项奖励
回复
241 次查看
Eddy1
Contributor V

Hi:

Thank you for your reply. Currently, some customers have mass-produced according to this version of BSP, and they need to solve this problem based on the current version. Is there a similar patch available?

0 项奖励
回复
282 次查看
LFGP
NXP TechSupport
NXP TechSupport
The LS1028ARDB eSDHC2 interface is connected to an 8 GB eMMC device, MTFC8GAKAJCN (from Micron) on the board. The eMMC memory can support x1, x4 and x8 data width and data rate of HS400 mode.
for details please review the subject "15.6.3.8 HS400" into the LS1028ARM
0 项奖励
回复
281 次查看
Eddy1
Contributor V

Hi:

Thank you for your reply. I have already notice this. How should we modify it to hs400? Does the default driver support hs400?

标记 (1)
0 项奖励
回复
212 次查看
LFGP
NXP TechSupport
NXP TechSupport
the actual driver has support for HS400 mode.
For steps please review the subject "15.6.3.8 HS400" into the LS1028ARM.
0 项奖励
回复
197 次查看
Eddy1
Contributor V

Okay, I'll check the driver code

0 项奖励
回复