Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 1 | # Kconfig.qmsi - QMSI PWM configuration options |
| 2 | # |
| 3 | # |
| 4 | # Copyright (c) 2016 Intel Corporation |
| 5 | # |
David B. Kinder | ac74d8b | 2017-01-18 17:01:01 -0800 | [diff] [blame] | 6 | # SPDX-License-Identifier: Apache-2.0 |
Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 7 | # |
| 8 | |
| 9 | menuconfig PWM_QMSI |
| 10 | bool "QMSI PWM Driver" |
Anas Nashif | 940d539 | 2016-04-17 05:49:48 +0800 | [diff] [blame] | 11 | depends on QMSI && PWM |
Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 12 | 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 Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 18 | config PWM_QMSI_DEV_NAME |
| 19 | string "QMSI PWM Device Name" |
| 20 | depends on PWM_QMSI |
Baohong Liu | 0ccc831 | 2016-05-26 14:06:46 -0700 | [diff] [blame] | 21 | default "PWM_0" |
Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 22 | help |
| 23 | Specify the device name for the PWM driver. |
| 24 | |
| 25 | config 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 Tseng | 6911589 | 2016-07-25 15:52:24 -0700 | [diff] [blame] | 31 | |
| 32 | config 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. |