[PATCH 1/7] media: ipu6: update ipu7 InSys ABI to 1.2.1.20251215_224531
From: Divyamani Tripathi
Date: Wed Sep 30 2026 - 05:10:07 EST
Drop the retired IPU_INSYS_RESP_TYPE_PWM_IRQ response type and add the
mipi_fn field the firmware now reports in its place, matching staging
ipu7's ABI bump. The boot-ABI and psys message changes from that
commit don't apply here: this driver has no equivalents to touch.
Signed-off-by: Divyamani Tripathi <divyamani.tripathi@xxxxxxxxx>
---
drivers/media/pci/intel/ipu6/ipu7-fw-isys.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h b/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h
index d5289f6add8c..6b72560b0a15 100644
--- a/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h
+++ b/drivers/media/pci/intel/ipu6/ipu7-fw-isys.h
@@ -4,6 +4,8 @@
#ifndef IPU7_FW_ISYS_H
#define IPU7_FW_ISYS_H
+#include <linux/limits.h>
+
#define IPU7_FWLOG_MAX_LOGGER_SOURCES (64U)
#define IPU7_INSYS_MAX_OUTPUT_QUEUES 3U
#define IPU7_INSYS_STREAM_ID_MAX 16U
@@ -24,6 +26,9 @@
#define IPU7_ISYS_NUM_RECV_QUEUE 1U
#define IPU7_INSYS_SEND_QUEUE_TOKEN_FLAG_NONE 0U
+/* Value of mipi_fn below when firmware ABI < 1.2.1 does not report it. */
+#define IPU7_INSYS_MIPI_FRAME_NUMBER_DONT_CARE U16_MAX
+
#define IPU7_LOGGER_CFG_CHANNEL_ENABLE_SYSCOM BIT(1)
#define IPU7_ISYS_MAX_STREAMS 16U
@@ -107,7 +112,6 @@ enum ipu7_insys_resp_type {
IPU7_INSYS_RESP_TYPE_FRAME_EOF = 8,
IPU7_INSYS_RESP_TYPE_STREAM_START_AND_CAPTURE_DONE = 9,
IPU7_INSYS_RESP_TYPE_STREAM_CAPTURE_DONE = 10,
- IPU7_INSYS_RESP_TYPE_PWM_IRQ = 11,
N_IPU7_INSYS_RESP_TYPE
};
@@ -198,7 +202,7 @@ struct ipu7_insys_resp {
u8 pin_id;
u8 frame_id;
u8 skip_frame;
- u8 pad[2];
+ u16 mipi_fn;
};
struct ipu7_insys_resp_queue_token {
--
2.43.0