FROMGIT: of: property: Add device link support for extcon

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>
Signed-off-by: Rob Herring <robh@kernel.org>
(cherry picked from commit 78056e701c
 git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next)
Signed-off-by: Saravana Kannan <saravanak@google.com>
Change-Id: I65ca9efd8d8dde2c366dd7ec99e4e7d03f3735e7
This commit is contained in:
Saravana Kannan
2020-04-01 15:52:03 -07:00
parent bb45ae8608
commit 43152c5b4f

View File

@@ -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, },