From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Linux Doc Mailing List <linux-doc@vger.kernel.org>,
linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
Ezequiel Garcia <ezequiel@collabora.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Shuah Khan <skhan@linuxfoundation.org>,
Stefan Richter <stefanr@s5r6.in-berlin.de>,
linux1394-devel@lists.sourceforge.net,
Helen Koike <helen.koike@collabora.com>
Subject: Re: [PATCH v2 00/20] Reorganize media Kconfig
Date: Tue, 24 Mar 2020 15:02:58 +0100 [thread overview]
Message-ID: <20200324150258.492000e4@coco.lan> (raw)
In-Reply-To: <20200324135359.GA21251@pendragon.ideasonboard.com>
Em Tue, 24 Mar 2020 15:53:59 +0200
Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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
next prev parent reply other threads:[~2020-03-24 14:03 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-24 13:42 [PATCH v2 00/20] Reorganize media Kconfig Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 01/20] media: dvb-usb: auto-select CYPRESS_FIRMWARE Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 02/20] media: Kconfig: not all V4L2 platform drivers are for camera Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 03/20] media: pci: move VIDEO_PCI_SKELETON to a different Kconfig Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 04/20] media: reorganize the drivers menu options Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 05/20] media: Kconfig: update the MEDIA_SUPPORT help message Mauro Carvalho Chehab
2020-03-24 13:42 ` [PATCH v2 06/20] media: Kconfig: use a sub-menu to select supported devices Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 07/20] media: Kconfig: add an option to filter in/out the embedded drivers Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 08/20] media: split test drivers from platform directory Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 09/20] media: Kconfig: make filtering devices optional Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 10/20] media: Kconfig: move CEC-specific options to cec/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 11/20] media: Kconfig: move comment to siano include Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 12/20] media: Kconfig: move DVB-specific options to dvb-core/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 13/20] media: Kconfig: move V4L2 subdev API to v4l2-core/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 14/20] media: Kconfig: move drivers-specific TTPCI_EEPROM Kconfig var Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 15/20] media: Kconfig: move media controller core select to main Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 16/20] media: Kconfig: better organize menu items Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 17/20] media: Kconfig: mode firewire comment to firewire/Kconfig Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 18/20] media: Kconfig: place all options under a sub-menu Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 19/20] media: Kconfig: move the position of sub-driver autoselection Mauro Carvalho Chehab
2020-03-24 13:43 ` [PATCH v2 20/20] media: Kconfig: on !EMBEDDED && !EXPERT, enable driver filtering Mauro Carvalho Chehab
2020-03-24 13:53 ` [PATCH v2 00/20] Reorganize media Kconfig Laurent Pinchart
2020-03-24 14:02 ` Mauro Carvalho Chehab [this message]
2020-03-24 13:58 ` Hans Verkuil
2020-03-24 14:27 ` Mauro Carvalho Chehab
2020-04-16 9:51 ` David Hildenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200324150258.492000e4@coco.lan \
--to=mchehab+huawei@kernel.org \
--cc=corbet@lwn.net \
--cc=ezequiel@collabora.com \
--cc=helen.koike@collabora.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=sakari.ailus@linux.intel.com \
--cc=skhan@linuxfoundation.org \
--cc=stefanr@s5r6.in-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).