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 <saravanak@google.com>
Change-Id: I59623500f0697d60ffd79640d6a7bd0c27787a3c
This commit is contained in:
Saravana Kannan 2020-04-08 13:14:08 -07:00 committed by Suren Baghdasaryan
parent bf3e2f74b2
commit efea5004c8

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