summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
AgeCommit message (Collapse)Author
2006-03-22Detect newer revisions of the LM81.Mark Kettenis
2006-03-19sis950 has 0x5b missing, so it looks more like an it8712f-aTheo de Raadt
2006-03-19ok, what i thought was sis950 is actually likely the it8712f-aTheo de Raadt
2006-03-18probe for it8712 and sis950 (somewhat of a clone)Theo de Raadt
2006-03-18typoBrad Smith
2006-03-12Properly scale voltage on w83l784r.Mark Kettenis
Origional patch from Constantine A. Murenin.
2006-03-12Match emc6d100 and emc6w201. Fix typo. print rev with 0x prefix.Mark Kettenis
2006-03-12Tweak comment.Mark Kettenis
2006-03-07Add a few more SMSC devices.Mark Kettenis
2006-03-07Improve adm1030/adm1031 detection.Mark Kettenis
ok deraadt@
2006-03-04Re-enable I2C_VERBOSE.Mark Kettenis
2006-03-04don't permanently disable temperature sensors when they fail a read,Damien Miller
just mark it as invalid
2006-03-04handle lm96000 (another similar chip); ok kettenis, tested by ↵Theo de Raadt
stu@spacehopper.org
2006-02-26if ipmi is on the machine: instead of (confusingly) failing in match,Theo de Raadt
bail out in attach, and also say why; ok marco
2006-02-26Don't touch i2c bus tag internals directly.Alexander Yurchenko
ok deraadt@
2006-02-25Make sure we print something for unidentified devices.Mark Kettenis
ok deraadt@
2006-02-25#undef I2C_VERBOSE; re-enable after release.Mark Kettenis
prompted by deraadt@
2006-02-17Fix another typo. From Constantine A. Murenin.Mark Kettenis
2006-02-16Fix typo's. From Constantine A. Murenin.Mark Kettenis
2006-02-08add a member to the i2c_attach args so that a controller can pass aDavid Gwynne
cookie down to the device. the most obvious use of this is to pass a device its ofw node on sparc64 and macppc so it can configure itself more appropriately. ok kettenis@ henning@ deraadt@
2006-02-08Fix lm75 check.Mark Kettenis
ok deraadt@
2006-02-04s/amd1032cloneprobe/adm1032cloneprobe/gMark Kettenis
2006-01-31fix error messageDamien Miller
2006-01-29Disable iic whenever ipmi is enabled. This fixes boxes like Sun x4200 thatMarco Peereboom
freak out when more than one device driver touch the i2c devices. Reported by: Srebrenko Sehic <ssehic at gmail dot com> ok kettenis@
2006-01-29Don't probe address 0x4f.Mark Kettenis
ok deraadt@
2006-01-28Move address checks forward. Cleanup comments.Mark Kettenis
2006-01-28Disable ds1624/ds1631/ds1721 probe.Mark Kettenis
requested by deraadt@
2006-01-28Rename lm_i2c.c to lm78_i2c.c.Mark Kettenis
requested by deraadt@
2006-01-26Fix printf.Mark Kettenis
2006-01-26Make lm at iic detach properly, and use config_detach(9) to fully detachMark Kettenis
lm at iic if we attach lm at isa for the same chip. tested by robert@, krw@
2006-01-25Prevent division by zero, and make it actually update the fan sensors.Mark Kettenis
2006-01-24Initial stab at glenv(4), a driver for the GL518SM.Mark Kettenis
2006-01-23The GL518SM is a real piece of shit, and if we don't detect it bad thingsMark Kettenis
will happen. The comment in the code has all the gory details. tested by jmc@
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly. ok kettenis@ deraadt@ dlg@
2006-01-18Fix typo; w83l785ts-l has chip ID 0x70.Mark Kettenis
2006-01-17Match "w83791sd".Mark Kettenis
2006-01-17AS99127F rev 1 doesn't have i2c address in register 0x48.Mark Kettenis
2006-01-15Commit missing bits too:Mark Kettenis
If we attach an lm(4) to isa(4) that is already attached to iic(4), disable the one attached to iic(4). idea from deraadt@
2006-01-15wbenv(4), a driver for the Winbond W83L784R/5R/5TS-L hardware monitor.Mark Kettenis
2006-01-15Fix typo.Mark Kettenis
2006-01-14Detect more Winbond chips.Mark Kettenis
"Of course!" deraadt@
2006-01-14Rename nslm7x.c into lm78.c and nslm7xvar.h into lm78var.h, and clean upMark Kettenis
lm78var.h. Now that I've completely rewritten the driver, replace copyright with my own. suggested by deraadt@
2006-01-13Put back i2c bit-banging code, we'll need it soon.Alexander Yurchenko
2006-01-13handle all 3 types of chips correctly. go into continuous mode, andTheo de Raadt
start the chips right (two kinds of start sequences). then get the temperature readings correctly, including negative temperatures. done with grange. pity the poor russian with only the lowest of the low end i2c chips
2006-01-13damn, on the ds1721 we can be sure of even fewer known bitsTheo de Raadt
2006-01-13introduce the most stupid basic scan check for the maximally braindeadTheo de Raadt
ds1631/1624/1721 chips. this will need improvement -- we MUST check for more registers that alias or don't -- because we tend to write these chips ok grange
2006-01-13ds1624 and ds1721 too, horrid horrid horrid chipsTheo de Raadt
2006-01-12attempt to probe for the ds1624; ok grangeTheo de Raadt
2006-01-11Identify Winbond chips that are in a non-zero register bank as w83781d.Mark Kettenis
Let the driver sort out the proper chip detection in that case. "I like it" deraadt@, tested by robert@
2006-01-10rewritten lm75 driver. try to cope with the lm75 and lm77 better, butTheo de Raadt
something is still odd or wrong with a ds1775 i have (which is returning absolute garbage); tested by kettenis grange