From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F19CA2596 for ; Fri, 9 Sep 2022 13:40:34 +0000 (UTC) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id F1FF31C0007; Fri, 9 Sep 2022 13:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1662730826; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ymJxpyXPHP7SnAhvIF7gZ8BpVklD5DeS9VKlbiuGSqo=; b=aMUOBNCAEpF9nr+LoVLA74Tm2wRdWubL7OjHHSiyxjNF7A5DyJnc+Tw8Ry0qoodVDZTRGD Bn4rtApb/9sE30UV7S24NOsKqrDHZuLNvhqrNsbfIxeQt1y7REkrP02NNSADgM+DoGSYWu shA/LsPKsCqimA/DlAcdto195BwSyJB0Qb0e25G71nXurK+HWiCAiKeVNza3UX1HYxf93u PQ2wAu2+XsbTK2s361PNJ23W0dNbAknKuFwV7iY3a5I3jgLrmH7b9MOmBOj+2ejPM9aGJs L8C0UkQFZS5QPIHJrL4uPSQBNmtHWj/Nr0CgDq8vI/TuwaWPr/PKKECRYDynNw== From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Hans Verkuil , Maxime Ripard , Thomas Petazzoni , Laurent Pinchart Subject: [PATCH 0/4] media: sunxi: MIPI CSI-2 controllers link fixups Date: Fri, 9 Sep 2022 15:39:50 +0200 Message-Id: <20220909133954.97010-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.37.3 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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