Manivannan Sadhasivam 3000f85b8f bus: mhi: core: Add support for basic PM operations
This commit adds support for basic MHI PM operations such as
mhi_async_power_up, mhi_sync_power_up, and mhi_power_down. These
routines places the MHI bus into respective power domain states
and calls the state_transition APIs when necessary. The MHI
controller driver is expected to call these PM routines for
MHI powerup and powerdown.

This is based on the patch submitted by Sujeev Dias:
https://lkml.org/lkml/2018/7/9/989

Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
[mani: splitted the pm patch and cleaned up for upstream]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
Link: https://lore.kernel.org/r/20200220095854.4804-8-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-19 07:41:04 +01:00
..
2020-02-28 09:02:18 -08:00
2020-03-19 07:41:01 +01:00
2020-02-06 06:11:50 +00:00
2020-03-07 08:04:54 -06:00
2020-02-08 14:17:27 -08:00
2020-02-08 14:17:27 -08:00
2020-02-08 14:04:19 -08:00
2020-02-04 07:17:41 +00:00
2020-03-07 19:52:55 -06:00
2020-03-07 14:14:38 -06:00
2020-01-16 10:45:44 -08:00
2020-02-04 07:17:41 +00:00
2020-01-27 13:03:00 -08:00
2020-02-08 14:04:19 -08:00
2020-01-27 13:03:00 -08:00
2020-03-04 13:28:52 +01:00
2020-02-08 13:55:25 -08:00
2020-03-06 14:48:30 -06:00
2020-02-04 07:17:41 +00:00
2020-02-29 09:58:47 -06:00
2020-02-24 09:57:05 -08:00
2020-03-06 14:50:16 -06:00
2020-03-08 10:35:04 -05:00
2020-01-31 11:28:31 -08:00
2020-03-12 17:17:30 +01:00
2020-02-03 22:22:05 +00:00
2020-03-19 07:41:03 +01:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-02-28 09:02:18 -08:00
2020-03-05 09:42:23 -06:00
2020-02-09 16:05:50 -08:00