public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL FOR 2.6.40] Anysee
@ 2011-04-13 10:12 Antti Palosaari
  0 siblings, 0 replies; 6+ messages in thread
From: Antti Palosaari @ 2011-04-13 10:12 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, linux-media

Moikka Mauro,

PULL following patches for the 2.6.40.
There is new silicon tuner driver for NXP TDA18212HN.

This basically adds support for two Anysee models:
1. E30 Combo Plus (new revision, TDA18212 tuner)
2. E7 TC



t. Antti


The following changes since commit d9954d8547181f9a6a23f835cc1413732700b785:

   Merge branch 'linus' into staging/for_v2.6.40 (2011-04-04 16:04:30 -0300)

are available in the git repository at:

   git://linuxtv.org/anttip/media_tree.git anysee

Antti Palosaari (12):
       NXP TDA18212HN silicon tuner driver
       anysee: I2C address fix
       anysee: fix multibyte I2C read
       anysee: change some messages
       anysee: reimplement demod and tuner attach
       anysee: add support for TDA18212 based E30 Combo Plus
       anysee: add support for Anysee E7 TC
       anysee: fix E30 Combo Plus TDA18212 GPIO
       anysee: fix E30 Combo Plus TDA18212 DVB-T
       anysee: enhance demod and tuner attach
       anysee: add support for two byte I2C address
       anysee: add more info about known board configs

  drivers/media/common/tuners/Kconfig         |    8 +
  drivers/media/common/tuners/Makefile        |    1 +
  drivers/media/common/tuners/tda18212.c      |  265 ++++++++++++++
  drivers/media/common/tuners/tda18212.h      |   48 +++
  drivers/media/common/tuners/tda18212_priv.h |   44 +++
  drivers/media/dvb/dvb-usb/Kconfig           |    1 +
  drivers/media/dvb/dvb-usb/anysee.c          |  519 
+++++++++++++++++++++-----
  drivers/media/dvb/dvb-usb/anysee.h          |   22 +-
  8 files changed, 806 insertions(+), 102 deletions(-)
  create mode 100644 drivers/media/common/tuners/tda18212.c
  create mode 100644 drivers/media/common/tuners/tda18212.h
  create mode 100644 drivers/media/common/tuners/tda18212_priv.h



-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL FOR 2.6.40] Anysee
@ 2011-04-29 17:05 Antti Palosaari
  2011-05-04 16:03 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 6+ messages in thread
From: Antti Palosaari @ 2011-04-29 17:05 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, linux-media

Moikka Mauro,

PULL following patches for the 2.6.40.

This basically adds support for two Anysee satellite models:
1. E30 S2 Plus
2. E7 S2


t. Antti

The following changes since commit f5bc5d1d4730bce69fbfdc8949ff50b49c70d934:

   anysee: add more info about known board configs (2011-04-13 02:17:11 
+0300)

are available in the git repository at:
   git://linuxtv.org/anttip/media_tree.git anysee

Antti Palosaari (3):
       cx24116: add config option to split firmware download
       anysee: add support for Anysee E30 S2 Plus
       anysee: add support for Anysee E7 S2

  drivers/media/dvb/dvb-usb/Kconfig     |    4 +
  drivers/media/dvb/dvb-usb/anysee.c    |  103 
+++++++++++++++++++++++++++++++++
  drivers/media/dvb/dvb-usb/anysee.h    |    1 +
  drivers/media/dvb/frontends/cx24116.c |   17 +++++-
  drivers/media/dvb/frontends/cx24116.h |    3 +
  5 files changed, 125 insertions(+), 3 deletions(-)

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL FOR 2.6.40] Anysee
  2011-04-29 17:05 [GIT PULL FOR 2.6.40] Anysee Antti Palosaari
@ 2011-05-04 16:03 ` Mauro Carvalho Chehab
  2011-05-04 20:36   ` Antti Palosaari
  2011-05-25 21:43   ` Antti Palosaari
  0 siblings, 2 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2011-05-04 16:03 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-media

Em 29-04-2011 14:05, Antti Palosaari escreveu:
> Moikka Mauro,
> 
> PULL following patches for the 2.6.40.
> 
> This basically adds support for two Anysee satellite models:
> 1. E30 S2 Plus
> 2. E7 S2
> 
> 
> t. Antti
> 
> The following changes since commit f5bc5d1d4730bce69fbfdc8949ff50b49c70d934:
> 
>   anysee: add more info about known board configs (2011-04-13 02:17:11 +0300)
> 
> are available in the git repository at:
>   git://linuxtv.org/anttip/media_tree.git anysee
> 
> Antti Palosaari (3):
>       cx24116: add config option to split firmware download
>       anysee: add support for Anysee E30 S2 Plus
>       anysee: add support for Anysee E7 S2

As I said you on irc, at cx24116, please add a logic to explicitly check if
I2C size is equal to zero. While your logic works, it is tricky, and having
a more readable code at the expense of something like:
	if (i2c_max == 0)
		i2c_max = 65535;

seems to be the right thing to do.

Thanks,
Mauro.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL FOR 2.6.40] Anysee
  2011-05-04 16:03 ` Mauro Carvalho Chehab
@ 2011-05-04 20:36   ` Antti Palosaari
  2011-05-25 21:43   ` Antti Palosaari
  1 sibling, 0 replies; 6+ messages in thread
From: Antti Palosaari @ 2011-05-04 20:36 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media, Steven Toth

Updated PULL requested!

Cc: Steven Toth as cx24116 driver author.

