Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Lina Iyer
On Mon, Jun 18 2018 at 13:54 -0600, Doug Anderson wrote: Hi, On Mon, Jun 18, 2018 at 12:06 PM, Lina Iyer wrote: On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: Lina, On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: +/** * struct rsc_drv: the Direct Resource Voter (DRV) of the

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Doug Anderson
Hi, On Mon, Jun 18, 2018 at 12:06 PM, Lina Iyer wrote: > On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: >> >> Lina, >> >> On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: +/** * struct rsc_drv: the Direct Resource Voter (DRV) of the * Resource State Coordinator c

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Lina Iyer
On Mon, Jun 18 2018 at 12:33 -0600, Doug Anderson wrote: Lina, On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: +/** * struct rsc_drv: the Direct Resource Voter (DRV) of the * Resource State Coordinator controller (RSC) * @@ -52,6 +78,7 @@ struct tcs_group { * @tcs:TCS groups * @

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Doug Anderson
Lina, On Mon, Jun 18, 2018 at 9:39 AM, Lina Iyer wrote: >> +/** >> * struct rsc_drv: the Direct Resource Voter (DRV) of the >> * Resource State Coordinator controller (RSC) >> * >> @@ -52,6 +78,7 @@ struct tcs_group { >> * @tcs:TCS groups >> * @tcs_in_use: s/w state of the TCS >> *

Re: [PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Lina Iyer
On Mon, Jun 18 2018 at 07:37 -0600, Raju P L S S S N wrote: From: Lina Iyer Sending RPMH requests and waiting for response from the controller through a callback is common functionality across all platform drivers. To simplify drivers, add a library functions to create RPMH client and send reso

[PATCH v11 04/10] drivers: qcom: rpmh: add RPMH helper functions

2018-06-18 Thread Raju P L S S S N
From: Lina Iyer Sending RPMH requests and waiting for response from the controller through a callback is common functionality across all platform drivers. To simplify drivers, add a library functions to create RPMH client and send resource state requests. rpmh_write() is a synchronous blocking c