Commit Graph
9 Commits
Author SHA1 Message Date
Mark D. Studebaker 0f608515e2 (mds)
Subject:
        Uptodate i2c-keywest
   Date:
        Sun, 17 Feb 2002 21:34:44 +0100
  From:
        Benjamin Herrenschmidt <benh@kernel.crashing.org>

Here's a patch against current lmsensors CVS which updates i2c-keywest
to the latest version needed on powermac. It's already in Marcelo as
one of the 2.4.18-pre's.

You may note that the i2c "mode" isn't what it should be to match
exactly what linux-i2c expects (see explaining comment). I will have
to define new transfer types in order to work around that, but it's
ok to do that now as we use this driver only for the sound chip
for now.

Ben.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1326 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-18 00:49:50 +00:00
Philip Edelbrock f29c9bcf78 (Phil) Quick transactions seem to work now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1231 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-11 03:36:25 +00:00
Philip Edelbrock 78e47a1a1d (Phil) Minor sync with what is currently used in distrobuted 2.4.x PPC
kernels.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1217 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-11-07 01:10:02 +00:00
Philip Edelbrock 4bc8bc2b96 (Phil) A sync of the keywest driver from what the PPC people are
apparently using these days.  At least it's claimed to work partially.
Here's the info:

2001/7/14  Paul Harrison:
                - got write working sufficient to bring Tumbler audio up,
                  read still untested


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1203 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-16 21:02:48 +00:00
Mark D. Studebaker 7bd97f4667 Add MODULE_LICENSE("GPL") to all modules
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1201 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-10-13 17:48:43 +00:00
Philip Edelbrock 13b42982ff (Phil) I seem to have at least quick r/w transactions working
reliably now!  Now, trying to expand to byte read/writes...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@816 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-25 05:25:16 +00:00
Philip Edelbrock 174c4bbc9a (Phil) Finally, an almost (but not quite) working version of the driver.
It may be very close or very far from working.  At this point, scanning a
bus gives a bunch of errors, but seems to do different things around
addresses which could very well have devices, so it seems promising.
Hopefully, it's just something silly I'm missing like an 'ack'.

Pretty good for not having *any* technical documentation on the driver,
except a partially written (and maybe not even working) example code
from Apple.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@813 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-22 07:27:08 +00:00
Philip Edelbrock d802cbbf5c (Phil) Detection and attaching of i2c_adapter(s) done. Seems to work for
what there is now.  What's left is to use the registers of the keywest
to communicate with devices on the bus.  (I.e., flesh out the 'access'
routine.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@812 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-22 02:38:37 +00:00
Philip Edelbrock b8913f4be2 (Phil) Start of support for Apple's "Key West" I2C controller. As of this
commit, the module can detect and read the registers from compatible
Keywest buss(es). (Note: there may be more than one bus, as I seem to have.)

Probing is done via Apple's 'New World' Open-Firmware rather than PCI.  In
this way, this driver should work with any I2C bus (when it is completed)
which is Keywest 'compatible'.  The down side is that this module won't
work on anything but a newer Apple PPC.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@811 7894878c-1315-0410-8ee3-d5d059ff63e0
2000-05-21 23:57:11 +00:00