History log of /netbsd-current/sys/dev/i2c/pcai2cmux.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.9 20-Jul-2022 thorpej

Improve error reporting.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 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.8 27-Jan-2021 thorpej

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.


Revision tags: thorpej-futex-base
# 1.1 29-Dec-2020 thorpej

branches: 1.1.2;
Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.


# 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.


Revision tags: thorpej-futex-base
# 1.1 29-Dec-2020 thorpej

branches: 1.1.2;
Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.


# 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.


Revision tags: thorpej-futex-base
# 1.1 29-Dec-2020 thorpej

branches: 1.1.2;
Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.


# 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.


Revision tags: thorpej-futex-base
# 1.1 29-Dec-2020 thorpej

branches: 1.1.2;
Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.


# 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.


Revision tags: thorpej-futex-base
# 1.1 29-Dec-2020 thorpej

branches: 1.1.2;
Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.