OpenGrok
Cross Reference: i2c_subr.c
xref
: /
src
/
sys
/
dev
/
i2c
/
i2c_subr.c
Home
|
History
|
Annotate
|
Download
|
only in
i2c
History log of
/src/sys/dev/i2c/i2c_subr.c
Revision
Date
Author
Comments
1.7
23-Sep-2025
thorpej
Move iic_{acquire,release}_bus_lock() into i2c_exec.c from i2c_subr.c
to deal with MODULARization / attribute entanglements.
Fixes e.g. alpha INSTALL kernel build issue after recent i2c work.
1.6
21-Sep-2025
thorpej
...and make sure the bus # is printed in the not-not-configured case, too.
1.5
21-Sep-2025
thorpej
Fix brain-o in last commit (that'll teach me to make last minute changes).
1.4
21-Sep-2025
thorpej
iicbus_print(): report the bus number, if set in the tag.
1.3
20-Sep-2025
thorpej
Put the "acquire i2c bus lock" logic (sleep vs try) into a helper function
so it can shared.
1.2
01-Apr-2022
pgoyette
Split i2c_subr.c into a separate module rather than including it in
the iic module. There are valid configurations where i2c_subr code
can be both built-in and part of a loaded module (eg, piixpm is in
the kernel, but the iic module is loaded later). This causes the
in-kernel linker to detect a duplicate symbol.
1.1
03-Oct-2011
jmcneill
branches: 1.1.72; 1.1.82;
fix build for kernels with i2c host controller drivers but no iic(4)
driver present
1.1.82.1
09-Aug-2021
thorpej
Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.
1.1.72.2
14-May-2021
thorpej
Move the bus/channel number for multi-channel / mux controllers out of
i2cbus_attach_args and stash it in the i2c_tag_t instead. This makes it
accessible to platform device tree code when enumerating devices.
1.1.72.1
08-May-2021
thorpej
- Add an optional bus number to i2cbus_attach_args, and a corresponding
optional "bus" locator to the i2cbus interface attribute.
- Add a iicbus_print_multi() routine, which is like iicbus_print(),
but also prints the bus number.
- Use these new features in the iicmux driver rather than winging it.
Indexes created Sun Sep 28 07:09:56 GMT 2025