The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10.14.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (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.10.4.1 / (download) - annotate - [select for diffs], Sat May 8 16:56:10 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

ia->ia_cookie -> devhandle_to_of(device_handle(self))

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 27 02:29:48 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Branch point for: thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 25 13:30:20 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +3 -4 lines
Diff to previous 1.8 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 17 21:42:35 2021 UTC (3 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored)

Use designated initializers and a consistent termination style in
compat_data[].

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:20 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 15 02:00:21 2019 UTC (4 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

explicitly initialize sensor->state

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.4: +6 -11 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 26 06:03:57 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.5: +6 -11 lines
Diff to previous 1.5 (colored)

In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication).  So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.3: +21 -15 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 18 17:07:07 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.4: +9 -4 lines
Diff to previous 1.4 (colored)

- Rename iic_compat_match() to iic_compatible_match() and change it
  to use the new device_compatible_match() routine.  A pointer to
  the matching device_compatible_entry is returned if a match is
  found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
  direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
  simplify model selection.

(I'm coming for you next, of_compat_data...)

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 16 21:22:13 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +15 -14 lines
Diff to previous 1.3 (colored)

More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
  all of the logic for direct-config matching.  If it returns true,
  the driver returns the match result (which may be 0).  If it returns
  false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
  lower-indexed "compatible" device property are more-specific matches,
  and return a better match quality accordingly.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu Mar 22 01:44:48 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.2: +4 -8 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Synch with HEAD, resolve conflicts

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 16 22:10:31 2018 UTC (6 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322
Changes since 1.2: +4 -8 lines
Diff to previous 1.2 (colored)

get EEPROM data from uni_n instead of poking around in OF

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Mar 15 09:12:05 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.1: +259 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Synch with HEAD

Revision 1.2.2.1, Fri Mar 9 22:27:15 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +0 -259 lines
FILE REMOVED

file adadc.c was added on branch pgoyette-compat on 2018-03-15 09:12:05 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 9 22:27:15 2018 UTC (6 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.1: +28 -9 lines
Diff to previous 1.1 (colored)

remove some unused code, add comments for credits & explanations

Revision 1.1 / (download) - annotate - [select for diffs], Fri Mar 9 20:16:54 2018 UTC (6 years, 1 month ago) by macallan
Branch: MAIN

yet another temperature sensor / ADC
this one supports Analog Devices AD7417, found in some G5 macs
depends on OpenFirmware for calibration data

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>