Linux Media Controller development
 help / color / mirror / Atom feed
* [GIT PATCHES for 2.6.38] Zilog Z8 IR unit fixes
@ 2011-01-16 19:20 Andy Walls
  2011-01-17  3:29 ` Andy Walls
  2011-01-19 14:59 ` Jean Delvare
  0 siblings, 2 replies; 30+ messages in thread
From: Andy Walls @ 2011-01-16 19:20 UTC (permalink / raw)
  To: linux-media
  Cc: Mike Isely, Jarod Wilson, Jean Delvare, Janne Grunau,
	Jarod Wilson, Mauro Carvalho Chehab

Mauro,

Please pull the one ir-kbd-i2c change and multiple lirc_zilog changes
for 2.6.38.

The one ir-kbd-i2c change is to put back a case to have ir-kbd-i2c set
defaults for I2C client address 0x71.  I know I was the one who
recommend that ir-kbd-i2c not do this, but I discovered pvrusb2 and bttv
rely on it for the moment - Mea culpa.

The lirc_zilog changes are tested to work with both Tx and Rx with an
HVR-1600.  I don't want to continue much further on lirc_zilog changes,
unitl a few things happen:

1. I have developed, and have had tested, a patch for the pvrusb2 driver
to allow the in kernel lirc_zilog to bind to a Z8 on a pvrusb2 supported
device.

2. Jarrod finishes his changes related to the Z8 chip for hdpvr and they
are pulled into media_tree.git branch.

3. I hear from Jean, or whomever really cares about ir-kbd-i2c, if
adding some new fields for struct IR_i2c_init_data is acceptable.
Specifically, I'd like to add a transceiver_lock mutex, a transceiver
reset callback, and a data pointer for that reset callback.
(Only lirc_zilog would use the reset callback and data pointer.)

4. I find spare time ever again.

Anyway, here's the patchset reference...


The following changes since commit 0a97a683049d83deaf636d18316358065417d87b:

  [media] cpia2: convert .ioctl to .unlocked_ioctl (2011-01-06 11:34:41 -0200)

are available in the git repository at:
  ssh://linuxtv.org/git/awalls/media_tree.git z8

Andy Walls (11):
      lirc_zilog: Reword debug message in ir_probe()
      lirc_zilog: Remove disable_tx module parameter
      lirc_zilog: Split struct IR into structs IR, IR_tx, and IR_rx
      lirc_zilog: Don't make private copies of i2c clients
      lirc_zilog: Extensive rework of ir_probe()/ir_remove()
      lirc_zilog: Update IR Rx polling kthread start/stop and some printks
      lirc_zilog: Remove unneeded tests for existence of the IR Tx function
      lirc_zilog: Remove useless struct i2c_driver.command function
      lirc_zilog: Add Andy Walls to copyright notice and authors list
      lirc_zilog: Update TODO.lirc_zilog
      ir-kbd-i2c: Add back defaults setting for Zilog Z8's at addr 0x71

 drivers/media/video/ir-kbd-i2c.c     |    6 +
 drivers/staging/lirc/TODO.lirc_zilog |   36 ++-
 drivers/staging/lirc/lirc_zilog.c    |  650 ++++++++++++++++++----------------
 3 files changed, 389 insertions(+), 303 deletions(-)


Regards,
Andy


^ permalink raw reply	[flat|nested] 30+ messages in thread
* Re: [GIT PATCHES for 2.6.38] Zilog Z8 IR unit fixes
@ 2011-01-19 16:46 Andy Walls
  0 siblings, 0 replies; 30+ messages in thread
From: Andy Walls @ 2011-01-19 16:46 UTC (permalink / raw)
  To: Mike Isely, Jean Delvare
  Cc: linux-media, Jarod Wilson, Janne Grunau, Jarod Wilson,
	Mauro Carvalho Chehab

Jean,

As Mike noted, "transceiver" is a contraction of "transmitter-receiver".  But I wouldn't blame English speakers in general for that, just English speaking engineers. ;)

English speaking engineers (likely) also orignated use of the "x" as shorthand for "trans-" and "crys-".

"Transceiver_lock" was intended to mean a lock protecting access to both portions of a chip: tx and rx.

I'm still mulling it all over though.  Some change will be made to IR_i2c_init_data. I found I need some more time to design exactly what I need.

Regards,
Andy

Mike Isely <isely@isely.net> wrote:

>On Wed, 19 Jan 2011, Jean Delvare wrote:
>
>> Hi Andy,
>> 
>> On Sun, 16 Jan 2011 14:20:49 -0500, Andy Walls wrote:
>> > 3. I hear from Jean, or whomever really cares about ir-kbd-i2c, if
>> > adding some new fields for struct IR_i2c_init_data is acceptable.
>> > Specifically, I'd like to add a transceiver_lock mutex, a transceiver
>> > reset callback, and a data pointer for that reset callback.
>> > (Only lirc_zilog would use the reset callback and data pointer.)
>> 
>> Adding fields to these structures is perfectly fine, if you need to do
>> that, just go on.
>> 
>> But I'm a little confused about the names you chose,
>> "ir_transceiver_lock" and "transceiver_lock". These seem too
>> TX-oriented for a mutex that is supposed to synchronize TX and RX
>> access. It's particularly surprising for the ir-kbd-i2c driver, which
>> as far as I know only supports RX. The name "xcvr_lock" you used for
>> lirc_zilog seems more appropriate.
>
>Actually the term "transceiver" is normally understood to mean both 
>directions.  Otherwise it would be "receiver" or "transmitter".  
>Another screwy as aspect of english, and I say this as a native english 
>speaker.  The term "xcvr" is usually just considered to be shorthand for 
>"transceiver".
>
>  -Mike
>
>
>-- 
>
>Mike Isely
>isely @ isely (dot) net
>PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
>--
>To unsubscribe from this list: send the line "unsubscribe linux-media" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-01-21  3:58 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-16 19:20 [GIT PATCHES for 2.6.38] Zilog Z8 IR unit fixes Andy Walls
2011-01-17  3:29 ` Andy Walls
2011-01-19  5:20   ` Jarod Wilson
2011-01-19 12:21     ` Andy Walls
2011-01-19 12:40       ` Jean Delvare
2011-01-19 13:24         ` Andy Walls
2011-01-19 13:28           ` Mike Isely
2011-01-19 13:20       ` Mike Isely
2011-01-19 13:38         ` Andy Walls
2011-01-19 13:50           ` Jean Delvare
2011-01-19 17:12             ` Jarod Wilson
2011-01-19 17:39               ` Jarod Wilson
2011-01-19 17:43               ` Jean Delvare
2011-01-19 20:08                 ` Jarod Wilson
2011-01-20  4:45                   ` Jarod Wilson
2011-01-20  4:52                     ` Jarod Wilson
2011-01-20 13:22                     ` Andy Walls
2011-01-20 21:49                       ` Jarod Wilson
2011-01-21  1:10                         ` Andy Walls
2011-01-21  3:58                           ` Jarod Wilson
2011-01-19 14:17           ` Mike Isely
2011-01-19 16:42         ` Jarod Wilson
2011-01-19 16:57           ` Mike Isely
2011-01-19 17:07             ` Jarod Wilson
2011-01-19 16:08       ` Jarod Wilson
2011-01-19 16:10         ` Devin Heitmueller
2011-01-19 14:59 ` Jean Delvare
2011-01-19 15:09   ` Mike Isely
2011-01-19 15:18     ` Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2011-01-19 16:46 Andy Walls

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