Re: [PATCH v3 2/7] bus: mhi: core: Introduce independent voting mechanism

From: bbhatt
Date: Wed May 20 2020 - 14:43:22 EST


On 2020-05-20 09:54, Jeffrey Hugo wrote:
On 5/18/2020 2:03 PM, Bhaumik Bhatt wrote:
Allow independent votes from clients such that they can choose to vote
for either the device or the bus or both. This helps in cases where the
device supports autonomous low power mode wherein it can move to M2
state without the need to notify the host. Clients can also vote only to
keep the underlying bus active without having the device in M0 state to
support offload use cases.

Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
---

I wonder, why doesn't this fit with runtimePM?
Hi Jeff,

Can you elaborate?

In short, with this patch, MHI just wants to give controller the option to
choose the vote type so we can implement autonomous low power mode entries
on both host and device.

Let us know if you need some more information.

Thanks,
Bhaumik