From efea5004c858fae7d41ca9d2ecf1cfb9d70886f5 Mon Sep 17 00:00:00 2001 From: Saravana Kannan Date: Wed, 8 Apr 2020 13:14:08 -0700 Subject: [PATCH] ANDROID: GKI: of: property: Add device link support for phys property This makes sure that phy consumer devices don't unnecessarily try to probe before phys supplier devices Bug: 153389865 Signed-off-by: Saravana Kannan Change-Id: I59623500f0697d60ffd79640d6a7bd0c27787a3c --- drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index 43cb50c13b53..b0cfa6eacb8e 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(phys, "phys", "#phy-cells") DEFINE_SIMPLE_PROP(pinctrl0, "pinctrl-0", NULL) DEFINE_SIMPLE_PROP(pinctrl1, "pinctrl-1", NULL) DEFINE_SIMPLE_PROP(pinctrl2, "pinctrl-2", NULL) @@ -1253,6 +1254,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_phys, }, { .parse_prop = parse_pinctrl0, }, { .parse_prop = parse_pinctrl1, }, { .parse_prop = parse_pinctrl2, },