zephyr/drivers/pwm/Kconfig.litex
Robert Winkler 56db098a55 drivers: pwm: Add driver for LiteX PWM peripherial
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>
2020-01-08 11:04:36 +01:00

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