aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iicbus/rtc/ds1307.c
Commit message (Collapse)AuthorAgeFilesLines
* ds1307: Return error code instead of booleanDmitry Salychev2024-06-031-3/+3
| | | | | | | | | | It's probably a copy-paste leftover from the other functions which return a boolean value and generates annoying "CLOCK_SETTIME error 1" from subr_rtc.c on Traverse Ten64 in verbose mode. No functional changes intended. MFC after: 3 days
* ds1307(4): Fix a typo in a source code commentGordon Bergling2024-04-201-1/+1
| | | | | | - s/slighly/slightly/ MFC after: 1 week
* ds1307: use the correct Microchip part number in enum and device descriptionJosef 'Jeff' Sipek2024-03-211-7/+7
| | | | | | | | | | | During a minor refactoring two years ago (part of 2486b446), the newly created enum used the wrong part number - MCP7491x instead of MCP7941x. The device description string got the same transposition of digits. This change swaps the digits back to what they should be. Reviewed by: emaste, tsoome, imp Differential Revision: https://reviews.freebsd.org/D44436
* ds1307: restore hints-based configuration on FDT systemsAndriy Gapon2024-01-281-6/+5
| | | | | | | | | Fall-through to non-FDT probe code if no matching device node is found. While here, fix indentation of the switch statement. Also, make the device description for the hints-based attachment the same as for FDT attachment. Fixes: 2486b446db ds1307: add support for the EPSON RX-8035SA I2C RTC
* iicbus: Move remaining rtc driver into rtc subfolderEmmanuel Vadot2023-10-031-0/+583
No reason that they should live directly under iicbus Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D41908