From 43152c5b4f5010d8d52b49b138945c748aa615e9 Mon Sep 17 00:00:00 2001 From: Saravana Kannan Date: Wed, 1 Apr 2020 15:52:03 -0700 Subject: [PATCH] FROMGIT: of: property: Add device link support for extcon Add support for creating device links out of more DT properties. Cc: MyungJoo Ham Cc: Chanwoo Choi Signed-off-by: Saravana Kannan Signed-off-by: Rob Herring (cherry picked from commit 78056e701c61132d15e0942e415926a6393fcf17 git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next) Signed-off-by: Saravana Kannan Change-Id: I65ca9efd8d8dde2c366dd7ec99e4e7d03f3735e7 --- drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index b0cfa6eacb8e..6bc0f61596b4 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1222,6 +1222,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_SIMPLE_PROP(phys, "phys", "#phy-cells") DEFINE_SIMPLE_PROP(pinctrl0, "pinctrl-0", NULL) DEFINE_SIMPLE_PROP(pinctrl1, "pinctrl-1", NULL) @@ -1254,6 +1255,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_phys, }, { .parse_prop = parse_pinctrl0, }, { .parse_prop = parse_pinctrl1, },