]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: Add support for st, ext-phyclk property
authorMarek Vasut <marex@denx.de>
Tue, 26 Mar 2024 12:07:32 +0000 (13:07 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 09:30:51 +0000 (11:30 +0200)
commit1ef28c58d2dbd8c7d65e28ef500bfd359c66c07f
treef1d6ee1ff001e3ebcd64a649435b86a5ccb50593
parent882b2287a654cb1c86bde24175385220ffeb0cc8
net: dwc_eth_qos: Add support for st, ext-phyclk property

The "st,ext-phyclk" property is a unification of "st,eth-clk-sel"
and "st,eth-ref-clk-sel" properties. All three properties define
ETH CK clock direction, however:
- "st,eth-clk-sel" selects clock direction for GMII/RGMII mode
- "st,eth-ref-clk-sel" selects clock direction for RMII mode
- "st,ext-phyclk" selects clock direction for all RMII/GMII/RGMII modes
The "st,ext-phyclk" is the preferrable property to use.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christophe ROULLIER <christophe.roullier@foss.st.com>
drivers/net/dwc_eth_qos_stm32.c