]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec601a2b713a18a8ac87c215f3a0aeef571f8797
tree12c663bb4f0d278f8bbeca76688b2862f40aecfb
parent1b56ba3bbf444320a119829117b33f9fbd8a01a7
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