Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 1 | # Kconfig.dw - DesignWare 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_DW |
| 10 | bool "DesignWare PWM" |
| 11 | depends on PWM |
| 12 | default n |
| 13 | help |
| 14 | Enable driver to utilize PWM on the DesignWare Timer IP block. |
| 15 | Care must be taken if one is also to use the timer feature, as |
| 16 | they both use the same set of registers. |
| 17 | |
| 18 | if PWM_DW |
| 19 | |
Anas Nashif | 82d4c96 | 2016-04-17 05:43:41 +0800 | [diff] [blame] | 20 | config PWM_DW_0_DRV_NAME |
Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 21 | string "DesignWare PWM Device Name" |
| 22 | depends on PWM_DW |
Anas Nashif | 82d4c96 | 2016-04-17 05:43:41 +0800 | [diff] [blame] | 23 | default "PWM_0" |
Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 24 | help |
| 25 | Specify the device name for the DesignWare PWM driver. |
| 26 | |
Daniel Leung | bf40dec | 2016-03-17 11:37:41 -0700 | [diff] [blame] | 27 | endif # PWM_DW |