From: Jakub Kicinski Date: Thu, 20 Nov 2025 04:24:25 +0000 (-0800) Subject: Merge branch 'disable-clkout-on-rtl8211f-d-i-vd-cg' X-Git-Tag: v6.19-rc1~170^2~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c9dd386020db9c46b7faf5c6fa928df2831b6fb;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'disable-clkout-on-rtl8211f-d-i-vd-cg' Vladimir Oltean says: ==================== Disable CLKOUT on RTL8211F(D)(I)-VD-CG The Realtek RTL8211F(D)(I)-VD-CG is similar to other RTL8211F models in that the CLKOUT signal can be turned off - a feature requested to reduce EMI, and implemented via "realtek,clkout-disable" as documented in Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml. It is also dissimilar to said PHY models because it has no PHYCR2 register, and disabling CLKOUT is done through some other register. The strategy adopted in this 6-patch series is to make the PHY driver not think in terms of "priv->has_phycr2" and "priv->phycr2", but of more high-level features ("priv->disable_clk_out") while maintaining behaviour. Then, the logic is extended for the new PHY. Very loosely based on previous work from Clark Wang, who took a different approach, to pretend that the RTL8211FVD_CLKOUT_REG is actually this PHY's PHYCR2. ==================== Link: https://patch.msgid.link/20251117234033.345679-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski --- 7c9dd386020db9c46b7faf5c6fa928df2831b6fb