All of lore.kernel.org
 help / color / mirror / Atom feed
* Temperature sensor support
@ 2005-05-19  6:25 Slade Maurer
  2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` slade
  0 siblings, 2 replies; 3+ messages in thread
From: Slade Maurer @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

We are developing a board that uses a 64-bit MIPS Linux 2.4-20 real-time 
kernel and has a MAXIM MAX1617A temp sensor hanging on a SMBbus.

We hav some code that runs as a character-ish driver for the BIOS already.

I am curious what it would we would could do to support your group to get 
your lm_sensor code running our platform soon? 

It does not look like it currently does support this (please correctly me if 
I am wrong).

Our schedule is very tight, although the driver would not be terribly 
difficult to write, so it would be wonderful to have your code base support 
it. We are thinking of a proc_fs file that shows temp stats or just a simple 
modular character driver that reads the temp when requested.

Thank you for your time!

  -Slade

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

* Temperature sensor support
  2005-05-19  6:25 Temperature sensor support Slade Maurer
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` slade
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> We are developing a board that uses a 64-bit MIPS Linux 2.4-20 real-time
> kernel and has a MAXIM MAX1617A temp sensor hanging on a SMBbus.
> 
> We hav some code that runs as a character-ish driver for the BIOS already.
> 
> I am curious what it would we would could do to support your group 
> to get your lm_sensor code running our platform soon?
> 
> It does not look like it currently does support this (please 
> correctly me if I am wrong).

The MAX1617A itself is actually supported by our "adm1021" driver for quite a
long time now (since version 2.3.0 back in April 1999).

What is probably not is the SMBus master itself. Most bus drivers we are
support chips found on x86 machines.

> Our schedule is very tight, although the driver would not be terribly
> difficult to write, so it would be wonderful to have your code base support
> it. We are thinking of a proc_fs file that shows temp stats or just 
> a simple modular character driver that reads the temp when requested.

Better stick to our model so you integrate with the existing layout and
benefit from existing userspace support.

What you need to do is to write a driver for your SMBus master chip, which
respects the model we use. If your SMBus is bit-banging driven (and then
most-likely I2C-compatible), take a look at i2c-voodoo3.c for an example (or
any bus driver including i2c-algo-bit). If your SMBus is hardware-driver (and
most probably not I2C-compatible) take a look at i2c-amd756.c instead (or any
bus driver not including i2c-algo-bit).

Once your bus driver is working, load it and run "sensors-detect", which
should scan it and find the MAX1617A on it.

-- 
Jean Delvare
http://khali.linux-fr.org/

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

* Temperature sensor support
  2005-05-19  6:25 Temperature sensor support Slade Maurer
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` slade
  1 sibling, 0 replies; 3+ messages in thread
From: slade @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> The MAX1617A itself is actually supported by our "adm1021" driver for quite a
> long time now (since version 2.3.0 back in April 1999).
> 
I saw that but I was not sure about the SMBbus which you answered below.

> What is probably not is the SMBus master itself. Most bus drivers we are
> support chips found on x86 machines.
> 
Understood. That should not be much trouble.

> Better stick to our model so you integrate with the existing layout and
> benefit from existing userspace support.
> 
That is helpful. I agree and will do.

> What you need to do is to write a driver for your SMBus master chip, which
> respects the model we use. If your SMBus is bit-banging driven (and then
> most-likely I2C-compatible), take a look at i2c-voodoo3.c for an example (or
> any bus driver including i2c-algo-bit). If your SMBus is hardware-driver (and
> most probably not I2C-compatible) take a look at i2c-amd756.c instead (or any
> bus driver not including i2c-algo-bit).
> 
Very, very helpful. Thank again.

> Once your bus driver is working, load it and run "sensors-detect", which
> should scan it and find the MAX1617A on it.
> 
Gotcha.

Thank you for getting back so quickly!!


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

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 Temperature sensor support Slade Maurer
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` slade

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.