summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/i2c.c
AgeCommit message (Expand)Author
2019-12-14Pull up following revision(s) (requested by mlelstev in ticket #552):martin
2019-03-26touch match_result only on success.mlelstv
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-12-09try to detach on shutdown; for now the only practical reason is to test thatjdolecek
2018-06-26Remove the i2c "size" locator and corresponding property / attach arg.thorpej
2018-06-26Change device_compatible_match() and iic_compatible_match() to returnthorpej
2018-06-22iic_use_direct_match(): when iic_compatible_match() does not find amartin
2018-06-18- Rename iic_compat_match() to iic_compatible_match() and change itthorpej
2018-06-16More cleanup to i2c autoconfiguration:thorpej
2018-06-07Changes / enhancements to i2c indirect device auto-configuration:thorpej
2018-06-07Back out unintended commits.thorpej
2018-06-07Adjust come defaults:thorpej
2018-05-15Fix a problem reported by jmcneill@ where by a system with multuple i2cthorpej
2017-12-10For direct-config devices, pass the whole dictionary to the child asbouyer
2017-10-28Kill some more extern struct cfdriver declarations.riastradh
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs
2016-07-23Use one more value from "locators.h", also make sure 'size' is initialized.jakllsch
2016-07-23Use values from "locators.h" when constructing locators array to be surejakllsch
2016-06-07Create separate modules for i2c_bitbang and bpf_filter so these filespgoyette
2015-12-13allow child devices to be passed in attach args instead of device dictionaryjmcneill
2015-12-10When loaded as a non-built-in module, make sure we attach the cdevsw.pgoyette
2015-04-13Add required dependency on i2cexecpgoyette
2015-04-04dedup code.christos
2015-04-04Free cmd on error if we allocated it.riastradh
2015-01-22More correctly handle I²C exec ioctls with both a command and write datajakllsch
2014-12-07Let kernel config override I2C_MAX_ADDRjmcneill
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2013-09-24Add a property "i2c-indirect-config" to allow/disallow i2c indirect config.jdc
2013-09-12Remove unused variablemartin
2013-08-07Allow i2c addr wildcard matching. Use with care!soren
2013-02-03Also set ia.ia_size from size when doing direct config.jdc
2012-03-14Don't try to match a device if there's already a device attached atpgoyette
2011-10-11remove spurious warning about duplicate devices when using info from MDmacallan
2011-10-03iic_ioctl_exec: if the i2c controller's "exec" function uses -1 instead ofjmcneill
2011-10-03fix build for kernels with i2c host controller drivers but no iic(4)jmcneill
2011-10-02iic_ioctl_exec: initialize cmd before using itjmcneill
2011-10-02add support for detaching iic(4)jmcneill
2011-10-02I2C_IOCTL_EXEC: only allow i2c write ops if the device was opened for writingjmcneill
2011-10-02Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.jmcneill
2011-10-02Consistent use of 'return'.mbalmer
2011-10-02Build iic(4) and gpioiic(4) as modules.mbalmer
2011-10-02ii2c can be built as module.mbalmer
2011-08-02Prevent multiple attachments at the same i2c address.pgoyette
2011-07-31add rescan supportjmcneill
2010-03-01Do initialise i2c_attach_args new members, for indirect configurationnjoly
2010-02-28Generic (device property based) framework for optional direct configurationmartin
2009-02-03Change the i2c bus scan routine to use the write_quick protocol for mostpgoyette
2008-09-29When scanning i2c bus for responding devices, skip over the multicastpgoyette
2008-09-11Provide an option I2C_SCAN to enable sanning i2c bus for responses. Thispgoyette