arm turnoff gpio's power

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
     I want to turnoff some gpio's power on my board when it entered suspend and when it resumed turnon the gpio.My codes is:
"gpio_set_value(BABBAGE_POWER_ON, 0);"
"gpio_set_value(BABBAGE_POWER_ON, 1);"
    I want to know where can I put my codes in?I have tried to put it in the two functions "suspend_devices_and_enter()","suspend_enter()" which are in kerne/power/suspend.c,but it 
didn't work which can't resume.
    Anyone can give me some tips,I really don't konw what can I do.Thanks all!

Best Regards,
William


 
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux