linux-sunxi.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] media: sunxi: MIPI CSI-2 controllers link fixups
@ 2022-09-09 13:39 Paul Kocialkowski
  2022-09-09 13:39 ` [PATCH 1/4] media: sun6i-mipi-csi2: Require both pads to be connected for streaming Paul Kocialkowski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paul Kocialkowski @ 2022-09-09 13:39 UTC (permalink / raw)
  To: linux-media, linux-arm-kernel, linux-sunxi, linux-kernel
  Cc: Paul Kocialkowski, Mauro Carvalho Chehab, Chen-Yu Tsai,
	Jernej Skrabec, Samuel Holland, Hans Verkuil, Maxime Ripard,
	Thomas Petazzoni, Laurent Pinchart

Fix the MIPI CSI-2 drivers to correctly check enabled links and to
register their subdev even without a sensor attached. This allows
their parent driver to register in that situation and makes it
possible to use a parallel sensor when both parallel and MIPI CSI-2
are fed to the same controller but no sensor is connected to the
MIPI CSI-2 bridge.

With this change, it becomes possible to always describe the links
between the CSI and MIPI CSI-2 blocks in device-tree.

This series is based atop Christophe JAILLET's fixes at:
https://patchwork.kernel.org/project/linux-media/list/?series=670059

Paul Kocialkowski (4):
  media: sun6i-mipi-csi2: Require both pads to be connected for
    streaming
  media: sun8i-a83t-mipi-csi2: Require both pads to be connected for
    streaming
  media: sun6i-mipi-csi2: Register async subdev with no sensor attached
  media: sun8i-a83t-mipi-csi2: Register async subdev with no sensor
    attached

 .../sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c   | 23 +++++++++++++------
 .../sun8i_a83t_mipi_csi2.c                    | 23 +++++++++++++------
 2 files changed, 32 insertions(+), 14 deletions(-)

-- 
2.37.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-09 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 13:39 [PATCH 0/4] media: sunxi: MIPI CSI-2 controllers link fixups Paul Kocialkowski
2022-09-09 13:39 ` [PATCH 1/4] media: sun6i-mipi-csi2: Require both pads to be connected for streaming Paul Kocialkowski
2022-09-09 13:39 ` [PATCH 2/4] media: sun8i-a83t-mipi-csi2: " Paul Kocialkowski
2022-09-09 13:39 ` [PATCH 3/4] media: sun6i-mipi-csi2: Register async subdev with no sensor attached Paul Kocialkowski
2022-09-09 13:39 ` [PATCH 4/4] media: sun8i-a83t-mipi-csi2: " Paul Kocialkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).