]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: netcp_ethss: add support for child cpts node
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 6 Jun 2019 16:30:40 +0000 (19:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jun 2019 19:53:06 +0000 (12:53 -0700)
commit9ac59551d7b416b877532057d0b66ce7ffca1ef3
tree6319fc97ccc40a77dae74d0b4224f1117be6086c
parentd4d760ae1a08ac583691bc8a7bf2db538e9530a0
net: ethernet: ti: netcp_ethss: add support for child cpts node

Allow to place CPTS properties in the child "cpts" DT node. For backward
compatibility - roll-back and read CPTS DT properties from parent node if
"cpts" node is not present.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c