]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: dp83822: Add optional external PHY clock
authorStefan Wahren <wahrenst@gmx.net>
Thu, 28 May 2026 18:46:42 +0000 (20:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Jun 2026 18:38:00 +0000 (11:38 -0700)
commit8a9f9bd2d070f55bc892e7cb6879ce25e6fe1d62
tree3a1d4143d31e22076d802bbe268750a0f880e577
parentd790b7064387e5a38f6feec2cb386f1941332dc8
net: phy: dp83822: Add optional external PHY clock

In some cases, the PHY can use an external ref clock source instead of a
crystal.

Add an optional clock in the PHY node to make sure that the clock source
is enabled, if specified, before probing.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260528184642.33424-3-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83822.c