Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1306926rdb; Wed, 20 Sep 2023 05:52:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXkZ6qdpXyBgTUj6y+WQu41D9hQ1/Jze8aMFD1DBuLRgQOyVVgvweG8w7LXIaWH5PduCf3 X-Received: by 2002:a17:902:6b85:b0:1c3:188c:a347 with SMTP id p5-20020a1709026b8500b001c3188ca347mr2129489plk.54.1695214339542; Wed, 20 Sep 2023 05:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695214339; cv=none; d=google.com; s=arc-20160816; b=jfTf7RfyLI8UiyFXpMFCZ3XSmZ1+6DvsJ/WKCIV9zFjZHGzJy797kE8nTiFD+dusuA PxCQMax2m/wEiHhFom4Lc7Ljm9yq1EH71TsYhfHQ9/xEhSm85kjSA01sr5/CnNG4xhFU 8q6w5OorgXvm9Zx06QE2HyVNrOTrI6soefCzgiKrhd3KOFm/yo5vlmJ0X8VRyBFEqiAQ KT42Sid9aDoCLxb74gqVnvvWTaUb3YMKu0NMba3lBrfkktnc8Bn56bRsW2bXg+aMkxBd VvhW1IUu+5FtORgaGDHhfcCYeSlRSbIZCTkuZv1/FO0PPw7tQzqH4HowDWT7rqOtnqzF CPpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=JRQz3XgAcY0+/zOq081nJlP1A0uVcYJBBHEn3NRhxFg=; fh=xgQPTrgLZQHuZj3y2k2Oo1btQSWdIEXXpp2hdMBXZPA=; b=AvEzXU6QamqlpSH7rhJ/ZvrUPWBNyEh5p4b3AiCA3Qu8jyuMkdVc3sP7CaV9JZloMV V7mXd3QMjzCZAVA9NA5XwQnZ9lS6JJqU9GFqaoieUZ7bYSkLuisZs7HPqpFre6zrvjR1 A0gqXcikzZbsyPnKQL28R3ApTuTIUdrrhNNIqOeMysKdx6IfMAav3eKGe2/EGDCMuuQr 0CMj/dWnTPDxxDD2zA/4G6V3JdysfZ+2DcUhghY7eemTuBgvs86mAOK03aJF3gJdM1qO 0g3oaYDIVCTrTPf88A4iK7XhTTwxKTWkjM1I1ZbyKtuHvfbTdpQjb/jYvwH+OQMMVPdb KWOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id c17-20020a170902d49100b001b89551a392si12421682plg.113.2023.09.20.05.52.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:52:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D2B5A802A3EE; Wed, 20 Sep 2023 05:37:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235979AbjITMhg (ORCPT + 99 others); Wed, 20 Sep 2023 08:37:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235950AbjITMhf (ORCPT ); Wed, 20 Sep 2023 08:37:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 227F992; Wed, 20 Sep 2023 05:37:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72EC9C433C9; Wed, 20 Sep 2023 12:37:24 +0000 (UTC) Message-ID: Date: Wed, 20 Sep 2023 14:37:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 0/8] Add StarFive Camera Subsystem driver Content-Language: en-US, nl To: Jack Zhu , Mauro Carvalho Chehab , Robert Foss , Todor Tomov , bryan.odonoghue@linaro.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Philipp Zabel , Laurent Pinchart Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-staging@lists.linux.dev, changhuang.liang@starfivetech.com References: <20230914031607.34877-1-jack.zhu@starfivetech.com> <11735008-1adf-4b84-9023-d295371caed5@xs4all.nl> <41370a5d-ffa3-f85b-aa2a-b6dd9cc570f6@starfivetech.com> From: Hans Verkuil In-Reply-To: <41370a5d-ffa3-f85b-aa2a-b6dd9cc570f6@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 20 Sep 2023 05:37:57 -0700 (PDT) On 18/09/2023 11:30, Jack Zhu wrote: > Hi Hans, > > Thanks for your comment. > > On 2023/9/15 17:26, Hans Verkuil wrote: >> On 14/09/2023 05:15, Jack Zhu wrote: >>> Hi, >>> >>> This series is the v9 series that attempts to support the Camera Subsystem >>> found on StarFive JH7110 SoC. >>> >>> This series is based on top of the master branch of media_stage repository. >>> >>> The following are the media graph for the device and the v4l2-compliance >>> output. >>> >>> =========================================================================== >>> [the media graph]: >>> >>> digraph board { >>> rankdir=TB >>> n00000001 [label="{{ 0} | stf_isp\n/dev/v4l-subdev0 | { 1}}", shape=Mrecord, style=filled, fillcolor=green] >>> n00000001:port1 -> n00000008 [style=dashed] >>> n00000004 [label="capture_raw\n/dev/video0", shape=box, style=filled, fillcolor=yellow] >>> n00000008 [label="capture_yuv\n/dev/video1", shape=box, style=filled, fillcolor=yellow] >>> n0000000e [label="{{ 0} | cdns_csi2rx.19800000.csi-bridge\n | { 1 | 2 | 3 | 4}}", shape=Mrecord, style=filled, fillcolor=green] >>> n0000000e:port1 -> n00000001:port0 [style=dashed] >>> n0000000e:port1 -> n00000004 [style=dashed] >>> n00000018 [label="{{} | imx219 6-0010\n/dev/v4l-subdev1 | { 0}}", shape=Mrecord, style=filled, fillcolor=green] >>> n00000018:port0 -> n0000000e:port0 [style=bold] >>> } >>> >>> [the device topology]: >>> >>> Media controller API version 6.5.0 >>> >>> Media device information >>> ------------------------ >>> driver starfive-camss >>> model Starfive Camera Subsystem >>> serial >>> bus info platform:19840000.camss >>> hw revision 0x0 >>> driver version 6.5.0 >>> >>> Device topology >>> - entity 1: stf_isp (2 pads, 2 links) >>> type V4L2 subdev subtype Unknown flags 0 >>> device node name /dev/v4l-subdev0 >>> pad0: Sink >>> [fmt:SRGGB10_1X10/1920x1080 field:none colorspace:srgb >>> crop.bounds:(0,0)/1920x1080 >>> crop:(0,0)/1920x1080] >>> <- "cdns_csi2rx.19800000.csi-bridge":1 [] >>> pad1: Source >>> [fmt:YUYV8_1_5X8/1920x1080 field:none colorspace:srgb >>> crop.bounds:(0,0)/1920x1080 >>> crop:(0,0)/1920x1080] >>> -> "capture_yuv":0 [] >>> >>> - entity 4: capture_raw (1 pad, 1 link) >>> type Node subtype V4L flags 0 >>> device node name /dev/video0 >>> pad0: Sink >>> <- "cdns_csi2rx.19800000.csi-bridge":1 [] >>> >>> - entity 8: capture_yuv (1 pad, 1 link) >>> type Node subtype V4L flags 0 >>> device node name /dev/video1 >>> pad0: Sink >>> <- "stf_isp":1 [] >>> >>> - entity 14: cdns_csi2rx.19800000.csi-bridge (5 pads, 3 links) >>> type V4L2 subdev subtype Unknown flags 0 >>> pad0: Sink >>> <- "imx219 6-0010":0 [ENABLED,IMMUTABLE] >>> pad1: Source >>> -> "stf_isp":0 [] >>> -> "capture_raw":0 [] >>> pad2: Source >>> pad3: Source >>> pad4: Source >>> >>> - entity 24: imx219 6-0010 (1 pad, 1 link) >>> type V4L2 subdev subtype Sensor flags 0 >>> device node name /dev/v4l-subdev1 >>> pad0: Source >>> [fmt:SRGGB10_1X10/3280x2464 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range >>> crop.bounds:(8,8)/3280x2464 >>> crop:(8,8)/3280x2464] >>> -> "cdns_csi2rx.19800000.csi-bridge":0 [ENABLED,IMMUTABLE] >>> >>> =========================================================================== >>> [the v4l2-compliance output]: >>> >>> v4l2-compliance 1.24.1, 64 bits, 64-bit time_t >> >> This v4l2-compliance version is from a distro. For driver acceptance you >> must test with a v4l2-compliance compiled from the git repo (git://linuxtv.org/v4l-utils.git). >> > > It is compiled from buildroot, but its source code is also downloaded from the repo tag v4l-utils-1.24.1. > Do you mean I should use the latest stable version (stable-1.24) on the repo? > No, you want the latest version, period. So just the master branch of the v4l-utils git repo. For the compliance tests you want the latest and greatest, since the stable tags are often fairly old. Regards, Hans