2019-11-01 20:45:29 +08:00
|
|
|
# SiFive Freedom PWM configuration options
|
|
|
|
|
2018-11-22 06:19:47 +08:00
|
|
|
# Copyright (c) 2018 SiFive Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig PWM_SIFIVE
|
|
|
|
bool "SiFive Freedom PWM driver"
|
2019-07-19 11:05:53 +08:00
|
|
|
depends on SOC_SERIES_RISCV_SIFIVE_FREEDOM
|
2018-11-22 06:19:47 +08:00
|
|
|
depends on HAS_DTS
|
|
|
|
help
|
|
|
|
Enable the PWM driver for the SiFive Freedom platform
|
|
|
|
|
|
|
|
if PWM_SIFIVE
|
|
|
|
|
|
|
|
config PWM_SIFIVE_INIT_PRIORITY
|
|
|
|
int "Init Priority"
|
|
|
|
default KERNEL_INIT_PRIORITY_DEVICE
|
|
|
|
help
|
|
|
|
SiFive PWM Driver Initialization Priority
|
|
|
|
|
|
|
|
endif # PWM_SIFIVE
|