RSS Bot Posted October 13, 2023 Share Posted October 13, 2023 Description Introduce a driver that leverages the virtual poweroff feature of Trust OS for rk322x that allow Power On with IR remote controller KEY_POWER. It brings the board into suspended state (ie: "virtual poweroff") on shutdown and resumes power when the user pushes KEY_POWER of the remote controller. This is for current 6.1 and edge 6.5 kernels on rk322x family, but it could be possible to extend to other rockchip socs with minor changes. The driver may need some polishing here and there, but it already very usable. To be enabled, it requires the ir-wakeup overlay. How Has This Been Tested? [x] current kernel compiled and tested on live debian bookworm system [x] edge kernel compiled and tested on live debian bookworm system Checklist: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [x] I have commented my code, particularly in hard-to-understand areas [x] I have made corresponding changes to the documentation [x] My changes generate no new warnings [x] Any dependent changes have been merged and published in downstream modules View the full article Link to comment Share on other sites More sharing options...
Recommended Posts