zephyr/drivers/clock_control/Kconfig.pwm

19 lines
477 B
Plaintext

# Copyright (c) 2023 Andriy Gelman <andriy.gelman@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config CLOCK_CONTROL_PWM
bool "Generic PWM clock"
default y
depends on DT_HAS_PWM_CLOCK_ENABLED
select PWM
help
Enable generic PWM clock.
config CLOCK_CONTROL_PWM_INIT_PRIORITY
int "Initialization priority of the pwm clock device"
default 51
depends on CLOCK_CONTROL_PWM
help
Initialization priority of the PWM clock device. Must be
lower priority than PWM.