blob: 6f3f90d345e5b39bfb46f2a87869b8374606ee3f [file] [log] [blame]
Daniel Leungbf40dec2016-03-17 11:37:41 -07001# Kconfig.dw - DesignWare 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_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
18if PWM_DW
19
Anas Nashif82d4c962016-04-17 05:43:41 +080020config PWM_DW_0_DRV_NAME
Daniel Leungbf40dec2016-03-17 11:37:41 -070021 string "DesignWare PWM Device Name"
22 depends on PWM_DW
Anas Nashif82d4c962016-04-17 05:43:41 +080023 default "PWM_0"
Daniel Leungbf40dec2016-03-17 11:37:41 -070024 help
25 Specify the device name for the DesignWare PWM driver.
26
Daniel Leungbf40dec2016-03-17 11:37:41 -070027endif # PWM_DW