All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
Cc: "nibble.max" <nibble.max@gmail.com>,
	Mauro Carvalho Chehab <mchehab@redhat.com>,
	linux-media <linux-media@vger.kernel.org>
Subject: Re: [PATCH 1/6] m88ds3103, montage dvb-s/s2 demodulator driver
Date: Tue, 24 Apr 2012 00:04:45 +0300	[thread overview]
Message-ID: <4F95C3ED.8060209@iki.fi> (raw)
In-Reply-To: <CAF0Ff2nNP6WRUWcs7PqVRxhXHCmUFqqswL4757WijFaKT5P5-w@mail.gmail.com>

Hello Konstantin,

Good to heard you and finally got your reply to thread.

On 23.04.2012 22:51, Konstantin Dimitrov wrote:
> Antti, i already commented about ds3103 drivers months ago:
>
> http://www.mail-archive.com/linux-media@vger.kernel.org/msg41135.html
>
> and from my point of view nothing have changed - ds3103 chip is almost
> the same as ds3000 and the driver i made for ds3000 from scratch is
> what was used ds3103 drivers to be created. so, what you actually is
> suggesting - my driver to be removed from the kernel and driver that
> was made based on my hard work to be included and that driver author
> even refuses to acknowledge my work?!  such practices are really good
> for the open-source community, don't you think? also, we already have
> one case for example, where to satisfy someone's interests two drivers
> for the same demodulators (STV090x family of chips) were accepted in
> the kernel - i doubt anyone actually can tell why there are 2 drivers
> for STV090x in the kernel and instead the community to support the
> driver for STV090x that was made with more open-source ideas in mind,
> i.e. the one that can work with any STV090x design and which relies
> less on code copyrighted by ST - anyway, those details about STV090x
> drivers are off-topic here, but i'm still giving them as example,
> because the fact is that already once such mess was created having
> multiple drivers for the same generation of chips in the kernel and
> apparently those practices will continue if someone don't raise those
> questions out loud.
>
> also, why Montage tuner code should be spitted from the demodulator
> code? is there any evidence that any Montage tuner (ts2020 or ts2022)
> can work with 3rd party demodulator different than ds3000 or ds3103?

I don't know what is situation of these Montage chips and what are 
possible combinations. *But* there is many existing cases from the DVB-T 
I am aware. Things are done wrongly and all is implemented as a one big 
blob. After that new device is arrived and we cannot support it since 
existing drivers are not split. And it is not single case...

It may happen or it may not happen. You never known. But still it is 
nice to split drivers correctly to avoid such problems that could be 
possible in some day. And I don't even know how much those tuners and 
demods differs - I only saw that patch and it looked there was some 
differences, even so much that two tuner drivers could be good choice.

> are there such designs in real-life, e.g. either Montage demodulator
> with 3rd party tuner or actually more importantly for what you're
> suggesting Montage tuner (ts2020 or ts2022) with third party
> demodulator? it's more or less the same case as with cx24116 (and
> tda10071) demodulator, where the tuner (cx24118a) is controlled by the
> firmware and thus it's solely part of the demodulator driver, even
> that it's possible to control the cx24118a tuner that is used with
> cx24116 (and tda10071) designs directly bypassing the firmware. so,
> why we don't change in that way the cx24116 (and tda10071) drivers
> too?

CX24116 and TDA10071 (I made TDA10071) are somehow different as tuner is 
driven by demodulator firmware. There is no tuner that needs to be 
driven by driver at least for now. There is also some DVB-T devices that 
has demod and tuner which are both controlled by USB -interface firmware 
and thus no chipset driver needed - only some stuff that implements 
frontend. But for the Montage demod/tuner there is clearly both chips 
driven by the driver.

> i just don't see what's the motivation behind what you're suggesting,
> because ds3103 is almost the same as ds3000 from driver point of view
> and one driver code can be used for both and Montage tuners in
> question can work only with those demodulators (or at least are used
> in practice only with them). so, if there are any evidences that's not
> true then OK let's split them, but if not then what's the point of
> that?

I want to split those correctly as it looked splitting could clear 
driver. Also what I suspect those problems Max had were coming from the 
fact it was not split and it makes driver complex when Max added new 
tuner and demod versions.

And my opinion is still it should be split and as a original driver 
author you are correct person to split it :) But you did not replied so 
I proposed Max should do it in order to go ahead.

And I apologize I proposed removing your driver, I know having own 
driver is something like own baby. But also having own baby it means you 
should care it also.

And what goes the original conflict you linked I am not going to 
comment. I still hope you can say what should be done and review the 
code in order to get support that new demod/tuner combo.

I just want things to done correctly. One driver per one entity. Just 
keep it simple and clean to extend later.

So let it be short, is my interpretation correct if I say you want all 
these 4 chips (ds3000/ds3103/ts2020/ts2022) to be driven by single driver?

