summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
AgeCommit message (Collapse)Author
2006-01-04detect lm96000Theo de Raadt
2006-01-04split out I2C_DEBUG into I2C_VERBOSE. VERBOSE is on. Turn on DEBUG toTheo de Raadt
show more information to i2c developers. thanks.
2006-01-03Use "official" chip part names/numbers for matching.Mark Kettenis
ok deraadt@
2006-01-02Remove orphaned i2c_bitbang code, as well as i2c_bitbang and i2cexecMiod Vallat
attributes.
2006-01-02add the name sparc64 calls this thingTheo de Raadt
2006-01-01fix cut and paste error on FAN2 sysctl defDamien Miller
2006-01-01switch from macppc-specific maciic(4) driver to the generic iic(4),Theo de Raadt
after teaching it to use a function pointer to get back to the OFW scan.. this will also help the sparc64 later; ok kettenis
2005-12-31Better bounds for the lm7x register repeat test; ok deraadt@Miod Vallat
2005-12-31we do not look at the proberegs anymore, always full dumpsTheo de Raadt
2005-12-31if a register dump is going to find that all the registers are the same,Theo de Raadt
then skip it. it's some quirky piece of garbage we can never support
2005-12-31spacingTheo de Raadt
2005-12-31we think we can now probe chips correctly. only print the register dumpTheo de Raadt
if we fail to attach a driver to a chip name. this means that if we incorrectly diagnose a chip, someone will have to compile a debug kernel. i think we are ready for this, but we will see what the next week brings.
2005-12-31add lots of comments. run the xeontemp probe stuff on other architectures asTheo de Raadt
well since we are seeing some of these crummy adm1021/maxim1617 clones on other architectures. (Intel specified that there was a sensor chip with a certain register layout on their Xeon processors. That register layout is a subset of the maxim1617, ie. without ID registers. I guess they wanted to be able to change them later. But the result is that just as the industry was starting to move towards all new chips having ID registers, Intel pushed them all the other way... and now lots of vendors make chips like this without ID registers. Typical vendor power politics.)
2005-12-31reyk, touching a file I am actively hacking on without talking to me is a ↵Theo de Raadt
serious mistake
2005-12-30add i2c driver for Asus ASB100 sensors using register info from lm_sensorsDamien Miller
driver (Asus believe this chip is such critically important IP they won't release docs for it); feedback deraadt@ and kettenis@, ok kettenis@
2005-12-30knf (replace lines of c++/c99 '//' comments with #if 0)Reyk Floeter
2005-12-30Initial W83791D support for lm(4).Mark Kettenis
ok krw@
2005-12-30check for another sign that a lm75 is not thereTheo de Raadt
2005-12-29Match a few more lm(4) Winbond and ASUS chips.Mark Kettenis
2005-12-29stop using I2C_F_POLL; it is a bus driver responsibility nowTheo de Raadt
2005-12-29insanity debugged with djm -- here is the comment from the code:Theo de Raadt
+ * Some Maxim 1617 clones MAY NOT even read cmd 0xfc! When it is + * read, they will power-on-reset. Their default condition + * (control register bit 0x80) therefore will be that they assert + * /ALERT for the 5 potential errors that may occur. One of those + * errors is that the external temperature diode is missing. This + * is unfortunately a common choice of system designers, except + * suddenly now we get a /ALERT, which may on some chipsets cause + * us to receive an entirely unexpected SMI .. and then an NMI. + * + * As we probe each device, if we hit something which looks suspiciously + * like it may potentially be a 1617 or clone, we immediately set this + * variable to avoid reading that register offset.
2005-12-29static functions suckTheo de Raadt
2005-12-29"xeontemp" just means "looks like some sort of adm1021, or maxim1617,Theo de Raadt
but without any ID registers". anyways, i found some that still have two registers. instead of using "xeontemp" to mean "only look at one probe", use the existing 0x7f == short plus the ext-short bit in the status register to determine validity. otherwise, show them both.
2005-12-28probe for adm1032, a stupid stupid adm1021Theo de Raadt
2005-12-28this should also match lm86, lm89, lm90, lm99, lm89-1, lm99-1, i thinkTheo de Raadt
2005-12-28correct copyrightTheo de Raadt
2005-12-28probe true lm90, lm99, lm89, lm86 devicesTheo de Raadt
2005-12-28I think this is better fan supportTheo de Raadt
2005-12-28if many regs in a "xeontemp" appear the same, it is not oneTheo de Raadt
2005-12-28attempt at fan measurementTheo de Raadt
2005-12-28spacingTheo de Raadt
2005-12-28ad7417 much like ad7418Theo de Raadt
2005-12-28symbolic + 3Theo de Raadt
2005-12-28some chips (especially those crazy i2c/lpc/isa gross things) expose theirTheo de Raadt
banks at other addresses, but there are issues with accessing these other devices. so allow a driver to "knock" these out from future probing. tested by kettenis -- unfortunate enough to have one of these winbond pieces of poo
2005-12-28golly gee, adm1027 looks a lot like adt7460Theo de Raadt
2005-12-28first draft of an adm1026 driver, without fan code yetTheo de Raadt
2005-12-27correctly mark 0x7f temperature reading as invalidTheo de Raadt
2005-12-27mark xeon internal sensor invalid each timeTheo de Raadt
2005-12-27correct probe for ds1780 (lm87 clone)Theo de Raadt
2005-12-27better namesTheo de Raadt
2005-12-27oops, messed up "enabling run"Theo de Raadt
2005-12-27if too many of the early regs on a adm1021 are zero, it cannot be one..Theo de Raadt
2005-12-27adjust truth in adm commentTheo de Raadt
2005-12-27handle smsc 47m192 and varients, which have 3 additional sensorsTheo de Raadt
2005-12-27Don't touch ic_exec callback directly since it can be missed for someAlexander Yurchenko
controllers. Use iic_exec() instead. ok deraadt@
2005-12-273 drivers that mistakenly claim to need gpiobusTheo de Raadt
2005-12-27more paranoid checking for 47m192Theo de Raadt
2005-12-27lm(4) at iic(4)Mark Kettenis
ok grange@, deraadt@
2005-12-27avoid writing back same value; and use symbolic name for config START bitTheo de Raadt
2005-12-27adm1024 has the same interrupt clearing semantics as a lm87; tested by miodTheo de Raadt