Hi Marek

On 3/29/22 22:08, Marek Behún wrote:
> From: Marek Behún <marek.be...@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.be...@nic.cz>
> Reviewed-by: Ramon Fried <rfried....@gmail.com>
> ---
>  arch/sandbox/dts/test.dts                  |  1 +
>  board/st/stm32f746-disco/stm32f746-disco.c | 13 +++-----

Tested-by: Patrice Chotard <patrice.chot...@foss.st.com>
Tested on stm32f746-disco board

Thanks
Patrice

Reply via email to