]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: x86-android-tablets: Add lid-switch gpio-keys pdev to Asus ME176C ...
authorHans de Goede <hdegoede@redhat.com>
Sat, 5 Feb 2022 19:13:54 +0000 (20:13 +0100)
committerHans de Goede <hdegoede@redhat.com>
Fri, 11 Feb 2022 09:46:49 +0000 (10:46 +0100)
commit1abb4340b83578ef085ed62b4cf6285c9d1378be
tree2faab1d81a6764a6f4c63a99dfae63bbf5530361
parent84c823bf75423c128c13c0e35b77d3cd8efa31ba
platform/x86: x86-android-tablets: Add lid-switch gpio-keys pdev to Asus ME176C + TF103C

The Asus ME176C + TF103C both have a lid-switch (for a cover in the ME176C
case), add a gpio-keys platform-device and platform-data describing the
lid-switch on both.

Note the "intel-int3496" in the asus_me176c_tf103c_pdevs[] array is not
new / not a change. This was already present in the generic int3496_pdevs[]
array, to which pdev_info pointed before. The int3496_pdevs[] array
contains just this entry for boards which only need that single pdev.

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-4-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets.c