platform: x86: pcengines-apuv2: detect apuv4 board
Subsystems (2)
Enrico Weigelt, metux IT consult
maintainerPATCH 1/1 platform: x86: pcengines-apuv2: detect apuv4 board
GPIO stuff on APUv4 seems to be the same as on APUv2, so we just need to match on DMI data.
Fixes f8eb0235f65989fc5521c40c78d1261e7f25cdbe
--- drivers/platform/x86/pcengines-apuv2.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
drivers/platform/x86/pcengines-apuv2.c +27 -0
@@ -178,6 +178,33 @@ }, .driver_data = (void *)&board_apu2, }, +/* APU4 w/ legacy bios < 4.0.8 */ + { + .ident = "apu4", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), + DMI_MATCH(DMI_BOARD_NAME, "APU4") + }, + .driver_data = (void *)&board_apu2, + }, + /* APU4 w/ legacy bios >= 4.0.8 */ + { + .ident = "apu4", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), + DMI_MATCH(DMI_BOARD_NAME, "apu4") + }, + .driver_data = (void *)&board_apu2, + }, + /* APU4 w/ mainline bios */ + { + .ident = "apu4", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), + DMI_MATCH(DMI_BOARD_NAME, "PC Engines apu4") + }, + .driver_data = (void *)&board_apu2, + }, {} };
Signature · 1 line
1.9.1
Quoted 6 lines · metux IT consult
GPIO stuff on APUv4 seems to be the same as on APUv2, so we just need to match on DMI data.
Fixes f8eb0235f65989fc5521c40c78d1261e7f25cdbe
Wrong format.
W/o SoB tag I can't take it.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 5 lines · Andy Shevchenko
Quoted 1 line
Fixes f8eb0235f65989fc5521c40c78d1261e7f25cdbeWrong format.
W/o SoB tag I can't take it.
What's the correct format (what command shall I use to create it correctly ?)
--mtx
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Quoted 11 lines · metux IT consult
Quoted 5 lines · Andy Shevchenko
Quoted 1 line
Fixes f8eb0235f65989fc5521c40c78d1261e7f25cdbeWrong format.
W/o SoB tag I can't take it.
What's the correct format (what command shall I use to create it correctly ?)
https://www.kernel.org/doc/html/latest/process/submitting-patches.html
Section 11
And for this one Fixes is not needed. The APUv4 never worked before, correct?
Signature · 2 lines
With Best Regards, Andy Shevchenko