Skip to content

Commit

Permalink
mei: Add MEI hardware support for IVSC device
Browse files Browse the repository at this point in the history
The protocol used for the IVSC device to communicate with HOST is MEI.
The MEI hardware interfaces for the IVSC device are implemented.

The APIs are exposed by MEI framework to mei clients, e.g. mei_csi and
mei_ace.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Hao Yao <hao.yao@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/1701651344-20723-3-git-send-email-wentong.wu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Wentong Wu authored and Greg Kroah-Hartman committed Dec 7, 2023
1 parent 566f5ca commit 386a766
Show file tree
Hide file tree
Showing 3 changed files with 466 additions and 0 deletions.
13 changes: 13 additions & 0 deletions drivers/misc/mei/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@ config INTEL_MEI_VSC_HW
This driver can also be built as a module. If so, the module
will be called mei-vsc-hw.

config INTEL_MEI_VSC
tristate "Intel visual sensing controller device with ME interface"
depends on INTEL_MEI_VSC_HW
depends on INTEL_MEI
help
Intel MEI over SPI driver for Intel visual sensing controller
(IVSC) device embedded in IA platform. It supports camera sharing
between IVSC for context sensing and IPU for typical media usage.
Select this config should enable transport layer for IVSC device.

This driver can also be built as a module. If so, the module
will be called mei-vsc.

source "drivers/misc/mei/hdcp/Kconfig"
source "drivers/misc/mei/pxp/Kconfig"
source "drivers/misc/mei/gsc_proxy/Kconfig"
3 changes: 3 additions & 0 deletions drivers/misc/mei/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ obj-$(CONFIG_INTEL_MEI_GSC_PROXY) += gsc_proxy/
obj-$(CONFIG_INTEL_MEI_VSC_HW) += mei-vsc-hw.o
mei-vsc-hw-y := vsc-tp.o
mei-vsc-hw-y += vsc-fw-loader.o

obj-$(CONFIG_INTEL_MEI_VSC) += mei-vsc.o
mei-vsc-y := platform-vsc.o
Loading

0 comments on commit 386a766

Please sign in to comment.