| f1bb459c | 30-Nov-2023 |
Marek Vasut <marex@denx.de> |
feat(imx8m): add 3600 MTps DDR PLL rate
Add 3600 MTps DRAM and its 900 MHz PLL setting M=300 P=8 S=0 , so 24 MHz * 300 / 8 / 2^0 = 900 MHz ~ 3600 MTps (x4) .
Signed-off-by: Marek Vasut <marex@denx.
feat(imx8m): add 3600 MTps DDR PLL rate
Add 3600 MTps DRAM and its 900 MHz PLL setting M=300 P=8 S=0 , so 24 MHz * 300 / 8 / 2^0 = 900 MHz ~ 3600 MTps (x4) .
Signed-off-by: Marek Vasut <marex@denx.de> Change-Id: If2743827294efc0f981718f04b772cc462846195
show more ...
|
| 060fe633 | 30-Nov-2023 |
Marek Vasut <marex@denx.de> |
fix(imx8m): align 3200 MTps rate with U-Boot
The 3200 MTps DRAM and its 800 MHz PLL setting in U-Boot is set to M=300 P=9 S=0 , so 24 MHz * 300 / 9 / 2^0 = 800 MHz ~ 3200 MTps (x4) . Make sure the P
fix(imx8m): align 3200 MTps rate with U-Boot
The 3200 MTps DRAM and its 800 MHz PLL setting in U-Boot is set to M=300 P=9 S=0 , so 24 MHz * 300 / 9 / 2^0 = 800 MHz ~ 3200 MTps (x4) . Make sure the PLL settings are aligned across software components.
Signed-off-by: Marek Vasut <marex@denx.de> Change-Id: I163f81696be213acf6ecebe89ff2c76d41484cc5
show more ...
|
| dd108c3c | 07-Jan-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8mq): add the dram retention support for imx8mq
Add the dram retention support for i.MX8MQ. As there is no enough ocram space available before entering TF-A, so the timing info need to be co
feat(imx8mq): add the dram retention support for imx8mq
Add the dram retention support for i.MX8MQ. As there is no enough ocram space available before entering TF-A, so the timing info need to be copied from dram into ocram.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Change-Id: Id8264c342fd62e297b1969cba5ed505450c78a25
show more ...
|
| e00fe11d | 16-Mar-2021 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): add ddr4 dvfs sw workaround for ERR050712
APB Write data corruption following MRCTRL0.mr_wr=1 while hardware-driven MR access is occurring
When performing a software driven MR access, t
fix(imx8m): add ddr4 dvfs sw workaround for ERR050712
APB Write data corruption following MRCTRL0.mr_wr=1 while hardware-driven MR access is occurring
When performing a software driven MR access, the following sequence must be done automatically before performing other APB register accesses:
1. Set MRCTRL0.mr_wr=1 2. Check for MRSTAT.mr_wr_busy=0. If not, go to step (2) 3. Check for MRSTAT.mr_wr_busy=0 again (for the second time), if not, go to step (2).
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> Change-Id: Ie26e08bcc83d3ed4844ed04a853162308dcdccd0
show more ...
|
| 0331b1c6 | 08-Sep-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): fix coverity out of bound access issue
Fix the out of bound access to the rank setting array.
Fix Coverity issue:
CID 6474575: Out-of-bounds access (OVERRUN) CID 11014855: Unused value
fix(imx8m): fix coverity out of bound access issue
Fix the out of bound access to the rank setting array.
Fix Coverity issue:
CID 6474575: Out-of-bounds access (OVERRUN) CID 11014855: Unused value (UNUSED_VALUE)
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> Change-Id: I5d9ef90f1479e5d46d1b6c8693a27e3abd614766
show more ...
|
| 4bf50192 | 22-Oct-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): fix the dram retention random hang on some imx8mq Rev2.0
It seems the DRAM APB clock root slice can NOT work normally if the PLLs is power down in DSM mode. So update this clock slice's
fix(imx8m): fix the dram retention random hang on some imx8mq Rev2.0
It seems the DRAM APB clock root slice can NOT work normally if the PLLs is power down in DSM mode. So update this clock slice's setting explicitly to make it work. This piece of code is there for a long while on previous release, so just add it back to align with previous flow.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com> Change-Id: I113069494074194e116fdb1229052d2956bf90ea
show more ...
|
| 4234b902 | 19-Oct-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8m): add more dram pll setting
Add DRAM PLL frequency setting for 3200mts & 4000mts.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> Change-Id: I4
feat(imx8m): add more dram pll setting
Add DRAM PLL frequency setting for 3200mts & 4000mts.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> Change-Id: I4b0609f9e7c0f35d75a26ec9ccebec77b3dbe68f
show more ...
|
| 25c43233 | 03-Aug-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): fix the current fsp init
The dfimisc reg value should be shift right 8 bit to get the current fsp.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.
fix(imx8m): fix the current fsp init
The dfimisc reg value should be shift right 8 bit to get the current fsp.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com> Change-Id: I4c8c166bc3ad4cc1376961cbf47631c68b5900cc
show more ...
|
| 33300849 | 08-May-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): fix the rank to rank space issue
update umctl2's setting based on phy training CDD value to workaround the rank-to-rank space issue.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed
fix(imx8m): fix the rank to rank space issue
update umctl2's setting based on phy training CDD value to workaround the rank-to-rank space issue.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> Change-Id: I0fab18cdc378fda760daa0f89c4dd84eb46f7e11
show more ...
|
| ad0cbbf5 | 06-May-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): fix the dfiphymaster setting after dvfs
the dfi phy master setting need to be save/restore to make sure it aligned with the initial config.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> R
fix(imx8m): fix the dfiphymaster setting after dvfs
the dfi phy master setting need to be save/restore to make sure it aligned with the initial config.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> Change-Id: I4f572b9aff9cc47a6c28524ce0fe03cdc66b88a1
show more ...
|
| 0e39488f | 22-Apr-2020 |
Jacky Bai <ping.bai@nxp.com> |
feat(imx8m): update the ddr4 dvfs flow to include ddr3l support
the DDR3L & DDR4 can share same piece of code for DDR frequency scaling. So update the ddr4 dvfs flow to support DDR3L too.
Signed-of
feat(imx8m): update the ddr4 dvfs flow to include ddr3l support
the DDR3L & DDR4 can share same piece of code for DDR frequency scaling. So update the ddr4 dvfs flow to support DDR3L too.
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> Change-Id: Ifc6981f05ed8a4e399adad97690197a9680f554d
show more ...
|
| 5277c096 | 13-Apr-2020 |
Jacky Bai <ping.bai@nxp.com> |
fix(imx8m): correct the rank info get fro mstr
the bitfield of active_ranks in MSTR is defined as below. Correct the rank num get in dram_info.
0x01: one rank; 0x11: two rank;
Signed-off-by: J
fix(imx8m): correct the rank info get fro mstr
the bitfield of active_ranks in MSTR is defined as below. Correct the rank num get in dram_info.
0x01: one rank; 0x11: two rank;
Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> Change-Id: Idcadb39f492a8fe81c973ac4136d9a1eaa32f54b
show more ...
|