]> git.dujemihanovic.xyz Git - u-boot.git/commit
dt-bindings: net: Update Freescale TSEC to support "queue-group"
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:15:00 +0000 (20:15 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commit05153702d31e5dbdebf5761bd014e0e5002947e8
tree4d0d930047955fbed32a154de705f8536339b688
parent408f056e0683b3656bce6666859448002185c2d6
dt-bindings: net: Update Freescale TSEC to support "queue-group"

At present the Freescale TSEC node DT bindings doc requires a <reg>
property in the TSEC node. But this might not always be the case.
In the upstream Linux kernel, there is no DT bindings doc for it
but the kernel driver tests a subnode of a name prefixed with
"queue-group", as we can see from gfar_of_init():

  for_each_available_child_of_node(np, child) {
      if (!of_node_name_eq(child, "queue-group"))
  ...

in drivers/net/ethernet/freescale/gianfar.c

Update our DT bindings to describe this alternate description.

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>
doc/device-tree-bindings/net/fsl-tsec-phy.txt