On 05/04/2011 07:03 PM, Mauro Carvalho Chehab wrote:
> Em 29-04-2011 14:05, Antti Palosaari escreveu:
>> Moikka Mauro,
>>
>> PULL following patches for the 2.6.40.
>>
>> This basically adds support for two Anysee satellite models:
>> 1. E30 S2 Plus
>> 2. E7 S2
>>
>>
>> t. Antti
>>
>> The following changes since commit f5bc5d1d4730bce69fbfdc8949ff50b49c70d934:
>>
>>    anysee: add more info about known board configs (2011-04-13 02:17:11 +0300)
>>
>> are available in the git repository at:
>>    git://linuxtv.org/anttip/media_tree.git anysee
>>
>> Antti Palosaari (3):
>>        cx24116: add config option to split firmware download
>>        anysee: add support for Anysee E30 S2 Plus
>>        anysee: add support for Anysee E7 S2
>
> As I said you on irc, at cx24116, please add a logic to explicitly check if
> I2C size is equal to zero. While your logic works, it is tricky, and having
> a more readable code at the expense of something like:
> 	if (i2c_max == 0)
> 		i2c_max = 65535;
>
> seems to be the right thing to do.

For some reason as I mentioned on IRC, this change increases binary size 
52 bytes, whilst functionality remains same. Feel free to select this 
new or old patch.

t. Antti

The following changes since commit f5bc5d1d4730bce69fbfdc8949ff50b49c70d934:

   anysee: add more info about known board configs (2011-04-13 02:17:11 
+0300)

are available in the git repository at:
   git://linuxtv.org/anttip/media_tree.git anysee

Antti Palosaari (4):
       cx24116: add config option to split firmware download
       anysee: add support for Anysee E30 S2 Plus
       anysee: add support for Anysee E7 S2
       cx24116: make FW DL split more readable

  drivers/media/dvb/dvb-usb/Kconfig     |    4 +
  drivers/media/dvb/dvb-usb/anysee.c    |  103 
+++++++++++++++++++++++++++++++++
  drivers/media/dvb/dvb-usb/anysee.h    |    1 +
  drivers/media/dvb/frontends/cx24116.c |   19 +++++-
  drivers/media/dvb/frontends/cx24116.h |    3 +
  5 files changed, 127 insertions(+), 3 deletions(-)


-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL FOR 2.6.40] Anysee
  2011-05-04 16:03 ` Mauro Carvalho Chehab
  2011-05-04 20:36   ` Antti Palosaari
@ 2011-05-25 21:43   ` Antti Palosaari
  2011-06-01 11:40     ` Mauro Carvalho Chehab
  1 sibling, 1 reply; 6+ messages in thread
From: Antti Palosaari @ 2011-05-25 21:43 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media

Moikka Mauro,

Two new models and some fixes.


The following changes since commit 87cf028f3aa1ed51fe29c36df548aa714dc7438f:

   [media] dm1105: GPIO handling added, I2C on GPIO added, LNB control 
through GPIO reworked (2011-05-21 11:10:28 -0300)

are available in the git repository at:
   git://linuxtv.org/anttip/media_tree.git anysee

Antti Palosaari (4):
       anysee: return EOPNOTSUPP for unsupported I2C messages
       anysee: add support for Anysee E7 PTC
       anysee: add support for Anysee E7 PS2
       anysee: style issues, comments, etc.

  drivers/media/dvb/dvb-usb/anysee.c |   86 
++++++++++++++++++++++++++----------
  drivers/media/dvb/dvb-usb/anysee.h |   16 ++++---
  2 files changed, 71 insertions(+), 31 deletions(-)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL FOR 2.6.40] Anysee
  2011-05-25 21:43   ` Antti Palosaari
@ 2011-06-01 11:40     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 6+ messages in thread
From: Mauro Carvalho Chehab @ 2011-06-01 11:40 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-media

Em 25-05-2011 18:43, Antti Palosaari escreveu:
> Moikka Mauro,
> 
> Two new models and some fixes.
> 
> 
> The following changes since commit 87cf028f3aa1ed51fe29c36df548aa714dc7438f:
> 
>   [media] dm1105: GPIO handling added, I2C on GPIO added, LNB control through GPIO reworked (2011-05-21 11:10:28 -0300)
> 
> are available in the git repository at:
>   git://linuxtv.org/anttip/media_tree.git anysee
> 
> Antti Palosaari (4):
>       anysee: return EOPNOTSUPP for unsupported I2C messages

This one is a bug fix. I'm adding it on my queue for 3.0.

A side note: you're using the stack for the I2C transfers. If the stack
buffer is used also on a URB transfer, it may fail on x86 architecture
and it will for sure fail on arm architectures, as the stack memory
is not safe for DMA transfers.

>       anysee: add support for Anysee E7 PTC
>       anysee: add support for Anysee E7 PS2
>       anysee: style issues, comments, etc.
> 
>  drivers/media/dvb/dvb-usb/anysee.c |   86 ++++++++++++++++++++++++++----------
>  drivers/media/dvb/dvb-usb/anysee.h |   16 ++++---
>  2 files changed, 71 insertions(+), 31 deletions(-)
> 

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-01 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-29 17:05 [GIT PULL FOR 2.6.40] Anysee Antti Palosaari
2011-05-04 16:03 ` Mauro Carvalho Chehab
2011-05-04 20:36   ` Antti Palosaari
2011-05-25 21:43   ` Antti Palosaari
2011-06-01 11:40     ` Mauro Carvalho Chehab
  -- strict thread matches above, loose matches on Subject: below --
2011-04-13 10:12 Antti Palosaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox