CVS log for src/sys/dev/i2c/max77620.c
Up to [cvs.NetBSD.org] / src / sys / dev / i2c
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.11.24.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:55 2026 UTC (11 days, 14 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Sep 17 13:42:43 2025 UTC (13 months, 4 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
These drivers blindly assume that i2c_attach_args::ia_cookie is an FDT / OF
phandle. Instead, extract the phandle from self's devhandle, both eliminating
the reference to ia_cookie and providing an assertion that it is, in fact,
an FDT / OF phandle.
Revision 1.11.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.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +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.11.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.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -3
lines
ia->ia_cookie -> devhandle_to_of(device_handle(self))
Revision 1.8.8.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.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +4 -4
lines
Sync with HEAD.
Revision 1.11: 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.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Use DEVICE_COMPAT_EOL.
Revision 1.10: 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.9: preferred, colored
Changes since revision 1.9: +3 -4
lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
Revision 1.9: 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.8: preferred, colored
Changes since revision 1.8: +5 -4
lines
Use designated initializers and a consistent termination style in
compat_data[].
Revision 1.6.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.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +12 -6
lines
Merge changes from current as of 20200406
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Dec 23 19:20:18 2019 UTC (6 years, 10 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.7: preferred, colored
Changes since revision 1.7: +2 -18
lines
Actually, the local mutex is unnecesary; the i2c bus lock is held
across all register r/m/w cycles, so we can just piggy back on that.
(I misread the code previously.)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Dec 23 18:49:13 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +28 -6
lines
- No need to use I2C_F_POLL here.
- Use a local mutex to protect register read-modify-write cycles.
Revision 1.2.4.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.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +6 -12
lines
Sync with HEAD
Revision 1.6: 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
Branch point for: phil-wifi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -12
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.2.4.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.2: preferred, colored
Changes since revision 1.2: +12 -5
lines
Sync with HEAD
Revision 1.5: 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.4: preferred, colored
Changes since revision 1.4: +9 -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
Sun Jun 17 14:50:54 2018 UTC (8 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Fix compilation error pointed out by nishimura@.
Revision 1.3: 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.2: preferred, colored
Changes since revision 1.2: +6 -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.2.2.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.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +286 -0
lines
update from HEAD
Revision 1.2.2.1
Thu Sep 28 13:08:00 2017 UTC (9 years, 1 month ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -286
lines
file max77620.c was added on branch tls-maxphys on 2017-12-03 11:37:02 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Sep 28 13:08:00 2017 UTC (9 years, 1 month 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.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
Fix register write location
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Sep 22 18:12:31 2017 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
Add GPIO drivers for MAX77620 and TCA9539 as found in Jetson TX1
CVSweb <webmaster@jp.NetBSD.org>