On Wed, Mar 30, 2016 at 12:34:26PM -0700, Stephen Boyd wrote: > Ok. Just curious, why is there a 'selector' argument to the > set_voltage() op then? The qcom spmi driver is using that to allow the > list operation to return the voltage that was actually set. Is that a > 'selector' interface? We could just as easily have read the hardware to > figure out the voltage, but I think we implement the list op to avoid > reading hardware when we know what selector has been chosen during > voltage changes. Historical reasons - this predates having the split selector and map operations.
Attachment:
signature.asc
Description: PGP signature