[PATCH v2 0/2] misc: mei: Add support for IVSC device

From: Wentong Wu
Date: Sun Dec 03 2023 - 19:56:20 EST


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 a SPI device and the protocol used
for communicating with host is MEI. This driver implements the
transport protocol and MEI hardware interfaces for IVSC device.

The firmware downloading for IVSC device is implemented as well.

---
v2:
- change to `depends on INTEL_MEI_VSC_HW` for INTEL_MEI_VSC Kconfig
- remove MODULE_ALIAS and add MODULE_DEVICE_TABLE in platform-vsc.c

Wentong Wu (2):
mei: Add transport driver for IVSC device
mei: Add MEI hardware support for IVSC device

drivers/misc/mei/Kconfig | 24 ++
drivers/misc/mei/Makefile | 7 +
drivers/misc/mei/platform-vsc.c | 450 +++++++++++++++++++++
drivers/misc/mei/vsc-fw-loader.c | 822 +++++++++++++++++++++++++++++++++++++++
drivers/misc/mei/vsc-tp.c | 555 ++++++++++++++++++++++++++
drivers/misc/mei/vsc-tp.h | 50 +++
6 files changed, 1908 insertions(+)
create mode 100644 drivers/misc/mei/platform-vsc.c
create mode 100644 drivers/misc/mei/vsc-fw-loader.c
create mode 100644 drivers/misc/mei/vsc-tp.c
create mode 100644 drivers/misc/mei/vsc-tp.h

--
2.7.4