All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH RFC 0/2] tmp401: Add support for Texas
@ 2009-05-14  8:06 Andre Prendel
  2009-05-14  9:02 ` Hans de Goede
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Andre Prendel @ 2009-05-14  8:06 UTC (permalink / raw)
  To: lm-sensors

Hello Jean, Hans,

here is my first work at TI's 401/411 temperatur sensor. The patch(es)
aren't intented to be applied. I just want some comments and maybe
real testing by Hans.

The first patch is the original one from Hans sent to me.

The second patch contains some work of Hans' students. I've brought
it in shape. The driver now has multichip support in the usual way.

TODO:
Update Kconfig
Writing documentation

There are a few remaining questions.

1. Hans' students implemented two additional sysfs entries
(tempX_[lowest|highest]).

The TMP411 chip has some additional registers for minimum and maximum
temperatures measured since power-on and chip-reset.

AFAIK there are no standard sysfs entries for these values. I don't
remove the support so far. Should it be removed? Are there other chips
with such features?

2. There is another command to reset the chip. Is this a useful feature?

3. Indentation

What is the right way to indent arguments in function declaration?

a)
static int tmp401_probe(struct i2c_client *client,
                        const struct i2c_device_id *id)

b)
static int tmp401_probe(struct i2c_client *client,
       const struct i2c_device_id *id)

My emacs prefered the first one, but sometimes this doesn't look very
well.

4. May I add a copyright note of me in the header?

Again, thank you very much for your help. It's a pleasure to work with
you.

Thanks,
Andre

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

end of thread, other threads:[~2009-05-18 10:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14  8:06 [lm-sensors] [PATCH RFC 0/2] tmp401: Add support for Texas Andre Prendel
2009-05-14  9:02 ` Hans de Goede
2009-05-14  9:21 ` Andre Prendel
2009-05-14 11:20 ` Jean Delvare
2009-05-14 12:41 ` Andre Prendel
2009-05-18  9:37 ` Andre Prendel
2009-05-18 10:18 ` Hans de Goede
2009-05-18 10:34 ` Jean Delvare

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.