Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6467412rdb; Thu, 14 Dec 2023 21:55:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFRQBLnNzGQ4EB/QzYwiBlM9oS4ke/FQmkKZLN/MH61mKP+eyTXmb4tsGLrIKs+ofButZL6 X-Received: by 2002:a05:620a:2106:b0:77f:7031:f596 with SMTP id l6-20020a05620a210600b0077f7031f596mr9383725qkl.83.1702619734212; Thu, 14 Dec 2023 21:55:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702619734; cv=none; d=google.com; s=arc-20160816; b=kAkTAtj9SLPj4I75EgRS/kYmY4Zm6U9+MuyogKWba+nC0OFasoX+zvmjiSsMV4buGc 0cqWq5aopqpkuoSrrTPtDK6kRMDdrqSoqmcLen/rDmVRPh+3Gl8Y2O5NTpaW0zKPgZCO acwey1g0kaMb0Lr1AvZebrTUgVki2/9HF4cBFeodBnGeQHfkNBUketYBQxQ5thLF49kd uJDpMVGZ7ZDIEeOWZ47wgvIfUTMqmKjr7oGOTTiJs346kAM9pH+qw1C4PeOWk287K4sa Rgxc8tGxckm3Vu144hOqmWSXTNvsyh//UwxXiTjhuCsh1k5CONqVCLuiDYQVvA5T1npE dkhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=ZN3yKYcemoIa1y+AXh7zAN2fvRoHkXLeo8yNtJUGEMs=; fh=/Q4fS0NN1++6KhEetcEIVdjistWTY8sMc1zXKqqksRw=; b=rEyaDBBstHcAZ6971WlQaXUlgrhoHLV6wxH8UgdRcUvNVGlmF3RPaeu885MAM9nhHj +9UNkEDsXPvdpkASnPCP+yhi5YohjA288TKsyK0JxAlnyAdHuphRWQZ4dDRPHVMkpMe+ fk6rv44Rkw2qrA4pUa4a8l9sEQwxi3KMocbPIjGXr6hIjL0dpcRbWNdOYl+Ul1r1Mkq+ eIo9WEX9mQcbL4CRnJQm+VXNG34Bdj46AJHHrCT14fWgKZAbsyIoWgs0Jpik04jSd0qm NIwYDiNw4YD3eXQQygvqmjd0RTz57Mi+t0G1vWe5riPCT+FWb5DaKVOA6EujQAwKxCEV svCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-467-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y8-20020a05620a0e0800b0077f140b96ebsi15680113qkm.200.2023.12.14.21.55.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 21:55:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-467-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F169E1C22472 for ; Fri, 15 Dec 2023 05:55:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2166879F3; Fri, 15 Dec 2023 05:55:24 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32C4479ED; Fri, 15 Dec 2023 05:55:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id F0E7124E233; Fri, 15 Dec 2023 13:55:10 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 15 Dec 2023 13:55:10 +0800 Received: from [192.168.125.107] (113.72.145.168) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 15 Dec 2023 13:55:09 +0800 Message-ID: Date: Fri, 15 Dec 2023 13:55:09 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/9] media: v4l2-ctrls: Add user controls for StarFive JH7110 ISP Content-Language: en-US To: Laurent Pinchart CC: Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , "Marvin Lin" , Bryan O'Donoghue , "Ming Qian" , Nicolas Dufresne , Benjamin Gaignard , Tomi Valkeinen , Mingjia Zhang , Geert Uytterhoeven , Sakari Ailus , Dan Carpenter , Jack Zhu , , , References: <20231214065027.28564-1-changhuang.liang@starfivetech.com> <20231214065027.28564-2-changhuang.liang@starfivetech.com> <20231214113955.GK12450@pendragon.ideasonboard.com> From: Changhuang Liang In-Reply-To: <20231214113955.GK12450@pendragon.ideasonboard.com> Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: quoted-printable Hi Laurent Thanks for your comments. On 2023/12/14 19:39, Laurent Pinchart wrote: > Hi Changhuang, >=20 > Thank you for the patch. >=20 > On Wed, Dec 13, 2023 at 10:50:19PM -0800, Changhuang Liang wrote: >> Add a control base for StarFive JH7110 ISP driver controls, and reserv= e >> 32 controls=EF=BC=8Calso add some controls for StarFive JH7110 ISP. >=20 > ISP parameters should be passed through parameters buffers, not V4L2 > control. See for instance the V4L2_META_FMT_RK_ISP1_PARAMS format in th= e > mainline kernel, it describes how to store ISP parameters in a buffer. > The rkisp1 driver is an example of how this can be implemented. >=20 That means I need to add a video output device before ISP subdev? And=20 use queue/dequeue buffer to get the ISP paremeters? > Please note that the ISP parameters need to be documented precisely, > regardless of how they're passed by userspace to the kernel. Even with > V4L2 controls, documentation would be needed. Please see below for > additional comments. >=20 I will add annotations for this file next version. >> Signed-off-by: Changhuang Liang >> --- >> MAINTAINERS | 1 + >> include/uapi/linux/jh7110-isp.h | 342 ++++++++++++++++++++++++++++= + >> include/uapi/linux/v4l2-controls.h | 6 + [...]