Thread (141 messages) 141 messages, 7 authors, 2022-03-15

Re: [PATCH v2 30/66] media: sun6i-csi: Add bridge v4l2 subdev with port management

From: Paul Kocialkowski <hidden>
Date: 2022-02-11 15:44:04
Also in: linux-arm-kernel, linux-clk, linux-media, linux-phy, linux-staging, linux-sunxi, lkml

Hi,

On Wed 09 Feb 22, 10:24, Maxime Ripard wrote:
On Sat, Feb 05, 2022 at 07:53:53PM +0100, Paul Kocialkowski wrote:
quoted
Introduce a bridge v4l2 subdev to prepare for separation between the
processing part (bridge) and the dma engine, which is required to
properly support ths isp workflow later on.

Currently the bridge just manages fwnode mapping to media pads,
using an async notifier (which was previously in the main code).
The s_stream video op just forwards to the connected v4l2 subdev
(sensor or MIPI CSI-2 bridge).

The video capture device is now registered after the bridge and
attaches to it with a media link.

Signed-off-by: Paul Kocialkowski <redacted>
There's a bunch of checkpatch --strict warnings that need to be fixed
Yes so it turns out these are adaptations to the existing video code
which has these warnings already merged. They are cleaned up later on
in a dedicated commit, but since it's not the topic of this change
(which is a logic change) I kept the code as it is.

What do you think?

Cheers,

Paul

-- 
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help