All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: Enable "power-source" to be extracted from DT files
@ 2014-05-21 15:14 Ivan T. Ivanov
  2014-05-23 13:58 ` Linus Walleij
  0 siblings, 1 reply; 13+ messages in thread
From: Ivan T. Ivanov @ 2014-05-21 15:14 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Ivan T. Ivanov, linux-kernel

From: "Ivan T. Ivanov" <iivanov@mm-sol.com>

Add "power-source" property to generic options used for DT parsing files.
This  enables drivers, which use generic pin configurations, to get the
value passed to this property.

Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
---
 drivers/pinctrl/pinconf-generic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index 3d9a999..c7ead91 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -166,6 +166,7 @@ static struct pinconf_generic_dt_params dt_params[] = {
 	{ "input-schmitt-enable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 1 },
 	{ "input-schmitt-disable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 0 },
 	{ "input-debounce", PIN_CONFIG_INPUT_DEBOUNCE, 0 },
+	{ "power-source", PIN_CONFIG_POWER_SOURCE, 0 },
 	{ "low-power-enable", PIN_CONFIG_LOW_POWER_MODE, 1 },
 	{ "low-power-disable", PIN_CONFIG_LOW_POWER_MODE, 0 },
 	{ "output-low", PIN_CONFIG_OUTPUT, 0, },
-- 
1.8.3.2


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

end of thread, other threads:[~2014-05-30 14:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-21 15:14 [PATCH] pinctrl: Enable "power-source" to be extracted from DT files Ivan T. Ivanov
2014-05-23 13:58 ` Linus Walleij
2014-05-23 14:12   ` Ivan T. Ivanov
     [not found]   ` <CACRpkdZyLxMTSygRP6pD-mxghQ_D6tQ821tvn8GYw0Rnh9hZoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-05-27  6:27     ` [PATCH v2] " Ivan T. Ivanov
2014-05-27  6:27       ` Ivan T. Ivanov
2014-05-27 13:09       ` Heiko Stübner
2014-05-28  8:15         ` Linus Walleij
2014-05-28  8:15           ` Linus Walleij
2014-05-28  8:36           ` Heiko Stübner
2014-05-28  8:48             ` Linus Walleij
2014-05-30  7:41               ` Ivan T. Ivanov
2014-05-30 14:31                 ` Heiko Stübner
2014-05-28  8:17       ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.