Add support for parsing PCS binding so that fw_devlink can enforce the dependency with Ethernet port. Signed-off-by: Christian Marangi --- drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index 136946f8b746..e6584a2f705d 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1392,6 +1392,7 @@ DEFINE_SIMPLE_PROP(access_controllers, "access-controllers", "#access-controller DEFINE_SIMPLE_PROP(pses, "pses", "#pse-cells") DEFINE_SIMPLE_PROP(power_supplies, "power-supplies", NULL) DEFINE_SIMPLE_PROP(mmc_pwrseq, "mmc-pwrseq", NULL) +DEFINE_SIMPLE_PROP(pcs_handle, "pcs-handle", "#pcs-cells") DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") @@ -1548,6 +1549,7 @@ static const struct supplier_bindings of_supplier_bindings[] = { { .parse_prop = parse_interrupts, }, { .parse_prop = parse_interrupt_map, }, { .parse_prop = parse_access_controllers, }, + { .parse_prop = parse_pcs_handle, }, { .parse_prop = parse_regulators, }, { .parse_prop = parse_gpio, }, { .parse_prop = parse_gpios, }, -- 2.53.0