media: intel/ipu6: add syscom interfaces between firmware and driver
authorBingbu Cao <bingbu.cao@intel.com>
Wed, 31 Jan 2024 09:50:58 +0000 (17:50 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 29 Apr 2024 12:56:38 +0000 (14:56 +0200)
commitb71f777d897a88688faf9348099c11c70602a3af
treea7bf179119aade7d1fa2177928d003a28ecd480c
parent9163d83573e43094c1cd350573bde9a18059be63
media: intel/ipu6: add syscom interfaces between firmware and driver

Syscom is an inter-process(or) communication mechanism between an IPU and
host. Syscom uses message queues for message exchange between IPU and
host. Each message queue has its consumer and producer, host queue
messages to firmware as the producer and then firmware to dequeue the
messages as consumer and vice versa. IPU and host use shared registers or
memory to reside the read and write indices which are updated by consumer
and producer.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/pci/intel/ipu6/ipu6-fw-com.c [new file with mode: 0644]
drivers/media/pci/intel/ipu6/ipu6-fw-com.h [new file with mode: 0644]