Skip to content

Commit 566f5ca

Browse files
wentongwugregkh
authored andcommitted
mei: Add transport driver for IVSC device
The Intel visual sensing controller (IVSC) device is designed to control the camera sharing between host IPU for media usage and IVSC for context sensing (face detection). IVSC is exposed to HOST as an SPI device and the message protocol over the SPI BUS for communicating with the IVSC device is implemented. This is the backend of mei framework for IVSC device, which usually handles the hardware data transfer. The mei_csi and mei_ace are the clients of IVSC mei framework. The firmware downloading for the IVSC device is implemented as well. Signed-off-by: Wentong Wu <[email protected]> Reviewed-by: Sakari Ailus <[email protected]> Tested-by: Hao Yao <[email protected]> Acked-by: Tomas Winkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5dac2a9 commit 566f5ca

File tree

5 files changed

+1442
-0
lines changed

5 files changed

+1442
-0
lines changed

drivers/misc/mei/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ config INTEL_MEI_GSC
6060
tasks such as graphics card firmware update and security
6161
tasks.
6262

63+
config INTEL_MEI_VSC_HW
64+
tristate "Intel visual sensing controller device transport driver"
65+
depends on ACPI && SPI
66+
depends on GPIOLIB || COMPILE_TEST
67+
help
68+
Intel SPI transport driver between host and Intel visual sensing
69+
controller (IVSC) device.
70+
71+
This driver can also be built as a module. If so, the module
72+
will be called mei-vsc-hw.
73+
6374
source "drivers/misc/mei/hdcp/Kconfig"
6475
source "drivers/misc/mei/pxp/Kconfig"
6576
source "drivers/misc/mei/gsc_proxy/Kconfig"

drivers/misc/mei/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ CFLAGS_mei-trace.o = -I$(src)
3131
obj-$(CONFIG_INTEL_MEI_HDCP) += hdcp/
3232
obj-$(CONFIG_INTEL_MEI_PXP) += pxp/
3333
obj-$(CONFIG_INTEL_MEI_GSC_PROXY) += gsc_proxy/
34+
35+
obj-$(CONFIG_INTEL_MEI_VSC_HW) += mei-vsc-hw.o
36+
mei-vsc-hw-y := vsc-tp.o
37+
mei-vsc-hw-y += vsc-fw-loader.o

0 commit comments

Comments
 (0)