linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "barry.fisher" <barry.fisher@seranoa.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Device Driver for lm75 on 8260
Date: Mon, 04 Feb 2002 17:51:45 +0100	[thread overview]
Message-ID: <20020204165150.62486116B4@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 04 Feb 2002 10:17:47 EST." <000901c1ad8f$1a7fdb80$7d0110ac@Seranoa.com>


In message <000901c1ad8f$1a7fdb80$7d0110ac@Seranoa.com> you wrote:
>
>  Does anyone know where I can get some code(or sample code) for a Linux
>  device driver on an 8260 which gets temperature data from an lm75 via
>  i2c. Any help is appreciated! Thanks in advance.

We have generic I2C support for the 8260 (drivers/i2c/i2c-algo-8260.c)
in our version of the Linux kernel, and drivers for instance for  the
MicroSys PM826 ("Miriac") module, too (drivers/i2c/i2c-pm826.c).

See ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2002-01-19.tar.bz2

Reading the LM sensor is then just a minor excercise..

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"If a computer can't directly address all the RAM you can  use,  it's
just a toy."         - anonymous comp.sys.amiga posting, non-sequitir

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2002-02-04 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-04 15:17 Device Driver for lm75 on 8260 barry.fisher
2002-02-04 16:51 ` Wolfgang Denk [this message]

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=20020204165150.62486116B4@denx.denx.de \
    --to=wd@denx.de \
    --cc=barry.fisher@seranoa.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).