CVS log for src/sys/dev/i2c/ac100.c
Up to [cvs.NetBSD.org] / src / sys / dev / i2c
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.7.24.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:54 2026 UTC (11 days, 14 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +49 -14
lines
Sync with HEAD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Sep 17 13:49:13 2025 UTC (13 months, 4 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -3
lines
These drivers conditionally support FDT (with an #ifdef). Rather than
blindly assume that i2c_attach_args::ia_cookie is an FDT phandle, consult
self's devhandle and, if the type is DEVHANDLE_TYPE_OF, exctract the phandle
from there.
XXX These drivers should probably become FDT-only (like many others already
are) because the functionality is questionable without information from the
device tree.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Sep 8 13:06:16 2025 UTC (14 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -4
lines
Garbage-collect fdtbus_todr_attach(); todr_attach() does all the
necessary work now.
kern/59630
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Sep 7 21:45:15 2025 UTC (14 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -7
lines
Change todr_chip_handle::cookie -> todr_chip_handle::todr_dev, and
make it a device_t. Upcoming functional changes will require the
device_t associated with a TODR device.
Change todr_chip_handle::bus_cookie -> todr_chip_handle::todr_devaux.
Nothing was using the old field, but I decided to keep it around just
in cause something needs it in the future.
And with these largely mechanical yet semantically meaningful changes,
thus spake the Oracle: "Welcome to NetBSD 11.99.2."
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Sep 7 03:53:37 2025 UTC (14 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +49 -14
lines
Attach the AC100 RTC as a separate child device node.
XXX This driver doesn't really work without FDT.
Revision 1.7.14.1: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:30:09 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3
lines
Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sat May 8 16:46:43 2021 UTC (5 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3
lines
ia->ia_cookie -> devhandle_to_of(device_handle(self))
Revision 1.4.10.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.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -4
lines
Sync with HEAD.
Revision 1.7: 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
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,
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,
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
Branch point for: thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf,
perseant-exfatfs
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
Use DEVICE_COMPAT_EOL.
Revision 1.6: 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.5: preferred, colored
Changes since revision 1.5: +3 -4
lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
Revision 1.5: 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.4: preferred, colored
Changes since revision 1.4: +5 -4
lines
Use designated initializers and a consistent termination style in
compat_data[].
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:20 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +4 -6
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 27 16:02:27 2019 UTC (7 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
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,
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.3: preferred, colored
Changes since revision 1.3: +4 -6
lines
No need to check cold to add I2C_F_POLL; the i2c API does it for us now.
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:09 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +30 -3
lines
Sync with HEAD
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon May 27 21:11:13 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +30 -3
lines
FDT-ize AC100 driver
Revision 1.1.20.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
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -3
lines
Sync with HEAD
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
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
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.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:02 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.1.18.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.18.1: +197 -0
lines
update from HEAD
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:09 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
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: +197 -0
lines
Sync with HEAD
Revision 1.1.18.1
Sun Dec 7 14:24:11 2014 UTC (11 years, 11 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.1: +0 -197
lines
file ac100.c was added on branch tls-maxphys on 2017-12-03 11:37:02 +0000
Revision 1.1.2.1
Sun Dec 7 14:24:11 2014 UTC (11 years, 11 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.1: +0 -197
lines
file ac100.c was added on branch nick-nhusb on 2015-04-06 15:18:09 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Dec 7 14:24:11 2014 UTC (11 years, 11 months ago) by jmcneill
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,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
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: tls-maxphys,
pgoyette-compat,
nick-nhusb
Add driver for X-Powers AC100 integrated audio codec and RTC subsystem.
Only RTC functionality implemented for now.
CVSweb <webmaster@jp.NetBSD.org>