Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4881473ybb; Tue, 24 Mar 2020 07:04:17 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvS0T+QYVm/dKl+2IuO71dXwL3KgLiCICmfvcjbovEKftpDwNzrcyF2MlTtTL/TWinmZq6S X-Received: by 2002:a9d:644a:: with SMTP id m10mr21584227otl.207.1585058656970; Tue, 24 Mar 2020 07:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585058656; cv=none; d=google.com; s=arc-20160816; b=tBvmbpPCOkeFq47RSpRTqc78lPJdH7NSrt95Tx5BWAo+f2c9zDutRtZILhN8y8Bse5 gfIH9F1rrvx/GcNmLSXsjGCTmsieTieIq3qnjBB5RBVU6ie+dSaSpkprltCZ4NR56MG5 5IWM6TY9PWPXQcIOPOAfbXZ0NSguBbO/HkBvO49TMT7wDE8Z/ka6ogMOfaek0AdRVLRM 5mpDATP/9IuqsRb6FkXZo1M0pQxglEiwQD3KgcT6sJNf7xkNALuV1LroE7xDkXG4zql0 IrA6cbP41zrrSL6178l7tyIOgJPEcuuKS4BCeX5u5SaC5Thhb1069lFudovw2Ild2nTl LW+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=watgWjglpLJGUqB66AeJqyS7uxEYLo4XbMQo9CPXfVU=; b=U/rxrB/fTIrwmdMv4Ty423kh6YZaSk4mjpgUldYP75rH8ILC5HlC0Ts9TuQUaOvc7n JgVYso8RPKIDZkyRkXi5ceutee4JWm3PP/TfadAlBRaPT7FDg+fKB7TrcTCAhVl4b47w X5wozMcMR3lact7PY8tgmWoiQ52G58AMhDqJbOi7i/5ryTSQsS0Ef55q8lmAlgtLBCE6 iJ7R7MnBHSimVgbTDdjewsNErGmoxI+lAGN4wvvbIhk2m4M33r+91AUZafcmDT8uNqFb FOosTxoO/Cal/AwVY7SiQkP83DVSUptZXf4cK/BdDfudfcpLhejwd+iQD3pIMhvIqsbC 8LMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kw0j4nhJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t24si2192259otr.295.2020.03.24.07.03.54; Tue, 24 Mar 2020 07:04:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kw0j4nhJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727630AbgCXODE (ORCPT + 99 others); Tue, 24 Mar 2020 10:03:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:51942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726188AbgCXODE (ORCPT ); Tue, 24 Mar 2020 10:03:04 -0400 Received: from coco.lan (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B25FF205ED; Tue, 24 Mar 2020 14:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585058584; bh=nZheRtnEx8p5KPd5Sx+dBSzlY74POjtd9VyQ8pp502Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kw0j4nhJWqpbk1JdoTcnIE0HHfHnre7W0Rfcuski5nX85ulIIY2ebZYgY26zMo9sB moY9eCEscP9YWFnMqp91LKQKU63KrX2cZtsIHahGapEejvMhHuYFGOPoUi1p/m/8YZ /Jqw19sx9Kuaof5LPKzNzlJVQBIDwPASfo8+NPr4= Date: Tue, 24 Mar 2020 15:02:58 +0100 From: Mauro Carvalho Chehab To: Laurent Pinchart Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, Jonathan Corbet , Ezequiel Garcia , Hans Verkuil , Sakari Ailus , Shuah Khan , Stefan Richter , linux1394-devel@lists.sourceforge.net, Helen Koike Subject: Re: [PATCH v2 00/20] Reorganize media Kconfig Message-ID: <20200324150258.492000e4@coco.lan> In-Reply-To: <20200324135359.GA21251@pendragon.ideasonboard.com> References: <20200324135359.GA21251@pendragon.ideasonboard.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 24 Mar 2020 15:53:59 +0200 Laurent Pinchart escreveu: > Hi Mauro, > > Thank you for the patches. > > On Tue, Mar 24, 2020 at 02:42:53PM +0100, Mauro Carvalho Chehab wrote: > > This patch series do lots of reorg at the media Kconfig options. > > It also move test drivers from platform dir to a new one. > > > > After this change, the main config is organized on menus, allowing to > > select: > > > > - type of devices selection - the filtering options > > - Media core options - with API and other core stuff > > - Media core extra options > > - Media drivers > > - Media ancillary drivers > > > > The "type of devices" menu has the filtering options for: > > > > - Cameras and video grabbers > > - Analog TV > > - Digital TV > > - AM/FM radio receivers/transmitters > > - SDR > > - CEC > > - Embeded devices (SoC) > > - Test drivers > > > > This way, one interested only on embedded devices can unselect > > everything but "Embedded devices (SoC)" option. > > > > Distros for PC/Laptops can enable everything but > > "Embedded devices (SoC)" and "Test drivers". > > How about a device such as the Intel IPU3 ? It's a SoC, and is present > in laptops. Unlike the physical interface which is a fairly well defined > way to categorize devices, creating artificial classes will always leave > some devices without a home. We could have a capture card that supports > both analog and digital TV. A digital TV capture card with an HDMI input > can have a CEC device. Lots of combinations are possible. This is basically what we had before, just better organized. It is a hints based selection. So, a multi-function device like IPU3 would basically do (either directly or the menu which contains it): depends on MEDIA_EMBEDDED_SUPPORT || MEDIA_CAMERA_SUPPORT When the filter is disabled, both options tune to "y". Thanks, Mauro