Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 91b2281

Browse files
rskadamJiri Kosina
authored andcommitted
HID: intel-ish-hid: ISH firmware loader client driver
This driver adds support for loading Intel Integrated Sensor Hub (ISH) firmware from host file system to ISH SRAM and start execution. At power-on, the ISH subsystem shall boot to an interim Shim loader-firmware, which shall expose an ISHTP loader device. The driver implements an ISHTP client that communicates with the Shim ISHTP loader device over the intel-ish-hid stack, to download the main ISH firmware. Signed-off-by: Rushikesh S Kadam <[email protected]> Acked-by: Srinivas Pandruvada <[email protected]> Acked-by: Nick Crews <[email protected]> Tested-by: Jett Rink <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 0e568a1 commit 91b2281

File tree

4 files changed

+1104
-0
lines changed

4 files changed

+1104
-0
lines changed

drivers/hid/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,4 @@ obj-$(CONFIG_USB_KBD) += usbhid/
134134
obj-$(CONFIG_I2C_HID) += i2c-hid/
135135

136136
obj-$(CONFIG_INTEL_ISH_HID) += intel-ish-hid/
137+
obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ish-hid/

drivers/hid/intel-ish-hid/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,19 @@ config INTEL_ISH_HID
1414
Broxton and Kaby Lake.
1515

1616
Say Y here if you want to support Intel ISH. If unsure, say N.
17+
18+
config INTEL_ISH_FIRMWARE_DOWNLOADER
19+
tristate "Host Firmware Load feature for Intel ISH"
20+
depends on INTEL_ISH_HID
21+
depends on X86
22+
help
23+
The Integrated Sensor Hub (ISH) enables the kernel to offload
24+
sensor polling and algorithm processing to a dedicated low power
25+
processor in the chipset.
26+
27+
The Host Firmware Load feature adds support to load the ISH
28+
firmware from host file system at boot.
29+
30+
Say M here if you want to support Host Firmware Loading feature
31+
for Intel ISH. If unsure, say N.
1732
endmenu

drivers/hid/intel-ish-hid/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ obj-$(CONFIG_INTEL_ISH_HID) += intel-ishtp-hid.o
2020
intel-ishtp-hid-objs := ishtp-hid.o
2121
intel-ishtp-hid-objs += ishtp-hid-client.o
2222

23+
obj-$(CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ishtp-loader.o
24+
intel-ishtp-loader-objs += ishtp-fw-loader.o
25+
2326
ccflags-y += -Idrivers/hid/intel-ish-hid/ishtp

0 commit comments

Comments
 (0)