[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200324150258.492000e4@coco.lan>
Date: Tue, 24 Mar 2020 15:02:58 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
linux-kernel@...r.kernel.org, Jonathan Corbet <corbet@....net>,
Ezequiel Garcia <ezequiel@...labora.com>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Shuah Khan <skhan@...uxfoundation.org>,
Stefan Richter <stefanr@...6.in-berlin.de>,
linux1394-devel@...ts.sourceforge.net,
Helen Koike <helen.koike@...labora.com>
Subject: Re: [PATCH v2 00/20] Reorganize media Kconfig
Em Tue, 24 Mar 2020 15:53:59 +0200
Laurent Pinchart <laurent.pinchart@...asonboard.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
Powered by blists - more mailing lists