summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/abx80x.c
AgeCommit message (Collapse)Author
2020-04-29Enable the trickle charger after setting the control register.Patrick Wildt
2020-04-29Update the trickle charger diode defines based on the datasheet, andPatrick Wildt
enable the trickle charger.
2020-04-29Writing and reading time has been broken in abcrtc(4) as well. I wasPatrick Wildt
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@
2020-04-29Configure abcrtc(4)'s trickle charger. This uses informationPatrick Wildt
from the device tree to configures the RTC to be able to charge a connected battery or capacitor. ok kettenis@
2020-04-29The function to write to abcrtc(4)'s configuration registersPatrick Wildt
unfortunately did not write the data to the register, but the register offset. Oops. ok kettenis@
2019-01-02abcrtc(4), a driver for the Abracon AB1805 RTC and similar variants.Patrick Wildt
ok kettenis@