From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.167.242.64 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795210291; b=ejlpe4JjmCptKHOqbsoc8nkD1SXda155pAP/+Wk6P3XKIJeIRwstIh+B0lOQmeG3yOLS Jh9uWOx3wtDbcnw7ZRcOKcYPI4hVXZTJU9SFZMm1AgKPAkI9Uqcj5ybUr16PaNMGMxYuZ hdR94MsG66CKTXH7akLAJ+trO8YK3gP80FEBnMqrgIYrGQDC/6tjFJbkGEaDN+QsJ8TqY loaTjnu+hyjtLxhkQpiLhuDyqcdbs21qLicuI+oS8F3m1oIVYtmwT6+tvkU0Yhyzr5vfq jyR3g+8DKYWFq5BtXVrPTWXY5xyHkQQXS5dkdJMPtLDBGWIyC8tBIqC558ILw1hc1ww== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795210291; h=DMARC-Filter:Received:DKIM-Signature:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=Hre9/kYvnxV6FE+cSP1phJsMVFoDyXzQDpFxO2GUIh4=; b=Z3zHXFFT3XTIEqp3LRaabBfBp2H30mCXcJh4C5UnoAU5Q1IIR/9/RSyT2ISFOZ53fmnC 8QHjT6CV6Y0LO//yMVxXTieZIHVsmPzCZcP7TQ1tW9lfJDqrpwgaGRvd2HDtn4bhhnPpc M2wY1LDYL5TuYh0vPQizTaC45sacAvucJ231R82e8g0dN/mNkX9qLbNkTmGEC0ijAi2Xj yoHzv3yWn1C9jIKxC8ownSMqzXpyxJ+7NBghjfIwQ93mBof55ESixMaz/UnILNWrj4OJ/ 8q5lOm8sxG/F7BCkAmxHysQ8aR0gLtQd767Z8kyNU6NdLmY7Y/u5AIkWm9TEVLDRH8w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=Y7+pEitH; arc=none smtp.remote-ip=213.167.242.64 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FE82606A69B; Fri, 20 Nov 2026 21:31:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0FE82606A69B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=Y7+pEitH Received: from killaraus.ideasonboard.com (2001-14ba-7086-3000--a06.rev.dnainternet.fi [IPv6:2001:14ba:7086:3000::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6FA714E6; Fri, 20 Nov 2026 22:28:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1795210127; bh=M7Qcq8V3Jr2gLoOzs+ayK8dikX5kJkrE/bo1yp+s4tA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y7+pEitHa7rz0OLH9JT3Q9uw0F6+sdkuHT9Va5Ttw9M7zug6ogtix7wCXpSlsVxCG NHanSRRXOK5a+B19zRjoYv+jA1z9LQvpvNAX6SSyN9Yzpd/EtJGvqYv9+kyTipz/Ck xjilVepncVyQs3BTnJRFx+9YYuNn0i87hLlfnmmw= Date: Fri, 20 Nov 2026 23:31:16 +0200 From: Laurent Pinchart To: Svyatoslav Ryhel Cc: Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab , Greg Kroah-Hartman , Mikko Perttunen , Hans Verkuil , Sakari Ailus , Cong Nguyen , Faisal Mukhtar , Dan Carpenter , Hungyu Lin , Hao-Qun Huang , Yury Norov , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH v1 01/10] staging: media: tegra-video: Move driver to media/platform/nvidia Message-ID: <20261120213116.GB2472094@killaraus.ideasonboard.com> References: <20261113161819.36847-1-clamor95@gmail.com> <20261113161819.36847-2-clamor95@gmail.com> <20261120143147.GA2466366@killaraus.ideasonboard.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Nov 20, 2026 at 05:31:17PM +0200, Svyatoslav Ryhel wrote: > пт, 20 лист. 2026 р. о 16:31 Laurent Pinchart пише: > > On Fri, Nov 13, 2026 at 06:18:10PM +0200, Svyatoslav Ryhel wrote: > > > The Tegra Video Input drivers are mature and developed enough to be moved > > > from staging into the media subsystem. No other changes are introduced. > > > > The driver should at least be converted to be MC-centric before being > > moved out of staging. I haven't checked if other changes would also be > > needed. > > Does the media subsystem deny video-centric devices from even being > moved into it? I have not seen this restriction imposed; could you > please point me to where this is stated in the media subsystem > documentation? There's a consensus that devices that require control of camera sensors (i.e. "MIPI" cameras) must be MC-centric. That's not documented, we should probably fix that. > I would like to convert this device, but that may take quite some time > and may case regressions if not done carefully. This patchset apart > from moving to media is mostly fixes to work correctly with mt9m114 > and tegra114 bring-up which is quite simple and straight forward > change. Converting to the MC API will require some changes in userspace. That's why it's important to make this change before destaging the driver. > BTW, may you ack mt9m114 get_fwnode_pad change[1]. I have updated it > to your liking, Sakari seems to ignore it. > > [1] - https://lore.kernel.org/lkml/20261006153619.304520-1-clamor95@gmail.com/ In the review of v1, I wrote in my last message (https://lore.kernel.org/linux-media/20260721103845.GJ50424@killaraus.ideasonboard.com/) that the issue seems to come from a bug in the VI driver. Let's continue the discussion there. > > > Signed-off-by: Svyatoslav Ryhel > > > --- > > > drivers/media/platform/nvidia/Kconfig | 2 ++ > > > drivers/media/platform/nvidia/Makefile | 1 + > > > .../media => media/platform/nvidia}/tegra-video/Kconfig | 0 > > > .../media => media/platform/nvidia}/tegra-video/Makefile | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/TODO | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/csi.c | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/csi.h | 0 > > > .../media => media/platform/nvidia}/tegra-video/tegra20.c | 0 > > > .../media => media/platform/nvidia}/tegra-video/tegra210.c | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/vi.c | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/vi.h | 0 > > > .../media => media/platform/nvidia}/tegra-video/video.c | 0 > > > .../media => media/platform/nvidia}/tegra-video/video.h | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/vip.c | 0 > > > .../{staging/media => media/platform/nvidia}/tegra-video/vip.h | 0 > > > drivers/staging/media/Kconfig | 2 -- > > > drivers/staging/media/Makefile | 1 - > > > 17 files changed, 3 insertions(+), 3 deletions(-) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/Kconfig (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/Makefile (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/TODO (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/csi.c (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/csi.h (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/tegra20.c (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/tegra210.c (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/vi.c (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/vi.h (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/video.c (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/video.h (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/vip.c (100%) > > > rename drivers/{staging/media => media/platform/nvidia}/tegra-video/vip.h (100%) > > > > -- > > Regards, > > > > Laurent Pinchart -- Regards, Laurent Pinchart