xref: /linux/drivers/pwm/Kconfig (revision 88b613e6234def882b0b601bf831bf89af2e27f0)
10c2498f1SSascha Hauermenuconfig PWM
2b817bf5cSThierry Reding	bool "Pulse-Width Modulation (PWM) Support"
30c2498f1SSascha Hauer	help
4b817bf5cSThierry Reding	  Generic Pulse-Width Modulation (PWM) support.
50c2498f1SSascha Hauer
6b817bf5cSThierry Reding	  In Pulse-Width Modulation, a variation of the width of pulses
7b817bf5cSThierry Reding	  in a rectangular pulse signal is used as a means to alter the
8b817bf5cSThierry Reding	  average power of the signal. Applications include efficient
9b817bf5cSThierry Reding	  power delivery and voltage regulation. In computer systems,
10b817bf5cSThierry Reding	  PWMs are commonly used to control fans or the brightness of
11b817bf5cSThierry Reding	  display backlights.
12b817bf5cSThierry Reding
13b817bf5cSThierry Reding	  This framework provides a generic interface to PWM devices
14b817bf5cSThierry Reding	  within the Linux kernel. On the driver side it provides an API
15b817bf5cSThierry Reding	  to register and unregister a PWM chip, an abstraction of a PWM
16b817bf5cSThierry Reding	  controller, that supports one or more PWM devices. Client
17b817bf5cSThierry Reding	  drivers can request PWM devices and use the generic framework
18b817bf5cSThierry Reding	  to configure as well as enable and disable them.
19b817bf5cSThierry Reding
20b817bf5cSThierry Reding	  This generic framework replaces the legacy PWM framework which
21b817bf5cSThierry Reding	  allows only a single driver implementing the required API. Not
22b817bf5cSThierry Reding	  all legacy implementations have been ported to the framework
23b817bf5cSThierry Reding	  yet. The framework provides an API that is backward compatible
24b817bf5cSThierry Reding	  with the legacy framework so that existing client drivers
25b817bf5cSThierry Reding	  continue to work as expected.
26b817bf5cSThierry Reding
27b817bf5cSThierry Reding	  If unsure, say no.
280c2498f1SSascha Hauer
290c2498f1SSascha Hauerif PWM
300c2498f1SSascha Hauer
316173f8f4SThierry Redingconfig PWM_AB8500
326173f8f4SThierry Reding	tristate "AB8500 PWM support"
336173f8f4SThierry Reding	depends on AB8500_CORE && ARCH_U8500
346173f8f4SThierry Reding	help
356173f8f4SThierry Reding	  Generic PWM framework driver for Analog Baseband AB8500.
366173f8f4SThierry Reding
376173f8f4SThierry Reding	  To compile this driver as a module, choose M here: the module
386173f8f4SThierry Reding	  will be called pwm-ab8500.
396173f8f4SThierry Reding
409421badeSBoris BREZILLONconfig PWM_ATMEL_TCB
41b133d2a1SThierry Reding	tristate "Atmel TC Block PWM support"
429421badeSBoris BREZILLON	depends on ATMEL_TCLIB && OF
439421badeSBoris BREZILLON	help
449421badeSBoris BREZILLON	  Generic PWM framework driver for Atmel Timer Counter Block.
459421badeSBoris BREZILLON
469421badeSBoris BREZILLON	  A Timer Counter Block provides 6 PWM devices grouped by 2.
479421badeSBoris BREZILLON	  Devices in a given group must have the same period.
489421badeSBoris BREZILLON
499421badeSBoris BREZILLON	  To compile this driver as a module, choose M here: the module
509421badeSBoris BREZILLON	  will be called pwm-atmel-tcb.
519421badeSBoris BREZILLON
52a4315e3cSThierry Redingconfig PWM_BFIN
53a4315e3cSThierry Reding	tristate "Blackfin PWM support"
54a4315e3cSThierry Reding	depends on BFIN_GPTIMERS
55a4315e3cSThierry Reding	help
56a4315e3cSThierry Reding	  Generic PWM framework driver for Blackfin.
57a4315e3cSThierry Reding
58a4315e3cSThierry Reding	  To compile this driver as a module, choose M here: the module
59a4315e3cSThierry Reding	  will be called pwm-bfin.
60a4315e3cSThierry Reding
6129693248SSascha Hauerconfig PWM_IMX
62b133d2a1SThierry Reding	tristate "i.MX PWM support"
6329693248SSascha Hauer	depends on ARCH_MXC
6429693248SSascha Hauer	help
6529693248SSascha Hauer	  Generic PWM framework driver for i.MX.
6629693248SSascha Hauer
6729693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
6829693248SSascha Hauer	  will be called pwm-imx.
6929693248SSascha Hauer
70f6b8a570SThierry Redingconfig PWM_JZ4740
71f6b8a570SThierry Reding	tristate "Ingenic JZ4740 PWM support"
72f6b8a570SThierry Reding	depends on MACH_JZ4740
73f6b8a570SThierry Reding	help
74f6b8a570SThierry Reding	  Generic PWM framework driver for Ingenic JZ4740 based
75f6b8a570SThierry Reding	  machines.
76f6b8a570SThierry Reding
77f6b8a570SThierry Reding	  To compile this driver as a module, choose M here: the module
78f6b8a570SThierry Reding	  will be called pwm-jz4740.
79f6b8a570SThierry Reding
802132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
812132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
822132fa8dSAlexandre Pereira da Silva	depends on ARCH_LPC32XX
832132fa8dSAlexandre Pereira da Silva	help
842132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
852132fa8dSAlexandre Pereira da Silva	  PWM controllers.
862132fa8dSAlexandre Pereira da Silva
872132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
882132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
892132fa8dSAlexandre Pereira da Silva
904dce82c1SShawn Guoconfig PWM_MXS
914dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
924dce82c1SShawn Guo	depends on ARCH_MXS && OF
9301bf32e9SShawn Guo	select STMP_DEVICE
944dce82c1SShawn Guo	help
954dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
964dce82c1SShawn Guo
974dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
984dce82c1SShawn Guo	  will be called pwm-mxs.
994dce82c1SShawn Guo
100*88b613e6SSteffen Trumtrarconfig PWM_PCA9685
101*88b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
102*88b613e6SSteffen Trumtrar	depends on OF && REGMAP_I2C
103*88b613e6SSteffen Trumtrar	help
104*88b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
105*88b613e6SSteffen Trumtrar
106*88b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
107*88b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
108*88b613e6SSteffen Trumtrar
10979c11b6fSThierry Redingconfig PWM_PUV3
11079c11b6fSThierry Reding	tristate "PKUnity NetBook-0916 PWM support"
11179c11b6fSThierry Reding	depends on ARCH_PUV3
11279c11b6fSThierry Reding	help
11379c11b6fSThierry Reding	  Generic PWM framework driver for PKUnity NetBook-0916.
11479c11b6fSThierry Reding
11579c11b6fSThierry Reding	  To compile this driver as a module, choose M here: the module
11679c11b6fSThierry Reding	  will be called pwm-puv3.
11779c11b6fSThierry Reding
11817b2b478SThierry Redingconfig PWM_PXA
11917b2b478SThierry Reding	tristate "PXA PWM support"
12017b2b478SThierry Reding	depends on ARCH_PXA
12117b2b478SThierry Reding	help
12217b2b478SThierry Reding	  Generic PWM framework driver for PXA.
12317b2b478SThierry Reding
12417b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
12517b2b478SThierry Reding	  will be called pwm-pxa.
12617b2b478SThierry Reding
127215c29d3SSascha Hauerconfig PWM_SAMSUNG
128b133d2a1SThierry Reding	tristate "Samsung PWM support"
129215c29d3SSascha Hauer	depends on PLAT_SAMSUNG
130215c29d3SSascha Hauer	help
131215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
132215c29d3SSascha Hauer
133215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
134215c29d3SSascha Hauer	  will be called pwm-samsung.
135215c29d3SSascha Hauer
136ce20364bSShiraz Hashimconfig PWM_SPEAR
137ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
138ce20364bSShiraz Hashim	depends on PLAT_SPEAR
139ce20364bSShiraz Hashim	depends on OF
140ce20364bSShiraz Hashim	help
141ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
142ce20364bSShiraz Hashim	  SPEAr SoCs.
143ce20364bSShiraz Hashim
144ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
145ce20364bSShiraz Hashim	  will be called pwm-spear.
146ce20364bSShiraz Hashim
1470134b932SThierry Redingconfig PWM_TEGRA
1480134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
1490134b932SThierry Reding	depends on ARCH_TEGRA
1500134b932SThierry Reding	help
1510134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
1520134b932SThierry Reding	  Tegra SoCs.
1530134b932SThierry Reding
1540134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
1550134b932SThierry Reding	  will be called pwm-tegra.
1560134b932SThierry Reding
1578e0cb05bSPhilip, Avinashconfig  PWM_TIECAP
1588e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
1591bf0f20bSPhilip Avinash	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
1608e0cb05bSPhilip, Avinash	help
1618e0cb05bSPhilip, Avinash	  PWM driver support for the ECAP APWM controller found on AM33XX
1628e0cb05bSPhilip, Avinash	  TI SOC
1638e0cb05bSPhilip, Avinash
1648e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
1658e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
1668e0cb05bSPhilip, Avinash
16719891b20SPhilip, Avinashconfig  PWM_TIEHRPWM
16819891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
1691bf0f20bSPhilip Avinash	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
17019891b20SPhilip, Avinash	help
17119891b20SPhilip, Avinash	  PWM driver support for the EHRPWM controller found on AM33XX
17219891b20SPhilip, Avinash	  TI SOC
17319891b20SPhilip, Avinash
17419891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
17519891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
17619891b20SPhilip, Avinash
177af0ba001SPhilip, Avinashconfig  PWM_TIPWMSS
178af0ba001SPhilip, Avinash	bool
1791bf0f20bSPhilip Avinash	default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
180af0ba001SPhilip, Avinash	help
181af0ba001SPhilip, Avinash	  PWM Subsystem driver support for AM33xx SOC.
182af0ba001SPhilip, Avinash
183af0ba001SPhilip, Avinash	  PWM submodules require PWM config space access from submodule
184af0ba001SPhilip, Avinash	  drivers and require common parent driver support.
185af0ba001SPhilip, Avinash
1863744c263SPeter Ujfalusiconfig PWM_TWL
1873744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
1883744c263SPeter Ujfalusi	depends on TWL4030_CORE
1893744c263SPeter Ujfalusi	help
1903744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
1913744c263SPeter Ujfalusi
1923744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
1933744c263SPeter Ujfalusi	  will be called pwm-twl.
1943744c263SPeter Ujfalusi
195aa765647SPeter Ujfalusiconfig PWM_TWL_LED
196aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
197aa765647SPeter Ujfalusi	depends on TWL4030_CORE
198aa765647SPeter Ujfalusi	help
199aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
200aa765647SPeter Ujfalusi
201aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
202aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
203aa765647SPeter Ujfalusi
204a245ccebSSascha Hauerconfig PWM_VT8500
205b133d2a1SThierry Reding	tristate "vt8500 PWM support"
206a245ccebSSascha Hauer	depends on ARCH_VT8500
207a245ccebSSascha Hauer	help
208a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
209a245ccebSSascha Hauer
210a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
211a245ccebSSascha Hauer	  will be called pwm-vt8500.
212a245ccebSSascha Hauer
2130c2498f1SSascha Hauerendif
214