All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] What to use as prefix for TI TMP401 IC,
Date: Sun, 28 Oct 2007 12:55:45 +0000	[thread overview]
Message-ID: <472486D1.9010107@hhs.nl> (raw)
In-Reply-To: <4722FB3C.9010402@hhs.nl>

Jean Delvare wrote:
> Hi Hans,
> 
> On Sat, 27 Oct 2007 10:47:56 +0200, Hans de Goede wrote:
>> As part of the linuxdriverproject:
>> http://linuxdriverproject.org
>>
>> I'm working on a TI TMP401 driver, but what should I use as prefix:
>> ti_tmp401 or just tmp401?
> 
> Just tmp401, please.
> 

I already figured as much in the mean time (after looking at the devices page 
of the wiki), still thanks for the answer!

> Did you check first if the TMP401 was compatible with another device we
> already support? After a quick look, the register map reminds me those
> of the LM90/ADM1032 a lot. It would be worth checking that the TMP401
> device couldn't be supported by the lm90 driver by just adding the
> device and manufacturer ID...
> 

I did, its indeed like the lm90, except that the local (on chip) temp sensor 
registers all are 16 bits (split in a low and high reg) insetad of the 8 bits 
of the lm90, which esp with all the special cases already in lm90.c seems like 
enough of a divergence to me to warrant a new driver.

> Also, I suggest that you add detection for the TMP401 to sensors-detect
> right away. That's the best way to find early testers for your work.
> 

Will do.

Regards,

Hans

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

  parent reply	other threads:[~2007-10-28 12:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-27  8:47 [lm-sensors] What to use as prefix for TI TMP401 IC, Hans de Goede
2007-10-28 12:43 ` Jean Delvare
2007-10-28 12:55 ` Hans de Goede [this message]
2007-10-28 14:24 ` Hans de Goede
2007-10-28 19:20 ` Jean Delvare
2007-10-28 20:09 ` Jean Delvare
2007-11-01 19:30 ` Jean Delvare
2007-11-01 21:58 ` Hans de Goede

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=472486D1.9010107@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=lm-sensors@vger.kernel.org \
    /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.