]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: realtek: Add property to enable SSC
authorMarek Vasut <marek.vasut@mailbox.org>
Sun, 5 Apr 2026 23:29:58 +0000 (01:29 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Apr 2026 03:01:52 +0000 (20:01 -0700)
commit84c5a3f00084ffd741a4c3261a58dd10cd5aceaf
tree80e89b1dcfd58cb33c42595b9e4b257067e19cc0
parentbfb859a5cb4941db06b37fd8bbd8e6d8a0dd5dcf
net: phy: realtek: Add property to enable SSC

Add support for spread spectrum clocking (SSC) on RTL8211F(D)(I)-CG,
RTL8211FS(I)(-VS)-CG, RTL8211FG(I)(-VS)-CG PHYs. The implementation
follows EMI improvement application note Rev. 1.2 for these PHYs.

The current implementation enables SSC for both RXC and SYSCLK clock
signals. Introduce DT properties 'realtek,clkout-ssc-enable',
'realtek,rxc-ssc-enable' and 'realtek,sysclk-ssc-enable' which control
CLKOUT, RXC and SYSCLK SSC spread spectrum clocking enablement on these
signals.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Link: https://patch.msgid.link/20260405233008.148974-3-marek.vasut@mailbox.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek/realtek_main.c