summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
AgeCommit message (Collapse)Author
2009-07-10check 4 (instead of merely 2) addr bits for probing sdtemp(4) chips; ok deraadtConstantine A. Murenin
2009-07-10fix the complement in the 2's complement patch from yesterday; ok deraadtConstantine A. Murenin
2009-07-10support onsemi's cat34ts02 and cat6095; ok deraadtConstantine A. Murenin
2009-07-10the temperature value is really a 13-bit 2's complement; ok deraadtConstantine A. Murenin
2009-07-10fix the mask for the sign bit and some comment; ok deraadtConstantine A. Murenin
2009-05-23Seems I confused Mb and MB and was in too much of a rush when IJonathan Gray
added the DDR3 bits. Take into account more of the spd data and compute DDR3 module size in a way similiar to NetBSD so it comes out correctly. Tested by Olivier Cherrier and Christian Stuermer.
2009-04-22remove a meaningless sensor.desc; ok deraadtConstantine A. Murenin
2009-03-14apologize (dlg and claudio, stop snickering)Theo de Raadt
2009-02-22Untested FB-DIMM decoding adapted from changes made to NetBSDJonathan Gray
by Paul Goyette. ok deraadt@
2009-02-19Indicate if a thermal sensor is present on ddr3 modules.Jonathan Gray
2009-02-19Move most of spdmem match logic into the driver and add crc16/ddr3Jonathan Gray
support based on changes in NetBSD by Paul Goyette with goop like bitfields/single decode function mess removed and things like module type/simpler capacity calculations added. Tested by a bunch of people in particular krw who tested a few revs of the ddr3 bits.
2009-01-26Unify error message.Mark Kettenis
ok grange@, oga@, todd@
2008-12-12Check for zero'd spd data even if we pass the checksumJonathan Gray
and don't offer a match in this case. Deals with the qemu "TODO: Populate SPD eeprom data." tested by todd@
2008-11-24remove more logically irrelevant DDR code from the SDR function; ok jsgConstantine A. Murenin
2008-11-13add support for ST's chip since documentation is now available atTheo de Raadt
http://www.st.com/stonline/products/literature/ds/13448/stts424e02.pdf as discovered by Gert-Jan Vons.
2008-11-10remove some dead code and fix a comment; llvm/clang; ok jsgConstantine A. Murenin
2008-11-10uninitialised value caused some lmenv(4) fans to never appear sometimes;Constantine A. Murenin
the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt
2008-11-03support w83627dhg at i2c (as seen on Sun Ultra 24 via dmesg@) ok deraadt@Constantine A. Murenin
2008-09-10add support for the PCA9555 device which has 16 instead of 8 pins.Reyk Floeter
ok deraadt@
2008-06-09* fix the order of precedence in the divisor bits calculationConstantine A. Murenin
* correct the constant in the fanrpm formula ok deraadt
2008-05-21Print a specific message for non i2c attachments like macppcJonathan Gray
memc, in the situation where Apple cheaps out by having no SPD on integrated RAM.
2008-05-01correct attach messagesTheo de Raadt
2008-04-23learn about the fansTheo de Raadt
2008-04-22* correct the names of the register definesConstantine A. Murenin
* describe the temperature sensors as 'Internal' / 'External' * no need for sensor description enumeration 'sure' deraadt
2008-04-22unbreak the ignore_addrs logic (the 'continue' was obviously meant to affectConstantine A. Murenin
another preceding 'for' loop); reported by krw and kettenis; better diff from millert; 'get it in' deraadt
2008-04-22handle all four temperature sensorsTheo de Raadt
2008-04-21correct negative temperatures (if they ever happen); spotted by cnstTheo de Raadt
2008-04-21improve register to temperature conversion codeTheo de Raadt
2008-04-21when iic_exec fails, return 0xff for the read value; ok jsgTheo de Raadt
2008-04-21A very very rough start at an adt7462 driverTheo de Raadt
2008-04-20two more i2c probe checks. adt has split off or been sold to ONTheo de Raadt
semi, so now even more data sheets are available at http://www.onsemi.com/PowerSolutions/parametrics.do?id=2127 so if people want to help write drivers...
2008-04-18detect adm1034Theo de Raadt
2008-04-18adm1033 has a rev register to check as wellTheo de Raadt
2008-04-18correct sizeof; palmeidaTheo de Raadt
2008-04-17make it more apparent that when we are dealing with 16 bit registersTheo de Raadt
(not a series of 8 bit registers), the bytes come off the wire in big-endian order
2008-04-17use sizeof(thing) instead of hard-coding itTheo de Raadt
2008-04-17use sizeof(thing) instead of hard-coding itTheo de Raadt
2008-04-16Use ntohs() to swap the raw i2c data to native format; tested by sthenTheo de Raadt
2008-04-15Take a shot at LM76 support (13 bit temperature, 0.065 degC per LSB) forTheo de Raadt
when we finally find one of these devices. looked at by kettenis..
2008-04-10MCP98242 temp sensor docs found..Theo de Raadt
2008-04-09Recognize and support the Microchip MCP9805 JC-42.2 sensor (we hope; I amTheo de Raadt
simply going through datasheets found on the net...)
2008-04-09support the NPX SE97 tooTheo de Raadt
2008-04-07New sensor driver for JDEC JC-42.4 standard dimm temperature sensorsTheo de Raadt
(still extremely rare devices.. so rare I had to wire up a chip myself)
2008-04-07Identify two chips which follow the JDEC JC-42.4 standard dimm temperatureTheo de Raadt
probe -- NPX SE98 and ADT 7408
2008-04-01toast unused args from a printf call; ok deraadtConstantine A. Murenin
2008-04-01match more versions of w83793g; whilst here, also ensure that the bank 0Constantine A. Murenin
registers are only tested if bank 0 is selected; 'looks ok' deraadt
2008-04-01only need 8 words to learn about i2c spd jc-42.4 sensorsTheo de Raadt
2008-03-27test the Vdd registers of Andigilog chips against the minimum voltage readings;Constantine A. Murenin
'good plan' deraadt; ok kettenis, mikeb
2008-03-23New andl(4) driver for Andigilog aSC7611 Hardware Monitor.Constantine A. Murenin
Tested in my i2c sandbox against an i2c dump from D946GZIS, a dmesg for which was kindly donated to our dmesg@. 'commit it' deraadt@
2008-03-19add probe for Andigilog aSC7611; discussed with deraadtConstantine A. Murenin