Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6059092rdb; Mon, 18 Sep 2023 02:54:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkHe3pMw9TD/FrP91c1RRHuyuwuLy9u5Te2esqILI8QZ8zmkvwnEvBf8f1wAVQPPgKj1kd X-Received: by 2002:a17:902:e5cc:b0:1c3:d07f:39f7 with SMTP id u12-20020a170902e5cc00b001c3d07f39f7mr8057815plf.62.1695030882077; Mon, 18 Sep 2023 02:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695030882; cv=none; d=google.com; s=arc-20160816; b=djXcv4hUD/Xs7MUTkmEHlzrspy50wa7HU9dWeDf5gEoh7CxcP+lNJtp4/WMZfCG6Xx YX3TJqc850mKxwntr/rNcKfb7Vc75JgkNB/cJC37/vCpJtVErSZIJt6u1w8s9G0f1KkN 5bCzrCqFt+YIviJxeSxpw4nc4Zg6Wz6aRy/s12iadrrxhfNS7yuemX9T4BB93QbApsdT +9SMQwc4ooXDlwLOrjIQNJqTFg3e5kpXmZNirVwKTJiGas83lTEd+BHkOnqafz8wERMt rkB45/YljfJ/59QXSawCvR/pukN7YwfykTd1h5ROs7q8b+WhLD3mvcCzD1fSLIgEpqO5 w5xw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=7cacSHO8dyeb8bjVu6BtpAnrZ1s8IvykE0IewPbrrmc=; fh=gAfsWuSPS0wSOBpYvFBiDEHTFSBlLCGDucS40OCfHnw=; b=hC7VeQrIFCyjc8aLNxyonZ7/d1MRHN2rQ5f7YtmNQj7oQSSEbvkPaLO2JmF7aDX/eQ FlrpzrPHoPetI+x8KdC0pnZHvzGZyvtjiJS3kuEQfsTt6cM61Z1xvUgnbRITyDSHTL9u NM9j74kI4B3WHJTM/TNaOg4OPZt66qi7vaRU0mYFsE5B4/0gDbpwI7s2A+5FBAHxb2/1 Kbr2cpBLiuXoA3iuERzgKCrA/JBl+HN6FmvsjZYv02uijpZ4YIhcqpMMhNXQFAgyKEPs QLLc8113yGrD5Qj0mrhd31tkuoacirKVmRKhAz5dLjeDTraDvStsYWEzfe7nKFMtqB9m h+AQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f2-20020a170902ce8200b001b8a56b9895si8162866plg.616.2023.09.18.02.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 02:54:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DD4D9808D22A; Mon, 18 Sep 2023 02:31:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238527AbjIRJbE convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Sep 2023 05:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235797AbjIRJa0 (ORCPT ); Mon, 18 Sep 2023 05:30:26 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F14D0118; Mon, 18 Sep 2023 02:30:13 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 30AB824E2BA; Mon, 18 Sep 2023 17:30:09 +0800 (CST) Received: from EXMBX073.cuchost.com (172.16.6.83) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 18 Sep 2023 17:30:09 +0800 Received: from [192.168.1.218] (180.164.60.184) by EXMBX073.cuchost.com (172.16.6.83) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 18 Sep 2023 17:30:08 +0800 Message-ID: <41370a5d-ffa3-f85b-aa2a-b6dd9cc570f6@starfivetech.com> Date: Mon, 18 Sep 2023 17:30:08 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v9 0/8] Add StarFive Camera Subsystem driver To: Hans Verkuil , Mauro Carvalho Chehab , Robert Foss , Todor Tomov , , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "Greg Kroah-Hartman" , Philipp Zabel , Laurent Pinchart CC: , , , , References: <20230914031607.34877-1-jack.zhu@starfivetech.com> <11735008-1adf-4b84-9023-d295371caed5@xs4all.nl> Content-Language: en-US From: Jack Zhu In-Reply-To: <11735008-1adf-4b84-9023-d295371caed5@xs4all.nl> Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [180.164.60.184] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX073.cuchost.com (172.16.6.83) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 02:31:50 -0700 (PDT) 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? -- Regards, Jack Zhu