The NetBSD Project

CVS log for src/sys/dev/i2c/pcai2cmux.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / i2c

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 20 22:58:35 2022 UTC (19 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.8: +21 -6 lines
Diff to previous 1.8 (colored)

Improve error reporting.

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.8: +23 -22 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.8.4.3 / (download) - annotate - [select for diffs], Fri May 14 03:57:51 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.8.4.2: +3 -5 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

No need to device_set_handle(); it's done for us by the i2c enumeration
code.

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Sun May 9 23:26:53 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.8.4.1: +2 -3 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)

Don't include fdtvar.h directly here.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat May 8 02:44:22 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.8: +25 -21 lines
Diff to previous 1.8 (colored)

Update the i2c mux code for the new enumeration methods.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1.2.2: +71 -36 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 27 02:29:48 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 26 01:23:08 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 25 12:18:18 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.5: +53 -20 lines
Diff to previous 1.5 (colored)

Add support for ACPI-based I2C mux attachment.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 24 19:38:49 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.4: +2 -6 lines
Diff to previous 1.4 (colored)

remove part of previous that was committed by mistake

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 24 19:37:45 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.3: +7 -3 lines
Diff to previous 1.3 (colored)

trailing whitespace

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 18 15:28:21 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 17 21:56:20 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.1: +16 -16 lines
Diff to previous 1.1 (colored)

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 1.1.2.2 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:58 2021 UTC (3 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.1.2.1: +354 -0 lines
Diff to previous 1.1.2.1 (colored)

Sync w/ HEAD.

Revision 1.1.2.1, Tue Dec 29 01:47:51 2020 UTC (3 years, 2 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1: +0 -354 lines
FILE REMOVED

file pcai2cmux.c was added on branch thorpej-futex on 2021-01-03 16:34:58 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 29 01:47:51 2020 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej-futex

Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>