xref: /openbmc/linux/drivers/pwm/Kconfig (revision 79c11b6f)
10c2498f1SSascha Hauermenuconfig PWM
2b817bf5cSThierry Reding	bool "Pulse-Width Modulation (PWM) Support"
379c11b6fSThierry Reding	depends on !MACH_JZ4740
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
326173f8f4SThierry Redingconfig PWM_AB8500
336173f8f4SThierry Reding	tristate "AB8500 PWM support"
346173f8f4SThierry Reding	depends on AB8500_CORE && ARCH_U8500
356173f8f4SThierry Reding	help
366173f8f4SThierry Reding	  Generic PWM framework driver for Analog Baseband AB8500.
376173f8f4SThierry Reding
386173f8f4SThierry Reding	  To compile this driver as a module, choose M here: the module
396173f8f4SThierry Reding	  will be called pwm-ab8500.
406173f8f4SThierry 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
7979c11b6fSThierry Redingconfig PWM_PUV3
8079c11b6fSThierry Reding	tristate "PKUnity NetBook-0916 PWM support"
8179c11b6fSThierry Reding	depends on ARCH_PUV3
8279c11b6fSThierry Reding	help
8379c11b6fSThierry Reding	  Generic PWM framework driver for PKUnity NetBook-0916.
8479c11b6fSThierry Reding
8579c11b6fSThierry Reding	  To compile this driver as a module, choose M here: the module
8679c11b6fSThierry Reding	  will be called pwm-puv3.
8779c11b6fSThierry Reding
8817b2b478SThierry Redingconfig PWM_PXA
8917b2b478SThierry Reding	tristate "PXA PWM support"
9017b2b478SThierry Reding	depends on ARCH_PXA
9117b2b478SThierry Reding	help
9217b2b478SThierry Reding	  Generic PWM framework driver for PXA.
9317b2b478SThierry Reding
9417b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
9517b2b478SThierry Reding	  will be called pwm-pxa.
9617b2b478SThierry Reding
97215c29d3SSascha Hauerconfig PWM_SAMSUNG
98215c29d3SSascha Hauer	tristate "Samsung pwm support"
99215c29d3SSascha Hauer	depends on PLAT_SAMSUNG
100215c29d3SSascha Hauer	help
101215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
102215c29d3SSascha Hauer
103215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
104215c29d3SSascha Hauer	  will be called pwm-samsung.
105215c29d3SSascha Hauer
1060134b932SThierry Redingconfig PWM_TEGRA
1070134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
1080134b932SThierry Reding	depends on ARCH_TEGRA
1090134b932SThierry Reding	help
1100134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
1110134b932SThierry Reding	  Tegra SoCs.
1120134b932SThierry Reding
1130134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
1140134b932SThierry Reding	  will be called pwm-tegra.
1150134b932SThierry Reding
1168e0cb05bSPhilip, Avinashconfig  PWM_TIECAP
1178e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
1188e0cb05bSPhilip, Avinash	depends on SOC_AM33XX
1198e0cb05bSPhilip, Avinash	help
1208e0cb05bSPhilip, Avinash	  PWM driver support for the ECAP APWM controller found on AM33XX
1218e0cb05bSPhilip, Avinash	  TI SOC
1228e0cb05bSPhilip, Avinash
1238e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
1248e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
1258e0cb05bSPhilip, Avinash
12619891b20SPhilip, Avinashconfig  PWM_TIEHRPWM
12719891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
12819891b20SPhilip, Avinash	depends on SOC_AM33XX
12919891b20SPhilip, Avinash	help
13019891b20SPhilip, Avinash	  PWM driver support for the EHRPWM controller found on AM33XX
13119891b20SPhilip, Avinash	  TI SOC
13219891b20SPhilip, Avinash
13319891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
13419891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
13519891b20SPhilip, Avinash
136a245ccebSSascha Hauerconfig PWM_VT8500
137a245ccebSSascha Hauer	tristate "vt8500 pwm support"
138a245ccebSSascha Hauer	depends on ARCH_VT8500
139a245ccebSSascha Hauer	help
140a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
141a245ccebSSascha Hauer
142a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
143a245ccebSSascha Hauer	  will be called pwm-vt8500.
144a245ccebSSascha Hauer
1450c2498f1SSascha Hauerendif
146