Re: [PATCH 5/5] regulator: tps65090: add external control supportfor DCDC
From: Laxman Dewangan
Date: Tue Oct 09 2012 - 02:55:06 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/