165963c115
Refactors all of the counter drivers to use a shared driver class initialization priority configuration, CONFIG_COUNTER_INIT_PRIORITY, to allow configuring counter drivers separately from other devices. This is similar to other driver classes like I2C and SPI. The default is set to CONFIG_KERNEL_INIT_PRIORITY_DEVICE to preserve the existing default initialization priority for most drivers. The exceptions are the maxim_ds3231 and mcp7940n drivers which have a dependency on a SPI driver and must therefore initialize later than the default device priority. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
12 lines
240 B
Plaintext
12 lines
240 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.
|