Project 'edgehog/bsp/rockchip/linux-seco-rk' was moved to 'clea-os/bsp/rockchip/linux-seco-rk'. Please update any links and bookmarks that may still have the old path.
[C31] [DTS] dmc: Add supported DDR frequencies
from boot log: dmc: Get wrong frequency, Request 800000000, Current 856000000 dmc: could not find power_model node dmc: dev_pm_opp_set_rate: failed to find current OPP for freq 856000000 (-34) dmc: Get wrong frequency, Request 200000000, Current 856000000 from DDR training log: ddr_set_rate to 328MHZ ddr_set_rate to 666MHZ ddr_set_rate to 416MHZ, ctl_index 0 ddr_set_rate to 856MHZ, ctl_index 1 support 416 856 328 666 MHz, current 856MHz In dmc_opp_table node disable operating point nodes with unsupported frequency and add opp nodes for supported 328 416 666 856 MHZ frequencies In dmc node change the frequencies for different system statuses (scenario). The values are taken from reference board with similar LPDDR4 memory. Set auto-freq-en to 0, so disable load frequency scaling function and enable scenario frequency scaling. Scenario frequency scaling means: entered the specified scenario, DDR frequency will change to the corresponding frequency defined by SYS_STATUS_XXX. The vop-bw-dmc-freq values are valid when load frequency scaling enabled (auto-freq-en=1).
Please register or sign in to comment