I'm attempting to exercise the suspend/resume functionality on the ti1847. I have reviewed the following guide:
http://processors.wiki.ti.com/index.php/TI81XX_PSP_PM_SUSPEND_RESUME_User_Guide
and run the following to suspend to RAM:
echo -n "mem" > /sys/power/state
The system supends, and resumes properly. However any attempt to use the VPSS effectively hangs the system:
VPSS_FVID2: contrl event 0x10040018 timeout
VPSS_DCTRL: failed to get node input status
VPSS_GRPX : failed to set grpx0 nodes
ti81xxfb ti81xxfb: fvid2 create failed.
I'm using the following sequence of commands on the Mistral TI8147 EVK to demonstrate the issue:
echo 0 > /sys/devices/platform/vpss/display1/enabled
echo 29232,800/40/40/48, 480/13/29/3,1/3 > /sys/devices/platform/vpss/display1/timings
echo triplediscrete,rgb888,0/0/1/0 > /sys/devices/platform/vpss/display1/output
echo 1 > /sys/devices/platform/vpss/display1/enabled
modprobe ti81xxfb
fbset -xres 800 -yres 480 -vxres 800 -vyres 480
echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/node
# cat /img.fb > /dev/fb0 works as expected
echo mem > /sys/power/state
<suspend happens, resume>
cat /img.fb > /dev/fb0
VPSS_FVID2: contrl event 0x10040018 timeout
VPSS_DCTRL: failed to get node input status
VPSS_GRPX : failed to set grpx0 nodes
ti81xxfb ti81xxfb: fvid2 create failed.
It seems like TI's power management document suggests that power management is supported, but it is the implementor's responsibility to go through all of TI's drivers to add suspend/resume hooks. Is that correct? Has anyone already gone through that exercise for the various drivers related to the LCD?
Thanks in advance,
Devin