summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
AgeCommit message (Collapse)Author
2011-03-10Add support for detecting the NXP SA56004X (we have not actuallyTheo de Raadt
seen it in the wild yet, but the detection seems easy). Few bugs spotted by kettenis. ok kettenis
2010-07-093 more JEDEC JC-42.4 sensors are the marketTheo de Raadt
2010-03-22Detect Nuvoton W83795G.Mark Kettenis
ok deraadt@
2010-03-22Split existing spdmem@i2c code into bus-agnostic spd record decoding code,Miod Vallat
and an i2c attachment. No functional change; ok jsg@ deraadt@
2009-12-28correct id for 2nd type of stts424e02; from cnstTheo de Raadt
2009-10-05match() function was leaving the i2c bus locked; ok kettenisTheo de Raadt
2009-09-13Don't try to check for ECC with fbdimm as the offset exceedsJonathan Gray
the number of bytes currently read into the sm_data array. Problem found by recent version of gcc.
2009-08-12only pull in the source file if it is needed, so that all the othersTheo de Raadt
we use compile brilliant cnst, please learn to test better
2009-08-12Mark sensor as invalid if the i2c transaction to read its value fails.Mark Kettenis
ok deraadt@
2009-08-12New lisa(4) driver for ST LIS331DL accelerometer in HP 2133 Mini-Note PC; ↵Constantine A. Murenin
ok deraadt
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