xref: /linux/drivers/pwm/Kconfig (revision a23086981723570c8952520d9ffaf6995d45f63e)
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
3176abbddeSH Hartley Sweetenconfig PWM_SYSFS
3276abbddeSH Hartley Sweeten	bool
3376abbddeSH Hartley Sweeten	default y if SYSFS
3476abbddeSH Hartley Sweeten
356173f8f4SThierry Redingconfig PWM_AB8500
366173f8f4SThierry Reding	tristate "AB8500 PWM support"
376173f8f4SThierry Reding	depends on AB8500_CORE && ARCH_U8500
386173f8f4SThierry Reding	help
396173f8f4SThierry Reding	  Generic PWM framework driver for Analog Baseband AB8500.
406173f8f4SThierry Reding
416173f8f4SThierry Reding	  To compile this driver as a module, choose M here: the module
426173f8f4SThierry Reding	  will be called pwm-ab8500.
436173f8f4SThierry Reding
449421badeSBoris BREZILLONconfig PWM_ATMEL_TCB
45b133d2a1SThierry Reding	tristate "Atmel TC Block PWM support"
469421badeSBoris BREZILLON	depends on ATMEL_TCLIB && OF
479421badeSBoris BREZILLON	help
489421badeSBoris BREZILLON	  Generic PWM framework driver for Atmel Timer Counter Block.
499421badeSBoris BREZILLON
509421badeSBoris BREZILLON	  A Timer Counter Block provides 6 PWM devices grouped by 2.
519421badeSBoris BREZILLON	  Devices in a given group must have the same period.
529421badeSBoris BREZILLON
539421badeSBoris BREZILLON	  To compile this driver as a module, choose M here: the module
549421badeSBoris BREZILLON	  will be called pwm-atmel-tcb.
559421badeSBoris BREZILLON
56a4315e3cSThierry Redingconfig PWM_BFIN
57a4315e3cSThierry Reding	tristate "Blackfin PWM support"
58a4315e3cSThierry Reding	depends on BFIN_GPTIMERS
59a4315e3cSThierry Reding	help
60a4315e3cSThierry Reding	  Generic PWM framework driver for Blackfin.
61a4315e3cSThierry Reding
62a4315e3cSThierry Reding	  To compile this driver as a module, choose M here: the module
63a4315e3cSThierry Reding	  will be called pwm-bfin.
64a4315e3cSThierry Reding
65*a2308698SH Hartley Sweetenconfig PWM_EP93XX
66*a2308698SH Hartley Sweeten	tristate "Cirrus Logic EP93xx PWM support"
67*a2308698SH Hartley Sweeten	depends on ARCH_EP93XX
68*a2308698SH Hartley Sweeten	help
69*a2308698SH Hartley Sweeten	  Generic PWM framework driver for Cirrus Logic EP93xx.
70*a2308698SH Hartley Sweeten
71*a2308698SH Hartley Sweeten	  To compile this driver as a module, choose M here: the module
72*a2308698SH Hartley Sweeten	  will be called pwm-ep93xx.
73*a2308698SH Hartley Sweeten
7429693248SSascha Hauerconfig PWM_IMX
75b133d2a1SThierry Reding	tristate "i.MX PWM support"
7629693248SSascha Hauer	depends on ARCH_MXC
7729693248SSascha Hauer	help
7829693248SSascha Hauer	  Generic PWM framework driver for i.MX.
7929693248SSascha Hauer
8029693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
8129693248SSascha Hauer	  will be called pwm-imx.
8229693248SSascha Hauer
83f6b8a570SThierry Redingconfig PWM_JZ4740
84f6b8a570SThierry Reding	tristate "Ingenic JZ4740 PWM support"
85f6b8a570SThierry Reding	depends on MACH_JZ4740
86f6b8a570SThierry Reding	help
87f6b8a570SThierry Reding	  Generic PWM framework driver for Ingenic JZ4740 based
88f6b8a570SThierry Reding	  machines.
89f6b8a570SThierry Reding
90f6b8a570SThierry Reding	  To compile this driver as a module, choose M here: the module
91f6b8a570SThierry Reding	  will be called pwm-jz4740.
92f6b8a570SThierry Reding
932132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
942132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
952132fa8dSAlexandre Pereira da Silva	depends on ARCH_LPC32XX
962132fa8dSAlexandre Pereira da Silva	help
972132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
982132fa8dSAlexandre Pereira da Silva	  PWM controllers.
992132fa8dSAlexandre Pereira da Silva
1002132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
1012132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
1022132fa8dSAlexandre Pereira da Silva
1034dce82c1SShawn Guoconfig PWM_MXS
1044dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
1054dce82c1SShawn Guo	depends on ARCH_MXS && OF
10601bf32e9SShawn Guo	select STMP_DEVICE
1074dce82c1SShawn Guo	help
1084dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
1094dce82c1SShawn Guo
1104dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
1114dce82c1SShawn Guo	  will be called pwm-mxs.
1124dce82c1SShawn Guo
11388b613e6SSteffen Trumtrarconfig PWM_PCA9685
11488b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
11588b613e6SSteffen Trumtrar	depends on OF && REGMAP_I2C
11688b613e6SSteffen Trumtrar	help
11788b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
11888b613e6SSteffen Trumtrar
11988b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
12088b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
12188b613e6SSteffen Trumtrar
12279c11b6fSThierry Redingconfig PWM_PUV3
12379c11b6fSThierry Reding	tristate "PKUnity NetBook-0916 PWM support"
12479c11b6fSThierry Reding	depends on ARCH_PUV3
12579c11b6fSThierry Reding	help
12679c11b6fSThierry Reding	  Generic PWM framework driver for PKUnity NetBook-0916.
12779c11b6fSThierry Reding
12879c11b6fSThierry Reding	  To compile this driver as a module, choose M here: the module
12979c11b6fSThierry Reding	  will be called pwm-puv3.
13079c11b6fSThierry Reding
13117b2b478SThierry Redingconfig PWM_PXA
13217b2b478SThierry Reding	tristate "PXA PWM support"
13317b2b478SThierry Reding	depends on ARCH_PXA
13417b2b478SThierry Reding	help
13517b2b478SThierry Reding	  Generic PWM framework driver for PXA.
13617b2b478SThierry Reding
13717b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
13817b2b478SThierry Reding	  will be called pwm-pxa.
13917b2b478SThierry Reding
14099b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
14199b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
14299b82abbSLaurent Pinchart	depends on ARCH_SHMOBILE
14399b82abbSLaurent Pinchart	help
14499b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
14599b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
14699b82abbSLaurent Pinchart
14799b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
14899b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
14999b82abbSLaurent Pinchart
150215c29d3SSascha Hauerconfig PWM_SAMSUNG
151b133d2a1SThierry Reding	tristate "Samsung PWM support"
152215c29d3SSascha Hauer	depends on PLAT_SAMSUNG
153215c29d3SSascha Hauer	help
154215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
155215c29d3SSascha Hauer
156215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
157215c29d3SSascha Hauer	  will be called pwm-samsung.
158215c29d3SSascha Hauer
159ce20364bSShiraz Hashimconfig PWM_SPEAR
160ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
161ce20364bSShiraz Hashim	depends on PLAT_SPEAR
162ce20364bSShiraz Hashim	depends on OF
163ce20364bSShiraz Hashim	help
164ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
165ce20364bSShiraz Hashim	  SPEAr SoCs.
166ce20364bSShiraz Hashim
167ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
168ce20364bSShiraz Hashim	  will be called pwm-spear.
169ce20364bSShiraz Hashim
1700134b932SThierry Redingconfig PWM_TEGRA
1710134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
1720134b932SThierry Reding	depends on ARCH_TEGRA
1730134b932SThierry Reding	help
1740134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
1750134b932SThierry Reding	  Tegra SoCs.
1760134b932SThierry Reding
1770134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
1780134b932SThierry Reding	  will be called pwm-tegra.
1790134b932SThierry Reding
1808e0cb05bSPhilip, Avinashconfig  PWM_TIECAP
1818e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
1821bf0f20bSPhilip Avinash	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
1838e0cb05bSPhilip, Avinash	help
1848e0cb05bSPhilip, Avinash	  PWM driver support for the ECAP APWM controller found on AM33XX
1858e0cb05bSPhilip, Avinash	  TI SOC
1868e0cb05bSPhilip, Avinash
1878e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
1888e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
1898e0cb05bSPhilip, Avinash
19019891b20SPhilip, Avinashconfig  PWM_TIEHRPWM
19119891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
1921bf0f20bSPhilip Avinash	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
19319891b20SPhilip, Avinash	help
19419891b20SPhilip, Avinash	  PWM driver support for the EHRPWM controller found on AM33XX
19519891b20SPhilip, Avinash	  TI SOC
19619891b20SPhilip, Avinash
19719891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
19819891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
19919891b20SPhilip, Avinash
200af0ba001SPhilip, Avinashconfig  PWM_TIPWMSS
201af0ba001SPhilip, Avinash	bool
2021bf0f20bSPhilip Avinash	default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
203af0ba001SPhilip, Avinash	help
204af0ba001SPhilip, Avinash	  PWM Subsystem driver support for AM33xx SOC.
205af0ba001SPhilip, Avinash
206af0ba001SPhilip, Avinash	  PWM submodules require PWM config space access from submodule
207af0ba001SPhilip, Avinash	  drivers and require common parent driver support.
208af0ba001SPhilip, Avinash
2093744c263SPeter Ujfalusiconfig PWM_TWL
2103744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
2113744c263SPeter Ujfalusi	depends on TWL4030_CORE
2123744c263SPeter Ujfalusi	help
2133744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
2143744c263SPeter Ujfalusi
2153744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
2163744c263SPeter Ujfalusi	  will be called pwm-twl.
2173744c263SPeter Ujfalusi
218aa765647SPeter Ujfalusiconfig PWM_TWL_LED
219aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
220aa765647SPeter Ujfalusi	depends on TWL4030_CORE
221aa765647SPeter Ujfalusi	help
222aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
223aa765647SPeter Ujfalusi
224aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
225aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
226aa765647SPeter Ujfalusi
227a245ccebSSascha Hauerconfig PWM_VT8500
228b133d2a1SThierry Reding	tristate "vt8500 PWM support"
229a245ccebSSascha Hauer	depends on ARCH_VT8500
230a245ccebSSascha Hauer	help
231a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
232a245ccebSSascha Hauer
233a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
234a245ccebSSascha Hauer	  will be called pwm-vt8500.
235a245ccebSSascha Hauer
2360c2498f1SSascha Hauerendif
237