mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] regulator: da9063: Add set_voltage_time_sel function
@ 2015-08-06 16:38 Philipp Zabel
  2015-08-06 18:33 ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Philipp Zabel @ 2015-08-06 16:38 UTC (permalink / raw)
  To: linux-kernel
  Cc: Liam Girdwood, Mark Brown, kernel, support.opensource, Philipp Zabel

This allows to set the regulator-ramp-delay in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/regulator/da9063-regulator.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c
index aed1ad3..d870028 100644
--- a/drivers/regulator/da9063-regulator.c
+++ b/drivers/regulator/da9063-regulator.c
@@ -433,6 +433,7 @@ static struct regulator_ops da9063_buck_ops = {
 	.is_enabled		= regulator_is_enabled_regmap,
 	.get_voltage_sel	= regulator_get_voltage_sel_regmap,
 	.set_voltage_sel	= regulator_set_voltage_sel_regmap,
+	.set_voltage_time_sel	= regulator_set_voltage_time_sel,
 	.list_voltage		= regulator_list_voltage_linear,
 	.set_current_limit	= da9063_set_current_limit,
 	.get_current_limit	= da9063_get_current_limit,
@@ -451,6 +452,7 @@ static struct regulator_ops da9063_ldo_ops = {
 	.is_enabled		= regulator_is_enabled_regmap,
 	.get_voltage_sel	= regulator_get_voltage_sel_regmap,
 	.set_voltage_sel	= regulator_set_voltage_sel_regmap,
+	.set_voltage_time_sel	= regulator_set_voltage_time_sel,
 	.list_voltage		= regulator_list_voltage_linear,
 	.set_mode		= da9063_ldo_set_mode,
 	.get_mode		= da9063_ldo_get_mode,
-- 
2.4.6


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-07 13:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 16:38 [PATCH] regulator: da9063: Add set_voltage_time_sel function Philipp Zabel
2015-08-06 18:33 ` Mark Brown
2015-08-07  9:29   ` Philipp Zabel
2015-08-07 12:31     ` Mark Brown
2015-08-07 13:21       ` Philipp Zabel
2015-08-07 13:29         ` Mark Brown
2015-08-07 13:36           ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®