implement suspend/resume for i300 and i500
requested to merge mediatek/aiot/team-baylibre/linux:jstephan/i300-add-suspend-resume into mtk-v5.10
Implement suspend resume on i300 and i500.
The functionnality is directly ported from the work on i350 (d2b97a1e and a42201f3) but it was not tested on i300 and i500 because suspend/resume is not functional on theses platforms. I create the merge request anyway, because, as part of the refactoring process for upstream, we try to merge driver from the three platforms into a single one (at least gather common part) and the suspend/resume is on the common part. So I have several options:
- do not include suspend/resume on the upstream work
- include suspend/resume but not tested on i300 and i500 (should be functional anyway)
Signed-off-by: Julien STEPHAN jstephan@baylibre.com