mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 13:26:09 +00:00
PWM driver for LiteX SoC builder was created. Because LiteX supports only one channel for each PWM device, an appropriate restriction was made. Signed-off-by: Robert Winkler <rwinkler@internships.antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
23 lines
394 B
Plaintext
23 lines
394 B
Plaintext
#
|
|
# Copyright (c) 2019 Antmicro <www.antmicro.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig PWM_LITEX
|
|
bool "LiteX PWM driver"
|
|
depends on SOC_RISCV32_LITEX_VEXRISCV
|
|
depends on HAS_DTS
|
|
help
|
|
Enable support for LiteX PWM driver
|
|
|
|
if PWM_LITEX
|
|
|
|
config PWM_LITEX_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 70
|
|
help
|
|
PWM device driver initialization priority.
|
|
|
|
endif # PWM_LITEX
|