diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-02-05 20:13:55 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-02-11 10:50:29 +0100 |
commit | fdac7c8a6ee5662fc7cd27f939984f8f91eadfbf (patch) | |
tree | 46f6e241ee3b2af4edc515aa96c427000a5e9d45 /drivers/platform | |
parent | platform/x86: x86-android-tablets: Add lid-switch gpio-keys pdev to Asus ME17... (diff) | |
download | linux-fdac7c8a6ee5662fc7cd27f939984f8f91eadfbf.tar.xz linux-fdac7c8a6ee5662fc7cd27f939984f8f91eadfbf.zip |
platform/x86: x86-android-tablets: Add IRQ to Asus ME176C accelerometer info
Add the IRQ for the accelerometer to the Asus ME176C board info.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220205191356.225505-5-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/x86-android-tablets.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/x86/x86-android-tablets.c b/drivers/platform/x86/x86-android-tablets.c index 6174aad572bc..6d3a453d90eb 100644 --- a/drivers/platform/x86/x86-android-tablets.c +++ b/drivers/platform/x86/x86-android-tablets.c @@ -361,6 +361,12 @@ static const struct x86_i2c_client_info asus_me176c_i2c_clients[] __initconst = .swnode = &asus_me176c_accel_node, }, .adapter_path = "\\_SB_.I2C5", + .irq_data = { + .type = X86_ACPI_IRQ_TYPE_APIC, + .index = 0x44, + .trigger = ACPI_EDGE_SENSITIVE, + .polarity = ACPI_ACTIVE_LOW, + }, }, { /* goodix touchscreen */ .board_info = { |