linux-next/Documentation
Alexandru Ardelean 9e5c8d39b8 dt-bindings: net: dwmac: fix 'mac-mode' type
The 'mac-mode' property is similar to 'phy-mode' and 'phy-connection-type',
which are enums of mode strings.

The 'dwmac' driver supports almost all modes declared in the 'phy-mode'
enum (except for 1 or 2). But in general, there may be a case where
'mac-mode' becomes more generic and is moved as part of phylib or netdev.

In any case, the 'mac-mode' field should be made an enum, and it also makes
sense to just reference the 'phy-connection-type' from
'ethernet-controller.yaml'. That will also make it more future-proof for new
modes.

Fixes: 9c15d3597c62 ("dt-bindings: net: dwmac: document 'mac-mode' property")
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
2019-09-20 17:10:35 -07:00
..
2019-07-25 18:00:41 -07:00
2019-07-16 12:21:41 -07:00
2019-09-18 17:33:32 -07:00
2019-07-17 06:57:52 -03:00
2019-07-28 16:59:16 -07:00
2019-07-17 06:57:52 -03:00
2019-09-17 17:43:33 -07:00
2019-09-11 18:06:15 +02:00
2019-07-30 17:27:37 +02:00
2019-07-30 12:54:44 -07:00
2019-07-17 06:57:52 -03:00