xref: /openbmc/linux/drivers/pwm/Kconfig (revision 9fc0486f)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20c2498f1SSascha Hauermenuconfig PWM
3b817bf5cSThierry Reding	bool "Pulse-Width Modulation (PWM) Support"
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
3276abbddeSH Hartley Sweetenconfig PWM_SYSFS
3376abbddeSH Hartley Sweeten	bool
3476abbddeSH Hartley Sweeten	default y if SYSFS
3576abbddeSH Hartley Sweeten
363ad1f3a3SUwe Kleine-Königconfig PWM_DEBUG
373ad1f3a3SUwe Kleine-König	bool "PWM lowlevel drivers additional checks and debug messages"
383ad1f3a3SUwe Kleine-König	depends on DEBUG_KERNEL
393ad1f3a3SUwe Kleine-König	help
403ad1f3a3SUwe Kleine-König	  This option enables some additional checks to help lowlevel driver
413ad1f3a3SUwe Kleine-König	  authors to get their callbacks implemented correctly.
423ad1f3a3SUwe Kleine-König	  It is expected to introduce some runtime overhead and diagnostic
433ad1f3a3SUwe Kleine-König	  output to the kernel log, so only enable while working on a driver.
443ad1f3a3SUwe Kleine-König
456173f8f4SThierry Redingconfig PWM_AB8500
466173f8f4SThierry Reding	tristate "AB8500 PWM support"
476173f8f4SThierry Reding	depends on AB8500_CORE && ARCH_U8500
486173f8f4SThierry Reding	help
496173f8f4SThierry Reding	  Generic PWM framework driver for Analog Baseband AB8500.
506173f8f4SThierry Reding
516173f8f4SThierry Reding	  To compile this driver as a module, choose M here: the module
526173f8f4SThierry Reding	  will be called pwm-ab8500.
536173f8f4SThierry Reding
5432b16d46SBo Shenconfig PWM_ATMEL
5532b16d46SBo Shen	tristate "Atmel PWM support"
56e96c0ff4SKrzysztof Kozlowski	depends on ARCH_AT91 || COMPILE_TEST
5771d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
5832b16d46SBo Shen	help
5932b16d46SBo Shen	  Generic PWM framework driver for Atmel SoC.
6032b16d46SBo Shen
6132b16d46SBo Shen	  To compile this driver as a module, choose M here: the module
6232b16d46SBo Shen	  will be called pwm-atmel.
6332b16d46SBo Shen
642b4984beSBoris Brezillonconfig PWM_ATMEL_HLCDC_PWM
652b4984beSBoris Brezillon	tristate "Atmel HLCDC PWM support"
662b4984beSBoris Brezillon	depends on MFD_ATMEL_HLCDC
67d2048c49SThierry Reding	depends on HAVE_CLK
682b4984beSBoris Brezillon	help
692b4984beSBoris Brezillon	  Generic PWM framework driver for the PWM output of the HLCDC
702b4984beSBoris Brezillon	  (Atmel High-end LCD Controller). This PWM output is mainly used
712b4984beSBoris Brezillon	  to control the LCD backlight.
722b4984beSBoris Brezillon
732b4984beSBoris Brezillon	  To compile this driver as a module, choose M here: the module
742b4984beSBoris Brezillon	  will be called pwm-atmel-hlcdc.
752b4984beSBoris Brezillon
769421badeSBoris BREZILLONconfig PWM_ATMEL_TCB
77b133d2a1SThierry Reding	tristate "Atmel TC Block PWM support"
78061f8572SAlexandre Belloni	depends on OF
79061f8572SAlexandre Belloni	select REGMAP_MMIO
809421badeSBoris BREZILLON	help
819421badeSBoris BREZILLON	  Generic PWM framework driver for Atmel Timer Counter Block.
829421badeSBoris BREZILLON
839421badeSBoris BREZILLON	  A Timer Counter Block provides 6 PWM devices grouped by 2.
849421badeSBoris BREZILLON	  Devices in a given group must have the same period.
859421badeSBoris BREZILLON
869421badeSBoris BREZILLON	  To compile this driver as a module, choose M here: the module
879421badeSBoris BREZILLON	  will be called pwm-atmel-tcb.
889421badeSBoris BREZILLON
89daa5abc4SYendapally Reddy Dhananjaya Reddyconfig PWM_BCM_IPROC
90daa5abc4SYendapally Reddy Dhananjaya Reddy	tristate "iProc PWM support"
915bf22ff3SScott Branden	depends on ARCH_BCM_IPROC || COMPILE_TEST
9271d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
935bf22ff3SScott Branden	default ARCH_BCM_IPROC
94daa5abc4SYendapally Reddy Dhananjaya Reddy	help
95daa5abc4SYendapally Reddy Dhananjaya Reddy	  Generic PWM framework driver for Broadcom iProc PWM block. This
96daa5abc4SYendapally Reddy Dhananjaya Reddy	  block is used in Broadcom iProc SoC's.
97daa5abc4SYendapally Reddy Dhananjaya Reddy
98daa5abc4SYendapally Reddy Dhananjaya Reddy	  To compile this driver as a module, choose M here: the module
99daa5abc4SYendapally Reddy Dhananjaya Reddy	  will be called pwm-bcm-iproc.
100daa5abc4SYendapally Reddy Dhananjaya Reddy
1016a4e4bffSTim Krygerconfig PWM_BCM_KONA
1026a4e4bffSTim Kryger	tristate "Kona PWM support"
10388a053d2SClément Péron	depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST
10488a053d2SClément Péron	depends on HAVE_CLK && HAS_IOMEM
10588a053d2SClément Péron	default ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS
1066a4e4bffSTim Kryger	help
1076a4e4bffSTim Kryger	  Generic PWM framework driver for Broadcom Kona PWM block.
1086a4e4bffSTim Kryger
1096a4e4bffSTim Kryger	  To compile this driver as a module, choose M here: the module
1106a4e4bffSTim Kryger	  will be called pwm-bcm-kona.
1116a4e4bffSTim Kryger
112e5a06dc5SBart Tangheconfig PWM_BCM2835
113e5a06dc5SBart Tanghe	tristate "BCM2835 PWM support"
114e96c0ff4SKrzysztof Kozlowski	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
11571d4b833SUwe Kleine-König	depends on HAS_IOMEM
116e5a06dc5SBart Tanghe	help
117e5a06dc5SBart Tanghe	  PWM framework driver for BCM2835 controller (Raspberry Pi)
118e5a06dc5SBart Tanghe
119e5a06dc5SBart Tanghe	  To compile this driver as a module, choose M here: the module
120e5a06dc5SBart Tanghe	  will be called pwm-bcm2835.
121e5a06dc5SBart Tanghe
12259d5c8b1SAntoine Ténartconfig PWM_BERLIN
12359d5c8b1SAntoine Ténart	tristate "Marvell Berlin PWM support"
124e96c0ff4SKrzysztof Kozlowski	depends on ARCH_BERLIN || COMPILE_TEST
12571d4b833SUwe Kleine-König	depends on HAS_IOMEM
12659d5c8b1SAntoine Ténart	help
12759d5c8b1SAntoine Ténart	  PWM framework driver for Marvell Berlin SoCs.
12859d5c8b1SAntoine Ténart
12959d5c8b1SAntoine Ténart	  To compile this driver as a module, choose M here: the module
13059d5c8b1SAntoine Ténart	  will be called pwm-berlin.
13159d5c8b1SAntoine Ténart
1323a9f5957SFlorian Fainelliconfig PWM_BRCMSTB
1333a9f5957SFlorian Fainelli	tristate "Broadcom STB PWM support"
134e96c0ff4SKrzysztof Kozlowski	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
13571d4b833SUwe Kleine-König	depends on HAS_IOMEM
1363a9f5957SFlorian Fainelli	help
1373a9f5957SFlorian Fainelli	  Generic PWM framework driver for the Broadcom Set-top-Box
1383a9f5957SFlorian Fainelli	  SoCs (BCM7xxx).
1393a9f5957SFlorian Fainelli
1403a9f5957SFlorian Fainelli	  To compile this driver as a module, choose M Here: the module
1413a9f5957SFlorian Fainelli	  will be called pwm-brcmstb.c.
1423a9f5957SFlorian Fainelli
1437eb3f6ffSAlexander Shiyanconfig PWM_CLPS711X
1447eb3f6ffSAlexander Shiyan	tristate "CLPS711X PWM support"
1457eb3f6ffSAlexander Shiyan	depends on ARCH_CLPS711X || COMPILE_TEST
146dec02f98SChen Gang	depends on HAS_IOMEM
1477eb3f6ffSAlexander Shiyan	help
1487eb3f6ffSAlexander Shiyan	  Generic PWM framework driver for Cirrus Logic CLPS711X.
1497eb3f6ffSAlexander Shiyan
1507eb3f6ffSAlexander Shiyan	  To compile this driver as a module, choose M here: the module
1517eb3f6ffSAlexander Shiyan	  will be called pwm-clps711x.
1527eb3f6ffSAlexander Shiyan
153a3f37a10SShobhit Kumarconfig PWM_CRC
154a3f37a10SShobhit Kumar	bool "Intel Crystalcove (CRC) PWM support"
155a3f37a10SShobhit Kumar	depends on X86 && INTEL_SOC_PMIC
156a3f37a10SShobhit Kumar	help
157a3f37a10SShobhit Kumar	  Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
158a3f37a10SShobhit Kumar	  control.
159a3f37a10SShobhit Kumar
1601f0d3bb0SBrian Norrisconfig PWM_CROS_EC
1611f0d3bb0SBrian Norris	tristate "ChromeOS EC PWM driver"
16247f11e0bSEnric Balletbo i Serra	depends on CROS_EC
1631f0d3bb0SBrian Norris	help
1641f0d3bb0SBrian Norris	  PWM driver for exposing a PWM attached to the ChromeOS Embedded
1651f0d3bb0SBrian Norris	  Controller.
1661f0d3bb0SBrian Norris
1671ed2b3fcSJarkko Nikulaconfig PWM_DWC
1681ed2b3fcSJarkko Nikula	tristate "DesignWare PWM Controller"
1691ed2b3fcSJarkko Nikula	depends on PCI
1701ed2b3fcSJarkko Nikula	help
1711ed2b3fcSJarkko Nikula	  PWM driver for Synopsys DWC PWM Controller attached to a PCI bus.
1721ed2b3fcSJarkko Nikula
1731ed2b3fcSJarkko Nikula	  To compile this driver as a module, choose M here: the module
1741ed2b3fcSJarkko Nikula	  will be called pwm-dwc.
1751ed2b3fcSJarkko Nikula
176a2308698SH Hartley Sweetenconfig PWM_EP93XX
177a2308698SH Hartley Sweeten	tristate "Cirrus Logic EP93xx PWM support"
178e96c0ff4SKrzysztof Kozlowski	depends on ARCH_EP93XX || COMPILE_TEST
17971d4b833SUwe Kleine-König	depends on HAS_IOMEM
180a2308698SH Hartley Sweeten	help
181a2308698SH Hartley Sweeten	  Generic PWM framework driver for Cirrus Logic EP93xx.
182a2308698SH Hartley Sweeten
183a2308698SH Hartley Sweeten	  To compile this driver as a module, choose M here: the module
184a2308698SH Hartley Sweeten	  will be called pwm-ep93xx.
185a2308698SH Hartley Sweeten
186b505183bSXiubo Liconfig PWM_FSL_FTM
187b505183bSXiubo Li	tristate "Freescale FlexTimer Module (FTM) PWM support"
18836d5be4bSVegard Nossum	depends on HAS_IOMEM
189b505183bSXiubo Li	depends on OF
19000018a8aSFabio Estevam	select REGMAP_MMIO
191b505183bSXiubo Li	help
192b505183bSXiubo Li	  Generic FTM PWM framework driver for Freescale VF610 and
193b505183bSXiubo Li	  Layerscape LS-1 SoCs.
194b505183bSXiubo Li
195b505183bSXiubo Li	  To compile this driver as a module, choose M here: the module
196b505183bSXiubo Li	  will be called pwm-fsl-ftm.
197b505183bSXiubo Li
198d09f0081Syuanjianconfig PWM_HIBVT
199d09f0081Syuanjian	tristate "HiSilicon BVT PWM support"
200d09f0081Syuanjian	depends on ARCH_HISI || COMPILE_TEST
20171d4b833SUwe Kleine-König	depends on HAS_IOMEM
202d09f0081Syuanjian	help
203d09f0081Syuanjian	  Generic PWM framework driver for HiSilicon BVT SoCs.
204d09f0081Syuanjian
205d09f0081Syuanjian	  To compile this driver as a module, choose M here: the module
206d09f0081Syuanjian	  will be called pwm-hibvt.
207d09f0081Syuanjian
208277bb6a2SNaidu Tellapaticonfig PWM_IMG
209277bb6a2SNaidu Tellapati	tristate "Imagination Technologies PWM driver"
210277bb6a2SNaidu Tellapati	depends on HAS_IOMEM
211277bb6a2SNaidu Tellapati	depends on MFD_SYSCON
212277bb6a2SNaidu Tellapati	depends on COMMON_CLK
213277bb6a2SNaidu Tellapati	depends on MIPS || COMPILE_TEST
214277bb6a2SNaidu Tellapati	help
215277bb6a2SNaidu Tellapati	  Generic PWM framework driver for Imagination Technologies
216277bb6a2SNaidu Tellapati	  PWM block which supports 4 channels.
217277bb6a2SNaidu Tellapati
218277bb6a2SNaidu Tellapati	  To compile this driver as a module, choose M here: the module
219277bb6a2SNaidu Tellapati	  will be called pwm-img
220277bb6a2SNaidu Tellapati
221d80f8206SUwe Kleine-Königconfig PWM_IMX1
222d80f8206SUwe Kleine-König	tristate "i.MX1 PWM support"
223e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
22471d4b833SUwe Kleine-König	depends on HAS_IOMEM
22529693248SSascha Hauer	help
226d80f8206SUwe Kleine-König	  Generic PWM framework driver for i.MX1 and i.MX21
22729693248SSascha Hauer
22829693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
229d80f8206SUwe Kleine-König	  will be called pwm-imx1.
230d80f8206SUwe Kleine-König
231d80f8206SUwe Kleine-Königconfig PWM_IMX27
232d80f8206SUwe Kleine-König	tristate "i.MX27 PWM support"
233e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
23471d4b833SUwe Kleine-König	depends on HAS_IOMEM
235d80f8206SUwe Kleine-König	help
236d80f8206SUwe Kleine-König	  Generic PWM framework driver for i.MX27 and later i.MX SoCs.
237d80f8206SUwe Kleine-König
238d80f8206SUwe Kleine-König	  To compile this driver as a module, choose M here: the module
239d80f8206SUwe Kleine-König	  will be called pwm-imx27.
24029693248SSascha Hauer
241738a1cfeSAnson Huangconfig PWM_IMX_TPM
242738a1cfeSAnson Huang	tristate "i.MX TPM PWM support"
243738a1cfeSAnson Huang	depends on ARCH_MXC || COMPILE_TEST
244738a1cfeSAnson Huang	depends on HAVE_CLK && HAS_IOMEM
245738a1cfeSAnson Huang	help
246738a1cfeSAnson Huang	  Generic PWM framework driver for i.MX7ULP TPM module, TPM's full
247738a1cfeSAnson Huang	  name is Low Power Timer/Pulse Width Modulation Module.
248738a1cfeSAnson Huang
249738a1cfeSAnson Huang	  To compile this driver as a module, choose M here: the module
250738a1cfeSAnson Huang	  will be called pwm-imx-tpm.
251738a1cfeSAnson Huang
25297960addSRahul Tanwarconfig PWM_INTEL_LGM
25397960addSRahul Tanwar	tristate "Intel LGM PWM support"
25497960addSRahul Tanwar	depends on HAS_IOMEM
25597960addSRahul Tanwar	depends on (OF && X86) || COMPILE_TEST
25697960addSRahul Tanwar	select REGMAP_MMIO
25797960addSRahul Tanwar	help
25897960addSRahul Tanwar	  Generic PWM fan controller driver for LGM SoC.
25997960addSRahul Tanwar
26097960addSRahul Tanwar	  To compile this driver as a module, choose M here: the module
26197960addSRahul Tanwar	  will be called pwm-intel-lgm.
26297960addSRahul Tanwar
2636f0841a8SJeff LaBundyconfig PWM_IQS620A
2646f0841a8SJeff LaBundy	tristate "Azoteq IQS620A PWM support"
2656f0841a8SJeff LaBundy	depends on MFD_IQS62X || COMPILE_TEST
2666f0841a8SJeff LaBundy	help
2676f0841a8SJeff LaBundy	  Generic PWM framework driver for the Azoteq IQS620A multi-function
2686f0841a8SJeff LaBundy	  sensor.
2696f0841a8SJeff LaBundy
2706f0841a8SJeff LaBundy	  To compile this driver as a module, choose M here: the module will
2716f0841a8SJeff LaBundy	  be called pwm-iqs620a.
2726f0841a8SJeff LaBundy
273f6b8a570SThierry Redingconfig PWM_JZ4740
274b4190062SPaul Cercueil	tristate "Ingenic JZ47xx PWM support"
275b48d49e0SPaul Cercueil	depends on MIPS
276ce1f9cecSPaul Cercueil	depends on COMMON_CLK
277c2693514SPaul Cercueil	select MFD_SYSCON
278f6b8a570SThierry Reding	help
279b4190062SPaul Cercueil	  Generic PWM framework driver for Ingenic JZ47xx based
280f6b8a570SThierry Reding	  machines.
281f6b8a570SThierry Reding
282f6b8a570SThierry Reding	  To compile this driver as a module, choose M here: the module
283f6b8a570SThierry Reding	  will be called pwm-jz4740.
284f6b8a570SThierry Reding
285bd899cebSVijayakannan Ayyathuraiconfig PWM_KEEMBAY
286bd899cebSVijayakannan Ayyathurai	tristate "Intel Keem Bay PWM driver"
287bd899cebSVijayakannan Ayyathurai	depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)
288bd899cebSVijayakannan Ayyathurai	help
289bd899cebSVijayakannan Ayyathurai	  The platform driver for Intel Keem Bay PWM controller.
290bd899cebSVijayakannan Ayyathurai
291bd899cebSVijayakannan Ayyathurai	  To compile this driver as a module, choose M here: the module
292bd899cebSVijayakannan Ayyathurai	  will be called pwm-keembay.
293bd899cebSVijayakannan Ayyathurai
294af66b3c0SMilo Kimconfig PWM_LP3943
295af66b3c0SMilo Kim	tristate "TI/National Semiconductor LP3943 PWM support"
296af66b3c0SMilo Kim	depends on MFD_LP3943
297af66b3c0SMilo Kim	help
298af66b3c0SMilo Kim	  Generic PWM framework driver for LP3943 which supports two PWM
299af66b3c0SMilo Kim	  channels.
300af66b3c0SMilo Kim
301af66b3c0SMilo Kim	  To compile this driver as a module, choose M here: the module
302af66b3c0SMilo Kim	  will be called pwm-lp3943.
303af66b3c0SMilo Kim
304841e6f90SAriel D'Alessandroconfig PWM_LPC18XX_SCT
305841e6f90SAriel D'Alessandro	tristate "LPC18xx/43xx PWM/SCT support"
306e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC18XX || COMPILE_TEST
30771d4b833SUwe Kleine-König	depends on HAS_IOMEM
308841e6f90SAriel D'Alessandro	help
309841e6f90SAriel D'Alessandro	  Generic PWM framework driver for NXP LPC18xx PWM/SCT which
310841e6f90SAriel D'Alessandro	  supports 16 channels.
311841e6f90SAriel D'Alessandro	  A maximum of 15 channels can be requested simultaneously and
312841e6f90SAriel D'Alessandro	  must have the same period.
313841e6f90SAriel D'Alessandro
314841e6f90SAriel D'Alessandro	  To compile this driver as a module, choose M here: the module
315841e6f90SAriel D'Alessandro	  will be called pwm-lpc18xx-sct.
316841e6f90SAriel D'Alessandro
3172132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
3182132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
319e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC32XX || COMPILE_TEST
32071d4b833SUwe Kleine-König	depends on HAS_IOMEM
3212132fa8dSAlexandre Pereira da Silva	help
3222132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
3232132fa8dSAlexandre Pereira da Silva	  PWM controllers.
3242132fa8dSAlexandre Pereira da Silva
3252132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
3262132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
3272132fa8dSAlexandre Pereira da Silva
328d16a5aa9SMika Westerbergconfig PWM_LPSS
32971d4b833SUwe Kleine-König	depends on HAS_IOMEM
3306f90a00cSAndy Shevchenko	tristate
331d16a5aa9SMika Westerberg
332c558e39eSAndy Shevchenkoconfig PWM_LPSS_PCI
333c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM PCI driver"
334aa43edcbSUwe Kleine-König	depends on X86 || COMPILE_TEST
335aa43edcbSUwe Kleine-König	depends on HAS_IOMEM && PCI
3366f90a00cSAndy Shevchenko	select PWM_LPSS
337c558e39eSAndy Shevchenko	help
338c558e39eSAndy Shevchenko	  The PCI driver for Intel Low Power Subsystem PWM controller.
339c558e39eSAndy Shevchenko
340c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
341c558e39eSAndy Shevchenko	  will be called pwm-lpss-pci.
342c558e39eSAndy Shevchenko
343c558e39eSAndy Shevchenkoconfig PWM_LPSS_PLATFORM
344c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM platform driver"
345aa43edcbSUwe Kleine-König	depends on (X86 && ACPI) || COMPILE_TEST
34671d4b833SUwe Kleine-König	depends on HAS_IOMEM
3476f90a00cSAndy Shevchenko	select PWM_LPSS
348c558e39eSAndy Shevchenko	help
349c558e39eSAndy Shevchenko	  The platform driver for Intel Low Power Subsystem PWM controller.
350c558e39eSAndy Shevchenko
351c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
352c558e39eSAndy Shevchenko	  will be called pwm-lpss-platform.
353c558e39eSAndy Shevchenko
354211ed630SNeil Armstrongconfig PWM_MESON
355211ed630SNeil Armstrong	tristate "Amlogic Meson PWM driver"
356e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MESON || COMPILE_TEST
35771d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
358211ed630SNeil Armstrong	help
359211ed630SNeil Armstrong	  The platform driver for Amlogic Meson PWM controller.
360211ed630SNeil Armstrong
361211ed630SNeil Armstrong	  To compile this driver as a module, choose M here: the module
362211ed630SNeil Armstrong	  will be called pwm-meson.
363211ed630SNeil Armstrong
3647e3b7dc7SYH Huangconfig PWM_MTK_DISP
3657e3b7dc7SYH Huang	tristate "MediaTek display PWM driver"
3667e3b7dc7SYH Huang	depends on ARCH_MEDIATEK || COMPILE_TEST
3677e3b7dc7SYH Huang	depends on HAS_IOMEM
3687e3b7dc7SYH Huang	help
3697e3b7dc7SYH Huang	  Generic PWM framework driver for MediaTek disp-pwm device.
3707e3b7dc7SYH Huang	  The PWM is used to control the backlight brightness for display.
3717e3b7dc7SYH Huang
3727e3b7dc7SYH Huang	  To compile this driver as a module, choose M here: the module
3737e3b7dc7SYH Huang	  will be called pwm-mtk-disp.
3747e3b7dc7SYH Huang
375caf065f8SJohn Crispinconfig PWM_MEDIATEK
376caf065f8SJohn Crispin	tristate "MediaTek PWM support"
3778cdc43afSJohn Crispin	depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
37871d4b833SUwe Kleine-König	depends on HAS_IOMEM
379caf065f8SJohn Crispin	help
380caf065f8SJohn Crispin	  Generic PWM framework driver for Mediatek ARM SoC.
381caf065f8SJohn Crispin
382caf065f8SJohn Crispin	  To compile this driver as a module, choose M here: the module
383aa12d7a7SZhi Mao	  will be called pwm-mediatek.
384caf065f8SJohn Crispin
3854dce82c1SShawn Guoconfig PWM_MXS
3864dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
387e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXS || COMPILE_TEST
38871d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
38901bf32e9SShawn Guo	select STMP_DEVICE
3904dce82c1SShawn Guo	help
3914dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
3924dce82c1SShawn Guo
3934dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
3944dce82c1SShawn Guo	  will be called pwm-mxs.
3954dce82c1SShawn Guo
396*9fc0486fSJonathan Neuschäferconfig PWM_NTXEC
397*9fc0486fSJonathan Neuschäfer	tristate "Netronix embedded controller PWM support"
398*9fc0486fSJonathan Neuschäfer	depends on MFD_NTXEC
399*9fc0486fSJonathan Neuschäfer	help
400*9fc0486fSJonathan Neuschäfer	  Say yes here if you want to support the PWM output of the embedded
401*9fc0486fSJonathan Neuschäfer	  controller found in certain e-book readers designed by the original
402*9fc0486fSJonathan Neuschäfer	  design manufacturer Netronix.
403*9fc0486fSJonathan Neuschäfer
4046604c655SNeil Armstrongconfig PWM_OMAP_DMTIMER
4056604c655SNeil Armstrong	tristate "OMAP Dual-Mode Timer PWM support"
4069f2919e9SUwe Kleine-König	depends on OF
4079f2919e9SUwe Kleine-König	depends on OMAP_DM_TIMER || COMPILE_TEST
4086604c655SNeil Armstrong	help
4096604c655SNeil Armstrong	  Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
4106604c655SNeil Armstrong
4116604c655SNeil Armstrong	  To compile this driver as a module, choose M here: the module
4126604c655SNeil Armstrong	  will be called pwm-omap-dmtimer
4136604c655SNeil Armstrong
41488b613e6SSteffen Trumtrarconfig PWM_PCA9685
41588b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
416912b8439SAndy Shevchenko	depends on I2C
4172c80a492SAxel Lin	select REGMAP_I2C
41888b613e6SSteffen Trumtrar	help
41988b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
42088b613e6SSteffen Trumtrar
42188b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
42288b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
42388b613e6SSteffen Trumtrar
42417b2b478SThierry Redingconfig PWM_PXA
42517b2b478SThierry Reding	tristate "PXA PWM support"
426e96c0ff4SKrzysztof Kozlowski	depends on ARCH_PXA || COMPILE_TEST
42771d4b833SUwe Kleine-König	depends on HAS_IOMEM
42817b2b478SThierry Reding	help
42917b2b478SThierry Reding	  Generic PWM framework driver for PXA.
43017b2b478SThierry Reding
43117b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
43217b2b478SThierry Reding	  will be called pwm-pxa.
43317b2b478SThierry Reding
434ed6c1476SYoshihiro Shimodaconfig PWM_RCAR
435ed6c1476SYoshihiro Shimoda	tristate "Renesas R-Car PWM support"
43648169988SRyo Kodama	depends on ARCH_RENESAS || COMPILE_TEST
437ed6c1476SYoshihiro Shimoda	depends on HAS_IOMEM
438ed6c1476SYoshihiro Shimoda	help
439ed6c1476SYoshihiro Shimoda	  This driver exposes the PWM Timer controller found in Renesas
440ed6c1476SYoshihiro Shimoda	  R-Car chips through the PWM API.
441ed6c1476SYoshihiro Shimoda
442ed6c1476SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the module
443ed6c1476SYoshihiro Shimoda	  will be called pwm-rcar.
444ed6c1476SYoshihiro Shimoda
44599b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
44699b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
44703d99531SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
4482974b098SRichard Weinberger	depends on HAS_IOMEM
44999b82abbSLaurent Pinchart	help
45099b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
45199b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
45299b82abbSLaurent Pinchart
45399b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
45499b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
45599b82abbSLaurent Pinchart
456101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP
457101353c8SBeniamino Galvani	tristate "Rockchip PWM support"
458e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ROCKCHIP || COMPILE_TEST
45971d4b833SUwe Kleine-König	depends on HAS_IOMEM
460101353c8SBeniamino Galvani	help
461101353c8SBeniamino Galvani	  Generic PWM framework driver for the PWM controller found on
462101353c8SBeniamino Galvani	  Rockchip SoCs.
463101353c8SBeniamino Galvani
464215c29d3SSascha Hauerconfig PWM_SAMSUNG
465b133d2a1SThierry Reding	tristate "Samsung PWM support"
466db8230d2SArnd Bergmann	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
46771d4b833SUwe Kleine-König	depends on HAS_IOMEM
468215c29d3SSascha Hauer	help
469215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
470215c29d3SSascha Hauer
471215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
472215c29d3SSascha Hauer	  will be called pwm-samsung.
473215c29d3SSascha Hauer
4749e37a53eSYash Shahconfig PWM_SIFIVE
4759e37a53eSYash Shah	tristate "SiFive PWM support"
4769e37a53eSYash Shah	depends on OF
47771d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
4789e37a53eSYash Shah	depends on RISCV || COMPILE_TEST
4799e37a53eSYash Shah	help
4809e37a53eSYash Shah	  Generic PWM framework driver for SiFive SoCs.
4819e37a53eSYash Shah
4829e37a53eSYash Shah	  To compile this driver as a module, choose M here: the module
4839e37a53eSYash Shah	  will be called pwm-sifive.
4849e37a53eSYash Shah
4859db33d22SMichael Walleconfig PWM_SL28CPLD
4869db33d22SMichael Walle	tristate "Kontron sl28cpld PWM support"
4879db33d22SMichael Walle	depends on MFD_SL28CPLD || COMPILE_TEST
4889db33d22SMichael Walle	help
4899db33d22SMichael Walle	  Generic PWM framework driver for board management controller
4909db33d22SMichael Walle	  found on the Kontron sl28 CPLD.
4919db33d22SMichael Walle
4929db33d22SMichael Walle	  To compile this driver as a module, choose M here: the module
4939db33d22SMichael Walle	  will be called pwm-sl28cpld.
4949db33d22SMichael Walle
495ce20364bSShiraz Hashimconfig PWM_SPEAR
496ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
497e96c0ff4SKrzysztof Kozlowski	depends on PLAT_SPEAR || COMPILE_TEST
49871d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
499ce20364bSShiraz Hashim	help
500ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
501ce20364bSShiraz Hashim	  SPEAr SoCs.
502ce20364bSShiraz Hashim
503ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
504ce20364bSShiraz Hashim	  will be called pwm-spear.
505ce20364bSShiraz Hashim
5068aae4b02SBaolin Wangconfig PWM_SPRD
5078aae4b02SBaolin Wang	tristate "Spreadtrum PWM support"
5088aae4b02SBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
5098aae4b02SBaolin Wang	depends on HAS_IOMEM
5108aae4b02SBaolin Wang	help
5118aae4b02SBaolin Wang	  Generic PWM framework driver for the PWM controller on
5128aae4b02SBaolin Wang	  Spreadtrum SoCs.
5138aae4b02SBaolin Wang
5148aae4b02SBaolin Wang	  To compile this driver as a module, choose M here: the module
5158aae4b02SBaolin Wang	  will be called pwm-sprd.
5168aae4b02SBaolin Wang
517378fe115SLee Jonesconfig PWM_STI
518378fe115SLee Jones	tristate "STiH4xx PWM support"
519e96c0ff4SKrzysztof Kozlowski	depends on ARCH_STI || COMPILE_TEST
52071d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
521378fe115SLee Jones	help
522378fe115SLee Jones	  Generic PWM framework driver for STiH4xx SoCs.
523378fe115SLee Jones
524378fe115SLee Jones	  To compile this driver as a module, choose M here: the module
525378fe115SLee Jones	  will be called pwm-sti.
526378fe115SLee Jones
5277edf7369SBenjamin Gaignardconfig PWM_STM32
5287edf7369SBenjamin Gaignard	tristate "STMicroelectronics STM32 PWM"
529e96c0ff4SKrzysztof Kozlowski	depends on MFD_STM32_TIMERS || COMPILE_TEST
5307edf7369SBenjamin Gaignard	help
5317edf7369SBenjamin Gaignard	  Generic PWM framework driver for STM32 SoCs.
5327edf7369SBenjamin Gaignard
5337edf7369SBenjamin Gaignard	  To compile this driver as a module, choose M here: the module
5347edf7369SBenjamin Gaignard	  will be called pwm-stm32.
5357edf7369SBenjamin Gaignard
536e70a540bSFabrice Gasnierconfig PWM_STM32_LP
537e70a540bSFabrice Gasnier	tristate "STMicroelectronics STM32 PWM LP"
538e70a540bSFabrice Gasnier	depends on MFD_STM32_LPTIMER || COMPILE_TEST
539e70a540bSFabrice Gasnier	help
540e70a540bSFabrice Gasnier	  Generic PWM framework driver for STMicroelectronics STM32 SoCs
541e70a540bSFabrice Gasnier	  with Low-Power Timer (LPTIM).
542e70a540bSFabrice Gasnier
543e70a540bSFabrice Gasnier	  To compile this driver as a module, choose M here: the module
544e70a540bSFabrice Gasnier	  will be called pwm-stm32-lp.
545e70a540bSFabrice Gasnier
546ef1f09ecSLinus Walleijconfig PWM_STMPE
547ef1f09ecSLinus Walleij	bool "STMPE expander PWM export"
548ef1f09ecSLinus Walleij	depends on MFD_STMPE
549ef1f09ecSLinus Walleij	help
550ef1f09ecSLinus Walleij	  This enables support for the PWMs found in the STMPE I/O
551ef1f09ecSLinus Walleij	  expanders.
552ef1f09ecSLinus Walleij
55309853ce7SAlexandre Belloniconfig PWM_SUN4I
55409853ce7SAlexandre Belloni	tristate "Allwinner PWM support"
55509853ce7SAlexandre Belloni	depends on ARCH_SUNXI || COMPILE_TEST
55609853ce7SAlexandre Belloni	depends on HAS_IOMEM && COMMON_CLK
55709853ce7SAlexandre Belloni	help
55809853ce7SAlexandre Belloni	  Generic PWM framework driver for Allwinner SoCs.
55909853ce7SAlexandre Belloni
56009853ce7SAlexandre Belloni	  To compile this driver as a module, choose M here: the module
56109853ce7SAlexandre Belloni	  will be called pwm-sun4i.
56209853ce7SAlexandre Belloni
5630134b932SThierry Redingconfig PWM_TEGRA
5640134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
565e96c0ff4SKrzysztof Kozlowski	depends on ARCH_TEGRA || COMPILE_TEST
56671d4b833SUwe Kleine-König	depends on HAS_IOMEM
5670134b932SThierry Reding	help
5680134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
5690134b932SThierry Reding	  Tegra SoCs.
5700134b932SThierry Reding
5710134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
5720134b932SThierry Reding	  will be called pwm-tegra.
5730134b932SThierry Reding
5748e0cb05bSPhilip, Avinashconfig PWM_TIECAP
5758e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
576e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
57771d4b833SUwe Kleine-König	depends on HAS_IOMEM
5788e0cb05bSPhilip, Avinash	help
5796f37709fSVignesh R	  PWM driver support for the ECAP APWM controller found on TI SOCs
5808e0cb05bSPhilip, Avinash
5818e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
5828e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
5838e0cb05bSPhilip, Avinash
58419891b20SPhilip, Avinashconfig PWM_TIEHRPWM
58519891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
586e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
58771d4b833SUwe Kleine-König	depends on HAS_IOMEM
58819891b20SPhilip, Avinash	help
589efc80fb3SVignesh Raghavendra	  PWM driver support for the EHRPWM controller found on TI SOCs
59019891b20SPhilip, Avinash
59119891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
59219891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
59319891b20SPhilip, Avinash
5943744c263SPeter Ujfalusiconfig PWM_TWL
5953744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
5963744c263SPeter Ujfalusi	depends on TWL4030_CORE
5973744c263SPeter Ujfalusi	help
5983744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
5993744c263SPeter Ujfalusi
6003744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
6013744c263SPeter Ujfalusi	  will be called pwm-twl.
6023744c263SPeter Ujfalusi
603aa765647SPeter Ujfalusiconfig PWM_TWL_LED
604aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
605aa765647SPeter Ujfalusi	depends on TWL4030_CORE
606aa765647SPeter Ujfalusi	help
607aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
608aa765647SPeter Ujfalusi
609aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
610aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
611aa765647SPeter Ujfalusi
612a245ccebSSascha Hauerconfig PWM_VT8500
613b133d2a1SThierry Reding	tristate "vt8500 PWM support"
614e96c0ff4SKrzysztof Kozlowski	depends on ARCH_VT8500 || COMPILE_TEST
61571d4b833SUwe Kleine-König	depends on HAS_IOMEM
616a245ccebSSascha Hauer	help
617a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
618a245ccebSSascha Hauer
619a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
620a245ccebSSascha Hauer	  will be called pwm-vt8500.
621a245ccebSSascha Hauer
6220c2498f1SSascha Hauerendif
623