xref: /openbmc/linux/drivers/pwm/Kconfig (revision aa43edcb)
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"
334*aa43edcbSUwe Kleine-König	depends on X86 || COMPILE_TEST
335*aa43edcbSUwe 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"
345*aa43edcbSUwe 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
3966604c655SNeil Armstrongconfig PWM_OMAP_DMTIMER
3976604c655SNeil Armstrong	tristate "OMAP Dual-Mode Timer PWM support"
3989f2919e9SUwe Kleine-König	depends on OF
3999f2919e9SUwe Kleine-König	depends on OMAP_DM_TIMER || COMPILE_TEST
4006604c655SNeil Armstrong	help
4016604c655SNeil Armstrong	  Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
4026604c655SNeil Armstrong
4036604c655SNeil Armstrong	  To compile this driver as a module, choose M here: the module
4046604c655SNeil Armstrong	  will be called pwm-omap-dmtimer
4056604c655SNeil Armstrong
40688b613e6SSteffen Trumtrarconfig PWM_PCA9685
40788b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
408912b8439SAndy Shevchenko	depends on I2C
4092c80a492SAxel Lin	select REGMAP_I2C
41088b613e6SSteffen Trumtrar	help
41188b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
41288b613e6SSteffen Trumtrar
41388b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
41488b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
41588b613e6SSteffen Trumtrar
41617b2b478SThierry Redingconfig PWM_PXA
41717b2b478SThierry Reding	tristate "PXA PWM support"
418e96c0ff4SKrzysztof Kozlowski	depends on ARCH_PXA || COMPILE_TEST
41971d4b833SUwe Kleine-König	depends on HAS_IOMEM
42017b2b478SThierry Reding	help
42117b2b478SThierry Reding	  Generic PWM framework driver for PXA.
42217b2b478SThierry Reding
42317b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
42417b2b478SThierry Reding	  will be called pwm-pxa.
42517b2b478SThierry Reding
426ed6c1476SYoshihiro Shimodaconfig PWM_RCAR
427ed6c1476SYoshihiro Shimoda	tristate "Renesas R-Car PWM support"
42848169988SRyo Kodama	depends on ARCH_RENESAS || COMPILE_TEST
429ed6c1476SYoshihiro Shimoda	depends on HAS_IOMEM
430ed6c1476SYoshihiro Shimoda	help
431ed6c1476SYoshihiro Shimoda	  This driver exposes the PWM Timer controller found in Renesas
432ed6c1476SYoshihiro Shimoda	  R-Car chips through the PWM API.
433ed6c1476SYoshihiro Shimoda
434ed6c1476SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the module
435ed6c1476SYoshihiro Shimoda	  will be called pwm-rcar.
436ed6c1476SYoshihiro Shimoda
43799b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
43899b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
43903d99531SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
4402974b098SRichard Weinberger	depends on HAS_IOMEM
44199b82abbSLaurent Pinchart	help
44299b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
44399b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
44499b82abbSLaurent Pinchart
44599b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
44699b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
44799b82abbSLaurent Pinchart
448101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP
449101353c8SBeniamino Galvani	tristate "Rockchip PWM support"
450e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ROCKCHIP || COMPILE_TEST
45171d4b833SUwe Kleine-König	depends on HAS_IOMEM
452101353c8SBeniamino Galvani	help
453101353c8SBeniamino Galvani	  Generic PWM framework driver for the PWM controller found on
454101353c8SBeniamino Galvani	  Rockchip SoCs.
455101353c8SBeniamino Galvani
456215c29d3SSascha Hauerconfig PWM_SAMSUNG
457b133d2a1SThierry Reding	tristate "Samsung PWM support"
458db8230d2SArnd Bergmann	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
45971d4b833SUwe Kleine-König	depends on HAS_IOMEM
460215c29d3SSascha Hauer	help
461215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
462215c29d3SSascha Hauer
463215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
464215c29d3SSascha Hauer	  will be called pwm-samsung.
465215c29d3SSascha Hauer
4669e37a53eSYash Shahconfig PWM_SIFIVE
4679e37a53eSYash Shah	tristate "SiFive PWM support"
4689e37a53eSYash Shah	depends on OF
46971d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
4709e37a53eSYash Shah	depends on RISCV || COMPILE_TEST
4719e37a53eSYash Shah	help
4729e37a53eSYash Shah	  Generic PWM framework driver for SiFive SoCs.
4739e37a53eSYash Shah
4749e37a53eSYash Shah	  To compile this driver as a module, choose M here: the module
4759e37a53eSYash Shah	  will be called pwm-sifive.
4769e37a53eSYash Shah
4779db33d22SMichael Walleconfig PWM_SL28CPLD
4789db33d22SMichael Walle	tristate "Kontron sl28cpld PWM support"
4799db33d22SMichael Walle	depends on MFD_SL28CPLD || COMPILE_TEST
4809db33d22SMichael Walle	help
4819db33d22SMichael Walle	  Generic PWM framework driver for board management controller
4829db33d22SMichael Walle	  found on the Kontron sl28 CPLD.
4839db33d22SMichael Walle
4849db33d22SMichael Walle	  To compile this driver as a module, choose M here: the module
4859db33d22SMichael Walle	  will be called pwm-sl28cpld.
4869db33d22SMichael Walle
487ce20364bSShiraz Hashimconfig PWM_SPEAR
488ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
489e96c0ff4SKrzysztof Kozlowski	depends on PLAT_SPEAR || COMPILE_TEST
49071d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
491ce20364bSShiraz Hashim	help
492ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
493ce20364bSShiraz Hashim	  SPEAr SoCs.
494ce20364bSShiraz Hashim
495ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
496ce20364bSShiraz Hashim	  will be called pwm-spear.
497ce20364bSShiraz Hashim
4988aae4b02SBaolin Wangconfig PWM_SPRD
4998aae4b02SBaolin Wang	tristate "Spreadtrum PWM support"
5008aae4b02SBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
5018aae4b02SBaolin Wang	depends on HAS_IOMEM
5028aae4b02SBaolin Wang	help
5038aae4b02SBaolin Wang	  Generic PWM framework driver for the PWM controller on
5048aae4b02SBaolin Wang	  Spreadtrum SoCs.
5058aae4b02SBaolin Wang
5068aae4b02SBaolin Wang	  To compile this driver as a module, choose M here: the module
5078aae4b02SBaolin Wang	  will be called pwm-sprd.
5088aae4b02SBaolin Wang
509378fe115SLee Jonesconfig PWM_STI
510378fe115SLee Jones	tristate "STiH4xx PWM support"
511e96c0ff4SKrzysztof Kozlowski	depends on ARCH_STI || COMPILE_TEST
51271d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
513378fe115SLee Jones	help
514378fe115SLee Jones	  Generic PWM framework driver for STiH4xx SoCs.
515378fe115SLee Jones
516378fe115SLee Jones	  To compile this driver as a module, choose M here: the module
517378fe115SLee Jones	  will be called pwm-sti.
518378fe115SLee Jones
5197edf7369SBenjamin Gaignardconfig PWM_STM32
5207edf7369SBenjamin Gaignard	tristate "STMicroelectronics STM32 PWM"
521e96c0ff4SKrzysztof Kozlowski	depends on MFD_STM32_TIMERS || COMPILE_TEST
5227edf7369SBenjamin Gaignard	help
5237edf7369SBenjamin Gaignard	  Generic PWM framework driver for STM32 SoCs.
5247edf7369SBenjamin Gaignard
5257edf7369SBenjamin Gaignard	  To compile this driver as a module, choose M here: the module
5267edf7369SBenjamin Gaignard	  will be called pwm-stm32.
5277edf7369SBenjamin Gaignard
528e70a540bSFabrice Gasnierconfig PWM_STM32_LP
529e70a540bSFabrice Gasnier	tristate "STMicroelectronics STM32 PWM LP"
530e70a540bSFabrice Gasnier	depends on MFD_STM32_LPTIMER || COMPILE_TEST
531e70a540bSFabrice Gasnier	help
532e70a540bSFabrice Gasnier	  Generic PWM framework driver for STMicroelectronics STM32 SoCs
533e70a540bSFabrice Gasnier	  with Low-Power Timer (LPTIM).
534e70a540bSFabrice Gasnier
535e70a540bSFabrice Gasnier	  To compile this driver as a module, choose M here: the module
536e70a540bSFabrice Gasnier	  will be called pwm-stm32-lp.
537e70a540bSFabrice Gasnier
538ef1f09ecSLinus Walleijconfig PWM_STMPE
539ef1f09ecSLinus Walleij	bool "STMPE expander PWM export"
540ef1f09ecSLinus Walleij	depends on MFD_STMPE
541ef1f09ecSLinus Walleij	help
542ef1f09ecSLinus Walleij	  This enables support for the PWMs found in the STMPE I/O
543ef1f09ecSLinus Walleij	  expanders.
544ef1f09ecSLinus Walleij
54509853ce7SAlexandre Belloniconfig PWM_SUN4I
54609853ce7SAlexandre Belloni	tristate "Allwinner PWM support"
54709853ce7SAlexandre Belloni	depends on ARCH_SUNXI || COMPILE_TEST
54809853ce7SAlexandre Belloni	depends on HAS_IOMEM && COMMON_CLK
54909853ce7SAlexandre Belloni	help
55009853ce7SAlexandre Belloni	  Generic PWM framework driver for Allwinner SoCs.
55109853ce7SAlexandre Belloni
55209853ce7SAlexandre Belloni	  To compile this driver as a module, choose M here: the module
55309853ce7SAlexandre Belloni	  will be called pwm-sun4i.
55409853ce7SAlexandre Belloni
5550134b932SThierry Redingconfig PWM_TEGRA
5560134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
557e96c0ff4SKrzysztof Kozlowski	depends on ARCH_TEGRA || COMPILE_TEST
55871d4b833SUwe Kleine-König	depends on HAS_IOMEM
5590134b932SThierry Reding	help
5600134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
5610134b932SThierry Reding	  Tegra SoCs.
5620134b932SThierry Reding
5630134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
5640134b932SThierry Reding	  will be called pwm-tegra.
5650134b932SThierry Reding
5668e0cb05bSPhilip, Avinashconfig PWM_TIECAP
5678e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
568e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
56971d4b833SUwe Kleine-König	depends on HAS_IOMEM
5708e0cb05bSPhilip, Avinash	help
5716f37709fSVignesh R	  PWM driver support for the ECAP APWM controller found on TI SOCs
5728e0cb05bSPhilip, Avinash
5738e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
5748e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
5758e0cb05bSPhilip, Avinash
57619891b20SPhilip, Avinashconfig PWM_TIEHRPWM
57719891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
578e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
57971d4b833SUwe Kleine-König	depends on HAS_IOMEM
58019891b20SPhilip, Avinash	help
581efc80fb3SVignesh Raghavendra	  PWM driver support for the EHRPWM controller found on TI SOCs
58219891b20SPhilip, Avinash
58319891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
58419891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
58519891b20SPhilip, Avinash
5863744c263SPeter Ujfalusiconfig PWM_TWL
5873744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
5883744c263SPeter Ujfalusi	depends on TWL4030_CORE
5893744c263SPeter Ujfalusi	help
5903744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
5913744c263SPeter Ujfalusi
5923744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
5933744c263SPeter Ujfalusi	  will be called pwm-twl.
5943744c263SPeter Ujfalusi
595aa765647SPeter Ujfalusiconfig PWM_TWL_LED
596aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
597aa765647SPeter Ujfalusi	depends on TWL4030_CORE
598aa765647SPeter Ujfalusi	help
599aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
600aa765647SPeter Ujfalusi
601aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
602aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
603aa765647SPeter Ujfalusi
604a245ccebSSascha Hauerconfig PWM_VT8500
605b133d2a1SThierry Reding	tristate "vt8500 PWM support"
606e96c0ff4SKrzysztof Kozlowski	depends on ARCH_VT8500 || COMPILE_TEST
60771d4b833SUwe Kleine-König	depends on HAS_IOMEM
608a245ccebSSascha Hauer	help
609a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
610a245ccebSSascha Hauer
611a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
612a245ccebSSascha Hauer	  will be called pwm-vt8500.
613a245ccebSSascha Hauer
6144836193cSShawn Guoconfig PWM_ZX
6154836193cSShawn Guo	tristate "ZTE ZX PWM support"
616e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ZX || COMPILE_TEST
61771d4b833SUwe Kleine-König	depends on HAS_IOMEM
6184836193cSShawn Guo	help
6194836193cSShawn Guo	  Generic PWM framework driver for ZTE ZX family SoCs.
6204836193cSShawn Guo
6214836193cSShawn Guo	  To compile this driver as a module, choose M here: the module
6224836193cSShawn Guo	  will be called pwm-zx.
6234836193cSShawn Guo
6240c2498f1SSascha Hauerendif
625