xref: /openbmc/linux/drivers/pwm/Kconfig (revision 2974b098)
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
4432b16d46SBo Shenconfig PWM_ATMEL
4532b16d46SBo Shen	tristate "Atmel PWM support"
4632b16d46SBo Shen	depends on ARCH_AT91
4732b16d46SBo Shen	help
4832b16d46SBo Shen	  Generic PWM framework driver for Atmel SoC.
4932b16d46SBo Shen
5032b16d46SBo Shen	  To compile this driver as a module, choose M here: the module
5132b16d46SBo Shen	  will be called pwm-atmel.
5232b16d46SBo Shen
539421badeSBoris BREZILLONconfig PWM_ATMEL_TCB
54b133d2a1SThierry Reding	tristate "Atmel TC Block PWM support"
559421badeSBoris BREZILLON	depends on ATMEL_TCLIB && OF
569421badeSBoris BREZILLON	help
579421badeSBoris BREZILLON	  Generic PWM framework driver for Atmel Timer Counter Block.
589421badeSBoris BREZILLON
599421badeSBoris BREZILLON	  A Timer Counter Block provides 6 PWM devices grouped by 2.
609421badeSBoris BREZILLON	  Devices in a given group must have the same period.
619421badeSBoris BREZILLON
629421badeSBoris BREZILLON	  To compile this driver as a module, choose M here: the module
639421badeSBoris BREZILLON	  will be called pwm-atmel-tcb.
649421badeSBoris BREZILLON
65a4315e3cSThierry Redingconfig PWM_BFIN
66a4315e3cSThierry Reding	tristate "Blackfin PWM support"
67a4315e3cSThierry Reding	depends on BFIN_GPTIMERS
68a4315e3cSThierry Reding	help
69a4315e3cSThierry Reding	  Generic PWM framework driver for Blackfin.
70a4315e3cSThierry Reding
71a4315e3cSThierry Reding	  To compile this driver as a module, choose M here: the module
72a4315e3cSThierry Reding	  will be called pwm-bfin.
73a4315e3cSThierry Reding
74a2308698SH Hartley Sweetenconfig PWM_EP93XX
75a2308698SH Hartley Sweeten	tristate "Cirrus Logic EP93xx PWM support"
76a2308698SH Hartley Sweeten	depends on ARCH_EP93XX
77a2308698SH Hartley Sweeten	help
78a2308698SH Hartley Sweeten	  Generic PWM framework driver for Cirrus Logic EP93xx.
79a2308698SH Hartley Sweeten
80a2308698SH Hartley Sweeten	  To compile this driver as a module, choose M here: the module
81a2308698SH Hartley Sweeten	  will be called pwm-ep93xx.
82a2308698SH Hartley Sweeten
8329693248SSascha Hauerconfig PWM_IMX
84b133d2a1SThierry Reding	tristate "i.MX PWM support"
8529693248SSascha Hauer	depends on ARCH_MXC
8629693248SSascha Hauer	help
8729693248SSascha Hauer	  Generic PWM framework driver for i.MX.
8829693248SSascha Hauer
8929693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
9029693248SSascha Hauer	  will be called pwm-imx.
9129693248SSascha Hauer
92f6b8a570SThierry Redingconfig PWM_JZ4740
93f6b8a570SThierry Reding	tristate "Ingenic JZ4740 PWM support"
94f6b8a570SThierry Reding	depends on MACH_JZ4740
95f6b8a570SThierry Reding	help
96f6b8a570SThierry Reding	  Generic PWM framework driver for Ingenic JZ4740 based
97f6b8a570SThierry Reding	  machines.
98f6b8a570SThierry Reding
99f6b8a570SThierry Reding	  To compile this driver as a module, choose M here: the module
100f6b8a570SThierry Reding	  will be called pwm-jz4740.
101f6b8a570SThierry Reding
102af66b3c0SMilo Kimconfig PWM_LP3943
103af66b3c0SMilo Kim	tristate "TI/National Semiconductor LP3943 PWM support"
104af66b3c0SMilo Kim	depends on MFD_LP3943
105af66b3c0SMilo Kim	help
106af66b3c0SMilo Kim	  Generic PWM framework driver for LP3943 which supports two PWM
107af66b3c0SMilo Kim	  channels.
108af66b3c0SMilo Kim
109af66b3c0SMilo Kim	  To compile this driver as a module, choose M here: the module
110af66b3c0SMilo Kim	  will be called pwm-lp3943.
111af66b3c0SMilo Kim
1122132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
1132132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
1142132fa8dSAlexandre Pereira da Silva	depends on ARCH_LPC32XX
1152132fa8dSAlexandre Pereira da Silva	help
1162132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
1172132fa8dSAlexandre Pereira da Silva	  PWM controllers.
1182132fa8dSAlexandre Pereira da Silva
1192132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
1202132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
1212132fa8dSAlexandre Pereira da Silva
1224dce82c1SShawn Guoconfig PWM_MXS
1234dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
1244dce82c1SShawn Guo	depends on ARCH_MXS && OF
12501bf32e9SShawn Guo	select STMP_DEVICE
1264dce82c1SShawn Guo	help
1274dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
1284dce82c1SShawn Guo
1294dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
1304dce82c1SShawn Guo	  will be called pwm-mxs.
1314dce82c1SShawn Guo
13288b613e6SSteffen Trumtrarconfig PWM_PCA9685
13388b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
1342c80a492SAxel Lin	depends on OF && I2C
1352c80a492SAxel Lin	select REGMAP_I2C
13688b613e6SSteffen Trumtrar	help
13788b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
13888b613e6SSteffen Trumtrar
13988b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
14088b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
14188b613e6SSteffen Trumtrar
14279c11b6fSThierry Redingconfig PWM_PUV3
14379c11b6fSThierry Reding	tristate "PKUnity NetBook-0916 PWM support"
14479c11b6fSThierry Reding	depends on ARCH_PUV3
14579c11b6fSThierry Reding	help
14679c11b6fSThierry Reding	  Generic PWM framework driver for PKUnity NetBook-0916.
14779c11b6fSThierry Reding
14879c11b6fSThierry Reding	  To compile this driver as a module, choose M here: the module
14979c11b6fSThierry Reding	  will be called pwm-puv3.
15079c11b6fSThierry Reding
15117b2b478SThierry Redingconfig PWM_PXA
15217b2b478SThierry Reding	tristate "PXA PWM support"
15317b2b478SThierry Reding	depends on ARCH_PXA
15417b2b478SThierry Reding	help
15517b2b478SThierry Reding	  Generic PWM framework driver for PXA.
15617b2b478SThierry Reding
15717b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
15817b2b478SThierry Reding	  will be called pwm-pxa.
15917b2b478SThierry Reding
16099b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
16199b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
16294d88d63SLaurent Pinchart	depends on ARCH_SHMOBILE || COMPILE_TEST
1632974b098SRichard Weinberger	depends on HAS_IOMEM
16499b82abbSLaurent Pinchart	help
16599b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
16699b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
16799b82abbSLaurent Pinchart
16899b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
16999b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
17099b82abbSLaurent Pinchart
171215c29d3SSascha Hauerconfig PWM_SAMSUNG
172b133d2a1SThierry Reding	tristate "Samsung PWM support"
173215c29d3SSascha Hauer	depends on PLAT_SAMSUNG
174215c29d3SSascha Hauer	help
175215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
176215c29d3SSascha Hauer
177215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
178215c29d3SSascha Hauer	  will be called pwm-samsung.
179215c29d3SSascha Hauer
180ce20364bSShiraz Hashimconfig PWM_SPEAR
181ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
182ce20364bSShiraz Hashim	depends on PLAT_SPEAR
183ce20364bSShiraz Hashim	depends on OF
184ce20364bSShiraz Hashim	help
185ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
186ce20364bSShiraz Hashim	  SPEAr SoCs.
187ce20364bSShiraz Hashim
188ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
189ce20364bSShiraz Hashim	  will be called pwm-spear.
190ce20364bSShiraz Hashim
1910134b932SThierry Redingconfig PWM_TEGRA
1920134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
1930134b932SThierry Reding	depends on ARCH_TEGRA
1940134b932SThierry Reding	help
1950134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
1960134b932SThierry Reding	  Tegra SoCs.
1970134b932SThierry Reding
1980134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
1990134b932SThierry Reding	  will be called pwm-tegra.
2000134b932SThierry Reding
2018e0cb05bSPhilip, Avinashconfig  PWM_TIECAP
2028e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
2031bf0f20bSPhilip Avinash	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
2048e0cb05bSPhilip, Avinash	help
2058e0cb05bSPhilip, Avinash	  PWM driver support for the ECAP APWM controller found on AM33XX
2068e0cb05bSPhilip, Avinash	  TI SOC
2078e0cb05bSPhilip, Avinash
2088e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
2098e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
2108e0cb05bSPhilip, Avinash
21119891b20SPhilip, Avinashconfig  PWM_TIEHRPWM
21219891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
2131bf0f20bSPhilip Avinash	depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
21419891b20SPhilip, Avinash	help
21519891b20SPhilip, Avinash	  PWM driver support for the EHRPWM controller found on AM33XX
21619891b20SPhilip, Avinash	  TI SOC
21719891b20SPhilip, Avinash
21819891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
21919891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
22019891b20SPhilip, Avinash
221af0ba001SPhilip, Avinashconfig  PWM_TIPWMSS
222af0ba001SPhilip, Avinash	bool
2231bf0f20bSPhilip Avinash	default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
224af0ba001SPhilip, Avinash	help
225af0ba001SPhilip, Avinash	  PWM Subsystem driver support for AM33xx SOC.
226af0ba001SPhilip, Avinash
227af0ba001SPhilip, Avinash	  PWM submodules require PWM config space access from submodule
228af0ba001SPhilip, Avinash	  drivers and require common parent driver support.
229af0ba001SPhilip, Avinash
2303744c263SPeter Ujfalusiconfig PWM_TWL
2313744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
2323744c263SPeter Ujfalusi	depends on TWL4030_CORE
2333744c263SPeter Ujfalusi	help
2343744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
2353744c263SPeter Ujfalusi
2363744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
2373744c263SPeter Ujfalusi	  will be called pwm-twl.
2383744c263SPeter Ujfalusi
239aa765647SPeter Ujfalusiconfig PWM_TWL_LED
240aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
241aa765647SPeter Ujfalusi	depends on TWL4030_CORE
242aa765647SPeter Ujfalusi	help
243aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
244aa765647SPeter Ujfalusi
245aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
246aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
247aa765647SPeter Ujfalusi
248a245ccebSSascha Hauerconfig PWM_VT8500
249b133d2a1SThierry Reding	tristate "vt8500 PWM support"
250a245ccebSSascha Hauer	depends on ARCH_VT8500
251a245ccebSSascha Hauer	help
252a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
253a245ccebSSascha Hauer
254a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
255a245ccebSSascha Hauer	  will be called pwm-vt8500.
256a245ccebSSascha Hauer
2570c2498f1SSascha Hauerendif
258