]> git.dujemihanovic.xyz Git - u-boot.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)
commit54337abb141d898ae114f51619531cf905d5b0b5
treedd69ef79eaeff49f44c26d766f8aa1d65b283a79
parent4cc25cd5ce6923ccd0a6164703bcbde0216fd77d
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