Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

From: Mark Brown
Date: Wed Feb 10 2016 - 13:43:41 EST


On Wed, Feb 10, 2016 at 10:36:51AM -0800, Stephen Boyd wrote:
> On 02/10, Georgi Djakov wrote:

> > The purpose of this patch it to add support for 8064. Supporting other
> > SoCs requires just read/writing at different offsets. To handle this we
> > can convert the above defines to a table containing the offsets for each
> > SoC. I don't think these are extensive changes or do i miss something?

> In some designs we have to talk to the PMIC with SPMI
> transactions to change the mode depending on the voltages. How do
> we plan to handle that case where the regulator control is split
> between two busses, SPMI and MMIO?

Mixed control interfaces are in general a diaster with Linux, I'd
suggest remonstrating with your system designers about doing them but in
this case since it's a syscon presumably you could hang the device off
the SPMI bus in the cases where that's in use.

Attachment: signature.asc
Description: PGP signature