CVS log for src/sys/dev/i2c/axp22x.c
Up to [cvs.NetBSD.org] / src / sys / dev / i2c
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.6.16.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (3 years, 11 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: +4 -4
lines
Sync with HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:29:48 2021 UTC (4 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
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,
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,
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
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 (4 years, 1 month 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 (4 years, 2 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.3.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +6 -11
lines
Sync with HEAD
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:03:57 2018 UTC (6 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
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,
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.5: preferred, colored
Changes since revision 1.5: +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.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +13 -5
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 18 17:07:07 2018 UTC (6 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +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.4: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:22:13 2018 UTC (6 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -5
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.3.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:02 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +142 -0
lines
update from HEAD
Revision 1.3.2.1
Sat Oct 7 20:31:48 2017 UTC (7 years, 5 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -142
lines
file axp22x.c was added on branch tls-maxphys on 2017-12-03 11:37:02 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Oct 7 20:31:48 2017 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
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: tls-maxphys,
pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +12 -2
lines
add direct config support
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 23 13:13:26 2014 UTC (10 years, 4 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Diff to: previous 1.1.2.2: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +4 -4
lines
Pull up following revision(s) (requested by jmcneill in ticket #255):
sys/dev/i2c/axp22x.c: revision 1.2
Change internal temperature base from -267.7C to -243.7C. The AXP223
datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C,
but this doesn't make sense for a 12-bit field. If we take the maximum value
and subtract 4095 we get -243.7C, effectively adding +24C to the reported
temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Nov 21 22:31:09 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: 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,
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,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4
lines
Change internal temperature base from -267.7C to -243.7C. The AXP223
datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C,
but this doesn't make sense for a 12-bit field. If we take the maximum value
and subtract 4095 we get -243.7C, effectively adding +24C to the reported
temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 14 10:04:40 2014 UTC (10 years, 4 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +132 -0
lines
Pull up following revision(s) (requested by skrll in ticket #230):
sys/dev/i2c/axp22x.c: revision 1.1
etc/etc.evbarm/Makefile.inc: revisions 1.65-1.66
sys/arch/evbarm/conf/HUMMINGBIRD_A31: revisions 1.1-1.15
sys/arch/evbarm/conf/HUMMINGBIRD_A31_INSTALL: revisions 1.1-1.3
sys/dev/i2c/axp22x.c: revision 1.1
sys/dev/i2c/files.i2c: revision 1.57
Add Merrii Hummingbird A31 board kernels.
Add AXP22x Power Management Unit driver.
Revision 1.1.2.1
Sun Oct 12 23:58:42 2014 UTC (10 years, 5 months ago) by martin
Branches: netbsd-7
FILE REMOVED
Changes since revision 1.1: +0 -132
lines
file axp22x.c was added on branch netbsd-7 on 2014-11-14 10:04:40 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 12 23:58:42 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Branch point for: netbsd-7
add AXP22x Power Management Unit driver
CVSweb <webmaster@jp.NetBSD.org>