linux/drivers/hid/intel-ish-hid
Zhang Lixu 2f4ec1548b HID: intel-ish-hid: ipc: Address EHL Sx resume issues
When OOB is disabled, FW will be power gated when system is in S3/S4/S5
which is the same behavior with legacy ISH FW.
When OOB is enabled, FW will always power on which is totally different
comparing to legacy ISH FW.

So NO_D3 flag is not enough to check FW's status after resume.
Here we can use IPC FW status register to check host link status.
If it is false, it means FW get reset after power gated, need go through
the whole initialization flow; If it is true, it means FW is alive, just
set host ready bit to let fw know host is up.

Co-developed-by: Wei Jiang <wei.w.jiang@intel.com>
Signed-off-by: Wei Jiang <wei.w.jiang@intel.com>
Signed-off-by: Even Xu <even.xu@intel.com>
Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2021-01-06 17:20:02 +01:00
..
ipc HID: intel-ish-hid: ipc: Address EHL Sx resume issues 2021-01-06 17:20:02 +01:00
ishtp HID: intel-ish-hid: simplify the return expression of ishtp_bus_remove_device() 2020-09-22 11:08:18 +02:00
ishtp-fw-loader.c HID: intel-ish-hid: avoid bogus uninitialized-variable warning 2020-05-05 09:54:25 +02:00
ishtp-hid-client.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2019-06-28 08:39:18 +08:00
ishtp-hid.c HID: intel-ish-hid: Remove unnecessary assignment to variable rv 2020-11-25 13:56:00 +01:00
ishtp-hid.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: prefix header search paths with $(srctree)/ 2019-05-18 11:49:57 +09:00