From: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
Marco Felsch <m.felsch@pengutronix.de>
Subject: Re: [PATCH v2 00/14] Better handle pads for tuning/decoder part of the devices
Date: Sat, 15 Sep 2018 17:34:54 -0300 [thread overview]
Message-ID: <20180915173454.203afb43@coco.lan> (raw)
In-Reply-To: <cover.1537042262.git.mchehab+samsung@kernel.org>
Em Sat, 15 Sep 2018 17:14:15 -0300
Mauro Carvalho Chehab <mchehab+samsung@kernel.org> escreveu:
> At PC consumer devices, it is very common that the bridge same driver
> to be attached to different types of tuners and demods. We need a way
> for the Kernel to properly identify what kind of signal is provided by each
> PAD, in order to properly setup the pipelines.
>
> The previous approach were to hardcode a fixed number of PADs for all
> elements of the same type. This is not good, as different devices may
> actually have a different number of pads.
>
> It was acceptable in the past, as there were a promisse of adding "soon"
> a properties API that would allow to identify the type for each PADs, but
> this was never merged (or even a patchset got submitted).
>
> So, replace this approach by another one: add a "taint" mark to pads that
> contain different types of signals.
>
> I tried to minimize the number of signals, in order to make it simpler to
> convert from the past way.
>
> For now, it is tested only with a simple grabber device. I intend to do
> more tests before merging it, but it would be interesting to have this
> merged for Kernel 4.19, as we'll now be exposing the pad index via
> the MC API version 2.
>
> --
>
> v2:
>
> - Fix some issues noticed while testing with WinTV USB2. As result
> of such tests, I opted to use just one type for all analog signals.
>
> - Added a patch to provide some info if something gets wrong while
> creating the links.
In time:
1) The patches are at:
https://git.linuxtv.org/mchehab/experimental.git/log/?h=pad-fix-4
2_ I have an experimental tree on the top of it with tvp5150 patches:
https://git.linuxtv.org/mchehab/experimental.git/log/?h=tvp5150-4
I'll likely replace the last patch there by something else.
3) Except if I get any comments, my plan is to merge the patches
at pad-fix-4 together with tvp5150-4 branch on Monday;
4) There is a series of tvp5150-related patches that I'll keep out
of the Monday's merge:
https://git.linuxtv.org/mchehab/experimental.git/log/?h=tvp5150-5
Those contain a patch series from Marco that are currently under
review, plus a reminder from me that some things are needed to be
changed after this series (the last patch is incomplete, but I intend
to wait for Marco's new patchset before working on a replacement).
Thanks,
Mauro
prev parent reply other threads:[~2018-09-16 1:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-15 20:14 [PATCH v2 00/14] Better handle pads for tuning/decoder part of the devices Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 01/14] media: v4l2: remove VBI output pad Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 02/14] media: v4l2: taint pads with the signal types for consumer devices Mauro Carvalho Chehab
2018-09-17 10:19 ` kbuild test robot
2018-09-15 20:14 ` [PATCH v2 03/14] v4l2-mc: switch it to use the new approach to setup pipelines Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 04/14] media: v4l2-mc: add print messages when media graph fails Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 05/14] media: dvb: use signals to discover pads Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 06/14] media: au0828: use signals instead of hardcoding a pad number Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 07/14] media: au8522: declare its own pads Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 08/14] media: msp3400: " Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 09/14] media: saa7115: " Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 10/14] media: tvp5150: " Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 11/14] media: si2157: " Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 12/14] media: saa7134: " Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 13/14] media: mxl111sf: " Mauro Carvalho Chehab
2018-09-15 20:14 ` [PATCH v2 14/14] media: v4l2-mc: get rid of global pad indexes Mauro Carvalho Chehab
2018-09-15 20:34 ` Mauro Carvalho Chehab [this message]
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=20180915173454.203afb43@coco.lan \
--to=mchehab+samsung@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=mchehab@infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.