blob: dc7bcb4373d87dd4098c59ed9f74f63fd1abbbad [file] [log] [blame]
Daniel Leungbf40dec2016-03-17 11:37:41 -07001# Kconfig.qmsi - QMSI PWM configuration options
2#
3#
4# Copyright (c) 2016 Intel Corporation
5#
David B. Kinderac74d8b2017-01-18 17:01:01 -08006# SPDX-License-Identifier: Apache-2.0
Daniel Leungbf40dec2016-03-17 11:37:41 -07007#
8
9menuconfig PWM_QMSI
10 bool "QMSI PWM Driver"
Anas Nashif940d5392016-04-17 05:49:48 +080011 depends on QMSI && PWM
Daniel Leungbf40dec2016-03-17 11:37:41 -070012 default n
13 help
14 Enable QMSI PWM driver. This driver will use the QMSI library to
15 access the SOC underlying timer IP block. This driver uses the
16 DesignWare IP block that can be also handled by the PWM_DW driver
17
Daniel Leungbf40dec2016-03-17 11:37:41 -070018config PWM_QMSI_DEV_NAME
19 string "QMSI PWM Device Name"
20 depends on PWM_QMSI
Baohong Liu0ccc8312016-05-26 14:06:46 -070021 default "PWM_0"
Daniel Leungbf40dec2016-03-17 11:37:41 -070022 help
23 Specify the device name for the PWM driver.
24
25config PWM_QMSI_NUM_PORTS
26 int "Number of PWM ports for PWM"
27 depends on PWM_QMSI
28 default 1
29 help
30 Specify how many PWM ports on the IP block.
Kuo-Lang Tseng69115892016-07-25 15:52:24 -070031
32config PWM_QMSI_API_REENTRANCY
33 bool
34 prompt "PWM shim driver API reentrancy"
35 depends on PWM_QMSI
36 default n
37 help
38 Enable support for PWM shim driver API reentrancy.