History log of /src/sys/dev/i2c/pcf8563.c |
Revision | | Date | Author | Comments |
1.18 |
| 08-Sep-2025 |
thorpej | Garbage-collect fdtbus_todr_attach(); todr_attach() does all the necessary work now.
kern/59630
|
1.17 |
| 07-Sep-2025 |
thorpej | 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."
|
1.16 |
| 07-Sep-2025 |
thorpej | Remove unnecessary NULL-initialization of TODR handle fields.
|
1.15 |
| 27-Jan-2021 |
thorpej | branches: 1.15.4; 1.15.14; Use DEVICE_COMPAT_EOL.
|
1.14 |
| 25-Jan-2021 |
thorpej | Since we're using designated initialisers for compat data, we should use a completely empty initializer for the sentinel.
|
1.13 |
| 17-Jan-2021 |
thorpej | Use designated initializers and a consistent termination style in compat_data[].
|
1.12 |
| 02-Jan-2020 |
thorpej | branches: 1.12.8; - No need to use I2C_F_POLL here. - Properly propagate errors up the stack.
|
1.11 |
| 26-Jun-2018 |
thorpej | branches: 1.11.2; 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.
|
1.10 |
| 18-Jun-2018 |
thorpej | - 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...)
|
1.9 |
| 16-Jun-2018 |
thorpej | 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.
|
1.8 |
| 07-Oct-2017 |
jmcneill | branches: 1.8.2; Add FDT support
|
1.7 |
| 11-Apr-2015 |
joerg | Always use polling mode for now, hummingbird doesn't work otherwise.
|
1.6 |
| 11-Jan-2015 |
jmcneill | 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
|
1.5 |
| 11-Jan-2015 |
jmcneill | initialize CS1/CS2 regs, honour century flag, return an error on read if voltage low bit is set
|
1.4 |
| 20-Nov-2014 |
christos | branches: 1.4.2; use the inline bcdtobin and bintobcd directly instead through a macro.
|
1.3 |
| 07-Jan-2012 |
phx | branches: 1.3.6; Add direct config support.
|
1.2 |
| 21-Jan-2011 |
jakllsch | branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; Per suggestion from tsutsui, convert to todr_[gs]ettime_ymdhms flavor.
|
1.1 |
| 21-Jan-2011 |
jakllsch | Add pcf8563rtc(4), yet another I2C real time clock.
|
1.2.14.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.2.10.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.2.8.2 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.2.8.1 |
| 21-Jan-2011 |
jruoho | file pcf8563.c was added on branch jruoho-x86intr on 2011-06-06 09:07:50 +0000
|
1.2.4.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.2.4.1 |
| 21-Jan-2011 |
rmind | file pcf8563.c was added on branch rmind-uvmplock on 2011-03-05 20:53:10 +0000
|
1.2.2.2 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.2.2.1 |
| 21-Jan-2011 |
bouyer | file pcf8563.c was added on branch bouyer-quota2 on 2011-02-08 16:19:48 +0000
|
1.3.6.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.4.2.2 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.4.2.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.8.2.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.8.2.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.11.2.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.12.8.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.15.14.1 |
| 09-Aug-2021 |
thorpej | Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2, which is based on a newer HEAD revision.
|
1.15.4.1 |
| 08-May-2021 |
thorpej | ia->ia_cookie -> devhandle_to_of(device_handle(self))
|