blob: 99a738182bf5c8718812dca57c9a7afa2f01cf22 [file] [log] [blame]
Sascha Hauer0c2498f2011-01-28 09:40:40 +01001menuconfig PWM
Thierry Redingb817bf52012-08-16 08:01:21 +02002 bool "Pulse-Width Modulation (PWM) Support"
Thierry Redingeac7a922012-07-02 21:29:45 +02003 depends on !MACH_JZ4740 && !PUV3_PWM
Sascha Hauer0c2498f2011-01-28 09:40:40 +01004 help
Thierry Redingb817bf52012-08-16 08:01:21 +02005 Generic Pulse-Width Modulation (PWM) support.
Sascha Hauer0c2498f2011-01-28 09:40:40 +01006
Thierry Redingb817bf52012-08-16 08:01:21 +02007 In Pulse-Width Modulation, a variation of the width of pulses
8 in a rectangular pulse signal is used as a means to alter the
9 average power of the signal. Applications include efficient
10 power delivery and voltage regulation. In computer systems,
11 PWMs are commonly used to control fans or the brightness of
12 display backlights.
13
14 This framework provides a generic interface to PWM devices
15 within the Linux kernel. On the driver side it provides an API
16 to register and unregister a PWM chip, an abstraction of a PWM
17 controller, that supports one or more PWM devices. Client
18 drivers can request PWM devices and use the generic framework
19 to configure as well as enable and disable them.
20
21 This generic framework replaces the legacy PWM framework which
22 allows only a single driver implementing the required API. Not
23 all legacy implementations have been ported to the framework
24 yet. The framework provides an API that is backward compatible
25 with the legacy framework so that existing client drivers
26 continue to work as expected.
27
28 If unsure, say no.
Sascha Hauer0c2498f2011-01-28 09:40:40 +010029
30if PWM
31
Thierry Reding6173f8f2012-08-31 11:46:24 +020032config PWM_AB8500
33 tristate "AB8500 PWM support"
34 depends on AB8500_CORE && ARCH_U8500
35 help
36 Generic PWM framework driver for Analog Baseband AB8500.
37
38 To compile this driver as a module, choose M here: the module
39 will be called pwm-ab8500.
40
Thierry Redinga4315e32012-01-02 20:53:50 +010041config PWM_BFIN
42 tristate "Blackfin PWM support"
43 depends on BFIN_GPTIMERS
44 help
45 Generic PWM framework driver for Blackfin.
46
47 To compile this driver as a module, choose M here: the module
48 will be called pwm-bfin.
49
Sascha Hauer29693242012-03-15 10:04:35 +010050config PWM_IMX
51 tristate "i.MX pwm support"
52 depends on ARCH_MXC
53 help
54 Generic PWM framework driver for i.MX.
55
56 To compile this driver as a module, choose M here: the module
57 will be called pwm-imx.
58
Alexandre Pereira da Silva2132fa82012-07-10 11:38:10 -030059config PWM_LPC32XX
60 tristate "LPC32XX PWM support"
61 depends on ARCH_LPC32XX
62 help
63 Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
64 PWM controllers.
65
66 To compile this driver as a module, choose M here: the module
67 will be called pwm-lpc32xx.
68
Shawn Guo4dce82c2012-04-04 10:50:52 +080069config PWM_MXS
70 tristate "Freescale MXS PWM support"
71 depends on ARCH_MXS && OF
Shawn Guo01bf32e2012-06-26 16:58:09 +080072 select STMP_DEVICE
Shawn Guo4dce82c2012-04-04 10:50:52 +080073 help
74 Generic PWM framework driver for Freescale MXS.
75
76 To compile this driver as a module, choose M here: the module
77 will be called pwm-mxs.
78
Thierry Reding17b2b472012-01-02 21:22:38 +010079config PWM_PXA
80 tristate "PXA PWM support"
81 depends on ARCH_PXA
82 help
83 Generic PWM framework driver for PXA.
84
85 To compile this driver as a module, choose M here: the module
86 will be called pwm-pxa.
87
Sascha Hauer215c29d2012-03-15 10:04:36 +010088config PWM_SAMSUNG
89 tristate "Samsung pwm support"
90 depends on PLAT_SAMSUNG
91 help
92 Generic PWM framework driver for Samsung.
93
94 To compile this driver as a module, choose M here: the module
95 will be called pwm-samsung.
96
Thierry Reding0134b932011-12-21 07:47:07 +010097config PWM_TEGRA
98 tristate "NVIDIA Tegra PWM support"
99 depends on ARCH_TEGRA
100 help
101 Generic PWM framework driver for the PWFM controller found on NVIDIA
102 Tegra SoCs.
103
104 To compile this driver as a module, choose M here: the module
105 will be called pwm-tegra.
106
Philip, Avinash8e0cb052012-07-25 16:58:18 +0530107config PWM_TIECAP
108 tristate "ECAP PWM support"
109 depends on SOC_AM33XX
110 help
111 PWM driver support for the ECAP APWM controller found on AM33XX
112 TI SOC
113
114 To compile this driver as a module, choose M here: the module
115 will be called pwm-tiecap.
116
Philip, Avinash19891b22012-07-25 16:58:19 +0530117config PWM_TIEHRPWM
118 tristate "EHRPWM PWM support"
119 depends on SOC_AM33XX
120 help
121 PWM driver support for the EHRPWM controller found on AM33XX
122 TI SOC
123
124 To compile this driver as a module, choose M here: the module
125 will be called pwm-tiehrpwm.
126
Sascha Hauera245cce2012-03-15 10:04:37 +0100127config PWM_VT8500
128 tristate "vt8500 pwm support"
129 depends on ARCH_VT8500
130 help
131 Generic PWM framework driver for vt8500.
132
133 To compile this driver as a module, choose M here: the module
134 will be called pwm-vt8500.
135
Sascha Hauer0c2498f2011-01-28 09:40:40 +0100136endif