i2c_qmsi: Implement suspend and resume functions
i2c_qmsi: Implement suspend and resume functions

In order to restore i2c context after entering
SYS_PM_DEEP_SLEEP, suspend and resume functions
are called.

The following parameters are restored:
 - All registers for the I2C device.
 - I2C clocks.

I2C depends on the DMA which is enabled separately.

The suspend/resume functionality is implemented in
the QMSI shim layer as a fast and temporary solution,
it will be removed and migrated to QMSI later.

Change-Id: I22ca2fb9884109f7b5ca75af572811187a531403
Signed-off-by: Julien Delayen <9aa90e4699c54ee9c0d95f6d19509b120c7bfa6f@intel.com>

nashif/zephyr,holtmann/zephyr,mbolivar/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,tidyjiang8/zephyr-doc,galak/zephyr,mbolivar/zephyr,mbolivar/zephyr,punitvara/zephyr,finikorg/zephyr,pklazy/zephyr,galak/zephyr,kraj/zephyr,zephyriot/zephyr,zephyriot/zephyr,runchip/zephyr-cc3220,aceofall/zephyr-iotos,fbsder/zephyr,ldts/zephyr,galak/zephyr,punitvara/zephyr,bigdinotech/zephyr,punitvara/zephyr,runchip/zephyr-cc3200,aceofall/zephyr-iotos,mbolivar/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3200,nashif/zephyr,ldts/zephyr,explora26/zephyr,bigdinotech/zephyr,nashif/zephyr,mbolivar/zephyr,runchip/zephyr-cc3200,bigdinotech/zephyr,Vudentz/zephyr,explora26/zephyr,bigdinotech/zephyr,holtmann/zephyr,kraj/zephyr,pklazy/zephyr,zephyrproject-rtos/zephyr,tidyjiang8/zephyr-doc,bboozzoo/zephyr,Vudentz/zephyr,Vudentz/zephyr,holtmann/zephyr,rsalveti/zephyr,nashif/zephyr,bboozzoo/zephyr,fractalclone/zephyr-riscv,sharronliu/zephyr,finikorg/zephyr,holtmann/zephyr,finikorg/zephyr,Vudentz/zephyr,aceofall/zephyr-iotos,runchip/zephyr-cc3220,aceofall/zephyr-iotos,bboozzoo/zephyr,nashif/zephyr,bboozzoo/zephyr,tidyjiang8/zephyr-doc,rsalveti/zephyr,sharronliu/zephyr,GiulianoFranchetto/zephyr,explora26/zephyr,tidyjiang8/zephyr-doc,Vudentz/zephyr,rsalveti/zephyr,sharronliu/zephyr,pklazy/zephyr,finikorg/zephyr,runchip/zephyr-cc3200,erwango/zephyr,zephyrproject-rtos/zephyr,tidyjiang8/zephyr-doc,ldts/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,kraj/zephyr,sharronliu/zephyr,holtmann/zephyr,fractalclone/zephyr-riscv,zephyriot/zephyr,explora26/zephyr,fractalclone/zephyr-riscv,rsalveti/zephyr,erwango/zephyr,aceofall/zephyr-iotos,zephyriot/zephyr,sharronliu/zephyr,fbsder/zephyr,fractalclone/zephyr-riscv,runchip/zephyr-cc3220,erwango/zephyr,kraj/zephyr,ldts/zephyr,pklazy/zephyr,zephyrproject-rtos/zephyr,bigdinotech/zephyr,fractalclone/zephyr-riscv,erwango/zephyr,zephyriot/zephyr,runchip/zephyr-cc3200,explora26/zephyr,kraj/zephyr,galak/zephyr,punitvara/zephyr,erwango/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3220,ldts/zephyr,rsalveti/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,pklazy/zephyr,runchip/zephyr-cc3220,fbsder/zephyr,bboozzoo/zephyr,fbsder/zephyr,fbsder/zephyr,finikorg/zephyr