* [PATCH v1] of: property: Add device link support for extcon
@ 2020-04-01 22:52 Saravana Kannan
2020-04-14 16:47 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Saravana Kannan @ 2020-04-01 22:52 UTC (permalink / raw)
To: Rob Herring, Frank Rowand
Cc: Saravana Kannan, MyungJoo Ham, Chanwoo Choi, kernel-team,
devicetree, linux-kernel
Add support for creating device links out of more DT properties.
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Saravana Kannan <saravanak@google.com>
---
drivers/of/property.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/of/property.c b/drivers/of/property.c
index b4916dcc9e72..252e4f600155 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -1206,6 +1206,7 @@ DEFINE_SIMPLE_PROP(interrupt_parent, "interrupt-parent", NULL)
DEFINE_SIMPLE_PROP(dmas, "dmas", "#dma-cells")
DEFINE_SIMPLE_PROP(power_domains, "power-domains", "#power-domain-cells")
DEFINE_SIMPLE_PROP(hwlocks, "hwlocks", "#hwlock-cells")
+DEFINE_SIMPLE_PROP(extcon, "extcon", NULL)
DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells")
DEFINE_SUFFIX_PROP(gpios, "-gpios", "#gpio-cells")
@@ -1230,6 +1231,7 @@ static const struct supplier_bindings of_supplier_bindings[] = {
{ .parse_prop = parse_dmas, },
{ .parse_prop = parse_power_domains, },
{ .parse_prop = parse_hwlocks, },
+ { .parse_prop = parse_extcon, },
{ .parse_prop = parse_regulators, },
{ .parse_prop = parse_gpio, },
{ .parse_prop = parse_gpios, },
--
2.26.0.rc2.310.g2932bb562d-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] of: property: Add device link support for extcon
2020-04-01 22:52 [PATCH v1] of: property: Add device link support for extcon Saravana Kannan
@ 2020-04-14 16:47 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-04-14 16:47 UTC (permalink / raw)
To: Saravana Kannan
Cc: Frank Rowand, Saravana Kannan, MyungJoo Ham, Chanwoo Choi,
kernel-team, devicetree, linux-kernel
On Wed, 1 Apr 2020 15:52:03 -0700, Saravana Kannan wrote:
> Add support for creating device links out of more DT properties.
>
> Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
> Cc: Chanwoo Choi <cw00.choi@samsung.com>
> Signed-off-by: Saravana Kannan <saravanak@google.com>
> ---
> drivers/of/property.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-14 16:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 22:52 [PATCH v1] of: property: Add device link support for extcon Saravana Kannan
2020-04-14 16:47 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).