From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Robert Tiemann <rtie@gmx.de>,
linux-media@vger.kernel.org,
Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: Re: Support for Si468x radio receiver
Date: Wed, 2 Oct 2024 11:53:16 +0200 [thread overview]
Message-ID: <20241002115316.416f2324@foz.lan> (raw)
In-Reply-To: <ed8c3d5f-2988-4aaf-a374-1d68805e87e5@xs4all.nl>
Em Wed, 2 Oct 2024 11:21:57 +0200
Hans Verkuil <hverkuil@xs4all.nl> escreveu:
> Hi Robert,
>
> On 10/1/24 15:35, Robert Tiemann wrote:
> > Hi!
> >
> > We'd like to use the Silicon Labs Si4688 FM/HD/DAB/DAB+ radio receiver
> > chip in a product, but there is no kernel support for it yet. We have
> > the full datasheet and Si468x Programming Guide available, so it
> > should be possible to write a driver for that chip. The kernel
> > supports the Si4768 already (which can do AM/FM/HD radio, but not
> > DAB/DAB+), so I figured it should not be to hard to get the Si4688
> > supported...
> >
> > Then I checked the kernel sources for how DAB+ radio tuners are
> > supposed to be handled by V4L2, but found nothing. Seems like V4L2 is
> > restricted to abstraction of analog radio tuners, and there is
> > currently no way to support DAB+ receivers. Is this correct or did I
> > miss something? The same seems to be true about FM HD (the
> > radio-si476x driver doesn't seem to support FM HD, only AM and FM).
> >
> > Now, my question is, how should the FM HD/DAB/DAB+ parts of a
> > hypothetical radio-si468x driver be implemented? Since DAB is quite
> > different from FM, do we need a new tuner type in addition to
> > V4L2_TUNER_RADIO? Or just new V4L2_BAND_MODULATION_FM_HD and
> > V4L2_BAND_MODULATION_DAB definitions? Or is V4L2 sufficient the way
> > it is and I am simply failing to understand how it should work?
>
> First of all, I don't think we have any drivers that support DAB(+) today
> in the mainline kernel. My limited understanding of DAB is that it is actually
> something you would implement as part of the DVB API (digital video broadcasting).
>
> I see a SYS_DAB in include/uapi/linux/dvb/frontend.h, suggesting that it is
> indeed something that should be part of dvb, but that's where my knowledge
> ends.
>
> I CCed Mauro, he is the DVB expert, and he might know more about this.
Yeah, the best is to implement DAB support using DVB API. There are some
media drivers that support both V4L2 and DVB API, but, as we don't have
currently any driver using SYS_DAB, we'll probably need to add some
properties to handle it at the DVB frontend API.
>
> Regards,
>
> Hans
Thanks,
Mauro
next prev parent reply other threads:[~2024-10-02 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-01 13:35 Support for Si468x radio receiver Robert Tiemann
2024-10-02 9:21 ` Hans Verkuil
2024-10-02 9:53 ` Mauro Carvalho Chehab [this message]
2024-10-03 21:01 ` Robert Tiemann
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=20241002115316.416f2324@foz.lan \
--to=mchehab+huawei@kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=rtie@gmx.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