Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91b22810 authored by Rushikesh S Kadam's avatar Rushikesh S Kadam Committed by Jiri Kosina
Browse files

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: default avatarRushikesh S Kadam <rushikesh.s.kadam@intel.com>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: default avatarNick Crews <ncrews@chromium.org>
Tested-by: default avatarJett Rink <jettrink@chromium.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 0e568a16
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -134,3 +134,4 @@ obj-$(CONFIG_USB_KBD) += usbhid/
obj-$(CONFIG_I2C_HID)		+= i2c-hid/

obj-$(CONFIG_INTEL_ISH_HID)	+= intel-ish-hid/
obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER)	+= intel-ish-hid/
+15 −0
Original line number Diff line number Diff line
@@ -14,4 +14,19 @@ config INTEL_ISH_HID
	  Broxton and Kaby Lake.

	  Say Y here if you want to support Intel ISH. If unsure, say N.

config INTEL_ISH_FIRMWARE_DOWNLOADER
	tristate "Host Firmware Load feature for Intel ISH"
	depends on INTEL_ISH_HID
	depends on X86
	help
	  The Integrated Sensor Hub (ISH) enables the kernel to offload
	  sensor polling and algorithm processing to a dedicated low power
	  processor in the chipset.

	  The Host Firmware Load feature adds support to load the ISH
	  firmware from host file system at boot.

	  Say M here if you want to support Host Firmware Loading feature
	  for Intel ISH. If unsure, say N.
endmenu
+3 −0
Original line number Diff line number Diff line
@@ -20,4 +20,7 @@ obj-$(CONFIG_INTEL_ISH_HID) += intel-ishtp-hid.o
intel-ishtp-hid-objs := ishtp-hid.o
intel-ishtp-hid-objs += ishtp-hid-client.o

obj-$(CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ishtp-loader.o
intel-ishtp-loader-objs += ishtp-fw-loader.o

ccflags-y += -Idrivers/hid/intel-ish-hid/ishtp
+1085 −0

File added.

Preview size limit exceeded, changes collapsed.