drivers: ethernet: phy: phy_mii: use no-reset option
the dts binding of the ethernet-phy has the option "no-reset" and the according driver already has the right logic to make use of it, but unfortunately the connection between them was missing. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
f338bf6fae
commit
da090f1cb9
1 changed files with 1 additions and 0 deletions
|
|
@ -488,6 +488,7 @@ static const struct ethphy_driver_api phy_mii_driver_api = {
|
|||
#define PHY_MII_CONFIG(n) \
|
||||
static const struct phy_mii_dev_config phy_mii_dev_config_##n = { \
|
||||
.phy_addr = DT_INST_REG_ADDR(n), \
|
||||
.no_reset = DT_INST_PROP(n, no_reset), \
|
||||
.fixed = IS_FIXED_LINK(n), \
|
||||
.fixed_speed = DT_INST_ENUM_IDX_OR(n, fixed_link, 0), \
|
||||
.mdio = UTIL_AND(UTIL_NOT(IS_FIXED_LINK(n)), \
|
||||
|
|
|
|||
Loading…
Reference in a new issue