xref: /openbmc/linux/drivers/pwm/Kconfig (revision b3c4af85)
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"
2752ee4bc91SUwe Kleine-König	depends on MIPS || COMPILE_TEST
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"
287cf83f7b7SUwe Kleine-König	depends on ARCH_KEEMBAY || COMPILE_TEST
288cf83f7b7SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
289bd899cebSVijayakannan Ayyathurai	help
290bd899cebSVijayakannan Ayyathurai	  The platform driver for Intel Keem Bay PWM controller.
291bd899cebSVijayakannan Ayyathurai
292bd899cebSVijayakannan Ayyathurai	  To compile this driver as a module, choose M here: the module
293bd899cebSVijayakannan Ayyathurai	  will be called pwm-keembay.
294bd899cebSVijayakannan Ayyathurai
295af66b3c0SMilo Kimconfig PWM_LP3943
296af66b3c0SMilo Kim	tristate "TI/National Semiconductor LP3943 PWM support"
297af66b3c0SMilo Kim	depends on MFD_LP3943
298af66b3c0SMilo Kim	help
299af66b3c0SMilo Kim	  Generic PWM framework driver for LP3943 which supports two PWM
300af66b3c0SMilo Kim	  channels.
301af66b3c0SMilo Kim
302af66b3c0SMilo Kim	  To compile this driver as a module, choose M here: the module
303af66b3c0SMilo Kim	  will be called pwm-lp3943.
304af66b3c0SMilo Kim
305841e6f90SAriel D'Alessandroconfig PWM_LPC18XX_SCT
306841e6f90SAriel D'Alessandro	tristate "LPC18xx/43xx PWM/SCT support"
307e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC18XX || COMPILE_TEST
30871d4b833SUwe Kleine-König	depends on HAS_IOMEM
309841e6f90SAriel D'Alessandro	help
310841e6f90SAriel D'Alessandro	  Generic PWM framework driver for NXP LPC18xx PWM/SCT which
311841e6f90SAriel D'Alessandro	  supports 16 channels.
312841e6f90SAriel D'Alessandro	  A maximum of 15 channels can be requested simultaneously and
313841e6f90SAriel D'Alessandro	  must have the same period.
314841e6f90SAriel D'Alessandro
315841e6f90SAriel D'Alessandro	  To compile this driver as a module, choose M here: the module
316841e6f90SAriel D'Alessandro	  will be called pwm-lpc18xx-sct.
317841e6f90SAriel D'Alessandro
3182132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
3192132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
320e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC32XX || COMPILE_TEST
32171d4b833SUwe Kleine-König	depends on HAS_IOMEM
3222132fa8dSAlexandre Pereira da Silva	help
3232132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
3242132fa8dSAlexandre Pereira da Silva	  PWM controllers.
3252132fa8dSAlexandre Pereira da Silva
3262132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
3272132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
3282132fa8dSAlexandre Pereira da Silva
329d16a5aa9SMika Westerbergconfig PWM_LPSS
33071d4b833SUwe Kleine-König	depends on HAS_IOMEM
3316f90a00cSAndy Shevchenko	tristate
332d16a5aa9SMika Westerberg
333c558e39eSAndy Shevchenkoconfig PWM_LPSS_PCI
334c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM PCI driver"
335aa43edcbSUwe Kleine-König	depends on X86 || COMPILE_TEST
336aa43edcbSUwe Kleine-König	depends on HAS_IOMEM && PCI
3376f90a00cSAndy Shevchenko	select PWM_LPSS
338c558e39eSAndy Shevchenko	help
339c558e39eSAndy Shevchenko	  The PCI driver for Intel Low Power Subsystem PWM controller.
340c558e39eSAndy Shevchenko
341c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
342c558e39eSAndy Shevchenko	  will be called pwm-lpss-pci.
343c558e39eSAndy Shevchenko
344c558e39eSAndy Shevchenkoconfig PWM_LPSS_PLATFORM
345c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM platform driver"
346aa43edcbSUwe Kleine-König	depends on (X86 && ACPI) || COMPILE_TEST
34771d4b833SUwe Kleine-König	depends on HAS_IOMEM
3486f90a00cSAndy Shevchenko	select PWM_LPSS
349c558e39eSAndy Shevchenko	help
350c558e39eSAndy Shevchenko	  The platform driver for Intel Low Power Subsystem PWM controller.
351c558e39eSAndy Shevchenko
352c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
353c558e39eSAndy Shevchenko	  will be called pwm-lpss-platform.
354c558e39eSAndy Shevchenko
355211ed630SNeil Armstrongconfig PWM_MESON
356211ed630SNeil Armstrong	tristate "Amlogic Meson PWM driver"
357e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MESON || COMPILE_TEST
35871d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
359211ed630SNeil Armstrong	help
360211ed630SNeil Armstrong	  The platform driver for Amlogic Meson PWM controller.
361211ed630SNeil Armstrong
362211ed630SNeil Armstrong	  To compile this driver as a module, choose M here: the module
363211ed630SNeil Armstrong	  will be called pwm-meson.
364211ed630SNeil Armstrong
3657e3b7dc7SYH Huangconfig PWM_MTK_DISP
3667e3b7dc7SYH Huang	tristate "MediaTek display PWM driver"
3677e3b7dc7SYH Huang	depends on ARCH_MEDIATEK || COMPILE_TEST
3687e3b7dc7SYH Huang	depends on HAS_IOMEM
3697e3b7dc7SYH Huang	help
3707e3b7dc7SYH Huang	  Generic PWM framework driver for MediaTek disp-pwm device.
3717e3b7dc7SYH Huang	  The PWM is used to control the backlight brightness for display.
3727e3b7dc7SYH Huang
3737e3b7dc7SYH Huang	  To compile this driver as a module, choose M here: the module
3747e3b7dc7SYH Huang	  will be called pwm-mtk-disp.
3757e3b7dc7SYH Huang
376caf065f8SJohn Crispinconfig PWM_MEDIATEK
377caf065f8SJohn Crispin	tristate "MediaTek PWM support"
3788cdc43afSJohn Crispin	depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
37971d4b833SUwe Kleine-König	depends on HAS_IOMEM
380caf065f8SJohn Crispin	help
381caf065f8SJohn Crispin	  Generic PWM framework driver for Mediatek ARM SoC.
382caf065f8SJohn Crispin
383caf065f8SJohn Crispin	  To compile this driver as a module, choose M here: the module
384aa12d7a7SZhi Mao	  will be called pwm-mediatek.
385caf065f8SJohn Crispin
3864dce82c1SShawn Guoconfig PWM_MXS
3874dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
388e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXS || COMPILE_TEST
38971d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
39001bf32e9SShawn Guo	select STMP_DEVICE
3914dce82c1SShawn Guo	help
3924dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
3934dce82c1SShawn Guo
3944dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
3954dce82c1SShawn Guo	  will be called pwm-mxs.
3964dce82c1SShawn Guo
3979fc0486fSJonathan Neuschäferconfig PWM_NTXEC
3989fc0486fSJonathan Neuschäfer	tristate "Netronix embedded controller PWM support"
3999fc0486fSJonathan Neuschäfer	depends on MFD_NTXEC
4009fc0486fSJonathan Neuschäfer	help
4019fc0486fSJonathan Neuschäfer	  Say yes here if you want to support the PWM output of the embedded
4029fc0486fSJonathan Neuschäfer	  controller found in certain e-book readers designed by the original
4039fc0486fSJonathan Neuschäfer	  design manufacturer Netronix.
4049fc0486fSJonathan Neuschäfer
4056604c655SNeil Armstrongconfig PWM_OMAP_DMTIMER
4066604c655SNeil Armstrong	tristate "OMAP Dual-Mode Timer PWM support"
4079f2919e9SUwe Kleine-König	depends on OF
4089f2919e9SUwe Kleine-König	depends on OMAP_DM_TIMER || COMPILE_TEST
4096604c655SNeil Armstrong	help
4106604c655SNeil Armstrong	  Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
4116604c655SNeil Armstrong
4126604c655SNeil Armstrong	  To compile this driver as a module, choose M here: the module
4136604c655SNeil Armstrong	  will be called pwm-omap-dmtimer
4146604c655SNeil Armstrong
41588b613e6SSteffen Trumtrarconfig PWM_PCA9685
41688b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
417912b8439SAndy Shevchenko	depends on I2C
4182c80a492SAxel Lin	select REGMAP_I2C
41988b613e6SSteffen Trumtrar	help
42088b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
42188b613e6SSteffen Trumtrar
42288b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
42388b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
42488b613e6SSteffen Trumtrar
42517b2b478SThierry Redingconfig PWM_PXA
42617b2b478SThierry Reding	tristate "PXA PWM support"
427e96c0ff4SKrzysztof Kozlowski	depends on ARCH_PXA || COMPILE_TEST
42871d4b833SUwe Kleine-König	depends on HAS_IOMEM
42917b2b478SThierry Reding	help
43017b2b478SThierry Reding	  Generic PWM framework driver for PXA.
43117b2b478SThierry Reding
43217b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
43317b2b478SThierry Reding	  will be called pwm-pxa.
43417b2b478SThierry Reding
43579caa362SNicolas Saenz Julienneconfig PWM_RASPBERRYPI_POE
43679caa362SNicolas Saenz Julienne	tristate "Raspberry Pi Firwmware PoE Hat PWM support"
43779caa362SNicolas Saenz Julienne	# Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
43879caa362SNicolas Saenz Julienne	# happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
43979caa362SNicolas Saenz Julienne	depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
44079caa362SNicolas Saenz Julienne	help
44179caa362SNicolas Saenz Julienne	  Enable Raspberry Pi firmware controller PWM bus used to control the
44279caa362SNicolas Saenz Julienne	  official RPI PoE hat
44379caa362SNicolas Saenz Julienne
444ed6c1476SYoshihiro Shimodaconfig PWM_RCAR
445ed6c1476SYoshihiro Shimoda	tristate "Renesas R-Car PWM support"
44648169988SRyo Kodama	depends on ARCH_RENESAS || COMPILE_TEST
447ed6c1476SYoshihiro Shimoda	depends on HAS_IOMEM
448ed6c1476SYoshihiro Shimoda	help
449ed6c1476SYoshihiro Shimoda	  This driver exposes the PWM Timer controller found in Renesas
450ed6c1476SYoshihiro Shimoda	  R-Car chips through the PWM API.
451ed6c1476SYoshihiro Shimoda
452ed6c1476SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the module
453ed6c1476SYoshihiro Shimoda	  will be called pwm-rcar.
454ed6c1476SYoshihiro Shimoda
45599b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
45699b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
45703d99531SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
4582974b098SRichard Weinberger	depends on HAS_IOMEM
45999b82abbSLaurent Pinchart	help
46099b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
46199b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
46299b82abbSLaurent Pinchart
46399b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
46499b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
46599b82abbSLaurent Pinchart
466101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP
467101353c8SBeniamino Galvani	tristate "Rockchip PWM support"
468e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ROCKCHIP || COMPILE_TEST
46971d4b833SUwe Kleine-König	depends on HAS_IOMEM
470101353c8SBeniamino Galvani	help
471101353c8SBeniamino Galvani	  Generic PWM framework driver for the PWM controller found on
472101353c8SBeniamino Galvani	  Rockchip SoCs.
473101353c8SBeniamino Galvani
474215c29d3SSascha Hauerconfig PWM_SAMSUNG
475b133d2a1SThierry Reding	tristate "Samsung PWM support"
476db8230d2SArnd Bergmann	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
47771d4b833SUwe Kleine-König	depends on HAS_IOMEM
478215c29d3SSascha Hauer	help
47906dfae38SKrzysztof Kozlowski	  Generic PWM framework driver for Samsung S3C24xx, S3C64xx, S5Pv210
48006dfae38SKrzysztof Kozlowski	  and Exynos SoCs.
48106dfae38SKrzysztof Kozlowski	  Choose Y here only if you build for such Samsung SoC.
482215c29d3SSascha Hauer
483215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
484215c29d3SSascha Hauer	  will be called pwm-samsung.
485215c29d3SSascha Hauer
4869e37a53eSYash Shahconfig PWM_SIFIVE
4879e37a53eSYash Shah	tristate "SiFive PWM support"
4889e37a53eSYash Shah	depends on OF
48971d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
4909e37a53eSYash Shah	depends on RISCV || COMPILE_TEST
4919e37a53eSYash Shah	help
4929e37a53eSYash Shah	  Generic PWM framework driver for SiFive SoCs.
4939e37a53eSYash Shah
4949e37a53eSYash Shah	  To compile this driver as a module, choose M here: the module
4959e37a53eSYash Shah	  will be called pwm-sifive.
4969e37a53eSYash Shah
4979db33d22SMichael Walleconfig PWM_SL28CPLD
4989db33d22SMichael Walle	tristate "Kontron sl28cpld PWM support"
4999db33d22SMichael Walle	depends on MFD_SL28CPLD || COMPILE_TEST
5009db33d22SMichael Walle	help
5019db33d22SMichael Walle	  Generic PWM framework driver for board management controller
5029db33d22SMichael Walle	  found on the Kontron sl28 CPLD.
5039db33d22SMichael Walle
5049db33d22SMichael Walle	  To compile this driver as a module, choose M here: the module
5059db33d22SMichael Walle	  will be called pwm-sl28cpld.
5069db33d22SMichael Walle
507ce20364bSShiraz Hashimconfig PWM_SPEAR
508ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
509e96c0ff4SKrzysztof Kozlowski	depends on PLAT_SPEAR || COMPILE_TEST
51071d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
511ce20364bSShiraz Hashim	help
512ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
513ce20364bSShiraz Hashim	  SPEAr SoCs.
514ce20364bSShiraz Hashim
515ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
516ce20364bSShiraz Hashim	  will be called pwm-spear.
517ce20364bSShiraz Hashim
5188aae4b02SBaolin Wangconfig PWM_SPRD
5198aae4b02SBaolin Wang	tristate "Spreadtrum PWM support"
5208aae4b02SBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
5218aae4b02SBaolin Wang	depends on HAS_IOMEM
5228aae4b02SBaolin Wang	help
5238aae4b02SBaolin Wang	  Generic PWM framework driver for the PWM controller on
5248aae4b02SBaolin Wang	  Spreadtrum SoCs.
5258aae4b02SBaolin Wang
5268aae4b02SBaolin Wang	  To compile this driver as a module, choose M here: the module
5278aae4b02SBaolin Wang	  will be called pwm-sprd.
5288aae4b02SBaolin Wang
529378fe115SLee Jonesconfig PWM_STI
530378fe115SLee Jones	tristate "STiH4xx PWM support"
531e96c0ff4SKrzysztof Kozlowski	depends on ARCH_STI || COMPILE_TEST
53271d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
533378fe115SLee Jones	help
534378fe115SLee Jones	  Generic PWM framework driver for STiH4xx SoCs.
535378fe115SLee Jones
536378fe115SLee Jones	  To compile this driver as a module, choose M here: the module
537378fe115SLee Jones	  will be called pwm-sti.
538378fe115SLee Jones
5397edf7369SBenjamin Gaignardconfig PWM_STM32
5407edf7369SBenjamin Gaignard	tristate "STMicroelectronics STM32 PWM"
541e96c0ff4SKrzysztof Kozlowski	depends on MFD_STM32_TIMERS || COMPILE_TEST
5427edf7369SBenjamin Gaignard	help
5437edf7369SBenjamin Gaignard	  Generic PWM framework driver for STM32 SoCs.
5447edf7369SBenjamin Gaignard
5457edf7369SBenjamin Gaignard	  To compile this driver as a module, choose M here: the module
5467edf7369SBenjamin Gaignard	  will be called pwm-stm32.
5477edf7369SBenjamin Gaignard
548e70a540bSFabrice Gasnierconfig PWM_STM32_LP
549e70a540bSFabrice Gasnier	tristate "STMicroelectronics STM32 PWM LP"
550e70a540bSFabrice Gasnier	depends on MFD_STM32_LPTIMER || COMPILE_TEST
551e70a540bSFabrice Gasnier	help
552e70a540bSFabrice Gasnier	  Generic PWM framework driver for STMicroelectronics STM32 SoCs
553e70a540bSFabrice Gasnier	  with Low-Power Timer (LPTIM).
554e70a540bSFabrice Gasnier
555e70a540bSFabrice Gasnier	  To compile this driver as a module, choose M here: the module
556e70a540bSFabrice Gasnier	  will be called pwm-stm32-lp.
557e70a540bSFabrice Gasnier
558ef1f09ecSLinus Walleijconfig PWM_STMPE
559ef1f09ecSLinus Walleij	bool "STMPE expander PWM export"
560ef1f09ecSLinus Walleij	depends on MFD_STMPE
561ef1f09ecSLinus Walleij	help
562ef1f09ecSLinus Walleij	  This enables support for the PWMs found in the STMPE I/O
563ef1f09ecSLinus Walleij	  expanders.
564ef1f09ecSLinus Walleij
56509853ce7SAlexandre Belloniconfig PWM_SUN4I
56609853ce7SAlexandre Belloni	tristate "Allwinner PWM support"
56709853ce7SAlexandre Belloni	depends on ARCH_SUNXI || COMPILE_TEST
56809853ce7SAlexandre Belloni	depends on HAS_IOMEM && COMMON_CLK
56909853ce7SAlexandre Belloni	help
57009853ce7SAlexandre Belloni	  Generic PWM framework driver for Allwinner SoCs.
57109853ce7SAlexandre Belloni
57209853ce7SAlexandre Belloni	  To compile this driver as a module, choose M here: the module
57309853ce7SAlexandre Belloni	  will be called pwm-sun4i.
57409853ce7SAlexandre Belloni
575*b3c4af85SHammer Hsiehconfig PWM_SUNPLUS
576*b3c4af85SHammer Hsieh	tristate "Sunplus PWM support"
577*b3c4af85SHammer Hsieh	depends on ARCH_SUNPLUS || COMPILE_TEST
578*b3c4af85SHammer Hsieh	depends on HAS_IOMEM && OF
579*b3c4af85SHammer Hsieh	help
580*b3c4af85SHammer Hsieh	  Generic PWM framework driver for the PWM controller on
581*b3c4af85SHammer Hsieh	  Sunplus SoCs.
582*b3c4af85SHammer Hsieh
583*b3c4af85SHammer Hsieh	  To compile this driver as a module, choose M here: the module
584*b3c4af85SHammer Hsieh	  will be called pwm-sunplus.
585*b3c4af85SHammer Hsieh
5860134b932SThierry Redingconfig PWM_TEGRA
5870134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
588e96c0ff4SKrzysztof Kozlowski	depends on ARCH_TEGRA || COMPILE_TEST
58971d4b833SUwe Kleine-König	depends on HAS_IOMEM
5900134b932SThierry Reding	help
5910134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
5920134b932SThierry Reding	  Tegra SoCs.
5930134b932SThierry Reding
5940134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
5950134b932SThierry Reding	  will be called pwm-tegra.
5960134b932SThierry Reding
5978e0cb05bSPhilip, Avinashconfig PWM_TIECAP
5988e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
599e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
60071d4b833SUwe Kleine-König	depends on HAS_IOMEM
6018e0cb05bSPhilip, Avinash	help
6026f37709fSVignesh R	  PWM driver support for the ECAP APWM controller found on TI SOCs
6038e0cb05bSPhilip, Avinash
6048e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
6058e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
6068e0cb05bSPhilip, Avinash
60719891b20SPhilip, Avinashconfig PWM_TIEHRPWM
60819891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
609e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
61071d4b833SUwe Kleine-König	depends on HAS_IOMEM
61119891b20SPhilip, Avinash	help
612efc80fb3SVignesh Raghavendra	  PWM driver support for the EHRPWM controller found on TI SOCs
61319891b20SPhilip, Avinash
61419891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
61519891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
61619891b20SPhilip, Avinash
6173744c263SPeter Ujfalusiconfig PWM_TWL
6183744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
6193744c263SPeter Ujfalusi	depends on TWL4030_CORE
6203744c263SPeter Ujfalusi	help
6213744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
6223744c263SPeter Ujfalusi
6233744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
6243744c263SPeter Ujfalusi	  will be called pwm-twl.
6253744c263SPeter Ujfalusi
626aa765647SPeter Ujfalusiconfig PWM_TWL_LED
627aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
628aa765647SPeter Ujfalusi	depends on TWL4030_CORE
629aa765647SPeter Ujfalusi	help
630aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
631aa765647SPeter Ujfalusi
632aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
633aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
634aa765647SPeter Ujfalusi
635721b5957SNobuhiro Iwamatsuconfig PWM_VISCONTI
636721b5957SNobuhiro Iwamatsu	tristate "Toshiba Visconti PWM support"
637721b5957SNobuhiro Iwamatsu	depends on ARCH_VISCONTI || COMPILE_TEST
638721b5957SNobuhiro Iwamatsu	help
639721b5957SNobuhiro Iwamatsu	  PWM Subsystem driver support for Toshiba Visconti SoCs.
640721b5957SNobuhiro Iwamatsu
641721b5957SNobuhiro Iwamatsu	  To compile this driver as a module, choose M here: the module
642721b5957SNobuhiro Iwamatsu	  will be called pwm-visconti.
643721b5957SNobuhiro Iwamatsu
644a245ccebSSascha Hauerconfig PWM_VT8500
645b133d2a1SThierry Reding	tristate "vt8500 PWM support"
646e96c0ff4SKrzysztof Kozlowski	depends on ARCH_VT8500 || COMPILE_TEST
64771d4b833SUwe Kleine-König	depends on HAS_IOMEM
648a245ccebSSascha Hauer	help
649a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
650a245ccebSSascha Hauer
651a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
652a245ccebSSascha Hauer	  will be called pwm-vt8500.
653a245ccebSSascha Hauer
654bc1ce713SSean Andersonconfig PWM_XILINX
655bc1ce713SSean Anderson	tristate "Xilinx AXI Timer PWM support"
656bc1ce713SSean Anderson	depends on OF_ADDRESS
657bc1ce713SSean Anderson	depends on COMMON_CLK
658bc1ce713SSean Anderson	select REGMAP_MMIO
659bc1ce713SSean Anderson	help
660bc1ce713SSean Anderson	  PWM driver for Xilinx LogiCORE IP AXI timers. This timer is
661bc1ce713SSean Anderson	  typically a soft core which may be present in Xilinx FPGAs.
662bc1ce713SSean Anderson	  This device may also be present in Microblaze soft processors.
663bc1ce713SSean Anderson	  If you don't have this IP in your design, choose N.
664bc1ce713SSean Anderson
665bc1ce713SSean Anderson	  To compile this driver as a module, choose M here: the module
666bc1ce713SSean Anderson	  will be called pwm-xilinx.
667bc1ce713SSean Anderson
6680c2498f1SSascha Hauerendif
669