The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14.16.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:55 2026 UTC (11 days, 8 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -10 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 4 13:47:06 2025 UTC (13 months, 1 week ago) by martin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -3 lines
Remove (now) unused variable.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Oct 3 14:03:10 2025 UTC (13 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -7 lines
Use device_{get,set}prop_string() for sensor names.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Sep 21 13:54:56 2025 UTC (13 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -7 lines
Get the sensor descriptive information from our device properties
dictionary, rather than from a secondary dictionary passed in the
i2c_attach_args (this secondary dictionary is deprecated and going
away).

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Fri Sep 10 15:45:28 2021 UTC (5 years, 2 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +7 -4 lines
Remove unnecessary references to i2c_attach_args::ia_prop and mark the ones
that remain as XXX.

Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:23 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.1: +4 -4 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 21 03:12:54 2021 UTC (5 years, 4 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: thorpej-i2c-spi-conf2, perseant-exfatfs
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
fix proplib deprecation

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (5 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -7 lines
Sync w/ HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 15 04:41:01 2021 UTC (5 years, 5 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -7 lines
iic_acquire_bus may fail.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +7 -4 lines
Sync with HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Mar 1 04:39:45 2021 UTC (5 years, 8 months ago) by rin
Branches: MAIN
CVS tags: thorpej-futex-base, 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-conf
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Use dstemp(4) as entropy source.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 30 17:37:25 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2 lines
Add the standard compat string from the Device Tree bindings.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 30 01:22:06 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
If we're going to keep a reference on the "props" dictionary from
the i2c_attach_args, we should retain it.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:29:48 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Use DEVICE_COMPAT_EOL.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 25 13:30:20 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -4 lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 17 21:42:35 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -4 lines
Use designated initializers and a consistent termination style in
compat_data[].

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Aug 21 21:28:22 2020 UTC (6 years, 2 months ago) by macallan
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +16 -22 lines
more OF -> properties for sensor names, this should be the last one

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:05 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +45 -4 lines
Merge changes from current as of 20200406

Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:08 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +45 -4 lines
Sync with head.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Feb 28 13:18:25 2020 UTC (6 years, 8 months ago) by macallan
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +45 -4 lines
- document the config register
- do some setup and send a start command
- mark the sensor as invalid if readings are out of range
now this works properly on my PCI-X G5

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +6 -11 lines
Sync with HEAD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:03:57 2018 UTC (8 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20191119, 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, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -11 lines
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.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +15 -10 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 18 17:07:07 2018 UTC (8 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -3 lines
- 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.2: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:22:13 2018 UTC (8 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +10 -10 lines
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.1: download - view: text, markup, annotated - select for diffs
Thu Feb 1 21:44:17 2018 UTC (8 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
add driver for Maxim DS1631 High-Precision Digital Thermometer and Thermostat
temperature reading only for now

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>