]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tsec: read the phy-mode property as fallback to phy-connection-type
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 18 Sep 2021 12:46:55 +0000 (15:46 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:56 +0000 (18:50 +0300)
commitbc4e98282eaee0d7870476ac78d9e534c4d6c59f
tree50f59304b30533841c70eba1bcd1b5b3469df039
parentd883a5fb52b3fe1b6cb653faa60095df0c11a6bf
net: tsec: read the phy-mode property as fallback to phy-connection-type

The two should be equivalent, but at the moment some platforms
(ls1021a-tsn.dts) use phy-mode only, which is not parsed.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/tsec.c