xref: /openbmc/linux/drivers/pwm/Kconfig (revision 9db33d22)
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 OF
57e96c0ff4SKrzysztof Kozlowski	depends on ARCH_AT91 || COMPILE_TEST
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"
789421badeSBoris BREZILLON	depends on ATMEL_TCLIB && OF
799421badeSBoris BREZILLON	help
809421badeSBoris BREZILLON	  Generic PWM framework driver for Atmel Timer Counter Block.
819421badeSBoris BREZILLON
829421badeSBoris BREZILLON	  A Timer Counter Block provides 6 PWM devices grouped by 2.
839421badeSBoris BREZILLON	  Devices in a given group must have the same period.
849421badeSBoris BREZILLON
859421badeSBoris BREZILLON	  To compile this driver as a module, choose M here: the module
869421badeSBoris BREZILLON	  will be called pwm-atmel-tcb.
879421badeSBoris BREZILLON
88daa5abc4SYendapally Reddy Dhananjaya Reddyconfig PWM_BCM_IPROC
89daa5abc4SYendapally Reddy Dhananjaya Reddy	tristate "iProc PWM support"
905bf22ff3SScott Branden	depends on ARCH_BCM_IPROC || COMPILE_TEST
915bf22ff3SScott Branden	depends on COMMON_CLK
925bf22ff3SScott Branden	default ARCH_BCM_IPROC
93daa5abc4SYendapally Reddy Dhananjaya Reddy	help
94daa5abc4SYendapally Reddy Dhananjaya Reddy	  Generic PWM framework driver for Broadcom iProc PWM block. This
95daa5abc4SYendapally Reddy Dhananjaya Reddy	  block is used in Broadcom iProc SoC's.
96daa5abc4SYendapally Reddy Dhananjaya Reddy
97daa5abc4SYendapally Reddy Dhananjaya Reddy	  To compile this driver as a module, choose M here: the module
98daa5abc4SYendapally Reddy Dhananjaya Reddy	  will be called pwm-bcm-iproc.
99daa5abc4SYendapally Reddy Dhananjaya Reddy
1006a4e4bffSTim Krygerconfig PWM_BCM_KONA
1016a4e4bffSTim Kryger	tristate "Kona PWM support"
10288a053d2SClément Péron	depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST
10388a053d2SClément Péron	depends on HAVE_CLK && HAS_IOMEM
10488a053d2SClément Péron	default ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS
1056a4e4bffSTim Kryger	help
1066a4e4bffSTim Kryger	  Generic PWM framework driver for Broadcom Kona PWM block.
1076a4e4bffSTim Kryger
1086a4e4bffSTim Kryger	  To compile this driver as a module, choose M here: the module
1096a4e4bffSTim Kryger	  will be called pwm-bcm-kona.
1106a4e4bffSTim Kryger
111e5a06dc5SBart Tangheconfig PWM_BCM2835
112e5a06dc5SBart Tanghe	tristate "BCM2835 PWM support"
113e96c0ff4SKrzysztof Kozlowski	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
114e5a06dc5SBart Tanghe	help
115e5a06dc5SBart Tanghe	  PWM framework driver for BCM2835 controller (Raspberry Pi)
116e5a06dc5SBart Tanghe
117e5a06dc5SBart Tanghe	  To compile this driver as a module, choose M here: the module
118e5a06dc5SBart Tanghe	  will be called pwm-bcm2835.
119e5a06dc5SBart Tanghe
12059d5c8b1SAntoine Ténartconfig PWM_BERLIN
12159d5c8b1SAntoine Ténart	tristate "Marvell Berlin PWM support"
122e96c0ff4SKrzysztof Kozlowski	depends on ARCH_BERLIN || COMPILE_TEST
12359d5c8b1SAntoine Ténart	help
12459d5c8b1SAntoine Ténart	  PWM framework driver for Marvell Berlin SoCs.
12559d5c8b1SAntoine Ténart
12659d5c8b1SAntoine Ténart	  To compile this driver as a module, choose M here: the module
12759d5c8b1SAntoine Ténart	  will be called pwm-berlin.
12859d5c8b1SAntoine Ténart
1293a9f5957SFlorian Fainelliconfig PWM_BRCMSTB
1303a9f5957SFlorian Fainelli	tristate "Broadcom STB PWM support"
131e96c0ff4SKrzysztof Kozlowski	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
1323a9f5957SFlorian Fainelli	help
1333a9f5957SFlorian Fainelli	  Generic PWM framework driver for the Broadcom Set-top-Box
1343a9f5957SFlorian Fainelli	  SoCs (BCM7xxx).
1353a9f5957SFlorian Fainelli
1363a9f5957SFlorian Fainelli	  To compile this driver as a module, choose M Here: the module
1373a9f5957SFlorian Fainelli	  will be called pwm-brcmstb.c.
1383a9f5957SFlorian Fainelli
1397eb3f6ffSAlexander Shiyanconfig PWM_CLPS711X
1407eb3f6ffSAlexander Shiyan	tristate "CLPS711X PWM support"
1417eb3f6ffSAlexander Shiyan	depends on ARCH_CLPS711X || COMPILE_TEST
142dec02f98SChen Gang	depends on HAS_IOMEM
1437eb3f6ffSAlexander Shiyan	help
1447eb3f6ffSAlexander Shiyan	  Generic PWM framework driver for Cirrus Logic CLPS711X.
1457eb3f6ffSAlexander Shiyan
1467eb3f6ffSAlexander Shiyan	  To compile this driver as a module, choose M here: the module
1477eb3f6ffSAlexander Shiyan	  will be called pwm-clps711x.
1487eb3f6ffSAlexander Shiyan
149a3f37a10SShobhit Kumarconfig PWM_CRC
150a3f37a10SShobhit Kumar	bool "Intel Crystalcove (CRC) PWM support"
151a3f37a10SShobhit Kumar	depends on X86 && INTEL_SOC_PMIC
152a3f37a10SShobhit Kumar	help
153a3f37a10SShobhit Kumar	  Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
154a3f37a10SShobhit Kumar	  control.
155a3f37a10SShobhit Kumar
1561f0d3bb0SBrian Norrisconfig PWM_CROS_EC
1571f0d3bb0SBrian Norris	tristate "ChromeOS EC PWM driver"
15847f11e0bSEnric Balletbo i Serra	depends on CROS_EC
1591f0d3bb0SBrian Norris	help
1601f0d3bb0SBrian Norris	  PWM driver for exposing a PWM attached to the ChromeOS Embedded
1611f0d3bb0SBrian Norris	  Controller.
1621f0d3bb0SBrian Norris
163a2308698SH Hartley Sweetenconfig PWM_EP93XX
164a2308698SH Hartley Sweeten	tristate "Cirrus Logic EP93xx PWM support"
165e96c0ff4SKrzysztof Kozlowski	depends on ARCH_EP93XX || COMPILE_TEST
166a2308698SH Hartley Sweeten	help
167a2308698SH Hartley Sweeten	  Generic PWM framework driver for Cirrus Logic EP93xx.
168a2308698SH Hartley Sweeten
169a2308698SH Hartley Sweeten	  To compile this driver as a module, choose M here: the module
170a2308698SH Hartley Sweeten	  will be called pwm-ep93xx.
171a2308698SH Hartley Sweeten
172b505183bSXiubo Liconfig PWM_FSL_FTM
173b505183bSXiubo Li	tristate "Freescale FlexTimer Module (FTM) PWM support"
17436d5be4bSVegard Nossum	depends on HAS_IOMEM
175b505183bSXiubo Li	depends on OF
17600018a8aSFabio Estevam	select REGMAP_MMIO
177b505183bSXiubo Li	help
178b505183bSXiubo Li	  Generic FTM PWM framework driver for Freescale VF610 and
179b505183bSXiubo Li	  Layerscape LS-1 SoCs.
180b505183bSXiubo Li
181b505183bSXiubo Li	  To compile this driver as a module, choose M here: the module
182b505183bSXiubo Li	  will be called pwm-fsl-ftm.
183b505183bSXiubo Li
184d09f0081Syuanjianconfig PWM_HIBVT
185d09f0081Syuanjian	tristate "HiSilicon BVT PWM support"
186d09f0081Syuanjian	depends on ARCH_HISI || COMPILE_TEST
187d09f0081Syuanjian	help
188d09f0081Syuanjian	  Generic PWM framework driver for HiSilicon BVT SoCs.
189d09f0081Syuanjian
190d09f0081Syuanjian	  To compile this driver as a module, choose M here: the module
191d09f0081Syuanjian	  will be called pwm-hibvt.
192d09f0081Syuanjian
193277bb6a2SNaidu Tellapaticonfig PWM_IMG
194277bb6a2SNaidu Tellapati	tristate "Imagination Technologies PWM driver"
195277bb6a2SNaidu Tellapati	depends on HAS_IOMEM
196277bb6a2SNaidu Tellapati	depends on MFD_SYSCON
197277bb6a2SNaidu Tellapati	depends on COMMON_CLK
198277bb6a2SNaidu Tellapati	depends on MIPS || COMPILE_TEST
199277bb6a2SNaidu Tellapati	help
200277bb6a2SNaidu Tellapati	  Generic PWM framework driver for Imagination Technologies
201277bb6a2SNaidu Tellapati	  PWM block which supports 4 channels.
202277bb6a2SNaidu Tellapati
203277bb6a2SNaidu Tellapati	  To compile this driver as a module, choose M here: the module
204277bb6a2SNaidu Tellapati	  will be called pwm-img
205277bb6a2SNaidu Tellapati
206d80f8206SUwe Kleine-Königconfig PWM_IMX1
207d80f8206SUwe Kleine-König	tristate "i.MX1 PWM support"
208e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
20929693248SSascha Hauer	help
210d80f8206SUwe Kleine-König	  Generic PWM framework driver for i.MX1 and i.MX21
21129693248SSascha Hauer
21229693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
213d80f8206SUwe Kleine-König	  will be called pwm-imx1.
214d80f8206SUwe Kleine-König
215d80f8206SUwe Kleine-Königconfig PWM_IMX27
216d80f8206SUwe Kleine-König	tristate "i.MX27 PWM support"
217e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
218d80f8206SUwe Kleine-König	help
219d80f8206SUwe Kleine-König	  Generic PWM framework driver for i.MX27 and later i.MX SoCs.
220d80f8206SUwe Kleine-König
221d80f8206SUwe Kleine-König	  To compile this driver as a module, choose M here: the module
222d80f8206SUwe Kleine-König	  will be called pwm-imx27.
22329693248SSascha Hauer
224738a1cfeSAnson Huangconfig PWM_IMX_TPM
225738a1cfeSAnson Huang	tristate "i.MX TPM PWM support"
226738a1cfeSAnson Huang	depends on ARCH_MXC || COMPILE_TEST
227738a1cfeSAnson Huang	depends on HAVE_CLK && HAS_IOMEM
228738a1cfeSAnson Huang	help
229738a1cfeSAnson Huang	  Generic PWM framework driver for i.MX7ULP TPM module, TPM's full
230738a1cfeSAnson Huang	  name is Low Power Timer/Pulse Width Modulation Module.
231738a1cfeSAnson Huang
232738a1cfeSAnson Huang	  To compile this driver as a module, choose M here: the module
233738a1cfeSAnson Huang	  will be called pwm-imx-tpm.
234738a1cfeSAnson Huang
2356f0841a8SJeff LaBundyconfig PWM_IQS620A
2366f0841a8SJeff LaBundy	tristate "Azoteq IQS620A PWM support"
2376f0841a8SJeff LaBundy	depends on MFD_IQS62X || COMPILE_TEST
2386f0841a8SJeff LaBundy	help
2396f0841a8SJeff LaBundy	  Generic PWM framework driver for the Azoteq IQS620A multi-function
2406f0841a8SJeff LaBundy	  sensor.
2416f0841a8SJeff LaBundy
2426f0841a8SJeff LaBundy	  To compile this driver as a module, choose M here: the module will
2436f0841a8SJeff LaBundy	  be called pwm-iqs620a.
2446f0841a8SJeff LaBundy
245f6b8a570SThierry Redingconfig PWM_JZ4740
246b4190062SPaul Cercueil	tristate "Ingenic JZ47xx PWM support"
247b48d49e0SPaul Cercueil	depends on MIPS
248ce1f9cecSPaul Cercueil	depends on COMMON_CLK
249c2693514SPaul Cercueil	select MFD_SYSCON
250f6b8a570SThierry Reding	help
251b4190062SPaul Cercueil	  Generic PWM framework driver for Ingenic JZ47xx based
252f6b8a570SThierry Reding	  machines.
253f6b8a570SThierry Reding
254f6b8a570SThierry Reding	  To compile this driver as a module, choose M here: the module
255f6b8a570SThierry Reding	  will be called pwm-jz4740.
256f6b8a570SThierry Reding
257af66b3c0SMilo Kimconfig PWM_LP3943
258af66b3c0SMilo Kim	tristate "TI/National Semiconductor LP3943 PWM support"
259af66b3c0SMilo Kim	depends on MFD_LP3943
260af66b3c0SMilo Kim	help
261af66b3c0SMilo Kim	  Generic PWM framework driver for LP3943 which supports two PWM
262af66b3c0SMilo Kim	  channels.
263af66b3c0SMilo Kim
264af66b3c0SMilo Kim	  To compile this driver as a module, choose M here: the module
265af66b3c0SMilo Kim	  will be called pwm-lp3943.
266af66b3c0SMilo Kim
267841e6f90SAriel D'Alessandroconfig PWM_LPC18XX_SCT
268841e6f90SAriel D'Alessandro	tristate "LPC18xx/43xx PWM/SCT support"
269e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC18XX || COMPILE_TEST
270841e6f90SAriel D'Alessandro	help
271841e6f90SAriel D'Alessandro	  Generic PWM framework driver for NXP LPC18xx PWM/SCT which
272841e6f90SAriel D'Alessandro	  supports 16 channels.
273841e6f90SAriel D'Alessandro	  A maximum of 15 channels can be requested simultaneously and
274841e6f90SAriel D'Alessandro	  must have the same period.
275841e6f90SAriel D'Alessandro
276841e6f90SAriel D'Alessandro	  To compile this driver as a module, choose M here: the module
277841e6f90SAriel D'Alessandro	  will be called pwm-lpc18xx-sct.
278841e6f90SAriel D'Alessandro
2792132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
2802132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
281e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC32XX || COMPILE_TEST
2822132fa8dSAlexandre Pereira da Silva	help
2832132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
2842132fa8dSAlexandre Pereira da Silva	  PWM controllers.
2852132fa8dSAlexandre Pereira da Silva
2862132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
2872132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
2882132fa8dSAlexandre Pereira da Silva
289d16a5aa9SMika Westerbergconfig PWM_LPSS
2906f90a00cSAndy Shevchenko	tristate
291d16a5aa9SMika Westerberg
292c558e39eSAndy Shevchenkoconfig PWM_LPSS_PCI
293c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM PCI driver"
2946f90a00cSAndy Shevchenko	depends on X86 && PCI
2956f90a00cSAndy Shevchenko	select PWM_LPSS
296c558e39eSAndy Shevchenko	help
297c558e39eSAndy Shevchenko	  The PCI driver for Intel Low Power Subsystem PWM controller.
298c558e39eSAndy Shevchenko
299c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
300c558e39eSAndy Shevchenko	  will be called pwm-lpss-pci.
301c558e39eSAndy Shevchenko
302c558e39eSAndy Shevchenkoconfig PWM_LPSS_PLATFORM
303c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM platform driver"
3046f90a00cSAndy Shevchenko	depends on X86 && ACPI
3056f90a00cSAndy Shevchenko	select PWM_LPSS
306c558e39eSAndy Shevchenko	help
307c558e39eSAndy Shevchenko	  The platform driver for Intel Low Power Subsystem PWM controller.
308c558e39eSAndy Shevchenko
309c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
310c558e39eSAndy Shevchenko	  will be called pwm-lpss-platform.
311c558e39eSAndy Shevchenko
312211ed630SNeil Armstrongconfig PWM_MESON
313211ed630SNeil Armstrong	tristate "Amlogic Meson PWM driver"
314e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MESON || COMPILE_TEST
315e96c0ff4SKrzysztof Kozlowski	depends on COMMON_CLK
316211ed630SNeil Armstrong	help
317211ed630SNeil Armstrong	  The platform driver for Amlogic Meson PWM controller.
318211ed630SNeil Armstrong
319211ed630SNeil Armstrong	  To compile this driver as a module, choose M here: the module
320211ed630SNeil Armstrong	  will be called pwm-meson.
321211ed630SNeil Armstrong
3227e3b7dc7SYH Huangconfig PWM_MTK_DISP
3237e3b7dc7SYH Huang	tristate "MediaTek display PWM driver"
3247e3b7dc7SYH Huang	depends on ARCH_MEDIATEK || COMPILE_TEST
3257e3b7dc7SYH Huang	depends on HAS_IOMEM
3267e3b7dc7SYH Huang	help
3277e3b7dc7SYH Huang	  Generic PWM framework driver for MediaTek disp-pwm device.
3287e3b7dc7SYH Huang	  The PWM is used to control the backlight brightness for display.
3297e3b7dc7SYH Huang
3307e3b7dc7SYH Huang	  To compile this driver as a module, choose M here: the module
3317e3b7dc7SYH Huang	  will be called pwm-mtk-disp.
3327e3b7dc7SYH Huang
333caf065f8SJohn Crispinconfig PWM_MEDIATEK
334caf065f8SJohn Crispin	tristate "MediaTek PWM support"
3358cdc43afSJohn Crispin	depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
336caf065f8SJohn Crispin	help
337caf065f8SJohn Crispin	  Generic PWM framework driver for Mediatek ARM SoC.
338caf065f8SJohn Crispin
339caf065f8SJohn Crispin	  To compile this driver as a module, choose M here: the module
340aa12d7a7SZhi Mao	  will be called pwm-mediatek.
341caf065f8SJohn Crispin
3424dce82c1SShawn Guoconfig PWM_MXS
3434dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
344e96c0ff4SKrzysztof Kozlowski	depends on OF
345e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXS || COMPILE_TEST
34601bf32e9SShawn Guo	select STMP_DEVICE
3474dce82c1SShawn Guo	help
3484dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
3494dce82c1SShawn Guo
3504dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
3514dce82c1SShawn Guo	  will be called pwm-mxs.
3524dce82c1SShawn Guo
3536604c655SNeil Armstrongconfig PWM_OMAP_DMTIMER
3546604c655SNeil Armstrong	tristate "OMAP Dual-Mode Timer PWM support"
3559f2919e9SUwe Kleine-König	depends on OF
3569f2919e9SUwe Kleine-König	depends on OMAP_DM_TIMER || COMPILE_TEST
3576604c655SNeil Armstrong	help
3586604c655SNeil Armstrong	  Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
3596604c655SNeil Armstrong
3606604c655SNeil Armstrong	  To compile this driver as a module, choose M here: the module
3616604c655SNeil Armstrong	  will be called pwm-omap-dmtimer
3626604c655SNeil Armstrong
36388b613e6SSteffen Trumtrarconfig PWM_PCA9685
36488b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
365912b8439SAndy Shevchenko	depends on I2C
3662c80a492SAxel Lin	select REGMAP_I2C
36788b613e6SSteffen Trumtrar	help
36888b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
36988b613e6SSteffen Trumtrar
37088b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
37188b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
37288b613e6SSteffen Trumtrar
37317b2b478SThierry Redingconfig PWM_PXA
37417b2b478SThierry Reding	tristate "PXA PWM support"
375e96c0ff4SKrzysztof Kozlowski	depends on ARCH_PXA || COMPILE_TEST
37617b2b478SThierry Reding	help
37717b2b478SThierry Reding	  Generic PWM framework driver for PXA.
37817b2b478SThierry Reding
37917b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
38017b2b478SThierry Reding	  will be called pwm-pxa.
38117b2b478SThierry Reding
382ed6c1476SYoshihiro Shimodaconfig PWM_RCAR
383ed6c1476SYoshihiro Shimoda	tristate "Renesas R-Car PWM support"
38448169988SRyo Kodama	depends on ARCH_RENESAS || COMPILE_TEST
385ed6c1476SYoshihiro Shimoda	depends on HAS_IOMEM
386ed6c1476SYoshihiro Shimoda	help
387ed6c1476SYoshihiro Shimoda	  This driver exposes the PWM Timer controller found in Renesas
388ed6c1476SYoshihiro Shimoda	  R-Car chips through the PWM API.
389ed6c1476SYoshihiro Shimoda
390ed6c1476SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the module
391ed6c1476SYoshihiro Shimoda	  will be called pwm-rcar.
392ed6c1476SYoshihiro Shimoda
39399b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
39499b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
39503d99531SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
3962974b098SRichard Weinberger	depends on HAS_IOMEM
39799b82abbSLaurent Pinchart	help
39899b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
39999b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
40099b82abbSLaurent Pinchart
40199b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
40299b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
40399b82abbSLaurent Pinchart
404101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP
405101353c8SBeniamino Galvani	tristate "Rockchip PWM support"
406e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ROCKCHIP || COMPILE_TEST
407101353c8SBeniamino Galvani	help
408101353c8SBeniamino Galvani	  Generic PWM framework driver for the PWM controller found on
409101353c8SBeniamino Galvani	  Rockchip SoCs.
410101353c8SBeniamino Galvani
411215c29d3SSascha Hauerconfig PWM_SAMSUNG
412b133d2a1SThierry Reding	tristate "Samsung PWM support"
413e96c0ff4SKrzysztof Kozlowski	depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST
414215c29d3SSascha Hauer	help
415215c29d3SSascha Hauer	  Generic PWM framework driver for Samsung.
416215c29d3SSascha Hauer
417215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
418215c29d3SSascha Hauer	  will be called pwm-samsung.
419215c29d3SSascha Hauer
4209e37a53eSYash Shahconfig PWM_SIFIVE
4219e37a53eSYash Shah	tristate "SiFive PWM support"
4229e37a53eSYash Shah	depends on OF
4239e37a53eSYash Shah	depends on COMMON_CLK
4249e37a53eSYash Shah	depends on RISCV || COMPILE_TEST
4259e37a53eSYash Shah	help
4269e37a53eSYash Shah	  Generic PWM framework driver for SiFive SoCs.
4279e37a53eSYash Shah
4289e37a53eSYash Shah	  To compile this driver as a module, choose M here: the module
4299e37a53eSYash Shah	  will be called pwm-sifive.
4309e37a53eSYash Shah
431*9db33d22SMichael Walleconfig PWM_SL28CPLD
432*9db33d22SMichael Walle	tristate "Kontron sl28cpld PWM support"
433*9db33d22SMichael Walle	depends on MFD_SL28CPLD || COMPILE_TEST
434*9db33d22SMichael Walle	help
435*9db33d22SMichael Walle	  Generic PWM framework driver for board management controller
436*9db33d22SMichael Walle	  found on the Kontron sl28 CPLD.
437*9db33d22SMichael Walle
438*9db33d22SMichael Walle	  To compile this driver as a module, choose M here: the module
439*9db33d22SMichael Walle	  will be called pwm-sl28cpld.
440*9db33d22SMichael Walle
441ce20364bSShiraz Hashimconfig PWM_SPEAR
442ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
443e96c0ff4SKrzysztof Kozlowski	depends on PLAT_SPEAR || COMPILE_TEST
444ce20364bSShiraz Hashim	depends on OF
445ce20364bSShiraz Hashim	help
446ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
447ce20364bSShiraz Hashim	  SPEAr SoCs.
448ce20364bSShiraz Hashim
449ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
450ce20364bSShiraz Hashim	  will be called pwm-spear.
451ce20364bSShiraz Hashim
4528aae4b02SBaolin Wangconfig PWM_SPRD
4538aae4b02SBaolin Wang	tristate "Spreadtrum PWM support"
4548aae4b02SBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
4558aae4b02SBaolin Wang	depends on HAS_IOMEM
4568aae4b02SBaolin Wang	help
4578aae4b02SBaolin Wang	  Generic PWM framework driver for the PWM controller on
4588aae4b02SBaolin Wang	  Spreadtrum SoCs.
4598aae4b02SBaolin Wang
4608aae4b02SBaolin Wang	  To compile this driver as a module, choose M here: the module
4618aae4b02SBaolin Wang	  will be called pwm-sprd.
4628aae4b02SBaolin Wang
463378fe115SLee Jonesconfig PWM_STI
464378fe115SLee Jones	tristate "STiH4xx PWM support"
465e96c0ff4SKrzysztof Kozlowski	depends on ARCH_STI || COMPILE_TEST
466378fe115SLee Jones	depends on OF
467378fe115SLee Jones	help
468378fe115SLee Jones	  Generic PWM framework driver for STiH4xx SoCs.
469378fe115SLee Jones
470378fe115SLee Jones	  To compile this driver as a module, choose M here: the module
471378fe115SLee Jones	  will be called pwm-sti.
472378fe115SLee Jones
4737edf7369SBenjamin Gaignardconfig PWM_STM32
4747edf7369SBenjamin Gaignard	tristate "STMicroelectronics STM32 PWM"
475e96c0ff4SKrzysztof Kozlowski	depends on MFD_STM32_TIMERS || COMPILE_TEST
4767edf7369SBenjamin Gaignard	help
4777edf7369SBenjamin Gaignard	  Generic PWM framework driver for STM32 SoCs.
4787edf7369SBenjamin Gaignard
4797edf7369SBenjamin Gaignard	  To compile this driver as a module, choose M here: the module
4807edf7369SBenjamin Gaignard	  will be called pwm-stm32.
4817edf7369SBenjamin Gaignard
482e70a540bSFabrice Gasnierconfig PWM_STM32_LP
483e70a540bSFabrice Gasnier	tristate "STMicroelectronics STM32 PWM LP"
484e70a540bSFabrice Gasnier	depends on MFD_STM32_LPTIMER || COMPILE_TEST
485e70a540bSFabrice Gasnier	help
486e70a540bSFabrice Gasnier	  Generic PWM framework driver for STMicroelectronics STM32 SoCs
487e70a540bSFabrice Gasnier	  with Low-Power Timer (LPTIM).
488e70a540bSFabrice Gasnier
489e70a540bSFabrice Gasnier	  To compile this driver as a module, choose M here: the module
490e70a540bSFabrice Gasnier	  will be called pwm-stm32-lp.
491e70a540bSFabrice Gasnier
492ef1f09ecSLinus Walleijconfig PWM_STMPE
493ef1f09ecSLinus Walleij	bool "STMPE expander PWM export"
494ef1f09ecSLinus Walleij	depends on MFD_STMPE
495ef1f09ecSLinus Walleij	help
496ef1f09ecSLinus Walleij	  This enables support for the PWMs found in the STMPE I/O
497ef1f09ecSLinus Walleij	  expanders.
498ef1f09ecSLinus Walleij
49909853ce7SAlexandre Belloniconfig PWM_SUN4I
50009853ce7SAlexandre Belloni	tristate "Allwinner PWM support"
50109853ce7SAlexandre Belloni	depends on ARCH_SUNXI || COMPILE_TEST
50209853ce7SAlexandre Belloni	depends on HAS_IOMEM && COMMON_CLK
50309853ce7SAlexandre Belloni	help
50409853ce7SAlexandre Belloni	  Generic PWM framework driver for Allwinner SoCs.
50509853ce7SAlexandre Belloni
50609853ce7SAlexandre Belloni	  To compile this driver as a module, choose M here: the module
50709853ce7SAlexandre Belloni	  will be called pwm-sun4i.
50809853ce7SAlexandre Belloni
5090134b932SThierry Redingconfig PWM_TEGRA
5100134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
511e96c0ff4SKrzysztof Kozlowski	depends on ARCH_TEGRA || COMPILE_TEST
5120134b932SThierry Reding	help
5130134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
5140134b932SThierry Reding	  Tegra SoCs.
5150134b932SThierry Reding
5160134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
5170134b932SThierry Reding	  will be called pwm-tegra.
5180134b932SThierry Reding
5198e0cb05bSPhilip, Avinashconfig PWM_TIECAP
5208e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
521e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
5228e0cb05bSPhilip, Avinash	help
5236f37709fSVignesh R	  PWM driver support for the ECAP APWM controller found on TI SOCs
5248e0cb05bSPhilip, Avinash
5258e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
5268e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
5278e0cb05bSPhilip, Avinash
52819891b20SPhilip, Avinashconfig PWM_TIEHRPWM
52919891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
530e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
53119891b20SPhilip, Avinash	help
532efc80fb3SVignesh Raghavendra	  PWM driver support for the EHRPWM controller found on TI SOCs
53319891b20SPhilip, Avinash
53419891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
53519891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
53619891b20SPhilip, Avinash
5373744c263SPeter Ujfalusiconfig PWM_TWL
5383744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
5393744c263SPeter Ujfalusi	depends on TWL4030_CORE
5403744c263SPeter Ujfalusi	help
5413744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
5423744c263SPeter Ujfalusi
5433744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
5443744c263SPeter Ujfalusi	  will be called pwm-twl.
5453744c263SPeter Ujfalusi
546aa765647SPeter Ujfalusiconfig PWM_TWL_LED
547aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
548aa765647SPeter Ujfalusi	depends on TWL4030_CORE
549aa765647SPeter Ujfalusi	help
550aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
551aa765647SPeter Ujfalusi
552aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
553aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
554aa765647SPeter Ujfalusi
555a245ccebSSascha Hauerconfig PWM_VT8500
556b133d2a1SThierry Reding	tristate "vt8500 PWM support"
557e96c0ff4SKrzysztof Kozlowski	depends on ARCH_VT8500 || COMPILE_TEST
558a245ccebSSascha Hauer	help
559a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
560a245ccebSSascha Hauer
561a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
562a245ccebSSascha Hauer	  will be called pwm-vt8500.
563a245ccebSSascha Hauer
5644836193cSShawn Guoconfig PWM_ZX
5654836193cSShawn Guo	tristate "ZTE ZX PWM support"
566e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ZX || COMPILE_TEST
5674836193cSShawn Guo	help
5684836193cSShawn Guo	  Generic PWM framework driver for ZTE ZX family SoCs.
5694836193cSShawn Guo
5704836193cSShawn Guo	  To compile this driver as a module, choose M here: the module
5714836193cSShawn Guo	  will be called pwm-zx.
5724836193cSShawn Guo
5730c2498f1SSascha Hauerendif
574