mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-15 02:11:55 +00:00
The PWM driver can only control channels 1-3 of the PWM peripheral, not channel 0. This is an artifact of the peripheral's design. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
26 lines
518 B
Plaintext
26 lines
518 B
Plaintext
# Kconfig.sifive - SiFive Freedom PWM configuration options
|
|
#
|
|
#
|
|
# Copyright (c) 2018 SiFive Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig PWM_SIFIVE
|
|
bool "SiFive Freedom PWM driver"
|
|
depends on PWM
|
|
depends on SOC_SERIES_RISCV32_SIFIVE_FREEDOM
|
|
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
|