diff options
author | 2021-10-18 22:29:50 +0300 | |
---|---|---|
committer | 2021-10-20 11:32:28 +0100 | |
commit | e00eb643324c7a57f4f3fcb2bc5e882f4b88a3a1 (patch) | |
tree | 9ad19d5cf32483aa0ab2923b063e0cfc6f8c3828 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dt-bindings: net: dsa: sja1105: fix example so all ports have a phy-handle of fixed-link (diff) | |
download | wireguard-linux-e00eb643324c7a57f4f3fcb2bc5e882f4b88a3a1.tar.xz wireguard-linux-e00eb643324c7a57f4f3fcb2bc5e882f4b88a3a1.zip |
dt-bindings: net: dsa: inherit the ethernet-controller DT schema
Since a switch is basically a bunch of Ethernet controllers, just
inherit the common schema for one to get stronger type validation of the
properties of a port.
For example, before this change it was valid to have a phy-mode = "xfi"
even if "xfi" is not part of ethernet-controller.yaml, now it is not.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions