Skip to content

Commit 3782326

Browse files
Saravana Kannanrobherring
authored andcommitted
Revert "of: property: fw_devlink: Add support for "phy-handle" property"
This reverts commit cf4b94c. Some PHYs pointed to by "phy-handle" will never bind to a driver until a consumer attaches to it. And when the consumer attaches to it, they get forcefully bound to a generic PHY driver. In such cases, parsing the phy-handle property and creating a device link will prevent the consumer from ever probing. We don't want that. So revert support for "phy-handle" property until we come up with a better mechanism for binding PHYs to generic drivers before a consumer tries to attach to it. Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20210915081933.485112-1-saravanak@google.com Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 6880fa6 commit 3782326

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/of/property.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,6 @@ DEFINE_SIMPLE_PROP(pwms, "pwms", "#pwm-cells")
12911291
DEFINE_SIMPLE_PROP(resets, "resets", "#reset-cells")
12921292
DEFINE_SIMPLE_PROP(leds, "leds", NULL)
12931293
DEFINE_SIMPLE_PROP(backlight, "backlight", NULL)
1294-
DEFINE_SIMPLE_PROP(phy_handle, "phy-handle", NULL)
12951294
DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
12961295
DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells")
12971296

@@ -1380,7 +1379,6 @@ static const struct supplier_bindings of_supplier_bindings[] = {
13801379
{ .parse_prop = parse_resets, },
13811380
{ .parse_prop = parse_leds, },
13821381
{ .parse_prop = parse_backlight, },
1383-
{ .parse_prop = parse_phy_handle, },
13841382
{ .parse_prop = parse_gpio_compat, },
13851383
{ .parse_prop = parse_interrupts, },
13861384
{ .parse_prop = parse_regulators, },

0 commit comments

Comments
 (0)