1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig PWM
3	bool "Pulse-Width Modulation (PWM) Support"
4	help
5	  Generic Pulse-Width Modulation (PWM) support.
6
7	  In Pulse-Width Modulation, a variation of the width of pulses
8	  in a rectangular pulse signal is used as a means to alter the
9	  average power of the signal. Applications include efficient
10	  power delivery and voltage regulation. In computer systems,
11	  PWMs are commonly used to control fans or the brightness of
12	  display backlights.
13
14	  This framework provides a generic interface to PWM devices
15	  within the Linux kernel. On the driver side it provides an API
16	  to register and unregister a PWM chip, an abstraction of a PWM
17	  controller, that supports one or more PWM devices. Client
18	  drivers can request PWM devices and use the generic framework
19	  to configure as well as enable and disable them.
20
21	  This generic framework replaces the legacy PWM framework which
22	  allows only a single driver implementing the required API. Not
23	  all legacy implementations have been ported to the framework
24	  yet. The framework provides an API that is backward compatible
25	  with the legacy framework so that existing client drivers
26	  continue to work as expected.
27
28	  If unsure, say no.
29
30if PWM
31
32config PWM_DEBUG
33	bool "PWM lowlevel drivers additional checks and debug messages"
34	depends on DEBUG_KERNEL
35	help
36	  This option enables some additional checks to help lowlevel driver
37	  authors to get their callbacks implemented correctly.
38	  It is expected to introduce some runtime overhead and diagnostic
39	  output to the kernel log, so only enable while working on a driver.
40
41config PWM_AB8500
42	tristate "AB8500 PWM support"
43	depends on AB8500_CORE && ARCH_U8500
44	help
45	  Generic PWM framework driver for Analog Baseband AB8500.
46
47	  To compile this driver as a module, choose M here: the module
48	  will be called pwm-ab8500.
49
50config PWM_ADP5585
51	tristate "ADP5585 PWM support"
52	depends on MFD_ADP5585
53	help
54	  This option enables support for the PWM function found in the Analog
55	  Devices ADP5585.
56
57config PWM_APPLE
58	tristate "Apple SoC PWM support"
59	depends on ARCH_APPLE || COMPILE_TEST
60	help
61	  Generic PWM framework driver for PWM controller present on
62	  Apple SoCs
63
64	  Say Y here if you have an ARM Apple laptop, otherwise say N
65
66	  To compile this driver as a module, choose M here: the module
67	  will be called pwm-apple.
68
69config PWM_ATMEL
70	tristate "Atmel PWM support"
71	depends on ARCH_AT91 || COMPILE_TEST
72	depends on HAS_IOMEM && OF
73	help
74	  Generic PWM framework driver for Atmel SoC.
75
76	  To compile this driver as a module, choose M here: the module
77	  will be called pwm-atmel.
78
79config PWM_ATMEL_HLCDC_PWM
80	tristate "Atmel HLCDC PWM support"
81	depends on MFD_ATMEL_HLCDC
82	depends on HAVE_CLK
83	help
84	  Generic PWM framework driver for the PWM output of the HLCDC
85	  (Atmel High-end LCD Controller). This PWM output is mainly used
86	  to control the LCD backlight.
87
88	  To compile this driver as a module, choose M here: the module
89	  will be called pwm-atmel-hlcdc.
90
91config PWM_ATMEL_TCB
92	tristate "Atmel TC Block PWM support"
93	depends on OF
94	select REGMAP_MMIO
95	help
96	  Generic PWM framework driver for Atmel Timer Counter Block.
97
98	  A Timer Counter Block provides 6 PWM devices grouped by 2.
99	  Devices in a given group must have the same period.
100
101	  To compile this driver as a module, choose M here: the module
102	  will be called pwm-atmel-tcb.
103
104config PWM_AXI_PWMGEN
105	tristate "Analog Devices AXI PWM generator"
106	depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST
107	select REGMAP_MMIO
108	help
109	  This enables support for the Analog Devices AXI PWM generator.
110
111	  This is a configurable PWM generator with variable pulse width and
112	  period.
113
114	  To compile this driver as a module, choose M here: the module will be
115	  called pwm-axi-pwmgen.
116
117config PWM_BCM2835
118	tristate "BCM2835 PWM support"
119	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
120	depends on HAS_IOMEM
121	help
122	  PWM framework driver for BCM2835 controller (Raspberry Pi)
123
124	  To compile this driver as a module, choose M here: the module
125	  will be called pwm-bcm2835.
126
127config PWM_BCM_IPROC
128	tristate "iProc PWM support"
129	depends on ARCH_BCM_IPROC || COMPILE_TEST
130	depends on COMMON_CLK && HAS_IOMEM
131	default ARCH_BCM_IPROC
132	help
133	  Generic PWM framework driver for Broadcom iProc PWM block. This
134	  block is used in Broadcom iProc SoC's.
135
136	  To compile this driver as a module, choose M here: the module
137	  will be called pwm-bcm-iproc.
138
139config PWM_BCM_KONA
140	tristate "Kona PWM support"
141	depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST
142	depends on HAVE_CLK && HAS_IOMEM
143	default ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS
144	help
145	  Generic PWM framework driver for Broadcom Kona PWM block.
146
147	  To compile this driver as a module, choose M here: the module
148	  will be called pwm-bcm-kona.
149
150config PWM_BERLIN
151	tristate "Marvell Berlin PWM support"
152	depends on ARCH_BERLIN || COMPILE_TEST
153	depends on HAS_IOMEM
154	help
155	  PWM framework driver for Marvell Berlin SoCs.
156
157	  To compile this driver as a module, choose M here: the module
158	  will be called pwm-berlin.
159
160config PWM_BRCMSTB
161	tristate "Broadcom STB PWM support"
162	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
163	depends on HAS_IOMEM
164	help
165	  Generic PWM framework driver for the Broadcom Set-top-Box
166	  SoCs (BCM7xxx).
167
168	  To compile this driver as a module, choose M Here: the module
169	  will be called pwm-brcmstb.c.
170
171config PWM_CLK
172	tristate "Clock based PWM support"
173	depends on HAVE_CLK || COMPILE_TEST
174	help
175	  Generic PWM framework driver for outputs that can be
176	  muxed to clocks.
177
178	  To compile this driver as a module, choose M here: the module
179	  will be called pwm-clk.
180
181config PWM_CLPS711X
182	tristate "CLPS711X PWM support"
183	depends on ARCH_CLPS711X || COMPILE_TEST
184	depends on HAS_IOMEM
185	help
186	  Generic PWM framework driver for Cirrus Logic CLPS711X.
187
188	  To compile this driver as a module, choose M here: the module
189	  will be called pwm-clps711x.
190
191config PWM_CRC
192	tristate "Intel Crystalcove (CRC) PWM support"
193	depends on INTEL_SOC_PMIC
194	help
195	  Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
196	  control.
197
198config PWM_CROS_EC
199	tristate "ChromeOS EC PWM driver"
200	depends on CROS_EC
201	help
202	  PWM driver for exposing a PWM attached to the ChromeOS Embedded
203	  Controller.
204
205config PWM_DWC_CORE
206	tristate
207	depends on HAS_IOMEM
208	help
209	  PWM driver for Synopsys DWC PWM Controller.
210
211	  To compile this driver as a module, build the dependecies as
212	  modules, this will be called pwm-dwc-core.
213
214config PWM_DWC
215	tristate "DesignWare PWM Controller (PCI bus)"
216	depends on HAS_IOMEM && PCI
217	select PWM_DWC_CORE
218	help
219	  PWM driver for Synopsys DWC PWM Controller attached to a PCI bus.
220
221	  To compile this driver as a module, choose M here: the module
222	  will be called pwm-dwc.
223
224config PWM_EP93XX
225	tristate "Cirrus Logic EP93xx PWM support"
226	depends on ARCH_EP93XX || COMPILE_TEST
227	depends on HAS_IOMEM
228	help
229	  Generic PWM framework driver for Cirrus Logic EP93xx.
230
231	  To compile this driver as a module, choose M here: the module
232	  will be called pwm-ep93xx.
233
234config PWM_FSL_FTM
235	tristate "Freescale FlexTimer Module (FTM) PWM support"
236	depends on HAS_IOMEM
237	depends on OF
238	select REGMAP_MMIO
239	help
240	  Generic FTM PWM framework driver for Freescale VF610 and
241	  Layerscape LS-1 SoCs.
242
243	  To compile this driver as a module, choose M here: the module
244	  will be called pwm-fsl-ftm.
245
246config PWM_GPIO
247	tristate "GPIO PWM support"
248	depends on GPIOLIB
249	depends on HIGH_RES_TIMERS
250	help
251	  Generic PWM framework driver for software PWM toggling a GPIO pin
252	  from kernel high-resolution timers.
253
254	  To compile this driver as a module, choose M here: the module
255	  will be called pwm-gpio.
256
257config PWM_HIBVT
258	tristate "HiSilicon BVT PWM support"
259	depends on ARCH_HISI || COMPILE_TEST
260	depends on HAS_IOMEM
261	help
262	  Generic PWM framework driver for HiSilicon BVT SoCs.
263
264	  To compile this driver as a module, choose M here: the module
265	  will be called pwm-hibvt.
266
267config PWM_IMG
268	tristate "Imagination Technologies PWM driver"
269	depends on HAS_IOMEM
270	depends on MFD_SYSCON
271	depends on COMMON_CLK
272	depends on MIPS || COMPILE_TEST
273	help
274	  Generic PWM framework driver for Imagination Technologies
275	  PWM block which supports 4 channels.
276
277	  To compile this driver as a module, choose M here: the module
278	  will be called pwm-img
279
280config PWM_IMX1
281	tristate "i.MX1 PWM support"
282	depends on ARCH_MXC || COMPILE_TEST
283	depends on HAS_IOMEM
284	help
285	  Generic PWM framework driver for i.MX1 and i.MX21
286
287	  To compile this driver as a module, choose M here: the module
288	  will be called pwm-imx1.
289
290config PWM_IMX27
291	tristate "i.MX27 PWM support"
292	depends on ARCH_MXC || COMPILE_TEST
293	depends on HAS_IOMEM
294	help
295	  Generic PWM framework driver for i.MX27 and later i.MX SoCs.
296
297	  To compile this driver as a module, choose M here: the module
298	  will be called pwm-imx27.
299
300config PWM_IMX_TPM
301	tristate "i.MX TPM PWM support"
302	depends on ARCH_MXC || COMPILE_TEST
303	depends on HAVE_CLK && HAS_IOMEM
304	help
305	  Generic PWM framework driver for i.MX7ULP TPM module, TPM's full
306	  name is Low Power Timer/Pulse Width Modulation Module.
307
308	  To compile this driver as a module, choose M here: the module
309	  will be called pwm-imx-tpm.
310
311config PWM_INTEL_LGM
312	tristate "Intel LGM PWM support"
313	depends on HAS_IOMEM
314	depends on (OF && X86) || COMPILE_TEST
315	select REGMAP_MMIO
316	help
317	  Generic PWM fan controller driver for LGM SoC.
318
319	  To compile this driver as a module, choose M here: the module
320	  will be called pwm-intel-lgm.
321
322config PWM_IQS620A
323	tristate "Azoteq IQS620A PWM support"
324	depends on MFD_IQS62X || COMPILE_TEST
325	help
326	  Generic PWM framework driver for the Azoteq IQS620A multi-function
327	  sensor.
328
329	  To compile this driver as a module, choose M here: the module will
330	  be called pwm-iqs620a.
331
332config PWM_JZ4740
333	tristate "Ingenic JZ47xx PWM support"
334	depends on MACH_INGENIC || COMPILE_TEST
335	depends on COMMON_CLK && OF
336	select MFD_SYSCON
337	help
338	  Generic PWM framework driver for Ingenic JZ47xx based
339	  machines.
340
341	  To compile this driver as a module, choose M here: the module
342	  will be called pwm-jz4740.
343
344config PWM_KEEMBAY
345	tristate "Intel Keem Bay PWM driver"
346	depends on ARCH_KEEMBAY || COMPILE_TEST
347	depends on COMMON_CLK && HAS_IOMEM
348	help
349	  The platform driver for Intel Keem Bay PWM controller.
350
351	  To compile this driver as a module, choose M here: the module
352	  will be called pwm-keembay.
353
354config PWM_LOONGSON
355	tristate "Loongson PWM support"
356	depends on MACH_LOONGSON64 || COMPILE_TEST
357	depends on COMMON_CLK
358	help
359	  Generic PWM framework driver for Loongson family.
360	  It can be found on Loongson-2K series cpus and Loongson LS7A
361	  bridge chips.
362
363	  To compile this driver as a module, choose M here: the module
364	  will be called pwm-loongson.
365
366config PWM_LP3943
367	tristate "TI/National Semiconductor LP3943 PWM support"
368	depends on MFD_LP3943
369	help
370	  Generic PWM framework driver for LP3943 which supports two PWM
371	  channels.
372
373	  To compile this driver as a module, choose M here: the module
374	  will be called pwm-lp3943.
375
376config PWM_LPC18XX_SCT
377	tristate "LPC18xx/43xx PWM/SCT support"
378	depends on ARCH_LPC18XX || COMPILE_TEST
379	depends on HAS_IOMEM
380	help
381	  Generic PWM framework driver for NXP LPC18xx PWM/SCT which
382	  supports 16 channels.
383	  A maximum of 15 channels can be requested simultaneously and
384	  must have the same period.
385
386	  To compile this driver as a module, choose M here: the module
387	  will be called pwm-lpc18xx-sct.
388
389config PWM_LPC32XX
390	tristate "LPC32XX PWM support"
391	depends on ARCH_LPC32XX || COMPILE_TEST
392	depends on HAS_IOMEM
393	help
394	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
395	  PWM controllers.
396
397	  To compile this driver as a module, choose M here: the module
398	  will be called pwm-lpc32xx.
399
400config PWM_LPSS
401	depends on HAS_IOMEM
402	tristate
403
404config PWM_LPSS_PCI
405	tristate "Intel LPSS PWM PCI driver"
406	depends on X86 || COMPILE_TEST
407	depends on HAS_IOMEM && PCI
408	select PWM_LPSS
409	help
410	  The PCI driver for Intel Low Power Subsystem PWM controller.
411
412	  To compile this driver as a module, choose M here: the module
413	  will be called pwm-lpss-pci.
414
415config PWM_LPSS_PLATFORM
416	tristate "Intel LPSS PWM platform driver"
417	depends on (X86 && ACPI) || COMPILE_TEST
418	depends on HAS_IOMEM
419	select PWM_LPSS
420	help
421	  The platform driver for Intel Low Power Subsystem PWM controller.
422
423	  To compile this driver as a module, choose M here: the module
424	  will be called pwm-lpss-platform.
425
426config PWM_MC33XS2410
427	tristate "MC33XS2410 PWM support"
428	depends on OF
429	depends on SPI
430	help
431	  NXP MC33XS2410 high-side switch driver. The MC33XS2410 is a four
432	  channel high-side switch. The device is operational from 3.0 V
433	  to 60 V. The device is controlled by SPI port for configuration.
434
435	  To compile this driver as a module, choose M here: the module
436	  will be called pwm-mc33xs2410.
437
438config PWM_MEDIATEK
439	tristate "MediaTek PWM support"
440	depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
441	depends on HAS_IOMEM
442	help
443	  Generic PWM framework driver for Mediatek ARM SoC.
444
445	  To compile this driver as a module, choose M here: the module
446	  will be called pwm-mediatek.
447
448config PWM_MESON
449	tristate "Amlogic Meson PWM driver"
450	depends on ARCH_MESON || COMPILE_TEST
451	depends on COMMON_CLK && HAS_IOMEM
452	help
453	  The platform driver for Amlogic Meson PWM controller.
454
455	  To compile this driver as a module, choose M here: the module
456	  will be called pwm-meson.
457
458config PWM_MICROCHIP_CORE
459	tristate "Microchip corePWM PWM support"
460	depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST
461	depends on HAS_IOMEM && OF
462	help
463	  PWM driver for Microchip FPGA soft IP core.
464
465	  To compile this driver as a module, choose M here: the module
466	  will be called pwm-microchip-core.
467
468config PWM_MTK_DISP
469	tristate "MediaTek display PWM driver"
470	depends on ARCH_MEDIATEK || COMPILE_TEST
471	depends on HAS_IOMEM
472	help
473	  Generic PWM framework driver for MediaTek disp-pwm device.
474	  The PWM is used to control the backlight brightness for display.
475
476	  To compile this driver as a module, choose M here: the module
477	  will be called pwm-mtk-disp.
478
479config PWM_MXS
480	tristate "Freescale MXS PWM support"
481	depends on ARCH_MXS || COMPILE_TEST
482	depends on HAS_IOMEM && OF
483	select STMP_DEVICE
484	help
485	  Generic PWM framework driver for Freescale MXS.
486
487	  To compile this driver as a module, choose M here: the module
488	  will be called pwm-mxs.
489
490config PWM_NTXEC
491	tristate "Netronix embedded controller PWM support"
492	depends on MFD_NTXEC
493	help
494	  Say yes here if you want to support the PWM output of the embedded
495	  controller found in certain e-book readers designed by the original
496	  design manufacturer Netronix.
497
498config PWM_OMAP_DMTIMER
499	tristate "OMAP Dual-Mode Timer PWM support"
500	depends on OF
501	depends on OMAP_DM_TIMER || COMPILE_TEST
502	help
503	  Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
504
505	  To compile this driver as a module, choose M here: the module
506	  will be called pwm-omap-dmtimer
507
508config PWM_PCA9685
509	tristate "NXP PCA9685 PWM driver"
510	depends on I2C
511	select REGMAP_I2C
512	help
513	  Generic PWM framework driver for NXP PCA9685 LED controller.
514
515	  To compile this driver as a module, choose M here: the module
516	  will be called pwm-pca9685.
517
518config PWM_PXA
519	tristate "PXA PWM support"
520	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
521	depends on HAS_IOMEM
522	help
523	  Generic PWM framework driver for PXA.
524
525	  To compile this driver as a module, choose M here: the module
526	  will be called pwm-pxa.
527
528config PWM_RASPBERRYPI_POE
529	tristate "Raspberry Pi Firwmware PoE Hat PWM support"
530	# Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
531	# happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
532	depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
533	help
534	  Enable Raspberry Pi firmware controller PWM bus used to control the
535	  official RPI PoE hat
536
537config PWM_RENESAS_RCAR
538	tristate "Renesas R-Car PWM support"
539	depends on ARCH_RENESAS || COMPILE_TEST
540	depends on HAS_IOMEM
541	help
542	  This driver exposes the PWM Timer controller found in Renesas
543	  R-Car chips through the PWM API.
544
545	  To compile this driver as a module, choose M here: the module
546	  will be called pwm-rcar.
547
548config PWM_RENESAS_RZG2L_GPT
549	tristate "Renesas RZ/G2L General PWM Timer support"
550	depends on ARCH_RZG2L || COMPILE_TEST
551	depends on HAS_IOMEM
552	help
553	  This driver exposes the General PWM Timer controller found in Renesas
554	  RZ/G2L like chips through the PWM API.
555
556	  To compile this driver as a module, choose M here: the module
557	  will be called pwm-rzg2l-gpt.
558
559config PWM_RENESAS_RZ_MTU3
560	tristate "Renesas RZ/G2L MTU3a PWM Timer support"
561	depends on RZ_MTU3
562	depends on HAS_IOMEM
563	help
564	  This driver exposes the MTU3a PWM Timer controller found in Renesas
565	  RZ/G2L like chips through the PWM API.
566
567	  To compile this driver as a module, choose M here: the module
568	  will be called pwm-rz-mtu3.
569
570config PWM_RENESAS_TPU
571	tristate "Renesas TPU PWM support"
572	depends on ARCH_RENESAS || COMPILE_TEST
573	depends on HAS_IOMEM
574	help
575	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
576	  in Renesas chips through the PWM API.
577
578	  To compile this driver as a module, choose M here: the module
579	  will be called pwm-renesas-tpu.
580
581config PWM_ROCKCHIP
582	tristate "Rockchip PWM support"
583	depends on ARCH_ROCKCHIP || COMPILE_TEST
584	depends on HAS_IOMEM
585	help
586	  Generic PWM framework driver for the PWM controller found on
587	  Rockchip SoCs.
588
589config PWM_SAMSUNG
590	tristate "Samsung PWM support"
591	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
592	depends on HAS_IOMEM
593	help
594	  Generic PWM framework driver for Samsung S3C24xx, S3C64xx, S5Pv210
595	  and Exynos SoCs.
596	  Choose Y here only if you build for such Samsung SoC.
597
598	  To compile this driver as a module, choose M here: the module
599	  will be called pwm-samsung.
600
601config PWM_SIFIVE
602	tristate "SiFive PWM support"
603	depends on OF
604	depends on COMMON_CLK && HAS_IOMEM
605	depends on ARCH_SIFIVE || COMPILE_TEST
606	help
607	  Generic PWM framework driver for SiFive SoCs.
608
609	  To compile this driver as a module, choose M here: the module
610	  will be called pwm-sifive.
611
612config PWM_SL28CPLD
613	tristate "Kontron sl28cpld PWM support"
614	depends on MFD_SL28CPLD || COMPILE_TEST
615	help
616	  Generic PWM framework driver for board management controller
617	  found on the Kontron sl28 CPLD.
618
619	  To compile this driver as a module, choose M here: the module
620	  will be called pwm-sl28cpld.
621
622config PWM_SOPHGO_SG2042
623	tristate "Sophgo SG2042 PWM support"
624	depends on ARCH_SOPHGO || COMPILE_TEST
625	help
626	  PWM driver for the PWM controller on Sophgo SG2042 SoC. The PWM
627	  controller supports outputing 4 channels of PWM waveforms.
628
629	  To compile this driver as a module, choose M here: the module
630	  will be called pwm_sophgo_sg2042.
631
632config PWM_SPEAR
633	tristate "STMicroelectronics SPEAr PWM support"
634	depends on PLAT_SPEAR || COMPILE_TEST
635	depends on HAS_IOMEM && OF
636	help
637	  Generic PWM framework driver for the PWM controller on ST
638	  SPEAr SoCs.
639
640	  To compile this driver as a module, choose M here: the module
641	  will be called pwm-spear.
642
643config PWM_SPRD
644	tristate "Spreadtrum PWM support"
645	depends on ARCH_SPRD || COMPILE_TEST
646	depends on HAS_IOMEM
647	help
648	  Generic PWM framework driver for the PWM controller on
649	  Spreadtrum SoCs.
650
651	  To compile this driver as a module, choose M here: the module
652	  will be called pwm-sprd.
653
654config PWM_STI
655	tristate "STiH4xx PWM support"
656	depends on ARCH_STI || COMPILE_TEST
657	depends on HAS_IOMEM && OF
658	help
659	  Generic PWM framework driver for STiH4xx SoCs.
660
661	  To compile this driver as a module, choose M here: the module
662	  will be called pwm-sti.
663
664config PWM_STM32
665	tristate "STMicroelectronics STM32 PWM"
666	depends on MFD_STM32_TIMERS || COMPILE_TEST
667	help
668	  Generic PWM framework driver for STM32 SoCs.
669
670	  To compile this driver as a module, choose M here: the module
671	  will be called pwm-stm32.
672
673config PWM_STM32_LP
674	tristate "STMicroelectronics STM32 PWM LP"
675	depends on MFD_STM32_LPTIMER || COMPILE_TEST
676	help
677	  Generic PWM framework driver for STMicroelectronics STM32 SoCs
678	  with Low-Power Timer (LPTIM).
679
680	  To compile this driver as a module, choose M here: the module
681	  will be called pwm-stm32-lp.
682
683config PWM_STMPE
684	tristate "STMPE expander PWM export"
685	depends on MFD_STMPE
686	help
687	  This enables support for the PWMs found in the STMPE I/O
688	  expanders.
689
690config PWM_SUN4I
691	tristate "Allwinner PWM support"
692	depends on ARCH_SUNXI || COMPILE_TEST
693	depends on HAS_IOMEM && COMMON_CLK
694	help
695	  Generic PWM framework driver for Allwinner SoCs.
696
697	  To compile this driver as a module, choose M here: the module
698	  will be called pwm-sun4i.
699
700config PWM_SUNPLUS
701	tristate "Sunplus PWM support"
702	depends on ARCH_SUNPLUS || COMPILE_TEST
703	depends on HAS_IOMEM && OF
704	help
705	  Generic PWM framework driver for the PWM controller on
706	  Sunplus SoCs.
707
708	  To compile this driver as a module, choose M here: the module
709	  will be called pwm-sunplus.
710
711config PWM_TEGRA
712	tristate "NVIDIA Tegra PWM support"
713	depends on ARCH_TEGRA || COMPILE_TEST
714	depends on HAS_IOMEM
715	help
716	  Generic PWM framework driver for the PWFM controller found on NVIDIA
717	  Tegra SoCs.
718
719	  To compile this driver as a module, choose M here: the module
720	  will be called pwm-tegra.
721
722config PWM_TIECAP
723	tristate "ECAP PWM support"
724	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
725	depends on HAS_IOMEM
726	help
727	  PWM driver support for the ECAP APWM controller found on TI SOCs
728
729	  To compile this driver as a module, choose M here: the module
730	  will be called pwm-tiecap.
731
732config PWM_TIEHRPWM
733	tristate "EHRPWM PWM support"
734	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
735	depends on HAS_IOMEM
736	help
737	  PWM driver support for the EHRPWM controller found on TI SOCs
738
739	  To compile this driver as a module, choose M here: the module
740	  will be called pwm-tiehrpwm.
741
742config PWM_TWL
743	tristate "TWL4030/6030 PWM support"
744	depends on TWL4030_CORE
745	help
746	  Generic PWM framework driver for TWL4030/6030.
747
748	  To compile this driver as a module, choose M here: the module
749	  will be called pwm-twl.
750
751config PWM_TWL_LED
752	tristate "TWL4030/6030 PWM support for LED drivers"
753	depends on TWL4030_CORE
754	help
755	  Generic PWM framework driver for TWL4030/6030 LED terminals.
756
757	  To compile this driver as a module, choose M here: the module
758	  will be called pwm-twl-led.
759
760config PWM_VISCONTI
761	tristate "Toshiba Visconti PWM support"
762	depends on ARCH_VISCONTI || COMPILE_TEST
763	help
764	  PWM Subsystem driver support for Toshiba Visconti SoCs.
765
766	  To compile this driver as a module, choose M here: the module
767	  will be called pwm-visconti.
768
769config PWM_VT8500
770	tristate "vt8500 PWM support"
771	depends on ARCH_VT8500 || COMPILE_TEST
772	depends on HAS_IOMEM
773	help
774	  Generic PWM framework driver for vt8500.
775
776	  To compile this driver as a module, choose M here: the module
777	  will be called pwm-vt8500.
778
779config PWM_XILINX
780	tristate "Xilinx AXI Timer PWM support"
781	depends on OF_ADDRESS
782	depends on COMMON_CLK
783	select REGMAP_MMIO
784	help
785	  PWM driver for Xilinx LogiCORE IP AXI timers. This timer is
786	  typically a soft core which may be present in Xilinx FPGAs.
787	  This device may also be present in Microblaze soft processors.
788	  If you don't have this IP in your design, choose N.
789
790	  To compile this driver as a module, choose M here: the module
791	  will be called pwm-xilinx.
792
793endif
794