[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DAFL3CTS8R5D.1FIGCAM5SXJPL@linaro.com>
Date: Fri, 06 Jun 2025 17:17:20 +0100
From: Rui Miguel Silva <rmfrfs@...il.com>
To: "Isaac Scott" <isaac.scott@...asonboard.com>,
<laurent.pinchart@...asonboard.com>
Cc: <kieran.bingham@...asonboard.com>, <rmfrfs@...il.com>,
<martink@...teo.de>, <kernel@...i.sm>, <mchehab@...nel.org>,
<shawnguo@...nel.org>, <s.hauer@...gutronix.de>, <kernel@...gutronix.de>,
<festevam@...il.com>, <linux-media@...r.kernel.org>, <imx@...ts.linux.dev>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 0/2] media: Add line end IRQ to imx-mipi-csis driver
Hi Isaac,
Many thanks for the patches.
On Fri Jun 6, 2025 at 4:44 PM WEST, Isaac Scott wrote:
> Many boards, such as the NXP i.MX 8M Plus, feature multiple interrupt
> registers. This series refactors interrupt status register debug handling to make
> it more intuitive to add other registers such as LINE_END, which has an
> entire register containing only one interrupt. Previously, the
> mipi_csi_events[] list contained a debug enable field, and this replaces
> that with a status_index, which indicates which status register contains
> the mask for the interrupt.
>
> The second patch adds the user line interrupt, which is useful for
> debugging, as it allows a user to trigger an interrupt after the MIPI
> CSI receiver has counted a configurable number of lines. This can make
> it possible to discern the true resolution of the image stream reaching
> the CSI receiver. It adds an entry to debugfs which lets users choose
> how many lines are needed to trigger the interrupt, and can be disabled
> both within and outside streaming by setting the value to 0.
LGTM.
for the all series:
Reviewed-by: Rui Miguel Silva <rui.silva@...aro.org>
Cheers,
Rui
>
> ---
>
> Changes since v1:
> - Moved from magic number to enum in status_index
> - Clear INT_MSK_1 in enable_interrupts() when on == false
> - use local variable in set_params() as in the interrupt handler
> - move interrupt handling code outside of spinlock
>
> Isaac Scott (2):
> media: platform: Refactor interrupt status registers
> media: platform: Add user line interrupt to imx-mipi-csis driver
>
> drivers/media/platform/nxp/imx-mipi-csis.c | 107 ++++++++++++++-------
> 1 file changed, 74 insertions(+), 33 deletions(-)
>
> --
> 2.43.0
Powered by blists - more mailing lists