--- a/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,
MFGPT_SETUP_CNTEN | MFGPT_SETUP_CMP2);
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
-@@ -754,7 +754,7 @@ config XO1_RFKILL
+@@ -573,7 +573,7 @@ config XO1_RFKILL
laptop.
config PCENGINES_APU2
depends on INPUT && INPUT_KEYBOARD && GPIOLIB
depends on LEDS_CLASS
select GPIO_AMD_FCH
-@@ -762,7 +762,7 @@ config PCENGINES_APU2
+@@ -581,7 +581,7 @@ config PCENGINES_APU2
select LEDS_GPIO
help
This driver provides support for the front button and LEDs on
+#define APU5_GPIO_LINE_SIMSWAP1 7
+#define APU5_GPIO_LINE_SIMSWAP2 8
+#define APU5_GPIO_LINE_SIMSWAP3 9
-+
-/* GPIO device */
++
+/* GPIO device - APU2/3/4/6 */
static int apu2_gpio_regs[] = {
};
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 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,
},
{}
};
-@@ -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);
if (!id) {
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_AUTHOR("Enrico Weigelt, metux IT consult <info@metux.net>");