Smartreflex on 'pm-wip/voltdm' Branch

Gulati, Shweta
2011-03-28T10:53:31Z

Kevin,

I am testing Smartreflex on your Branch 'pm-wip/voltdm'. There seems
an issue with reading VP registers.
For OMAP3 and OMAP4 reading debugfs entries shows constant voltage.
Logs are:

OMAP3:
# cat /debug/voltage/vdd_mpu_iva/curr_nominal_volt
1200000
# cat /debug/voltage/vdd_core/curr_nominal_volt
1200000
# echo 1 > /debug/voltage/vdd_mpu_iva/smartreflex/autocomp
[ 311.680816] omap_device: smartreflex.0: new worst case activate
latency 0: 91552
# echo 1 > /debug/voltage/vdd_core/smartreflex/autocomp
# cat /debug/voltage/vdd_core/vp/curr_volt
900000
# cat /debug/voltage/vdd_mpu_iva/vp/curr_volt
900000

OMAP4:
# cat /debug/voltage/vdd_core/curr_nominal_volt
1200000
# cat /debug/voltage/vdd_mpu/curr_nominal_volt
1375000
# cat /debug/voltage/vdd_iva/curr_nominal_volt
1188000
#
# echo 1 > /debug/voltage/vdd_mpu/smartreflex/autocomp
[ 61.514038] omap_device: smartreflex.2: new worst case activate
latency 0: 30517
# echo 1 > /debug/voltage/vdd_core/smartreflex/autocomp
# echo 1 > /debug/voltage/vdd_mpu/smartreflex/autocomp
#
# cat /debug/voltage/vdd_iva/curr_nominal_volt
1188000
# cat /debug/voltage/vdd_iva/vp/curr_volt
1200000
#
# echo 1 > /debug/voltage/vdd_iva/smartreflex/autocomp
# cat /debug/voltage/vdd_iva/vp/curr_volt
812500
#
# cat /debug/voltage/vdd_mpu/vp/curr_volt
812500
# cat /debug/voltage/vdd_core/vp/curr_volt
812500
#

This Issue is not reproduced on 'pm-core' branch, seems in the voltage
Layer Clean up Patches somewhere some thing is goofed up.

Thanks,
Regards,
Shweta