Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1864207pxb; Fri, 24 Sep 2021 13:51:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJfZ0K/dMksRLRGo6Kqge61stLoB+wDjoeRXCbTzMNspZeSeUcDJ8YVgUHx1wvgq+ZBnki X-Received: by 2002:a17:906:60c2:: with SMTP id f2mr13229512ejk.531.1632516714437; Fri, 24 Sep 2021 13:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632516714; cv=none; d=google.com; s=arc-20160816; b=M0eOps70wta4iceFe5A4DcZXu+9Ws4aIuMN9MgXvHFHP6mWZdBAys478FqhdF2O45D Lt5cXug2mstyeulcdYlewquvaVnppU2nvKNo0Bt9d0g6CV5Uy2J47gxs9BcFWjxIOgsU c+QswD5sEgRiaKfbmFVMkAWkt0Ah0Gqa/bYGLa/8xECsUNdA07FdYfp24W28La+gTfEN vyyB/fFykfeTufCF6RTFMVfpbBkf7h8G7IB3gzi0+Y+eHKGIlha8yPtNEga/A6Fz9y4s k3zYW5f1Hlw68u9U3blpRFWSu/MkLoiD0rpXE99862DukuzNIdRYaG/h15DsrSTK1ve7 M+Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=NRFXtODeBa3SkSCafztgkw2bK8xqC1z8hM0PTHXmUWs=; b=hu5BSl8lHdPQh0JhM8YOhYxO2BJeoqXsIMTqLiTsfh7At8oMZZHTpEKxVhbyYrkc2D V29mz+3RMHBTouA2yNI9tAdMIQ9O5D9gGOl3SNCxfGpNHiiu0l2P5lFqFki8nj+dmAaE NByTQK3cxXZGkvK1vsX9GnLSe/qwm2cy2sCNpAC4h1oDwtGDdla+Cc7ism+KRSeTYiSJ KoK9b5ENIo+S5UwS1hIj77/MiOBTxYqHEDDblaZqwIZJRFIwzOf3Djpy1NzzuvQf0/4K MY1kYBOO9EfxdnazM70ZgqDYWD5dBp5Ltr7mvWkzxvh/6TLUdJzeGro3gr4Stj5yYszQ K1Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20210112.gappssmtp.com header.s=20210112 header.b=Xyr8Cq0u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si10318812ejm.104.2021.09.24.13.51.30; Fri, 24 Sep 2021 13:51:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cogentembedded-com.20210112.gappssmtp.com header.s=20210112 header.b=Xyr8Cq0u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345909AbhIXNuG (ORCPT + 99 others); Fri, 24 Sep 2021 09:50:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245027AbhIXNuF (ORCPT ); Fri, 24 Sep 2021 09:50:05 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46561C061571 for ; Fri, 24 Sep 2021 06:48:32 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id b15so39719899lfe.7 for ; Fri, 24 Sep 2021 06:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NRFXtODeBa3SkSCafztgkw2bK8xqC1z8hM0PTHXmUWs=; b=Xyr8Cq0ulXVujwfhCVr4s71c0ETd4kCS2Bvmae0GAAdaUYj7QoTj1cOTuxwqA6TmdD 4P38xm1B/MRzQsHjxACFVtbmb7jJg2fxiTRX3QdZ3I1dQaiYhVjy4nMowLTVX7autNuK MGaJ+4QLoVGdHpEg5uzcxkj2VBi4OZ2fKk9yYWvzHZ9Yr9oygqDzt93/x8vSQTLiTwlX +Qe6fyDFDvcseNL3XM+U0adQDEnPeCmYrPxJlhCOhoAG9hWIlztDOcu5TkFVKfd61+Zr LG6Zuh51xL6Y1LZkGhSyilt8HFgyltmZOajeZ6jecF+E/IbQsruoqpKP3jAykoPB71D8 xDiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NRFXtODeBa3SkSCafztgkw2bK8xqC1z8hM0PTHXmUWs=; b=qjy5VuLBsD6vW/UZpYHiuXXv4x6FhLbqPSPeQA7EiWKW1jcRMeqcg0npSkRUWJPTlz 7iI9eOAfTfztjZPlM3W8cn0aexjl5pmBvojwFtQb3eXF70icl1kd38q7AygWDygPqQCk X/EaIw7AJXg82sEJ1koQAYaZL5QWjS3EPYloIOMrpkmJuXuGcngmMR9W6/XFQ/jLA3UK sYqWg2XnsVTMjZ8xNZNj5x6L9FHyotv+wggiOS+xx73oOkW6kROy3yUBy9nUqB8Ouw4P VU0hsEnMjBdH6XH0kbi0m9+kc4F9o+TiJgoidJNeVY6Y4I7G7uclyMQPd4E4X5SWT+oB 3ffQ== X-Gm-Message-State: AOAM533jTAwTVwjJyH2ZYJ6F6mKFwCtvPa1SghAqJW+YCfeTfjAcN1cf 2hDkPugCdRmKvC1uDsLW8hRTEg== X-Received: by 2002:a05:651c:206:: with SMTP id y6mr11209139ljn.98.1632491310631; Fri, 24 Sep 2021 06:48:30 -0700 (PDT) Received: from [192.168.112.17] (nikaet.starlink.ru. [94.141.168.29]) by smtp.gmail.com with ESMTPSA id r7sm761470lfc.106.2021.09.24.06.48.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Sep 2021 06:48:30 -0700 (PDT) Subject: Re: [PATCH] media: rcar-vin: add G/S_PARM ioctls To: =?UTF-8?Q?Niklas_S=c3=b6derlund?= Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Barinov References: <20210924084115.2340-1-nikita.yoush@cogentembedded.com> From: Nikita Yushchenko Message-ID: Date: Fri, 24 Sep 2021 16:48:29 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I would like to ask your use-case for this. I'm trying to make up the > courage to move Gen2 inline with Gen3, that is move Gen2 to use the > media graph interface to allow it more complex use-cases, including > controlling parameters on the subdevice level. > > So I'm curious if this solve a particular problem for you or if it's > done "just" for completeness. If it solves a real problem then I think > we should move a head with a v2 (with the small comment below fixed) if > not I would like to try and reduce the non media graph usage of the API > as much as possible. I believe parallel camera - such as ov5642 - connected to Kingfisher's parallel interface still has to be controlled over v4l operations on vin device. And, to control frame rate of such cameras [which is the usecase we have here at Cogent], the operations that this patch adds are requied. > Please use &vin->vdev instead of video_devdata(file). Preparing v2 now. Nikita