]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tsec: Support <reg> property from the subnode "queue-group"
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:15:01 +0000 (20:15 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commita081546de93b8fc3bbfe33e61e6dfa12eda35c24
tree628e2844644c0049173b2a48bbeaaf9e9bb47e88
parent05153702d31e5dbdebf5761bd014e0e5002947e8
net: tsec: Support <reg> property from the subnode "queue-group"

At present the tsec driver uses a non-standard DT bindings to get
its <reg> base / size. The upstream Linux kernel seems to require
the <reg> base / size to be put under a subnode of the eTSEC node
with a name prefix "queue-group". This is not documented in the
kernel DT bindings, but it looks every dtsi file that contains the
eTSEC node was written like this.

This commit updates the tsec driver to handle this case.

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