dt-bindings: net: fsl,fec: improve the binding a bit
authorJoakim Zhang <qiangqing.zhang@nxp.com>
Wed, 21 Jul 2021 10:12:19 +0000 (18:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 21:31:22 +0000 (14:31 -0700)
commit649502a337544840f1fbab8660603e08e86e2f41
tree12c663bb4f0d278f8bbeca76688b2862f40aecfb
parent240bfd134c592791fdceba1ce7fc3f973c33df2d
dt-bindings: net: fsl,fec: improve the binding a bit

This patch improves the yaml a bit according to Rob Herring comments:
1) normalize interrupt-names property, there is no reason to support
random order.
2) validate each string in clock-names property.
3) add constraints for fsl,num-tx-queues/fsl,num-rx-queues property.
4) change additionalProperties to false in order to do strict checking.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/fsl,fec.yaml