Re: [PATCH V2 6/6] regulator: max77620: add regulator driver for max77620/max20024

From: Laxman Dewangan
Date: Wed Jan 13 2016 - 09:52:40 EST



On Wednesday 13 January 2016 07:50 PM, Mark Brown wrote:
* PGP Signed by an unknown key

On Wed, Jan 13, 2016 at 06:41:11PM +0530, Laxman Dewangan wrote:
On Wednesday 13 January 2016 06:39 PM, Mark Brown wrote:
What is "it" and why can't we check what the current configuration is
while setting FPS to NONE?
I will have platform specific data in callback of enable/disable only.
Which call back do I need to set this? enable/disable or post register?
I'm sorry but I can't parse what you're saying here.
Here, before machine constraint applies, I need to configure FPS on desired source.
I need to set the FPS src properly for each rails before callback happen
>from regulator init so that enable/disable/is_enable can handle it properly.
Why not just reorder the callback so it happens before the constraints
are applied?
which callback I need to reorder for getting the context for configruation?
The existing call to parse the DT.

Are we allow to do i2c transfer in the existing callback for parsing the DT?
By code, nothing is stopping but want to know if there is such limitation on policy/design of this API.