]> git.baikalelectronics.ru Git - uboot.git/commit
phy: adin: add support for clock output
authorJosua Mayer <josua@solid-run.com>
Thu, 19 May 2022 09:31:57 +0000 (12:31 +0300)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:25:26 +0000 (21:25 +0200)
commit47b857b97d88df9a34fbf670dd879faff4106212
treedd69ef79eaeff49f44c26d766f8aa1d65b283a79
parent733d9501772a78725c7d39343157fa0e0ed683af
phy: adin: add support for clock output

The ADIN1300 supports generating certain clocks on its GP_CLK pin, as
well as providing the reference clock on CLK25_REF.

Add support for selecting the clock via device-tree properties.

This patch is based on the Linux implementation for this feature,
which has been added to netdev/net-next.git [1].

[2] https://patchwork.kernel.org/project/netdevbpf/cover/20220517085143.3749-1-josua@solid-run.com/

Signed-off-by: Josua Mayer <josua@solid-run.com>
drivers/net/phy/adin.c