zephyr/drivers/counter/Kconfig.maxim_ds3231
Peter A. Bigot e444274e95 drivers: counter: add Maxim DS3231 support
The DS3231 is an I2C real-time clock with internal temperature
compensated oscillator, maintaining civil time to 1 s precision with
nominal 2 ppm accuracy from 0-40 Cel.

The basic functionality is exposed as a counter that is always running
at 1 Hz.  Much more functionality is exposed as driver-specific API,
including the ability to translate between the time scale of the DS3231
and the time scale of the Zephyr uptime clock.  This allows correlation
of events in the system clock to UTC, TAI, or whatever time scale is
used to maintain the DS3231.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2020-05-07 19:45:06 +02:00

19 lines
404 B
Plaintext

# Copyright (c) 2019 Peter Bigot Consulting, LLC
#
# SPDX-License-Identifier: Apache-2.0
#
config COUNTER_MAXIM_DS3231
bool "Maxim DS3231 RTC/TCXO"
select I2C
select POLL
help
Enable counter driver based on Maxim DS3231 I2C device.
config COUNTER_MAXIM_DS3231_INIT_PRIORITY
int "Init priority"
depends on COUNTER_MAXIM_DS3231
default 65
help
DS3231 device driver initialization priority.