Skip to content

Commit 45aee68

Browse files
committed
Merge tag 'platform-drivers-x86-v5.3-3' of git://git.infradead.org/linux-platform-drivers-x86
Pull x86 platform driver fixes from Andy Shevchenko: "Business as usual, a few fixes and new IDs: - PC Engines APU got one fix for software dependencies to automatically load them and another fix for mapping of key button in the front to issue restart event. - OLPC driver is now probed automatically based on module device table. - Intel PMC core driver supports Intel Ice Lake NNPI processor. - WMI driver missed description of a new field in the structure that has been added" * tag 'platform-drivers-x86-v5.3-3' of git://git.infradead.org/linux-platform-drivers-x86: platform/x86: pcengines-apuv2: use KEY_RESTART for front button platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core Platform: OLPC: add SPI MODULE_DEVICE_TABLE platform/x86: wmi: add missing struct parameter description platform/x86: pcengines-apuv2: Fix softdep statement
2 parents 609488b + f14312a commit 45aee68

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

drivers/platform/olpc/olpc-xo175-ec.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,12 @@ static const struct of_device_id olpc_xo175_ec_of_match[] = {
736736
};
737737
MODULE_DEVICE_TABLE(of, olpc_xo175_ec_of_match);
738738

739+
static const struct spi_device_id olpc_xo175_ec_id_table[] = {
740+
{ "xo1.75-ec", 0 },
741+
{}
742+
};
743+
MODULE_DEVICE_TABLE(spi, olpc_xo175_ec_id_table);
744+
739745
static struct spi_driver olpc_xo175_ec_spi_driver = {
740746
.driver = {
741747
.name = "olpc-xo175-ec",

drivers/platform/x86/intel_pmc_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
812812
INTEL_CPU_FAM6(KABYLAKE_DESKTOP, spt_reg_map),
813813
INTEL_CPU_FAM6(CANNONLAKE_MOBILE, cnp_reg_map),
814814
INTEL_CPU_FAM6(ICELAKE_MOBILE, icl_reg_map),
815+
INTEL_CPU_FAM6(ICELAKE_NNPI, icl_reg_map),
815816
{}
816817
};
817818

drivers/platform/x86/pcengines-apuv2.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static struct gpiod_lookup_table gpios_led_table = {
9393

9494
static struct gpio_keys_button apu2_keys_buttons[] = {
9595
{
96-
.code = KEY_SETUP,
96+
.code = KEY_RESTART,
9797
.active_low = 1,
9898
.desc = "front button",
9999
.type = EV_KEY,
@@ -255,6 +255,4 @@ MODULE_DESCRIPTION("PC Engines APUv2/APUv3 board GPIO/LED/keys driver");
255255
MODULE_LICENSE("GPL");
256256
MODULE_DEVICE_TABLE(dmi, apu_gpio_dmi_table);
257257
MODULE_ALIAS("platform:pcengines-apuv2");
258-
MODULE_SOFTDEP("pre: platform:" AMD_FCH_GPIO_DRIVER_NAME);
259-
MODULE_SOFTDEP("pre: platform:leds-gpio");
260-
MODULE_SOFTDEP("pre: platform:gpio_keys_polled");
258+
MODULE_SOFTDEP("pre: platform:" AMD_FCH_GPIO_DRIVER_NAME " platform:leds-gpio platform:gpio_keys_polled");

include/linux/mod_devicetable.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ struct tee_client_device_id {
814814
/**
815815
* struct wmi_device_id - WMI device identifier
816816
* @guid_string: 36 char string of the form fa50ff2b-f2e8-45de-83fa-65417f2f49ba
817+
* @context: pointer to driver specific data
817818
*/
818819
struct wmi_device_id {
819820
const char guid_string[UUID_STRING_LEN+1];

0 commit comments

Comments
 (0)