From: Antti Palosaari <crope@iki.fi>
To: "Michael Krufky" <mkrufky@linuxtv.org>, ほち <knightrider@are.ma>
Cc: linux-media <linux-media@vger.kernel.org>,
Hans De Goede <hdegoede@redhat.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Sylwester Nawrocki <sylvester.nawrocki@gmail.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Peter Senna Tschudin <peter.senna@gmail.com>
Subject: Re: [PATCH] Full DVB driver package for Earthsoft PT3 (ISDB-S/T) cards
Date: Wed, 06 Nov 2013 18:13:33 +0200 [thread overview]
Message-ID: <527A6AAD.50901@iki.fi> (raw)
In-Reply-To: <CAOcJUbx96JYHaqQd3BG-p3h1M9TXjvkvffnzURBgUrWoWOk9HQ@mail.gmail.com>
On 06.11.2013 15:14, Michael Krufky wrote:
> On Tue, Nov 5, 2013 at 5:30 PM, ほち <knightrider@are.ma> wrote:
>> Michael Krufky <mkrufky <at> linuxtv.org> writes:
>>
>>> As the DVB maintainer, I am telling you that I won't merge this as a
>>> monolithic driver. The standard is to separate the driver into
>>> modules where possible, unless there is a valid reason for doing
>>> otherwise.
>>>
>>> I understand that you used the PT1 driver as a reference, but we're
>>> trying to enforce a standard of codingstyle within the kernel. I
>>> recommend looking at the other DVB drivers as well.
>>
>> OK Sir. Any good / latest examples?
>
> There are plenty of DVB drivers to look at under drivers/media/ ...
> you may notice that there are v4l and dvb device drivers together
> under this hierarchy. It's easy to tell which drivers support DVB
> when you look at the source.
>
> I could name a few specific ones, but i'd really recommend for you to
> take a look at a bunch of them. No single driver should be considered
> a 'prefect example' as they are all under constant maintenance.
>
> Also, many of these drivers are for devices that support both v4l and
> DVB interfaces. One example is the cx23885 driver. Still, please try
> to look over the entire media tree, as that would give a better idea
> of how the drivers are structured.
I will also try explain that modular chipset driver architecture what I
could :)
If you look normal digital television device there is always 3 chips,
usually those exists in physically, but some cases multiple chips are
integrated to same packet.
Those chips are:
1) bus interface (USB/PCIe/firewire "bridge")
2) demodulator
3) RF tuner (we call it usually just tuner)
There has been multiple cases where people has submitted one big driver
and afterwards some new devices appeared having same chips. It is almost
impossible to separate those drivers afterwards as you will need
original hardware and so. That has led to situation we have some
overlapping drivers.
To avoid these problems, we have specified some rules to new drivers:
RFCv2: Second draft of guidelines for submitting patches to linux-media
http://lwn.net/Articles/529490/
I search some pictures from that device to see what are used chips. Here
is blog having some pictures:
http://hidepod.blog.shinobi.jp/iyh-/%E5%98%98%E3%81%A0%EF%BC%81
What I see:
1) PCI-bridge. Custom Altera Cyclone IV FPGA. (heh, that is familiar
chip for me. I have used older Cyclone II for some digital technique
course exercises).
2) Toshiba demodulator
3) Sharp tuner module (there is some tuner chip inside, which needs driver)
So those are the parts and each one needs own driver.
regards
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2013-11-06 16:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 15:43 [PATCH] Full DVB driver package for Earthsoft PT3 (ISDB-S/T) cards буди Романто
[not found] ` <CAOcJUbxCjEWk47MkJP15QBAuGd3ePYS3ZRMduqdMCrVT362-8Q@mail.gmail.com>
2013-11-05 20:56 ` ほち
2013-11-05 21:09 ` Michael Krufky
2013-11-05 22:30 ` ほち
2013-11-06 13:14 ` Michael Krufky
2013-11-06 16:13 ` Antti Palosaari [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-11-05 16:36 буди Романто
2013-12-08 5:14 Guest
2013-12-08 22:52 ` Antti Palosaari
2013-12-19 23:14 Guest
2013-12-21 13:24 ` Mauro Carvalho Chehab
2013-12-21 16:06 ` Antti Palosaari
2014-04-02 7:44 Guest
2014-04-05 4:34 ` Akihiro TSUKADA
2014-04-10 16:06 буди Романто
2014-04-21 15:20 Буди Романто, AreMa Inc
2014-04-22 17:26 Буди Романто, AreMa Inc
2014-05-17 19:03 ` Antti Palosaari
2014-05-19 22:19 ` ほち
2014-05-19 23:23 ` Antti Palosaari
2014-05-20 23:37 Буди Романто, AreMa Inc
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=527A6AAD.50901@iki.fi \
--to=crope@iki.fi \
--cc=g.liakhovetski@gmx.de \
--cc=hdegoede@redhat.com \
--cc=hverkuil@xs4all.nl \
--cc=knightrider@are.ma \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mkrufky@linuxtv.org \
--cc=peter.senna@gmail.com \
--cc=sylvester.nawrocki@gmail.com \
/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.