regards
Antti
-- 
http://palosaari.fi/

  reply	other threads:[~2012-04-23 21:04 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 10:38 [PATCH 1/3] m88brs2000 DVB-S frontend and tuner module Malcolm Priestley
2012-01-26 16:56 ` Mauro Carvalho Chehab
2012-01-27 22:26   ` Malcolm Priestley
2012-04-15 15:53   ` [PATCH 1/6] m88ds3103, montage dvb-s/s2 demodulator driver nibble.max
2012-04-19 18:06     ` Mauro Carvalho Chehab
2012-04-20  8:01       ` nibble.max
2012-04-19 20:08     ` Mauro Carvalho Chehab
2012-04-20  8:01     ` nibble.max
2012-04-20  9:47       ` Antti Palosaari
2012-04-20 17:24         ` Mauro Carvalho Chehab
2012-04-21  2:45         ` nibble.max
2012-04-23 16:41           ` Antti Palosaari
2012-04-23 19:51             ` Konstantin Dimitrov
2012-04-23 21:04               ` Antti Palosaari [this message]
2012-04-27 18:44                 ` Konstantin Dimitrov
2012-04-23 21:49               ` Mauro Carvalho Chehab
2012-04-27 19:01                 ` Konstantin Dimitrov
2012-04-27 19:36                   ` Mauro Carvalho Chehab
2012-04-27 20:37                     ` Konstantin Dimitrov
2012-04-27 20:40                       ` Konstantin Dimitrov
2012-04-27 20:54                         ` Antti Palosaari
2012-04-27 21:01                           ` Konstantin Dimitrov
2012-04-27 19:55                   ` Antti Palosaari
2012-04-27 20:21                     ` Konstantin Dimitrov
2012-04-27 20:42                       ` Antti Palosaari
2012-04-27 21:13                         ` Konstantin Dimitrov
2012-04-28  3:54                         ` nibble.max
2012-04-28  9:17                   ` Demod hardware pid filter implement nibble.max
2012-04-28 10:15                     ` Antti Palosaari
2012-04-24  2:45               ` Re: [PATCH 1/6] m88ds3103, montage dvb-s/s2 demodulator driver nibble.max
2012-04-26 13:03               ` nibble.max
2012-04-26 13:24                 ` Mauro Carvalho Chehab
2012-04-27  7:06                   ` [PATCH 1/6 v2] dvbsky, montage dvb-s/s2 TS202x tuner and M88DS3103 " nibble.max
2012-04-27 11:06                     ` Mauro Carvalho Chehab
2012-04-27 14:17                     ` Re: [PATCH 1/6 v2] dvbsky, montage dvb-s/s2 TS202x tuner and M88DS3103demodulator driver nibble.max
2012-04-27 14:35                       ` Mauro Carvalho Chehab
2012-04-27 18:03                         ` Konstantin Dimitrov
2012-04-27  7:06                   ` [PATCH 2/6 v2] dvbsky, dvb-s/s2 usb box nibble.max
2013-06-30  3:07                     ` Fwd: " P. van Gaans
2014-01-15 19:30                       ` Mauro Carvalho Chehab
2012-04-27  7:06                   ` [PATCH 3/6 v2] dvbsky, dvb-s/s2 PCIe card nibble.max
2012-04-27  7:07                   ` [PATCH 4/6 v2] dvbsky, dvb-s/s2 PCI card nibble.max
2012-04-27  7:07                   ` [PATCH 5/6 v2] dvbsky, remote control key map nibble.max
2012-04-27  7:07                   ` [PATCH 6/6 v2] dvbsky, remote control include header file nibble.max
2012-04-20 17:10       ` [PATCH 1/6] m88ds3103, montage dvb-s/s2 demodulator driver Mauro Carvalho Chehab
2012-04-15 15:53   ` [PATCH 2/6] m88ds3103, dvbsky dvb-s2 usb box nibble.max
2012-04-19 18:09     ` Mauro Carvalho Chehab
2012-04-20  8:08     ` nibble.max
2012-04-20 17:08       ` Mauro Carvalho Chehab
2012-04-15 15:53   ` [PATCH 3/6] m88ds3103, dvbsky dvb-s2 cx23883 pci card nibble.max
2012-04-15 15:53   ` [PATCH 4/6] m88ds3103, dvbsky dvb-s2 cx23885 pcie card nibble.max
2012-04-19 18:11     ` Mauro Carvalho Chehab
2012-04-15 15:53   ` [PATCH 5/6] m88ds3103, dvbsky remote control key map nibble.max
2012-04-19 18:16     ` Mauro Carvalho Chehab
2012-04-20  8:01       ` nibble.max
2012-04-15 15:53   ` [PATCH 6/6] m88ds3103, dvbsky remote control include header file nibble.max

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=4F95C3ED.8060209@iki.fi \
    --to=crope@iki.fi \
    --cc=kosio.dimitrov@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=nibble.max@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.