Thread (35 messages) read the whole thread 35 messages, 5 authors, 2021-11-18

Re: [PATCH net-next 2/8] net: Update documentation for *_get_phy_mode() functions

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-11-18 16:28:31
Also in: linux-devicetree

On Wed, Nov 17, 2021 at 11:50:44PM +0100, Marek Behún wrote:
Now that the `phy-mode` DT property can be an array of strings instead
of just one string, update the documentation for of_get_phy_mode(),
fwnode_get_phy_mode() and device_get_phy_mode() saying that if multiple
strings are present, the first one is returned.

Conventionally the property was used to represent the mode we want the
PHY to operate in, but we extended this to mean the list of all
supported modes by that PHY on that particular board.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help