
6 Apr
2022
6 Apr
'22
4:03 p.m.
Hi Marek
On 3/29/22 22:08, Marek Behún wrote:
From: Marek Behún marek.behun@nic.cz
Add helpers ofnode_read_phy_mode() and dev_read_phy_mode() to parse the "phy-mode" / "phy-connection-type" property. Add corresponding UT test.
Use them treewide.
This allows us to inline the phy_get_interface_by_name() into ofnode_read_phy_mode(), since the former is not used anymore.
Signed-off-by: Marek Behún marek.behun@nic.cz Reviewed-by: Ramon Fried rfried.dev@gmail.com
arch/sandbox/dts/test.dts | 1 + board/st/stm32f746-disco/stm32f746-disco.c | 13 +++-----
Tested-by: Patrice Chotard patrice.chotard@foss.st.com Tested on stm32f746-disco board
Thanks Patrice