OpenGrok
Cross Reference: pcai2cmux.c
xref
: /
src
/
sys
/
dev
/
i2c
/
pcai2cmux.c
Home
|
History
|
Annotate
|
Download
|
only in
i2c
History log of
/src/sys/dev/i2c/pcai2cmux.c
Revision
Date
Author
Comments
1.11
17-Sep-2025
thorpej
Don't consult i2c_attach_args::ia_cookietype or ia_cookie when looking
for an FDT / OF phandle; get the information from self's devhandle.
1.10
16-Sep-2025
thorpej
Now that the common I2C code hides many of the FDT vs ACPI differences,
perform the reductions currently possible in the I2C mux layer. Note
some additional enhancements necessary for further reductions.
1.9
20-Jul-2022
thorpej
Improve error reporting.
1.8
27-Jan-2021
thorpej
branches: 1.8.4; 1.8.14;
Use DEVICE_COMPAT_EOL.
1.7
26-Jan-2021
thorpej
Don't map ACPI _HID / _CID strings to "compatible" strings from the
Device Tree bindings. Just pass those strings in the standard
most-specific-to-least-specific order to the drivers and let them
deal.
1.6
25-Jan-2021
jmcneill
Add support for ACPI-based I2C mux attachment.
1.5
24-Jan-2021
jmcneill
remove part of previous that was committed by mistake
1.4
24-Jan-2021
jmcneill
trailing whitespace
1.3
18-Jan-2021
thorpej
Change the device_compatible_match() function to only perform the match.
Introduce a device_compatible_lookup() function to return an entry based
on the same matching criteria (a'la of_search_compatible()).
Update iic_compatible_match() to reflect the above change, and introduce
iic_compatible_lookup(). This pattern is less awkward to use.
1.2
17-Jan-2021
thorpej
Change the device_compatible_entry struct to have a union of
a scalar value (uintptr_t value) and a pointer value (const void *data),
rather than just "uintptr_t data". This eliminates the need for drivers
to cast this value, and doesn't lose const'ness of pointers assigned
to the field.
Update all of the users of this field to use the correct set of
designated initialisers for each specific case.
1.1
29-Dec-2020
thorpej
branches: 1.1.2;
Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.
1.1.2.3
03-Apr-2021
thorpej
Sync with HEAD.
1.1.2.2
03-Jan-2021
thorpej
Sync w/ HEAD.
1.1.2.1
29-Dec-2020
thorpej
file pcai2cmux.c was added on branch thorpej-futex on 2021-01-03 16:34:58 +0000
1.8.14.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.8.4.3
14-May-2021
thorpej
No need to device_set_handle(); it's done for us by the i2c enumeration
code.
1.8.4.2
09-May-2021
thorpej
Don't include fdtvar.h directly here.
1.8.4.1
08-May-2021
thorpej
Update the i2c mux code for the new enumeration methods.
Indexes created Sun Oct 12 09:09:55 GMT 2025