firmware: dmi: Add DMI_PRODUCT_FAMILY identification string
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 17 May 2017 10:25:12 +0000 (13:25 +0300)
committerAurelien Jarno <aurel32@debian.org>
Fri, 2 Mar 2018 07:52:22 +0000 (07:52 +0000)
commitd73b696ff6fffe268029baf881b1ea62c9a3efb7
tree49e91d69d57425e5b1aeb8579e681ebbba2bae9e
parentc1bec11705bd85ce6e502a47fd2b0f607f88769f
firmware: dmi: Add DMI_PRODUCT_FAMILY identification string

Sometimes it is more convenient to be able to match a whole family of
products, like in case of bunch of Chromebooks based on Intel_Strago to
apply a driver quirk instead of quirking each machine one-by-one.

This adds support for DMI_PRODUCT_FAMILY identification string and also
exports it to the userspace through sysfs attribute just like the
existing ones.

Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Gbp-Pq: Topic features/all
Gbp-Pq: Name firmware-dmi-add-dmi_product_family-identification-s.patch
drivers/firmware/dmi-id.c
drivers/firmware/dmi_scan.c
include/linux/mod_devicetable.h