platform/x86: touchscreen_dmi: Add EFI embedded firmware info support
authorHans de Goede <hdegoede@redhat.com>
Wed, 15 Jan 2020 16:35:53 +0000 (17:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 13:57:54 +0000 (14:57 +0100)
commit835e1b86ef8c9b466df5c9c949319690df700760
treee561ff389b7750e4fa2194abc4facad4d98b0a32
parent85bfb4af14c89fea929973e79a55901877992127
platform/x86: touchscreen_dmi: Add EFI embedded firmware info support

Sofar we have been unable to get permission from the vendors to put the
firmware for touchscreens listed in touchscreen_dmi in linux-firmware.

Some of the tablets with such a touchscreen have a touchscreen driver, and
thus a copy of the firmware, as part of their EFI code.

This commit adds the necessary info for the new EFI embedded-firmware code
to extract these firmwares, making the touchscreen work OOTB without the
user needing to manually add the firmware.

Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200115163554.101315-10-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/efi/embedded-firmware.c
drivers/platform/x86/Kconfig
drivers/platform/x86/touchscreen_dmi.c
include/linux/efi_embedded_fw.h