From patchwork Tue Dec 14 14:00:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 15161 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id BEC97BF415 for ; Tue, 14 Dec 2021 14:00:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0FF5860894; Tue, 14 Dec 2021 15:00:08 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="jyaAQ3rD"; dkim-atps=neutral Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 02BB060117 for ; Tue, 14 Dec 2021 15:00:05 +0100 (CET) Received: by mail-wr1-x42e.google.com with SMTP id t9so32534551wrx.7 for ; Tue, 14 Dec 2021 06:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MjxFfpepXQWcLXCQocwd7HreR4OGe+deoNV47sXDmFU=; b=jyaAQ3rDHLS+IUgV2khKEtPBlyluqJ8jnePZsiwRSteaGrHf4hSpj4bQX7FKDUB74m CSD1MSSBXe2O1kIknb6KJw90fVRMdVQyOgrzUrAs/BqU79OtFXtqTzUAivEqNCQqjFcK oyXVc1xAaoTyaSVCDxMl9W41MV3PDV/QCN2GXkaZagbyKqr/hc3FU/ndtjj6FCer6cjN YSJgrBRX+Tz+37qmsKtJC7AJlRAp7hlM4nN/mx+0jAtTcjfxR+15SIdswjU/fhmsXL/T JWNi6gnZcCim3dXj8bPG0HEIQOq8nMFGYSdBALq76QVkrG9/joO42HiEeVxKsF0zjZnP fVCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MjxFfpepXQWcLXCQocwd7HreR4OGe+deoNV47sXDmFU=; b=u8G505NKyu9bXgtbWtmEGuDOx8abgzKTFeC+nM0ju7cvs6duMltavpmcxSKe9fcoaf VFcMK0vo4+FCEbnXobV3NXgVMsyJEheRlRcXqlJGC3RcC8o/yyhAk2JA1cNuSbL1cXDx wUtvDxys7NUp8ARpCi9ygR/Rcq6RdRN97E16NWpq/9sIe5ZpnzmNTHubwDZUh2m0eqao Iu8cgeofBivNpvGiR0Hf0ssuSFePZ8VNJwrra9bAT5OP/H1H16JqXlJ4gvqw7Gs1YmEK 8F03YHAwL4VKfE53WtVceX5hUGTIDXYjro3ECFa2cQbd2H+dktNibJAPZT30PtO7SuaY HGRg== X-Gm-Message-State: AOAM53085rG6/h3DjycmhFNlnPATc8e4XQ/Nw+E1JtiWDu8hQdC8mL0H OMuBVI6xwGaOEfNXy9Vvn18ZhqW4rqn8wA== X-Google-Smtp-Source: ABdhPJzcXjt9HW+VTtKyX5crYvtKpDbZq+Tfer4b1AkJV3NVtgb5p2afajpRpebrNweBCY099VRIzw== X-Received: by 2002:a5d:584c:: with SMTP id i12mr5965531wrf.95.1639490405209; Tue, 14 Dec 2021 06:00:05 -0800 (PST) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:8958:60a:582a:396]) by smtp.gmail.com with ESMTPSA id m7sm2160999wml.38.2021.12.14.06.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Dec 2021 06:00:04 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Tue, 14 Dec 2021 14:00:00 +0000 Message-Id: <20211214140002.3552445-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/2] Raspberry Pi: Add video mux and bridge support X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi, The following changes have been made for version 3 of this patch series (all for patch 2/2): - Move enumerateVideoDevices() from PipelineHandlerRPi to RPiCameraData. - Optimise out the link disabling code to only disable links that will not be re-enabled. - enumerateVideoDevices() now looks to ensure the entity device only has a single source pad. If this is not the case, we bail out and cannot automatically handle this media topology. This slightly simplifies the code in that function as well. Regards, Naush Naushir Patuck (2): pipeline: raspberrypi: Move sensor entity detection out of registerCamera() pipeline: raspberrypi: Add support for Video Mux and Bridge devices .../pipeline/raspberrypi/raspberrypi.cpp | 174 ++++++++++++++++-- 1 file changed, 159 insertions(+), 15 deletions(-)