From patchwork Mon Jun 20 21:06:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16293 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 53DFEBD808 for ; Mon, 20 Jun 2022 21:07:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D097165639; Mon, 20 Jun 2022 23:07:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655759239; bh=Z5DP/9aiRBoKteJip1Kur5Ckyx6/W+p4SvR7UqMfpjs=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=0JjOZQ0Y6Vxno3fkB73lvzTV2e7PN8WW2v2JCDHnBHik3KaXj4KVXSEuBZEv4f3Bk 1IUVEetAeow0+YwgjeZKHGCtRIix36bu8g6M1qEGAFd9jUGQZw0ssJFDWbsV4oUH5B 30I3QplpWxvo8/x+1JCDgn+MPFMxKaPTfuk811A8B+cY0Ezo+cmPShVSrSQpjyVL5n OOrGTLyBvr2Nj/NWv3mMJZAzDNM6OreBF0TBTMiNvDkC28cXcN1Q0q45IO81T2VMtq 2sqOE3HnUGiDNr+E7OYKV8AGCjvRDI9+9vBtnDWTw+kFYzNEoV8tG/ulWDulAlFaWY 5exN0Me+M62TQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8D55460498 for ; Mon, 20 Jun 2022 23:07:17 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="kuoGeWFj"; dkim-atps=neutral Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0A9B4E5 for ; Mon, 20 Jun 2022 23:07:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1655759237; bh=Z5DP/9aiRBoKteJip1Kur5Ckyx6/W+p4SvR7UqMfpjs=; h=From:To:Subject:Date:From; b=kuoGeWFjXc/VvY7sgVcopb/usAMW8mrJosVkgHhvzdmicxrWMyRXppcefYNWjNeOw 9g1SjhlcVcibFyDiBc1jaa7xIDY/4zGZScWfOocKLgFftQHdAikAq8BxlTxxmOWDub +ewZjmbFsyFVPRv6a1qFiNe16mbMr4rV3/WvS0Lc= To: libcamera-devel@lists.libcamera.org Date: Tue, 21 Jun 2022 00:06:54 +0300 Message-Id: <20220620210658.20288-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] utils: rkisp1: Miscellaneous capture script updates 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: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, This small patch series fixes miscellaneous issues with the rkisp1-capture.sh script that I have noticed while using the script on an NXP i.MX8MP. The script has bit-rotted over time, and patches 1/4 to 3/4 fix that. Patch 4/4 then adds support for a separate CSI-2 receiver subdev in the media graph, needed by the i.MX8MP. The patches have been tested on both RK3399 (Rock Pi 4 board) and i.MX8MP. Laurent Pinchart (4): utils: rkisp1: Remove frames before starting capture utils: rkisp1: Fix sensor format parsing utils: rkisp1: Fix pixel format for raw capture utils: rkisp1: Support optional CSI-2 receiver subdev utils/rkisp1/rkisp1-capture.sh | 61 ++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 3 deletions(-) base-commit: 7cd8b54fd7b4a03e8a25107575dc547e219a3747