The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15.14.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sat May 8 16:46:43 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

ia->ia_cookie -> devhandle_to_of(device_handle(self))

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 27 02:29:48 2021 UTC (3 years, 2 months ago) by thorpej
Branch: 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, netbsd-10-base, 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
Branch point for: thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 25 13:30:20 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +3 -4 lines
Diff to previous 1.13 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 17 21:42:35 2021 UTC (3 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (colored)

Use designated initializers and a consistent termination style in
compat_data[].

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:05 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.11: +39 -35 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Merge changes from current as of 20200406

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 2 16:48:05 2020 UTC (4 years, 3 months ago) by thorpej
Branch: 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
Changes since 1.11: +39 -35 lines
Diff to previous 1.11 (colored)

- No need to use I2C_F_POLL here.
- Properly propagate errors up the stack.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.8.2.1: +7 -12 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 26 06:03:57 2018 UTC (5 years, 9 months ago) by thorpej
Branch: 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-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
Changes since 1.10: +7 -12 lines
Diff to previous 1.10 (colored)

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.8.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.8: +15 -10 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 18 17:07:07 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.9: +8 -3 lines
Diff to previous 1.9 (colored)

- 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.9 / (download) - annotate - [select for diffs], Sat Jun 16 21:22:13 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +10 -10 lines
Diff to previous 1.8 (colored)

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.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:02 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3: +62 -27 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 7 20:18:16 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: 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: pgoyette-compat
Changes since 1.7: +22 -4 lines
Diff to previous 1.7 (colored)

Add FDT support

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:07 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.2.1: +5 -5 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 11 20:05:44 2015 UTC (9 years ago) by joerg
Branch: 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, netbsd-8-base, 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
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Always use polling mode for now, hummingbird doesn't work otherwise.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:09 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.4: +30 -13 lines
Diff to previous 1.4 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 11 18:58:09 2015 UTC (9 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.5: +16 -13 lines
Diff to previous 1.5 (colored)

dont read cs1/cs2 regs when reading clock, only use polling mode when cold, invert logic for century flag (1 means 1900, 0 means 2000), set dt_wday when reading clock

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 11 18:05:36 2015 UTC (9 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.4: +18 -4 lines
Diff to previous 1.4 (colored)

initialize CS1/CS2 regs, honour century flag, return an error on read if voltage low bit is set

Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 20 16:34:26 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.3: +15 -15 lines
Diff to previous 1.3 (colored)

use the inline bcdtobin and bintobcd directly instead through a macro.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:30 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.2: +11 -5 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.14.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:13 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.2: +11 -5 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

merge to -current.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 7 21:02:15 2012 UTC (12 years, 3 months ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.2: +11 -5 lines
Diff to previous 1.2 (colored)

Add direct config support.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:50 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2.8.1: +173 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:10 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2.4.1: +173 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:48 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.2.2.1: +173 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.2.8.1, Fri Jan 21 22:42:16 2011 UTC (13 years, 3 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.2: +0 -173 lines
FILE REMOVED

file pcf8563.c was added on branch jruoho-x86intr on 2011-06-06 09:07:50 +0000

Revision 1.2.4.1, Fri Jan 21 22:42:16 2011 UTC (13 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2: +0 -173 lines
FILE REMOVED

file pcf8563.c was added on branch rmind-uvmplock on 2011-03-05 20:53:10 +0000

Revision 1.2.2.1, Fri Jan 21 22:42:16 2011 UTC (13 years, 3 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.2: +0 -173 lines
FILE REMOVED

file pcf8563.c was added on branch bouyer-quota2 on 2011-02-08 16:19:48 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 21 22:42:16 2011 UTC (13 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache, rmind-uvmplock, jruoho-x86intr, jmcneill-usbmp, bouyer-quota2
Changes since 1.1: +11 -20 lines
Diff to previous 1.1 (colored)

Per suggestion from tsutsui, convert to todr_[gs]ettime_ymdhms flavor.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 21 19:11:47 2011 UTC (13 years, 3 months ago) by jakllsch
Branch: MAIN

Add pcf8563rtc(4), yet another I2C real time clock.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>