This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Smartreflex - validation failed

Guru 20755 points

Other Parts Discussed in Thread: OMAP3530, TPS65920

Hello,

Does anyone knows how to validate smartreflex operation?

I am setting new fequency but I than see that the voltage in all points is still the same as following:

It seems that smartreflex is not enabled in default, so I enable smartreflext as following:

~ # echo 1 > /dbg/voltage/vdd_core/smartreflex/autocomp
~ # echo 1 > /dbg/voltage/vdd_mpu/smartreflex/autocomp

I than change the frequency but I always see the same voltage as following:

~ # echo 550000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

~ # cat /dbg/voltage/vdd_core/smartreflex/autocomp
1
~ # cat /sys/class/regulator/regulator.1/microvolts
1800000
~ # cat /sys/class/regulator/regulator.2/microvolts
1850000
~ # cat /sys/class/regulator/regulator.3/microvolts
1800000
~ # cat /sys/class/regulator/regulator.4/microvolts
2800000
~ # cat /sys/class/regulator/regulator.5/microvolts
1800000
~ # cat /sys/class/regulator/regulator.6/microvolts
1800000
~ # cat /sys/class/regulator/regulator.7/microvolts
2800000

~ # echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

~ # cat /dbg/voltage/vdd_core/smartreflex/autocomp
1
~ # cat /sys/class/regulator/regulator.1/microvolts
1800000
~ # cat /sys/class/regulator/regulator.2/microvolts
1850000
~ # cat /sys/class/regulator/regulator.3/microvolts
1800000
~ # cat /sys/class/regulator/regulator.4/microvolts
2800000
~ # cat /sys/class/regulator/regulator.5/microvolts
1800000
~ # cat /sys/class/regulator/regulator.6/microvolts
1800000
~ # cat /sys/class/regulator/regulator.7/microvolts
2800000

Thanks for any suggestions,

Ran

  • Hi Ran,

    I haven't work with smart reflex but know about some background.

    What is your processor and smartreflex's class ?

    Please ensure that your processor supports smartreflex since it is requires hardware support.

    I presume, you are using OMAP3530 and it is supporting 2 smartreflex modules.

    SMARTREFLEX can perform continuous dynamic voltage scaling (Adaptive voltage scaling(AVS)) around the nominal operating point voltage according to silicon characteristics and operating conditions.

    We don't want to change any freq or voltage like CPUFreq framework (DVFS)but it does everything automatically as per the behavior of silica (SoC) to reduce active power consumption.

    It seems that smartreflex is not enabled in default, so I enable smartreflext as following:

    ~ # echo 1 > /dbg/voltage/vdd_core/smartreflex/autocomp
    ~ # echo 1 > /dbg/voltage/vdd_mpu/smartreflex/autocomp

    I than change the frequency but I always see the same voltage as following:

    ~ # echo 550000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

    ~ # cat /dbg/voltage/vdd_core/smartreflex/autocomp
    1
    ~ # cat /sys/class/regulator/regulator.1/microvolts
    1800000

    Try to reduce the frequency to ~125MHz (minimum) and check.

    Have you checked the kernel process via "ps" command and confirm no process running heavily ?

    http://elinux.org/OMAP_Power_Management/SmartReflex

    http://processors.wiki.ti.com/index.php/AM37x_Power_Management_User_Guide#SmartReflex

    http://www.ti.com/dsp/docs/dspcontent.tsp?contentId=52746#a18

  • Hi Titusrathinaraj,

     

    Thank you very much for your assistance with this topic of PM ! It is highly appreciated.

    >What is your processor and smartreflex's class ?

    cpu: OMAP3530,
    smartreflex: PMIC TPS65920

    >Try to reduce the frequency to ~125MHz (minimum) and check.

    I still get the same results in voltage

    >Have you checked the kernel process via "ps" command and confirm no process running heavily ?

    I ran top for several seconds, and I see that there is no process which high load (one or 2 process in 0.5% and the rest are 0%)

     

    Do you see the same results in OMAP3530 EVM when changing frequency from high to low ?

    Thanks,

    Ran