aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iicbus/rtc
Commit message (Collapse)AuthorAgeFilesLines
* DS3231: converstion -> conversionBrooks Davis2024-10-221-1/+1
|
* 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
* i2c: Add Microcrystal RV3032 RTC driverEmmanuel Vadot2023-10-031-0/+455
| | | | | | | | This is a simple RTC driver for the rv3032 from Microcrystal. Just the basic functionality is implemented (no timer, alarm etc ..). Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D41995
* iicbus: Move remaining rtc driver into rtc subfolderEmmanuel Vadot2023-10-0310-0/+4204
| | | | | | | No reason that they should live directly under iicbus Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D41908
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-163-6/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-122-2/+2
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* rx8803: Improve probing logicKornel Dulęba2022-12-011-1/+13
| | | | | | | | | | Add a PNP macro in order to load this driver automatically. While here check if the device is enabled in DT before probing it. Reviewed by: wma Sponsored by: Alstom Obtained from: Semihalf Differential Revision: https://reviews.freebsd.org/D37579
* iicbus: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-063-9/+4
|
* rx8803_settime: remove write only variable busWarner Losh2022-04-051-3/+0
| | | | Sponsored by: Netflix
* pcf85063: Set RTC device to work in 24h modeHubert Mazur2021-12-171-6/+3
| | | | | | | | | | | Sometimes the device did not set default hour mode setting correctly, which lead to conversion errors. Explicitly set device to work in 24h mode by clearing flag in register, instead of allowing defaults. Reviewed by: imp Obtained from: Semihalf Sponsored by: Alstom Group Differential revision: https://reviews.freebsd.org/D33497
* pcf85063: Fix real time clockHubert Mazur2021-12-101-5/+17
| | | | | Previosuly real time clock driver always set time format to 12-hour mode. Fix this by choosing hour mode depending on HW register.
* Pcf85063: Add RTC driverHubert Mazur2021-11-241-0/+268
| | | | | | | | | | Add driver for pcf85063 real time clock. Register set and get time methods. Parse data obtained from bus according to specification and fill kernel structures. Obtained from: Semihalf Sponsored by: Alstom Group Differential revision: https://reviews.freebsd.org/D32817
* Add a driver for HYM8563 based RTC.Michal Meloun2020-12-041-0/+314
| | | | Notes: svn path=/head/; revision=368332
* Introduce support for Epson RX-8803 RTC.Marcin Wojtas2020-05-251-0/+246
This patch introduces support for Epson RX-8803 RTC controller accessible over I2C bus. It has a resolution of 1 sec. Support for interrupt based alarm was not implemented. Submitted by: Kornel Duleba <mindal@semihalf.com> Reviewed by: manu Obtained from: Semihalf Sponsored by: Alstom Group Differential Revision: https://reviews.freebsd.org/D24364 Notes: svn path=/head/; revision=361463