--- - branch: MAIN date: Thu Jun 7 13:30:49 UTC 2018 files: - new: '1.61' old: '1.60' path: src/sys/dev/i2c/i2c.c pathrev: src/sys/dev/i2c/i2c.c@1.61 type: modified - new: '1.13' old: '1.12' path: src/sys/dev/i2c/i2cvar.h pathrev: src/sys/dev/i2c/i2cvar.h@1.13 type: modified id: 20180607T133049Z.b27ccc6afa35ee344f0b41928952adc1ba6eb96b log: "Changes / enhancements to i2c indirect device auto-configuration:\n\nâ\x80\x94 iic_search() chooses a â\x80\x9Cprobe strategyâ\x80\x9D based on the\n \"i2c-indirect-probe-strategyâ\x80\x9D property on the â\x80\x9Ciicâ\x80\x9D instance.\n Valid values are \"smbus-quick-writeâ\x80\x9D, \"smbus-receive-byteâ\x80\x9D, and\n â\x80\x9Cnoneâ\x80\x9D. If no value is specified, the default is \"smbus-quick-writeâ\x80\x9D.\n\nâ\x80\x94 If the \"i2c-indirect-device-whitelistâ\x80\x9D exists on the â\x80\x9Ciicâ\x80\x9D instance,\n iic_search() will first check the driver name in the cfdata_t against\n this list, and only allow the match/probe to move forward if the\n cfdata_t driver name is in the list. This is primarily to accommodate\n the Intel integrated memory controller neutered-i2c-thing.\n\nâ\x80\x94 If the cfdata_t specifies a wildcard address, each address of the i2c\n bus will be consulted. If the cfdata_t contains a nailed-down address,\n then we limit the bus scan to that specific address.\n\nâ\x80\x94 We explicitly skip reserved / special i2c addresses, such as the\n General-Call address, etc.\n\nâ\x80\x94 We introduce the notion of a â\x80\x9Cmatch qualityâ\x80\x9D for i2c drivers. \ From\n lowest-quality to highest-quality: matched by plausible address only,\n \ matched by plausible address and poking at the bus to see if the\n device looks reasonable, matched by direct-config â\x80\x9Ccompatibleâ\x80\x9D string,\n matched by direct-config â\x80\x9Cdriver nameâ\x80\x9D string.\n\nâ\x80\x94 If the â\x80\x9Cmatch qualityâ\x80\x9D is merely â\x80\x9Cplausible address onlyâ\x80\x9D, then\n iic_search() will use the probe strategy selected above to see if\n a device responds to that address.\n" module: src subject: 'CVS commit: src/sys/dev/i2c' unixtime: '1528378249' user: thorpej