diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 12:22:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 12:22:37 -0400 |
commit | 9ec97169e7d6afe2f8206d694d1411fb3bb49853 (patch) | |
tree | 9d24c8cd440a312f96b70db5cdaaef1136787003 /drivers/pwm/Kconfig | |
parent | a410963ba4c0c768302f0298e258b1ee940e8316 (diff) | |
parent | 19891b20e7c275feb92d669f4b1879861f7e8c25 (diff) |
Merge branch 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm
Pull PWM subsystem from Thierry Reding:
"The new PWM subsystem aims at collecting all implementations of the
legacy PWM API and to eventually replace it completely.
The subsystem has been in development for over half a year now and
many drivers have already been converted. It has been in linux-next
for a couple of weeks and there have been no major issues so I think
it is ready for inclusion in your tree."
Arnd Bergmann <arnd@arndb.de>:
"Very much Ack on the new subsystem. It uses the interface
declarations as the previously separate pwm drivers, so nothing
changes for now in the drivers using it, although it enables us to
change those more easily in the future if we want to.
This work is also one of the missing pieces that are required to
eventually build ARM kernels for multiple platforms, which is
currently prohibited (amongs other things) by the fact that you cannot
have more than one driver exporting the pwm functions."
Tested-and-acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Philip, Avinash <avinashphilip@ti.com> # TI's AM33xx platforms
Acked-By: Alexandre Pereira da Silva <aletes.xgr@gmail.com> # LPC32XX
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sachin Kamat <sachin.kamat@linaro.org>
Fix up trivial conflicts with other cleanups and DT updates.
* 'for-3.6' of git://gitorious.org/linux-pwm/linux-pwm: (36 commits)
pwm: pwm-tiehrpwm: PWM driver support for EHRPWM
pwm: pwm-tiecap: PWM driver support for ECAP APWM
pwm: fix used-uninitialized warning in pwm_get()
pwm: add lpc32xx PWM support
pwm_backlight: pass correct brightness to callback
pwm: Use pr_* functions in pwm-samsung.c file
pwm: Convert pwm-samsung to use devm_* APIs
pwm: Convert pwm-tegra to use devm_clk_get()
pwm: pwm-mxs: Return proper error if pwmchip_remove() fails
pwm: pwm-bfin: Return proper error if pwmchip_remove() fails
pwm: pxa: Propagate pwmchip_remove() error
pwm: Convert pwm-pxa to use devm_* APIs
pwm: Convert pwm-vt8500 to use devm_* APIs
pwm: Convert pwm-imx to use devm_* APIs
pwm: Conflict with legacy PWM API
pwm: pwm-mxs: add pinctrl support
pwm: pwm-mxs: use devm_* managed functions
pwm: pwm-mxs: use global reset function stmp_reset_block
pwm: pwm-mxs: encode soc name in compatible string
pwm: Take over maintainership of the PWM subsystem
...
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r-- | drivers/pwm/Kconfig | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig new file mode 100644 index 000000000000..8fc3808d7a3e --- /dev/null +++ b/drivers/pwm/Kconfig | |||
@@ -0,0 +1,108 @@ | |||
1 | menuconfig PWM | ||
2 | bool "PWM Support" | ||
3 | depends on !MACH_JZ4740 && !PUV3_PWM | ||
4 | help | ||
5 | This enables PWM support through the generic PWM framework. | ||
6 | You only need to enable this, if you also want to enable | ||
7 | one or more of the PWM drivers below. | ||
8 | |||
9 | If unsure, say N. | ||
10 | |||
11 | if PWM | ||
12 | |||
13 | config PWM_BFIN | ||
14 | tristate "Blackfin PWM support" | ||
15 | depends on BFIN_GPTIMERS | ||
16 | help | ||
17 | Generic PWM framework driver for Blackfin. | ||
18 | |||
19 | To compile this driver as a module, choose M here: the module | ||
20 | will be called pwm-bfin. | ||
21 | |||
22 | config PWM_IMX | ||
23 | tristate "i.MX pwm support" | ||
24 | depends on ARCH_MXC | ||
25 | help | ||
26 | Generic PWM framework driver for i.MX. | ||
27 | |||
28 | To compile this driver as a module, choose M here: the module | ||
29 | will be called pwm-imx. | ||
30 | |||
31 | config PWM_LPC32XX | ||
32 | tristate "LPC32XX PWM support" | ||
33 | depends on ARCH_LPC32XX | ||
34 | help | ||
35 | Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two | ||
36 | PWM controllers. | ||
37 | |||
38 | To compile this driver as a module, choose M here: the module | ||
39 | will be called pwm-lpc32xx. | ||
40 | |||
41 | config PWM_MXS | ||
42 | tristate "Freescale MXS PWM support" | ||
43 | depends on ARCH_MXS && OF | ||
44 | select STMP_DEVICE | ||
45 | help | ||
46 | Generic PWM framework driver for Freescale MXS. | ||
47 | |||
48 | To compile this driver as a module, choose M here: the module | ||
49 | will be called pwm-mxs. | ||
50 | |||
51 | config PWM_PXA | ||
52 | tristate "PXA PWM support" | ||
53 | depends on ARCH_PXA | ||
54 | help | ||
55 | Generic PWM framework driver for PXA. | ||
56 | |||
57 | To compile this driver as a module, choose M here: the module | ||
58 | will be called pwm-pxa. | ||
59 | |||
60 | config PWM_SAMSUNG | ||
61 | tristate "Samsung pwm support" | ||
62 | depends on PLAT_SAMSUNG | ||
63 | help | ||
64 | Generic PWM framework driver for Samsung. | ||
65 | |||
66 | To compile this driver as a module, choose M here: the module | ||
67 | will be called pwm-samsung. | ||
68 | |||
69 | config PWM_TEGRA | ||
70 | tristate "NVIDIA Tegra PWM support" | ||
71 | depends on ARCH_TEGRA | ||
72 | help | ||
73 | Generic PWM framework driver for the PWFM controller found on NVIDIA | ||
74 | Tegra SoCs. | ||
75 | |||
76 | To compile this driver as a module, choose M here: the module | ||
77 | will be called pwm-tegra. | ||
78 | |||
79 | config PWM_TIECAP | ||
80 | tristate "ECAP PWM support" | ||
81 | depends on SOC_AM33XX | ||
82 | help | ||
83 | PWM driver support for the ECAP APWM controller found on AM33XX | ||
84 | TI SOC | ||
85 | |||
86 | To compile this driver as a module, choose M here: the module | ||
87 | will be called pwm-tiecap. | ||
88 | |||
89 | config PWM_TIEHRPWM | ||
90 | tristate "EHRPWM PWM support" | ||
91 | depends on SOC_AM33XX | ||
92 | help | ||
93 | PWM driver support for the EHRPWM controller found on AM33XX | ||
94 | TI SOC | ||
95 | |||
96 | To compile this driver as a module, choose M here: the module | ||
97 | will be called pwm-tiehrpwm. | ||
98 | |||
99 | config PWM_VT8500 | ||
100 | tristate "vt8500 pwm support" | ||
101 | depends on ARCH_VT8500 | ||
102 | help | ||
103 | Generic PWM framework driver for vt8500. | ||
104 | |||
105 | To compile this driver as a module, choose M here: the module | ||
106 | will be called pwm-vt8500. | ||
107 | |||
108 | endif | ||