Procházet zdrojové kódy

kernel: refresh patches

x86 patches automatically rebased

Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21078
Signed-off-by: Robert Marko <[email protected]>
John Audia před 2 měsíci
rodič
revize
5c49ee6099

+ 1 - 1
target/linux/x86/patches-6.18/100-fix_cs5535_clockevt.patch

@@ -1,6 +1,6 @@
 --- a/drivers/clocksource/timer-cs5535.c
 --- a/drivers/clocksource/timer-cs5535.c
 +++ b/drivers/clocksource/timer-cs5535.c
 +++ b/drivers/clocksource/timer-cs5535.c
-@@ -127,7 +127,9 @@ static irqreturn_t mfgpt_tick(int irq, v
+@@ -128,7 +128,9 @@ static irqreturn_t mfgpt_tick(int irq, v
  		cs5535_mfgpt_write(cs5535_event_clock, MFGPT_REG_SETUP,
  		cs5535_mfgpt_write(cs5535_event_clock, MFGPT_REG_SETUP,
  				MFGPT_SETUP_CNTEN | MFGPT_SETUP_CMP2);
  				MFGPT_SETUP_CNTEN | MFGPT_SETUP_CMP2);
  
  

+ 10 - 10
target/linux/x86/patches-6.18/103-pcengines_apu6_platform.patch

@@ -63,7 +63,7 @@ Sighed-off-by: Philip Prindeville <[email protected]>
  
  
 --- a/drivers/platform/x86/Kconfig
 --- a/drivers/platform/x86/Kconfig
 +++ b/drivers/platform/x86/Kconfig
 +++ b/drivers/platform/x86/Kconfig
-@@ -754,7 +754,7 @@ config XO1_RFKILL
+@@ -573,7 +573,7 @@ config XO1_RFKILL
  	  laptop.
  	  laptop.
  
  
  config PCENGINES_APU2
  config PCENGINES_APU2
@@ -72,7 +72,7 @@ Sighed-off-by: Philip Prindeville <[email protected]>
  	depends on INPUT && INPUT_KEYBOARD && GPIOLIB
  	depends on INPUT && INPUT_KEYBOARD && GPIOLIB
  	depends on LEDS_CLASS
  	depends on LEDS_CLASS
  	select GPIO_AMD_FCH
  	select GPIO_AMD_FCH
-@@ -762,7 +762,7 @@ config PCENGINES_APU2
+@@ -581,7 +581,7 @@ config PCENGINES_APU2
  	select LEDS_GPIO
  	select LEDS_GPIO
  	help
  	help
  	  This driver provides support for the front button and LEDs on
  	  This driver provides support for the front button and LEDs on
@@ -159,9 +159,9 @@ Sighed-off-by: Philip Prindeville <[email protected]>
 +#define APU5_GPIO_LINE_SIMSWAP1		7
 +#define APU5_GPIO_LINE_SIMSWAP1		7
 +#define APU5_GPIO_LINE_SIMSWAP2		8
 +#define APU5_GPIO_LINE_SIMSWAP2		8
 +#define APU5_GPIO_LINE_SIMSWAP3		9
 +#define APU5_GPIO_LINE_SIMSWAP3		9
-+
  
  
 -/* GPIO device */
 -/* GPIO device */
++
 +/* GPIO device - APU2/3/4/6 */
 +/* GPIO device - APU2/3/4/6 */
  
  
  static int apu2_gpio_regs[] = {
  static int apu2_gpio_regs[] = {
@@ -189,8 +189,8 @@ Sighed-off-by: Philip Prindeville <[email protected]>
  };
  };
  
  
  static const struct amd_fch_gpio_pdata board_apu2 = {
  static const struct amd_fch_gpio_pdata board_apu2 = {
-@@ -72,6 +106,40 @@ static const struct amd_fch_gpio_pdata b
- 	.gpio_names	= apu2_gpio_names,
+@@ -76,6 +110,40 @@ static const struct software_node apu2_g
+ 	.name = AMD_FCH_GPIO_DRIVER_NAME,
  };
  };
  
  
 +/* GPIO device - APU5 */
 +/* GPIO device - APU5 */
@@ -228,9 +228,9 @@ Sighed-off-by: Philip Prindeville <[email protected]>
 +};
 +};
 +
 +
  /* GPIO LEDs device */
  /* GPIO LEDs device */
- 
- static const struct gpio_led apu2_leds[] = {
-@@ -215,6 +283,24 @@ static const struct dmi_system_id apu_gp
+ static const struct software_node apu2_leds_node = {
+ 	.name = "apu2-leds",
+@@ -246,6 +314,24 @@ static const struct dmi_system_id apu_gp
  		},
  		},
  		.driver_data = (void *)&board_apu2,
  		.driver_data = (void *)&board_apu2,
  	},
  	},
@@ -255,7 +255,7 @@ Sighed-off-by: Philip Prindeville <[email protected]>
  	{}
  	{}
  };
  };
  
  
-@@ -249,7 +335,7 @@ static int __init apu_board_init(void)
+@@ -283,7 +369,7 @@ static int __init apu_board_init(void)
  
  
  	id = dmi_first_match(apu_gpio_dmi_table);
  	id = dmi_first_match(apu_gpio_dmi_table);
  	if (!id) {
  	if (!id) {
@@ -264,7 +264,7 @@ Sighed-off-by: Philip Prindeville <[email protected]>
  		return -ENODEV;
  		return -ENODEV;
  	}
  	}
  
  
-@@ -288,7 +374,7 @@ module_init(apu_board_init);
+@@ -332,7 +418,7 @@ module_init(apu_board_init);
  module_exit(apu_board_exit);
  module_exit(apu_board_exit);
  
  
  MODULE_AUTHOR("Enrico Weigelt, metux IT consult <[email protected]>");
  MODULE_AUTHOR("Enrico Weigelt, metux IT consult <[email protected]>");