Messages in this thread | | | Date | Thu, 5 Apr 2012 12:31:44 +0530 | From | Laxman Dewangan <> | Subject | Re: [PATCH RFT 2/2] regulator: Convert rc5t583 to set_voltage |
| |
On Thursday 05 April 2012 11:37 AM, Axel Lin wrote: > Not every regulator driver should implement set_voltage_sel callback. > See commit e8eef82 > "regulator: Provide a selector based set_voltage_sel() operation". > > For rc5t583, the regulator voltage can be mapped onto selector values with a > simple calculation, thus implement set_voltage is better than set_voltage_sel. > > Signed-off-by: Axel Lin<axel.lin@gmail.com> > ---
I wanted to provide the settling delay whenever voltage output get change as per datasheet. In place of having this delay in the driver, I wanted to use implementation of core and for this I need to implement set_voltage_sel() not set_voltage().
| |