From 79910a5dd7b375cf4e1ad4622b3d836bc23e36c9 Mon Sep 17 00:00:00 2001 From: retro98boy Date: Thu, 19 Feb 2026 21:28:53 +0800 Subject: [PATCH] rockchip64: Fix RTL8211 phy LED dts setting patch --- ...d-rtl8211x-LED-configuration-from-OF.patch | 22 +++++++++---------- ...d-rtl8211x-LED-configuration-from-OF.patch | 20 ++++++++--------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/patch/kernel/archive/rockchip64-6.18/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch b/patch/kernel/archive/rockchip64-6.18/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch index 1796410e22..fc352056a7 100644 --- a/patch/kernel/archive/rockchip64-6.18/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch +++ b/patch/kernel/archive/rockchip64-6.18/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch @@ -1,18 +1,18 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From ccdd6b8919f09b003f0881648ea937743c825fd7 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Mon, 20 Oct 2025 21:42:28 +0200 -Subject: net: phy: realtek: add rtl8211x LED configuration from OF +Subject: [PATCH] net: phy: realtek: add rtl8211x LED configuration from OF Signed-off-by: retro98boy --- - drivers/net/phy/realtek/realtek_main.c | 11 ++++++++++ + drivers/net/phy/realtek/realtek_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/phy/realtek/realtek_main.c b/drivers/net/phy/realtek/realtek_main.c -index 111111111111..222222222222 100644 +index 6ff038520..c77a0d169 100644 --- a/drivers/net/phy/realtek/realtek_main.c +++ b/drivers/net/phy/realtek/realtek_main.c -@@ -221,6 +221,15 @@ static int rtl821x_modify_ext_page(struct phy_device *phydev, u16 ext_page, +@@ -248,6 +248,15 @@ static int rtl821x_modify_ext_page(struct phy_device *phydev, u16 ext_page, return phy_restore_page(phydev, oldpage, ret); } @@ -28,15 +28,15 @@ index 111111111111..222222222222 100644 static int rtl821x_probe(struct phy_device *phydev) { struct device *dev = &phydev->mdio.dev; -@@ -254,6 +263,8 @@ static int rtl8211f_probe(struct phy_device *phydev) - if (ret < 0) +@@ -712,6 +721,8 @@ static int rtl8211f_config_init(struct phy_device *phydev) + if (ret) return ret; + rtl821x_led_of_init(phydev); + - /* Disable all PME events */ - ret = phy_write_paged(phydev, RTL8211F_WOL_PAGE, - RTL8211F_WOL_SETTINGS_EVENTS, 0); + ret = rtl8211f_config_clk_out(phydev); + if (ret) { + dev_err(dev, "clkout configuration failed: %pe\n", -- -Armbian +2.53.0 diff --git a/patch/kernel/archive/rockchip64-6.19/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch b/patch/kernel/archive/rockchip64-6.19/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch index d629a692bc..fc352056a7 100644 --- a/patch/kernel/archive/rockchip64-6.19/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch +++ b/patch/kernel/archive/rockchip64-6.19/net-phy-realtek-add-rtl8211x-LED-configuration-from-OF.patch @@ -1,15 +1,15 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From ccdd6b8919f09b003f0881648ea937743c825fd7 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Mon, 20 Oct 2025 21:42:28 +0200 -Subject: net: phy: realtek: add rtl8211x LED configuration from OF +Subject: [PATCH] net: phy: realtek: add rtl8211x LED configuration from OF Signed-off-by: retro98boy --- - drivers/net/phy/realtek/realtek_main.c | 11 ++++++++++ + drivers/net/phy/realtek/realtek_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/phy/realtek/realtek_main.c b/drivers/net/phy/realtek/realtek_main.c -index 111111111111..222222222222 100644 +index 6ff038520..c77a0d169 100644 --- a/drivers/net/phy/realtek/realtek_main.c +++ b/drivers/net/phy/realtek/realtek_main.c @@ -248,6 +248,15 @@ static int rtl821x_modify_ext_page(struct phy_device *phydev, u16 ext_page, @@ -28,15 +28,15 @@ index 111111111111..222222222222 100644 static int rtl821x_probe(struct phy_device *phydev) { struct device *dev = &phydev->mdio.dev; -@@ -281,6 +290,8 @@ static int rtl8211f_probe(struct phy_device *phydev) - if (ret < 0) +@@ -712,6 +721,8 @@ static int rtl8211f_config_init(struct phy_device *phydev) + if (ret) return ret; + rtl821x_led_of_init(phydev); + - /* Disable all PME events */ - ret = phy_write_paged(phydev, RTL8211F_WOL_PAGE, - RTL8211F_WOL_SETTINGS_EVENTS, 0); + ret = rtl8211f_config_clk_out(phydev); + if (ret) { + dev_err(dev, "clkout configuration failed: %pe\n", -- -Armbian +2.53.0