{"id":14710,"url":"https://patchwork.libcamera.org/api/covers/14710/?format=json","web_url":"https://patchwork.libcamera.org/cover/14710/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20211123131040.1542581-1-naush@raspberrypi.com>","date":"2021-11-23T13:10:38","name":"[libcamera-devel,v3,0/2] Raspberry Pi: Multi-camera changes","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/14710/mbox/","series":[{"id":2745,"url":"https://patchwork.libcamera.org/api/series/2745/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2745","date":"2021-11-23T13:10:38","name":"Raspberry Pi: Multi-camera changes","version":3,"mbox":"https://patchwork.libcamera.org/series/2745/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/14710/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 056E1BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 23 Nov 2021 13:11:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 291EE6033C;\n\tTue, 23 Nov 2021 14:11:16 +0100 (CET)","from mail-wm1-x332.google.com (mail-wm1-x332.google.com\n\t[IPv6:2a00:1450:4864:20::332])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7058060121\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Nov 2021 14:11:14 +0100 (CET)","by mail-wm1-x332.google.com with SMTP id\n\tp27-20020a05600c1d9b00b0033bf8532855so1938707wms.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 23 Nov 2021 05:11:14 -0800 (PST)","from naush-laptop.pitowers.org\n\t([2a00:1098:3142:14:34c6:a31e:c2e1:260d])\n\tby smtp.gmail.com with ESMTPSA id\n\tb197sm1106142wmb.24.2021.11.23.05.11.11\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 23 Nov 2021 05:11:12 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"ZDxngqlb\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=kan8RAGwGbecIvXyd6ot3DXxAkcSHkuCZefGBtDD8kw=;\n\tb=ZDxngqlbeWqE5LcObQm0OkancA7BxYvP6YNt7TNFj924eufRG4LcGGXrgjtC6zUjO/\n\tHwL0Of+f787tqUz7ChI6B1JhXlpvC7AWThz1XeKcnO74vigwSm1qaTiwL2ylP6Muyh5P\n\tjzRa/+9XCN2AmMaJtZcPRlggeNCkdch2BfEPwQBEk+yTJykKujrYxRUFUWN85IVf/Vfr\n\t7Dtwjntcb7itPeKF41fNUWctYyV9XB2fEeb9avRPudupzPlBCJSQiC1bJDcZakJffqg7\n\tKKalQFHdEVQWetgz7tR2wQEmi43F3Yyus+SeL8siHtX37GDxR0IJFvG+fiTCejqquMJj\n\t2p0A==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=kan8RAGwGbecIvXyd6ot3DXxAkcSHkuCZefGBtDD8kw=;\n\tb=kpL//OIFyCa4FAEqsqIkFt/3MtMuTm/CFK+Wgoekga1kfvHLSqxMo/gEj1E1xq+Umu\n\t4Bas5Znph5yVrGzcymIgrJFoEOhzZ0DQc/e8b0HjFHXoTFD0rdElQ/6QKz4ft9ujFpvE\n\tre/bQgMtWErilqNsmExWOK/ffO3ERaF6Ol/sZPaPHOP1GB+J/3BmtnKsqV31iBTy1lUW\n\tvsWCTm/rlwhcZyHHITN8XzOLmQ4mJfK4JItLJAfBIdtE1DMOO7xuT13uDK36oM7yyqVy\n\t6E/W8ra6M/CtpM9F9ws4Tz1frJP4m/t8Dlj2gUnH0h+9ebNcsOsmz4zL9Wnks0KDDuM1\n\tqt7A==","X-Gm-Message-State":"AOAM533fqZ0AV7JYYD9gm02ogGMbHfOjhya7ArThjRBP38DMmsUswgLA\n\tKJrOUoVJuSSgxoXRhMts8XLQgYa0G3Xs6m20","X-Google-Smtp-Source":"ABdhPJzQXWQmTdsemk0d6zk3l7R9hvh6xfsdNqEDK5T5sJpFabtXBIfzI6AKgEGtvazlP7KtIp/xmQ==","X-Received":"by 2002:a05:600c:3486:: with SMTP id\n\ta6mr2999485wmq.32.1637673073527; \n\tTue, 23 Nov 2021 05:11:13 -0800 (PST)","From":"Naushir Patuck <naush@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 23 Nov 2021 13:10:38 +0000","Message-Id":"<20211123131040.1542581-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/2] Raspberry Pi: Multi-camera changes","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nWe have come full circle with this series.  What began as changes to enable\nmulti-camera support are now just some tidy-ups :-)\n\nAfter Laurent's explanation, it turns out the original code would correctly handle\nmultiple camera registration, and the changes were not needed.  Never-the-less,\nthis change tidy up the code a bit, so may as well be put in.\n\nThanks,\nNaush\n\nNaushir Patuck (2):\n  pipeline: raspberrypi: Split out device enumeration and camera\n    registration\n  pipeline: raspberrypi: Tidy the camera enumeration and registration\n    logic\n\n .../pipeline/raspberrypi/raspberrypi.cpp      | 90 ++++++++++++-------\n 1 file changed, 56 insertions(+), 34 deletions(-)"}