CVS log for src/sys/dev/i2c/lm87.c
Up to [cvs.NetBSD.org] / src / sys / dev / i2c
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jul 2 16:28:39 2022 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
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,
HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -7
lines
s/tempurature/temperature/
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -3
lines
Sync w/ HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 13 09:46:04 2021 UTC (3 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -3
lines
iic_acquire_bus can fail.
Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +8 -8
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:29:48 2021 UTC (4 years, 2 months ago) by thorpej
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.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Use DEVICE_COMPAT_EOL.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jan 25 13:30:20 2021 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -4
lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jan 17 21:42:35 2021 UTC (4 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -8
lines
Use designated initializers and a consistent termination style in
compat_data[].
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:05 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Dec 23 14:43:03 2019 UTC (5 years, 3 months ago) by thorpej
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,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
No need to use I2C_F_POLL here.
Revision 1.7.16.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.7.16.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.16.1: +10 -15
lines
Sync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:03:57 2018 UTC (6 years, 9 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-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
Branch point for: phil-wifi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -15
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.7.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +30 -36
lines
Sync with HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 18 17:07:07 2018 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +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.8: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:22:13 2018 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +25 -36
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.4.10.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:02 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.4.10.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.10.2: +117 -37
lines
update from HEAD
Revision 1.4.12.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:09 2016 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.4.12.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.12.1: +111 -36
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 10 14:03:11 2016 UTC (9 years, 3 months ago) by jdc
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +23 -21
lines
Correct previous - external temperature 2 is read from the 2.5V register,
not the Vccp2 register.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 10 10:20:08 2016 UTC (9 years, 3 months ago) by jdc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +106 -33
lines
Add missing register definitions.
Handle LM87 external temperature 2 input, and Vcc input scaling (5V or 3.3V).
Revision 1.4.12.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:49 2015 UTC (9 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -5
lines
Sync with HEAD (as of 26th Dec)
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Sep 27 13:02:21 2015 UTC (9 years, 6 months ago) by phx
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -5
lines
Direct config: Only match via the list of compatible hardware when we have
such a list available (ia_ncompat > 0). Otherwise fall back to matching
the device name with ia_name.
Revision 1.4.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:37 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.4.10.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.10.1: +404 -0
lines
Rebase to HEAD as of a few days ago.
Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:21 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +404 -0
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +404 -0
lines
sync with head
Revision 1.4.10.1
Mon Nov 4 15:06:26 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.4: +0 -404
lines
file lm87.c was added on branch tls-maxphys on 2014-08-20 00:03:37 +0000
Revision 1.4.6.1
Mon Nov 4 15:06:26 2013 UTC (11 years, 5 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.4: +0 -404
lines
file lm87.c was added on branch yamt-pagecache on 2014-05-22 11:40:21 +0000
Revision 1.4.4.1
Mon Nov 4 15:06:26 2013 UTC (11 years, 5 months ago) by rmind
Branches: rmind-smpnet
FILE REMOVED
Changes since revision 1.4: +0 -404
lines
file lm87.c was added on branch rmind-smpnet on 2014-05-18 17:45:37 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Nov 4 15:06:26 2013 UTC (11 years, 5 months ago) by jdc
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet,
nick-nhusb
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +18 -7
lines
Add missing braces.
Fix logic error - check the data read from the chip against 0xff.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Oct 26 18:28:15 2013 UTC (11 years, 5 months ago) by jdc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4
lines
A fan reading of 0xff is also invalid (observed on AlphaServer DS20L).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Oct 18 15:16:08 2013 UTC (11 years, 6 months ago) by jdc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -3
lines
Remove extraneous printf().
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Oct 15 19:12:41 2013 UTC (11 years, 6 months ago) by jdc
Branches: MAIN
Add a driver for the LM81, LM87, and compatible iic hardware monitors
(lmenv). Ported from OpenBSD's lm87.c, revision 1.20.
CVSweb <webmaster@jp.NetBSD.org>