mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
8391781389
Add linux 5.10 as testing kernel, copy generic/subtarget configs and target patches from 5.4. Signed-off-by: Tony Ambardar <itugrok@yahoo.com> x86: update target patches for kernel 5.10 Refresh all patches while also dropping: 800-hwmon-w83627ehf-dont-claim-nct677x.patch which is now upstreamed as: 3207408ab4cb ("hwmon: (w83627ehf) remove nct6775 and nct6776 support") Signed-off-by: Tony Ambardar <itugrok@yahoo.com> x86: refresh 5.10 target config Refresh config using "make kernel_oldconfig". Signed-off-by: Tony Ambardar <itugrok@yahoo.com> x86: refresh and test all subtarget configs Refresh configs using "make kernel_oldconfig CONFIG_TARGET=subtarget". Build and run-tested using QEMU: x86/64, x86/legacy, x86/generic. Build-tested only: x86/geode. Signed-off-by: Tony Ambardar <itugrok@yahoo.com> [squashed commits] Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From: Andreas Eberlein <foodeas@aeberlein.de>
|
|
Subject: x86: add LED support for PC Engines APU1 with mainline bios
|
|
|
|
This adds support for the LEDs on PC Engines APU1 with the mainline bios.
|
|
|
|
Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
|
|
---
|
|
--- a/drivers/leds/leds-apu.c
|
|
+++ b/drivers/leds/leds-apu.c
|
|
@@ -83,6 +83,7 @@ static const struct apu_led_profile apu1
|
|
};
|
|
|
|
static const struct dmi_system_id apu_led_dmi_table[] __initconst = {
|
|
+ /* PC Engines APU with "Legacy" bios < 4.0.8 */
|
|
{
|
|
.ident = "apu",
|
|
.matches = {
|
|
@@ -90,6 +91,14 @@ static const struct dmi_system_id apu_le
|
|
DMI_MATCH(DMI_PRODUCT_NAME, "APU")
|
|
}
|
|
},
|
|
+ /* PC Engines APU with "Mainline" bios >= 4.0.8 */
|
|
+ {
|
|
+ .ident = "apu",
|
|
+ .matches = {
|
|
+ DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"),
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "apu1")
|
|
+ }
|
|
+ },
|
|
{}
|
|
};
|
|
MODULE_DEVICE_TABLE(dmi, apu_led_dmi_table);
|
|
@@ -173,7 +182,7 @@ static int __init apu_led_init(void)
|
|
int err;
|
|
|
|
if (!(dmi_match(DMI_SYS_VENDOR, "PC Engines") &&
|
|
- dmi_match(DMI_PRODUCT_NAME, "APU"))) {
|
|
+ (dmi_match(DMI_PRODUCT_NAME, "APU") || dmi_match(DMI_PRODUCT_NAME, "apu1")))) {
|
|
pr_err("No PC Engines APUv1 board detected. For APUv2,3 support, enable CONFIG_PCENGINES_APU2\n");
|
|
return -ENODEV;
|
|
}
|