xref: /linux/drivers/pwm/Kconfig (revision 6173f8f4ed9c2bd4184908e35f46755a0d14b0f2)
10c2498f1SSascha Hauermenuconfig PWM
2b817bf5cSThierry Reding	bool "Pulse-Width Modulation (PWM) Support"
3eac7a92fSThierry Reding	depends on !MACH_JZ4740 && !PUV3_PWM
40c2498f1SSascha Hauer	help
5b817bf5cSThierry Reding	  Generic Pulse-Width Modulation (PWM) support.
60c2498f1SSascha Hauer
7b817bf5cSThierry Reding	  In Pulse-Width Modulation, a variation of the width of pulses
8b817bf5cSThierry Reding	  in a rectangular pulse signal is used as a means to alter the
9b817bf5cSThierry Reding	  average power of the signal. Applications include efficient
10b817bf5cSThierry Reding	  power delivery and voltage regulation. In computer systems,
11b817bf5cSThierry Reding	  PWMs are commonly used to control fans or the brightness of
12b817bf5cSThierry Reding	  display backlights.
13b817bf5cSThierry Reding
14b817bf5cSThierry Reding	  This framework provides a generic interface to PWM devices
15b817bf5cSThierry Reding	  within the Linux kernel. On the driver side it provides an API
16b817bf5cSThierry Reding	  to register and unregister a PWM chip, an abstraction of a PWM
17b817bf5cSThierry Reding	  controller, that supports one or more PWM devices. Client
18b817bf5cSThierry Reding	  drivers can request PWM devices and use the generic framework
19b817bf5cSThierry Reding	  to configure as well as enable and disable them.
20b817bf5cSThierry Reding
21b817bf5cSThierry Reding	  This generic framework replaces the legacy PWM framework which
22b817bf5cSThierry Reding	  allows only a single driver implementing the required API. Not
23b817bf5cSThierry Reding	  all legacy implementations have been ported to the framework
24b817bf5cSThierry Reding	  yet. The framework provides an API that is backward compatible
25b817bf5cSThierry Reding	  with the legacy framework so that existing client drivers
26b817bf5cSThierry Reding	  continue to work as expected.
27b817bf5cSThierry Reding
28b817bf5cSThierry Reding	  If unsure, say no.
290c2498f1SSascha Hauer
300c2498f1SSascha Hauerif PWM
310c2498f1SSascha Hauer
32*6173f8f4SThierry Redingconfig PWM_AB8500
33*6173f8f4SThierry Reding	tristate "AB8500 PWM support"
34*6173f8f4SThierry Reding	depends on AB8500_CORE && ARCH_U8500
35*6173f8f4SThierry Reding	help
36*6173f8f4SThierry Reding	  Generic PWM framework driver for Analog Baseband AB8500.
37*6173f8f4SThierry Reding
38*6173f8f4SThierry Reding	  To compile this driver as a module, choose M here: the module
39*6173f8f4SThierry Reding	  will be called pwm-ab8500.
40*6173f8f4SThierry Reding
41a4315e3cSThierry Redingconfig PWM_BFIN
42a4315e3cSThierry Reding	tristate "Blackfin PWM support"
43a4315e3cSThierry Reding	depends on BFIN_GPTIMERS
44a4315e3cSThierry Reding	help
45a4315e3cSThierry Reding	  Generic PWM framework driver for Blackfin.
46a4315e3cSThierry Reding
47a4315e3cSThierry Reding	  To compile this driver as a module, choose M here: the module
48a4315e3cSThierry Reding	  will be called pwm-bfin.
49a4315e3cSThierry Reding
5029693248SSascha Hauerconfig PWM_IMX
5129693248SSascha Hauer	tristate "i.MX pwm support"
5229693248SSascha Hauer	depends on ARCH_MXC
5329693248SSascha Hauer	help
5429693248SSascha Hauer	  Generic PWM framework driver for i.MX.
5529693248SSascha Hauer
5629693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
5729693248SSascha Hauer	  will be called pwm-imx.
5829693248SSascha Hauer
592132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
602132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
612132fa8dSAlexandre Pereira da Silva	depends on ARCH_LPC32XX
622132fa8dSAlexandre Pereira da Silva	help
632132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
642132fa8dSAlexandre Pereira da Silva	  PWM controllers.
652132fa8dSAlexandre Pereira da Silva
662132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
672132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
682132fa8dSAlexandre Pereira da Silva
694dce82c1SShawn Guoconfig PWM_MXS
704dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
714dce82c1SShawn Guo	depends on ARCH_MXS && OF
7201bf32e9SShawn Guo	select STMP_DEVICE
734dce82c1SShawn Guo	help
744dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
754dce82c1SShawn Guo
764dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
774dce82c1SShawn Guo	  will be called pwm-mxs.
784dce82c1SShawn Guo
7917b2b478SThierry Redingconfig PWM_PXA
8017b2b478SThierry Reding	tristate "PXA PWM support"
8117b2b478SThierry Reding	depends on ARCH_PXA
8217b2b478SThierry Reding	help
8317b2b478SThierry Reding	  Generic PWM framework driver for PXA.
8417b2b478SThierry Reding
8517b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
8617b2b478SThierry Reding	  will be called pwm-pxa.
8717b2b478SThierry Reding
88215c29d3SSascha Hauerconfig PWM_SAMSUNG
89215c29d3SSascha Hauer	tristate "Samsung pwm support"
90215c29d3SSascha Hauer	depends on PLAT_SAMSUNG
91215c29d3SSascha Hauer	help
92215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
93215c29d3SSascha Hauer
94215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
95215c29d3SSascha Hauer	  will be called pwm-samsung.
96215c29d3SSascha Hauer
970134b932SThierry Redingconfig PWM_TEGRA
980134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
990134b932SThierry Reding	depends on ARCH_TEGRA
1000134b932SThierry Reding	help
1010134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
1020134b932SThierry Reding	  Tegra SoCs.
1030134b932SThierry Reding
1040134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
1050134b932SThierry Reding	  will be called pwm-tegra.
1060134b932SThierry Reding
1078e0cb05bSPhilip, Avinashconfig  PWM_TIECAP
1088e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
1098e0cb05bSPhilip, Avinash	depends on SOC_AM33XX
1108e0cb05bSPhilip, Avinash	help
1118e0cb05bSPhilip, Avinash	  PWM driver support for the ECAP APWM controller found on AM33XX
1128e0cb05bSPhilip, Avinash	  TI SOC
1138e0cb05bSPhilip, Avinash
1148e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
1158e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
1168e0cb05bSPhilip, Avinash
11719891b20SPhilip, Avinashconfig  PWM_TIEHRPWM
11819891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
11919891b20SPhilip, Avinash	depends on SOC_AM33XX
12019891b20SPhilip, Avinash	help
12119891b20SPhilip, Avinash	  PWM driver support for the EHRPWM controller found on AM33XX
12219891b20SPhilip, Avinash	  TI SOC
12319891b20SPhilip, Avinash
12419891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
12519891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
12619891b20SPhilip, Avinash
127a245ccebSSascha Hauerconfig PWM_VT8500
128a245ccebSSascha Hauer	tristate "vt8500 pwm support"
129a245ccebSSascha Hauer	depends on ARCH_VT8500
130a245ccebSSascha Hauer	help
131a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
132a245ccebSSascha Hauer
133a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
134a245ccebSSascha Hauer	  will be called pwm-vt8500.
135a245ccebSSascha Hauer
1360c2498f1SSascha Hauerendif
137