hid: intel-ish-hid: Add support for vendor customized firmware loading
authorZhang Lixu <lixu.zhang@intel.com>
Thu, 15 Aug 2024 02:10:01 +0000 (10:10 +0800)
committerJiri Kosina <jkosina@suse.com>
Mon, 19 Aug 2024 19:12:27 +0000 (21:12 +0200)
commitaa4674c525e1e9a27f77e29fa71a4a5779a52ee4
treebcb4ef5f0faa34b30fc39e61009067aaee52f6b9
parent641361538b68de29d97cc7bf535e50176dbdcfbf
hid: intel-ish-hid: Add support for vendor customized firmware loading

Enhance the firmware loader to support the loading of vendor-specific
customized firmware for the Intel Integrated Sensor Hub (ISH). The
loader now constructs firmware file names based on the DMI_SYS_VENDOR,
DMI_PRODUCT_NAME, and DMI_PRODUCT_SKU information in Desktop Management
Interface (DMI). The loader will attempt to load the firmware files
following a specific naming convention in sequence. If successful, it
will skip the remaining files.

For more details, please refer to Documentation/hid/intel-ish-hid.rst.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/intel-ish-hid/ipc/pci-ish.c
drivers/hid/intel-ish-hid/ishtp/loader.c