Commit 74a36e4a authored by Linus Walleij's avatar Linus Walleij

Merge branch 'ib-snps-reset-gpio' into devel

parents 9d373aca edc1ef3f
...@@ -158,6 +158,12 @@ static void of_gpio_flags_quirks(struct device_node *np, ...@@ -158,6 +158,12 @@ static void of_gpio_flags_quirks(struct device_node *np,
} }
} }
} }
/* Legacy handling of stmmac's active-low PHY reset line */
if (IS_ENABLED(CONFIG_STMMAC_ETH) &&
!strcmp(propname, "snps,reset-gpio") &&
of_property_read_bool(np, "snps,reset-active-low"))
*flags |= OF_GPIO_ACTIVE_LOW;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment