realtek: 6.12: refresh patches with slightly changed anchors

Patches where fuzz had to be cleaned up.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18935
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Markus Stockhausen 2025-05-27 14:17:05 -04:00 committed by Robert Marko
parent 081786887b
commit e9a093818c
4 changed files with 19 additions and 18 deletions

View file

@ -1,6 +1,6 @@
--- a/drivers/thermal/Kconfig --- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig
@@ -522,4 +522,11 @@ config LOONGSON2_THERMAL @@ -499,4 +499,11 @@ config LOONGSON2_THERMAL
is higher than the high temperature threshold or lower than the low is higher than the high temperature threshold or lower than the low
temperature threshold, the interrupt will occur. temperature threshold, the interrupt will occur.
@ -14,8 +14,9 @@
endif endif
--- a/drivers/thermal/Makefile --- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile +++ b/drivers/thermal/Makefile
@@ -64,3 +64,4 @@ obj-$(CONFIG_AMLOGIC_THERMAL) += aml @@ -63,4 +63,5 @@ obj-$(CONFIG_AMLOGIC_THERMAL) += aml
obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o obj-$(CONFIG_SPRD_THERMAL) += sprd_thermal.o
obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o obj-$(CONFIG_KHADAS_MCU_FAN_THERMAL) += khadas_mcu_fan.o
obj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o obj-$(CONFIG_LOONGSON2_THERMAL) += loongson2_thermal.o
+obj-$(CONFIG_REALTEK_THERMAL) += realtek-thermal.o +obj-$(CONFIG_REALTEK_THERMAL) += realtek-thermal.o
obj-$(CONFIG_THERMAL_CORE_TESTING) += testing/

View file

@ -34,7 +34,7 @@ Submitted-by: Birger Koblitz <git@birger-koblitz.de>
PHY_INTERFACE_MODE_10GBASER, PHY_INTERFACE_MODE_10GBASER,
PHY_INTERFACE_MODE_5GBASER, PHY_INTERFACE_MODE_5GBASER,
PHY_INTERFACE_MODE_2500BASEX, PHY_INTERFACE_MODE_2500BASEX,
@@ -238,6 +239,7 @@ static int phylink_interface_max_speed(p @@ -239,6 +240,7 @@ static int phylink_interface_max_speed(p
case PHY_INTERFACE_MODE_XGMII: case PHY_INTERFACE_MODE_XGMII:
case PHY_INTERFACE_MODE_RXAUI: case PHY_INTERFACE_MODE_RXAUI:
@ -42,7 +42,7 @@ Submitted-by: Birger Koblitz <git@birger-koblitz.de>
case PHY_INTERFACE_MODE_XAUI: case PHY_INTERFACE_MODE_XAUI:
case PHY_INTERFACE_MODE_10GBASER: case PHY_INTERFACE_MODE_10GBASER:
case PHY_INTERFACE_MODE_10GKR: case PHY_INTERFACE_MODE_10GKR:
@@ -547,6 +549,7 @@ unsigned long phylink_get_capabilities(p @@ -552,6 +554,7 @@ static unsigned long phylink_get_capabil
break; break;
case PHY_INTERFACE_MODE_XGMII: case PHY_INTERFACE_MODE_XGMII:
@ -50,17 +50,17 @@ Submitted-by: Birger Koblitz <git@birger-koblitz.de>
case PHY_INTERFACE_MODE_RXAUI: case PHY_INTERFACE_MODE_RXAUI:
case PHY_INTERFACE_MODE_XAUI: case PHY_INTERFACE_MODE_XAUI:
case PHY_INTERFACE_MODE_10GBASER: case PHY_INTERFACE_MODE_10GBASER:
@@ -957,6 +960,7 @@ static int phylink_parse_mode(struct phy @@ -933,6 +936,7 @@ static int phylink_parse_mode(struct phy
fallthrough;
case PHY_INTERFACE_MODE_USXGMII: case PHY_INTERFACE_MODE_USXGMII:
case PHY_INTERFACE_MODE_10G_QXGMII:
case PHY_INTERFACE_MODE_10GKR: case PHY_INTERFACE_MODE_10GKR:
+ case PHY_INTERFACE_MODE_HSGMII: + case PHY_INTERFACE_MODE_HSGMII:
case PHY_INTERFACE_MODE_10GBASER: case PHY_INTERFACE_MODE_10GBASER:
phylink_set(pl->supported, 10baseT_Half); case PHY_INTERFACE_MODE_XLGMII:
phylink_set(pl->supported, 10baseT_Full); caps = ~(MAC_SYM_PAUSE | MAC_ASYM_PAUSE);
--- a/include/linux/phy.h --- a/include/linux/phy.h
+++ b/include/linux/phy.h +++ b/include/linux/phy.h
@@ -148,6 +148,7 @@ typedef enum { @@ -152,6 +152,7 @@ typedef enum {
PHY_INTERFACE_MODE_XGMII, PHY_INTERFACE_MODE_XGMII,
PHY_INTERFACE_MODE_XLGMII, PHY_INTERFACE_MODE_XLGMII,
PHY_INTERFACE_MODE_MOCA, PHY_INTERFACE_MODE_MOCA,
@ -68,7 +68,7 @@ Submitted-by: Birger Koblitz <git@birger-koblitz.de>
PHY_INTERFACE_MODE_PSGMII, PHY_INTERFACE_MODE_PSGMII,
PHY_INTERFACE_MODE_QSGMII, PHY_INTERFACE_MODE_QSGMII,
PHY_INTERFACE_MODE_TRGMII, PHY_INTERFACE_MODE_TRGMII,
@@ -256,6 +257,8 @@ static inline const char *phy_modes(phy_ @@ -261,6 +262,8 @@ static inline const char *phy_modes(phy_
return "xlgmii"; return "xlgmii";
case PHY_INTERFACE_MODE_MOCA: case PHY_INTERFACE_MODE_MOCA:
return "moca"; return "moca";

View file

@ -23,9 +23,9 @@ Signed-off-by: Sander Vanheule <sander@svanheule.net>
--- a/drivers/pinctrl/Kconfig --- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig
@@ -417,6 +417,17 @@ config PINCTRL_ROCKCHIP @@ -483,6 +483,17 @@ config PINCTRL_SCMI
help It uses SCMI Message Protocol to interact with the
This support pinctrl and GPIO driver for Rockchip SoCs. firmware providing all the pinctrl controls.
+config PINCTRL_RTL8231 +config PINCTRL_RTL8231
+ tristate "Realtek RTL8231 GPIO expander's pin controller" + tristate "Realtek RTL8231 GPIO expander's pin controller"
@ -43,14 +43,14 @@ Signed-off-by: Sander Vanheule <sander@svanheule.net>
depends on OF depends on OF
--- a/drivers/pinctrl/Makefile --- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile +++ b/drivers/pinctrl/Makefile
@@ -43,6 +43,7 @@ obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-p @@ -47,6 +47,7 @@ obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-p
obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
+obj-$(CONFIG_PINCTRL_RTL8231) += pinctrl-rtl8231.o +obj-$(CONFIG_PINCTRL_RTL8231) += pinctrl-rtl8231.o
obj-$(CONFIG_PINCTRL_SCMI) += pinctrl-scmi.o
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
--- /dev/null --- /dev/null
+++ b/drivers/pinctrl/pinctrl-rtl8231.c +++ b/drivers/pinctrl/pinctrl-rtl8231.c
@@ -0,0 +1,525 @@ @@ -0,0 +1,525 @@

View file

@ -21,7 +21,7 @@ Signed-off-by: Sander Vanheule <sander@svanheule.net>
--- a/drivers/leds/Kconfig --- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig
@@ -586,6 +586,16 @@ config LEDS_REGULATOR @@ -634,6 +634,16 @@ config LEDS_REGULATOR
help help
This option enables support for regulator driven LEDs. This option enables support for regulator driven LEDs.
@ -40,14 +40,14 @@ Signed-off-by: Sander Vanheule <sander@svanheule.net>
depends on LEDS_CLASS depends on LEDS_CLASS
--- a/drivers/leds/Makefile --- a/drivers/leds/Makefile
+++ b/drivers/leds/Makefile +++ b/drivers/leds/Makefile
@@ -77,6 +77,7 @@ obj-$(CONFIG_LEDS_PM8058) += leds-pm805 @@ -80,6 +80,7 @@ obj-$(CONFIG_LEDS_PM8058) += leds-pm805
obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
+obj-$(CONFIG_LEDS_RTL8231) += leds-rtl8231.o +obj-$(CONFIG_LEDS_RTL8231) += leds-rtl8231.o
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
obj-$(CONFIG_LEDS_SUN50I_A100) += leds-sun50i-a100.o
obj-$(CONFIG_LEDS_ST1202) += leds-st1202.o obj-$(CONFIG_LEDS_ST1202) += leds-st1202.o
obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
--- /dev/null --- /dev/null
+++ b/drivers/leds/leds-rtl8231.c +++ b/drivers/leds/leds-rtl8231.c
@@ -0,0 +1,285 @@ @@ -0,0 +1,285 @@