Messages in this thread | | | Date | Tue, 9 Oct 2012 11:51:19 +0530 | From | Laxman Dewangan <> | Subject | Re: [PATCH 5/5] regulator: tps65090: add external control support for DCDC |
| |
On Tuesday 09 October 2012 11:58 AM, Mark Brown wrote: > On Sat, Oct 06, 2012 at 08:47:51PM +0530, Laxman Dewangan wrote: >> The TPS65090's DCDC outut can also be enable/disable through the >> external digital input signal. Add support for enable/disable >> either through register access via I2C or through external >> control inputs. The external control inputs can be driven through >> GPIOs also and hence adding support for passing the GPIO number. > There's support for GPIO driven enable lines in the framework already, > this driver should be able to use this happily, this sort of hardware is > exactly the use case it was written for.
yes, I am using the gpio driven enable lines in the framework. This patch does the some configuration in register to enable external control and configure the regulator_config (fill gpio related stuff in config) before registering the regulator. There is no call of gpio libs from the driver.
| |