how to change ls1028ardb emmc actual clock ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to change ls1028ardb emmc actual clock ?

ソリューションへジャンプ
982件の閲覧回数
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 解決策
888件の閲覧回数
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 返答(返信)
954件の閲覧回数
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 件の賞賛
返信
918件の閲覧回数
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 件の賞賛
返信
959件の閲覧回数
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 件の賞賛
返信
958件の閲覧回数
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 件の賞賛
返信
889件の閲覧回数
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 件の賞賛
返信
874件の閲覧回数
Eddy1
Contributor V

Okay, I'll check the driver code

0 件の賞賛
返信