#
1.8 |
|
15-Oct-2022 |
kettenis |
Convert remaining I2C RTC drivers to use todr_attach(). These all get a quality of 1000 since these are supposed to be battery backed and almost certainly what the hardware designers want us to use.
ok mglocker@, jsg@
|
Revision tags: OPENBSD_7_2_BASE
|
#
1.7 |
|
06-Apr-2022 |
naddy |
constify struct cfattach
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.6 |
|
29-Apr-2020 |
patrick |
Enable the trickle charger after setting the control register.
|
#
1.5 |
|
29-Apr-2020 |
patrick |
Update the trickle charger diode defines based on the datasheet, and enable the trickle charger.
|
#
1.4 |
|
29-Apr-2020 |
patrick |
Writing and reading time has been broken in abcrtc(4) as well. I was being too clever trying to use the SMBus block reads/writes. Instead the registers were written with an offset: Seconds were stored in the minutes, minutes were stored in the hours. No wonder time was ticking so slowly. Removing the bogus length field and simply writing/reading the time register values is enough.
ok kettenis@
|
#
1.3 |
|
29-Apr-2020 |
patrick |
Configure abcrtc(4)'s trickle charger. This uses information from the device tree to configures the RTC to be able to charge a connected battery or capacitor.
ok kettenis@
|
#
1.2 |
|
29-Apr-2020 |
patrick |
The function to write to abcrtc(4)'s configuration registers unfortunately did not write the data to the register, but the register offset. Oops.
ok kettenis@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.1 |
|
02-Jan-2019 |
patrick |
abcrtc(4), a driver for the Abracon AB1805 RTC and similar variants.
ok kettenis@
|
#
1.7 |
|
06-Apr-2022 |
naddy |
constify struct cfattach
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.6 |
|
29-Apr-2020 |
patrick |
Enable the trickle charger after setting the control register.
|
#
1.5 |
|
29-Apr-2020 |
patrick |
Update the trickle charger diode defines based on the datasheet, and enable the trickle charger.
|
#
1.4 |
|
29-Apr-2020 |
patrick |
Writing and reading time has been broken in abcrtc(4) as well. I was being too clever trying to use the SMBus block reads/writes. Instead the registers were written with an offset: Seconds were stored in the minutes, minutes were stored in the hours. No wonder time was ticking so slowly. Removing the bogus length field and simply writing/reading the time register values is enough.
ok kettenis@
|
#
1.3 |
|
29-Apr-2020 |
patrick |
Configure abcrtc(4)'s trickle charger. This uses information from the device tree to configures the RTC to be able to charge a connected battery or capacitor.
ok kettenis@
|
#
1.2 |
|
29-Apr-2020 |
patrick |
The function to write to abcrtc(4)'s configuration registers unfortunately did not write the data to the register, but the register offset. Oops.
ok kettenis@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.1 |
|
02-Jan-2019 |
patrick |
abcrtc(4), a driver for the Abracon AB1805 RTC and similar variants.
ok kettenis@
|
#
1.6 |
|
29-Apr-2020 |
patrick |
Enable the trickle charger after setting the control register.
|
#
1.5 |
|
29-Apr-2020 |
patrick |
Update the trickle charger diode defines based on the datasheet, and enable the trickle charger.
|
#
1.4 |
|
29-Apr-2020 |
patrick |
Writing and reading time has been broken in abcrtc(4) as well. I was being too clever trying to use the SMBus block reads/writes. Instead the registers were written with an offset: Seconds were stored in the minutes, minutes were stored in the hours. No wonder time was ticking so slowly. Removing the bogus length field and simply writing/reading the time register values is enough.
ok kettenis@
|
#
1.3 |
|
29-Apr-2020 |
patrick |
Configure abcrtc(4)'s trickle charger. This uses information from the device tree to configures the RTC to be able to charge a connected battery or capacitor.
ok kettenis@
|
#
1.2 |
|
29-Apr-2020 |
patrick |
The function to write to abcrtc(4)'s configuration registers unfortunately did not write the data to the register, but the register offset. Oops.
ok kettenis@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.1 |
|
02-Jan-2019 |
patrick |
abcrtc(4), a driver for the Abracon AB1805 RTC and similar variants.
ok kettenis@
|
#
1.1 |
|
02-Jan-2019 |
patrick |
abcrtc(4), a driver for the Abracon AB1805 RTC and similar variants.
ok kettenis@
|