xref: /openbmc/linux/drivers/pwm/Kconfig (revision 69ba53da)
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
143901f8f54SNikita Travkinconfig PWM_CLK
144901f8f54SNikita Travkin	tristate "Clock based PWM support"
145901f8f54SNikita Travkin	depends on HAVE_CLK || COMPILE_TEST
146901f8f54SNikita Travkin	help
147901f8f54SNikita Travkin	  Generic PWM framework driver for outputs that can be
148901f8f54SNikita Travkin	  muxed to clocks.
149901f8f54SNikita Travkin
150901f8f54SNikita Travkin	  To compile this driver as a module, choose M here: the module
151901f8f54SNikita Travkin	  will be called pwm-clk.
152901f8f54SNikita Travkin
1537eb3f6ffSAlexander Shiyanconfig PWM_CLPS711X
1547eb3f6ffSAlexander Shiyan	tristate "CLPS711X PWM support"
1557eb3f6ffSAlexander Shiyan	depends on ARCH_CLPS711X || COMPILE_TEST
156dec02f98SChen Gang	depends on HAS_IOMEM
1577eb3f6ffSAlexander Shiyan	help
1587eb3f6ffSAlexander Shiyan	  Generic PWM framework driver for Cirrus Logic CLPS711X.
1597eb3f6ffSAlexander Shiyan
1607eb3f6ffSAlexander Shiyan	  To compile this driver as a module, choose M here: the module
1617eb3f6ffSAlexander Shiyan	  will be called pwm-clps711x.
1627eb3f6ffSAlexander Shiyan
163a3f37a10SShobhit Kumarconfig PWM_CRC
164a3f37a10SShobhit Kumar	bool "Intel Crystalcove (CRC) PWM support"
165a3f37a10SShobhit Kumar	depends on X86 && INTEL_SOC_PMIC
166a3f37a10SShobhit Kumar	help
167a3f37a10SShobhit Kumar	  Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
168a3f37a10SShobhit Kumar	  control.
169a3f37a10SShobhit Kumar
1701f0d3bb0SBrian Norrisconfig PWM_CROS_EC
1711f0d3bb0SBrian Norris	tristate "ChromeOS EC PWM driver"
17247f11e0bSEnric Balletbo i Serra	depends on CROS_EC
1731f0d3bb0SBrian Norris	help
1741f0d3bb0SBrian Norris	  PWM driver for exposing a PWM attached to the ChromeOS Embedded
1751f0d3bb0SBrian Norris	  Controller.
1761f0d3bb0SBrian Norris
1771ed2b3fcSJarkko Nikulaconfig PWM_DWC
1781ed2b3fcSJarkko Nikula	tristate "DesignWare PWM Controller"
1791ed2b3fcSJarkko Nikula	depends on PCI
1801ed2b3fcSJarkko Nikula	help
1811ed2b3fcSJarkko Nikula	  PWM driver for Synopsys DWC PWM Controller attached to a PCI bus.
1821ed2b3fcSJarkko Nikula
1831ed2b3fcSJarkko Nikula	  To compile this driver as a module, choose M here: the module
1841ed2b3fcSJarkko Nikula	  will be called pwm-dwc.
1851ed2b3fcSJarkko Nikula
186a2308698SH Hartley Sweetenconfig PWM_EP93XX
187a2308698SH Hartley Sweeten	tristate "Cirrus Logic EP93xx PWM support"
188e96c0ff4SKrzysztof Kozlowski	depends on ARCH_EP93XX || COMPILE_TEST
18971d4b833SUwe Kleine-König	depends on HAS_IOMEM
190a2308698SH Hartley Sweeten	help
191a2308698SH Hartley Sweeten	  Generic PWM framework driver for Cirrus Logic EP93xx.
192a2308698SH Hartley Sweeten
193a2308698SH Hartley Sweeten	  To compile this driver as a module, choose M here: the module
194a2308698SH Hartley Sweeten	  will be called pwm-ep93xx.
195a2308698SH Hartley Sweeten
196b505183bSXiubo Liconfig PWM_FSL_FTM
197b505183bSXiubo Li	tristate "Freescale FlexTimer Module (FTM) PWM support"
19836d5be4bSVegard Nossum	depends on HAS_IOMEM
199b505183bSXiubo Li	depends on OF
20000018a8aSFabio Estevam	select REGMAP_MMIO
201b505183bSXiubo Li	help
202b505183bSXiubo Li	  Generic FTM PWM framework driver for Freescale VF610 and
203b505183bSXiubo Li	  Layerscape LS-1 SoCs.
204b505183bSXiubo Li
205b505183bSXiubo Li	  To compile this driver as a module, choose M here: the module
206b505183bSXiubo Li	  will be called pwm-fsl-ftm.
207b505183bSXiubo Li
208d09f0081Syuanjianconfig PWM_HIBVT
209d09f0081Syuanjian	tristate "HiSilicon BVT PWM support"
210d09f0081Syuanjian	depends on ARCH_HISI || COMPILE_TEST
21171d4b833SUwe Kleine-König	depends on HAS_IOMEM
212d09f0081Syuanjian	help
213d09f0081Syuanjian	  Generic PWM framework driver for HiSilicon BVT SoCs.
214d09f0081Syuanjian
215d09f0081Syuanjian	  To compile this driver as a module, choose M here: the module
216d09f0081Syuanjian	  will be called pwm-hibvt.
217d09f0081Syuanjian
218277bb6a2SNaidu Tellapaticonfig PWM_IMG
219277bb6a2SNaidu Tellapati	tristate "Imagination Technologies PWM driver"
220277bb6a2SNaidu Tellapati	depends on HAS_IOMEM
221277bb6a2SNaidu Tellapati	depends on MFD_SYSCON
222277bb6a2SNaidu Tellapati	depends on COMMON_CLK
223277bb6a2SNaidu Tellapati	depends on MIPS || COMPILE_TEST
224277bb6a2SNaidu Tellapati	help
225277bb6a2SNaidu Tellapati	  Generic PWM framework driver for Imagination Technologies
226277bb6a2SNaidu Tellapati	  PWM block which supports 4 channels.
227277bb6a2SNaidu Tellapati
228277bb6a2SNaidu Tellapati	  To compile this driver as a module, choose M here: the module
229277bb6a2SNaidu Tellapati	  will be called pwm-img
230277bb6a2SNaidu Tellapati
231d80f8206SUwe Kleine-Königconfig PWM_IMX1
232d80f8206SUwe Kleine-König	tristate "i.MX1 PWM support"
233e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
23471d4b833SUwe Kleine-König	depends on HAS_IOMEM
23529693248SSascha Hauer	help
236d80f8206SUwe Kleine-König	  Generic PWM framework driver for i.MX1 and i.MX21
23729693248SSascha Hauer
23829693248SSascha Hauer	  To compile this driver as a module, choose M here: the module
239d80f8206SUwe Kleine-König	  will be called pwm-imx1.
240d80f8206SUwe Kleine-König
241d80f8206SUwe Kleine-Königconfig PWM_IMX27
242d80f8206SUwe Kleine-König	tristate "i.MX27 PWM support"
243e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXC || COMPILE_TEST
24471d4b833SUwe Kleine-König	depends on HAS_IOMEM
245d80f8206SUwe Kleine-König	help
246d80f8206SUwe Kleine-König	  Generic PWM framework driver for i.MX27 and later i.MX SoCs.
247d80f8206SUwe Kleine-König
248d80f8206SUwe Kleine-König	  To compile this driver as a module, choose M here: the module
249d80f8206SUwe Kleine-König	  will be called pwm-imx27.
25029693248SSascha Hauer
251738a1cfeSAnson Huangconfig PWM_IMX_TPM
252738a1cfeSAnson Huang	tristate "i.MX TPM PWM support"
253738a1cfeSAnson Huang	depends on ARCH_MXC || COMPILE_TEST
254738a1cfeSAnson Huang	depends on HAVE_CLK && HAS_IOMEM
255738a1cfeSAnson Huang	help
256738a1cfeSAnson Huang	  Generic PWM framework driver for i.MX7ULP TPM module, TPM's full
257738a1cfeSAnson Huang	  name is Low Power Timer/Pulse Width Modulation Module.
258738a1cfeSAnson Huang
259738a1cfeSAnson Huang	  To compile this driver as a module, choose M here: the module
260738a1cfeSAnson Huang	  will be called pwm-imx-tpm.
261738a1cfeSAnson Huang
26297960addSRahul Tanwarconfig PWM_INTEL_LGM
26397960addSRahul Tanwar	tristate "Intel LGM PWM support"
26497960addSRahul Tanwar	depends on HAS_IOMEM
26597960addSRahul Tanwar	depends on (OF && X86) || COMPILE_TEST
26697960addSRahul Tanwar	select REGMAP_MMIO
26797960addSRahul Tanwar	help
26897960addSRahul Tanwar	  Generic PWM fan controller driver for LGM SoC.
26997960addSRahul Tanwar
27097960addSRahul Tanwar	  To compile this driver as a module, choose M here: the module
27197960addSRahul Tanwar	  will be called pwm-intel-lgm.
27297960addSRahul Tanwar
2736f0841a8SJeff LaBundyconfig PWM_IQS620A
2746f0841a8SJeff LaBundy	tristate "Azoteq IQS620A PWM support"
2756f0841a8SJeff LaBundy	depends on MFD_IQS62X || COMPILE_TEST
2766f0841a8SJeff LaBundy	help
2776f0841a8SJeff LaBundy	  Generic PWM framework driver for the Azoteq IQS620A multi-function
2786f0841a8SJeff LaBundy	  sensor.
2796f0841a8SJeff LaBundy
2806f0841a8SJeff LaBundy	  To compile this driver as a module, choose M here: the module will
2816f0841a8SJeff LaBundy	  be called pwm-iqs620a.
2826f0841a8SJeff LaBundy
283f6b8a570SThierry Redingconfig PWM_JZ4740
284b4190062SPaul Cercueil	tristate "Ingenic JZ47xx PWM support"
285*69ba53daSPaul Cercueil	depends on MACH_INGENIC || COMPILE_TEST
286731c4793SPaul Cercueil	depends on COMMON_CLK && OF
287c2693514SPaul Cercueil	select MFD_SYSCON
288f6b8a570SThierry Reding	help
289b4190062SPaul Cercueil	  Generic PWM framework driver for Ingenic JZ47xx based
290f6b8a570SThierry Reding	  machines.
291f6b8a570SThierry Reding
292f6b8a570SThierry Reding	  To compile this driver as a module, choose M here: the module
293f6b8a570SThierry Reding	  will be called pwm-jz4740.
294f6b8a570SThierry Reding
295bd899cebSVijayakannan Ayyathuraiconfig PWM_KEEMBAY
296bd899cebSVijayakannan Ayyathurai	tristate "Intel Keem Bay PWM driver"
297cf83f7b7SUwe Kleine-König	depends on ARCH_KEEMBAY || COMPILE_TEST
298cf83f7b7SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
299bd899cebSVijayakannan Ayyathurai	help
300bd899cebSVijayakannan Ayyathurai	  The platform driver for Intel Keem Bay PWM controller.
301bd899cebSVijayakannan Ayyathurai
302bd899cebSVijayakannan Ayyathurai	  To compile this driver as a module, choose M here: the module
303bd899cebSVijayakannan Ayyathurai	  will be called pwm-keembay.
304bd899cebSVijayakannan Ayyathurai
305af66b3c0SMilo Kimconfig PWM_LP3943
306af66b3c0SMilo Kim	tristate "TI/National Semiconductor LP3943 PWM support"
307af66b3c0SMilo Kim	depends on MFD_LP3943
308af66b3c0SMilo Kim	help
309af66b3c0SMilo Kim	  Generic PWM framework driver for LP3943 which supports two PWM
310af66b3c0SMilo Kim	  channels.
311af66b3c0SMilo Kim
312af66b3c0SMilo Kim	  To compile this driver as a module, choose M here: the module
313af66b3c0SMilo Kim	  will be called pwm-lp3943.
314af66b3c0SMilo Kim
315841e6f90SAriel D'Alessandroconfig PWM_LPC18XX_SCT
316841e6f90SAriel D'Alessandro	tristate "LPC18xx/43xx PWM/SCT support"
317e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC18XX || COMPILE_TEST
31871d4b833SUwe Kleine-König	depends on HAS_IOMEM
319841e6f90SAriel D'Alessandro	help
320841e6f90SAriel D'Alessandro	  Generic PWM framework driver for NXP LPC18xx PWM/SCT which
321841e6f90SAriel D'Alessandro	  supports 16 channels.
322841e6f90SAriel D'Alessandro	  A maximum of 15 channels can be requested simultaneously and
323841e6f90SAriel D'Alessandro	  must have the same period.
324841e6f90SAriel D'Alessandro
325841e6f90SAriel D'Alessandro	  To compile this driver as a module, choose M here: the module
326841e6f90SAriel D'Alessandro	  will be called pwm-lpc18xx-sct.
327841e6f90SAriel D'Alessandro
3282132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX
3292132fa8dSAlexandre Pereira da Silva	tristate "LPC32XX PWM support"
330e96c0ff4SKrzysztof Kozlowski	depends on ARCH_LPC32XX || COMPILE_TEST
33171d4b833SUwe Kleine-König	depends on HAS_IOMEM
3322132fa8dSAlexandre Pereira da Silva	help
3332132fa8dSAlexandre Pereira da Silva	  Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
3342132fa8dSAlexandre Pereira da Silva	  PWM controllers.
3352132fa8dSAlexandre Pereira da Silva
3362132fa8dSAlexandre Pereira da Silva	  To compile this driver as a module, choose M here: the module
3372132fa8dSAlexandre Pereira da Silva	  will be called pwm-lpc32xx.
3382132fa8dSAlexandre Pereira da Silva
339d16a5aa9SMika Westerbergconfig PWM_LPSS
34071d4b833SUwe Kleine-König	depends on HAS_IOMEM
3416f90a00cSAndy Shevchenko	tristate
342d16a5aa9SMika Westerberg
343c558e39eSAndy Shevchenkoconfig PWM_LPSS_PCI
344c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM PCI driver"
345aa43edcbSUwe Kleine-König	depends on X86 || COMPILE_TEST
346aa43edcbSUwe Kleine-König	depends on HAS_IOMEM && PCI
3476f90a00cSAndy Shevchenko	select PWM_LPSS
348c558e39eSAndy Shevchenko	help
349c558e39eSAndy Shevchenko	  The PCI driver for Intel Low Power Subsystem PWM controller.
350c558e39eSAndy Shevchenko
351c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
352c558e39eSAndy Shevchenko	  will be called pwm-lpss-pci.
353c558e39eSAndy Shevchenko
354c558e39eSAndy Shevchenkoconfig PWM_LPSS_PLATFORM
355c558e39eSAndy Shevchenko	tristate "Intel LPSS PWM platform driver"
356aa43edcbSUwe Kleine-König	depends on (X86 && ACPI) || COMPILE_TEST
35771d4b833SUwe Kleine-König	depends on HAS_IOMEM
3586f90a00cSAndy Shevchenko	select PWM_LPSS
359c558e39eSAndy Shevchenko	help
360c558e39eSAndy Shevchenko	  The platform driver for Intel Low Power Subsystem PWM controller.
361c558e39eSAndy Shevchenko
362c558e39eSAndy Shevchenko	  To compile this driver as a module, choose M here: the module
363c558e39eSAndy Shevchenko	  will be called pwm-lpss-platform.
364c558e39eSAndy Shevchenko
365211ed630SNeil Armstrongconfig PWM_MESON
366211ed630SNeil Armstrong	tristate "Amlogic Meson PWM driver"
367e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MESON || COMPILE_TEST
36871d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
369211ed630SNeil Armstrong	help
370211ed630SNeil Armstrong	  The platform driver for Amlogic Meson PWM controller.
371211ed630SNeil Armstrong
372211ed630SNeil Armstrong	  To compile this driver as a module, choose M here: the module
373211ed630SNeil Armstrong	  will be called pwm-meson.
374211ed630SNeil Armstrong
3757e3b7dc7SYH Huangconfig PWM_MTK_DISP
3767e3b7dc7SYH Huang	tristate "MediaTek display PWM driver"
3777e3b7dc7SYH Huang	depends on ARCH_MEDIATEK || COMPILE_TEST
3787e3b7dc7SYH Huang	depends on HAS_IOMEM
3797e3b7dc7SYH Huang	help
3807e3b7dc7SYH Huang	  Generic PWM framework driver for MediaTek disp-pwm device.
3817e3b7dc7SYH Huang	  The PWM is used to control the backlight brightness for display.
3827e3b7dc7SYH Huang
3837e3b7dc7SYH Huang	  To compile this driver as a module, choose M here: the module
3847e3b7dc7SYH Huang	  will be called pwm-mtk-disp.
3857e3b7dc7SYH Huang
386caf065f8SJohn Crispinconfig PWM_MEDIATEK
387caf065f8SJohn Crispin	tristate "MediaTek PWM support"
3888cdc43afSJohn Crispin	depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST
38971d4b833SUwe Kleine-König	depends on HAS_IOMEM
390caf065f8SJohn Crispin	help
391caf065f8SJohn Crispin	  Generic PWM framework driver for Mediatek ARM SoC.
392caf065f8SJohn Crispin
393caf065f8SJohn Crispin	  To compile this driver as a module, choose M here: the module
394aa12d7a7SZhi Mao	  will be called pwm-mediatek.
395caf065f8SJohn Crispin
3964dce82c1SShawn Guoconfig PWM_MXS
3974dce82c1SShawn Guo	tristate "Freescale MXS PWM support"
398e96c0ff4SKrzysztof Kozlowski	depends on ARCH_MXS || COMPILE_TEST
39971d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
40001bf32e9SShawn Guo	select STMP_DEVICE
4014dce82c1SShawn Guo	help
4024dce82c1SShawn Guo	  Generic PWM framework driver for Freescale MXS.
4034dce82c1SShawn Guo
4044dce82c1SShawn Guo	  To compile this driver as a module, choose M here: the module
4054dce82c1SShawn Guo	  will be called pwm-mxs.
4064dce82c1SShawn Guo
4079fc0486fSJonathan Neuschäferconfig PWM_NTXEC
4089fc0486fSJonathan Neuschäfer	tristate "Netronix embedded controller PWM support"
4099fc0486fSJonathan Neuschäfer	depends on MFD_NTXEC
4109fc0486fSJonathan Neuschäfer	help
4119fc0486fSJonathan Neuschäfer	  Say yes here if you want to support the PWM output of the embedded
4129fc0486fSJonathan Neuschäfer	  controller found in certain e-book readers designed by the original
4139fc0486fSJonathan Neuschäfer	  design manufacturer Netronix.
4149fc0486fSJonathan Neuschäfer
4156604c655SNeil Armstrongconfig PWM_OMAP_DMTIMER
4166604c655SNeil Armstrong	tristate "OMAP Dual-Mode Timer PWM support"
4179f2919e9SUwe Kleine-König	depends on OF
4189f2919e9SUwe Kleine-König	depends on OMAP_DM_TIMER || COMPILE_TEST
4196604c655SNeil Armstrong	help
4206604c655SNeil Armstrong	  Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
4216604c655SNeil Armstrong
4226604c655SNeil Armstrong	  To compile this driver as a module, choose M here: the module
4236604c655SNeil Armstrong	  will be called pwm-omap-dmtimer
4246604c655SNeil Armstrong
42588b613e6SSteffen Trumtrarconfig PWM_PCA9685
42688b613e6SSteffen Trumtrar	tristate "NXP PCA9685 PWM driver"
427912b8439SAndy Shevchenko	depends on I2C
4282c80a492SAxel Lin	select REGMAP_I2C
42988b613e6SSteffen Trumtrar	help
43088b613e6SSteffen Trumtrar	  Generic PWM framework driver for NXP PCA9685 LED controller.
43188b613e6SSteffen Trumtrar
43288b613e6SSteffen Trumtrar	  To compile this driver as a module, choose M here: the module
43388b613e6SSteffen Trumtrar	  will be called pwm-pca9685.
43488b613e6SSteffen Trumtrar
43517b2b478SThierry Redingconfig PWM_PXA
43617b2b478SThierry Reding	tristate "PXA PWM support"
437e96c0ff4SKrzysztof Kozlowski	depends on ARCH_PXA || COMPILE_TEST
43871d4b833SUwe Kleine-König	depends on HAS_IOMEM
43917b2b478SThierry Reding	help
44017b2b478SThierry Reding	  Generic PWM framework driver for PXA.
44117b2b478SThierry Reding
44217b2b478SThierry Reding	  To compile this driver as a module, choose M here: the module
44317b2b478SThierry Reding	  will be called pwm-pxa.
44417b2b478SThierry Reding
44579caa362SNicolas Saenz Julienneconfig PWM_RASPBERRYPI_POE
44679caa362SNicolas Saenz Julienne	tristate "Raspberry Pi Firwmware PoE Hat PWM support"
44779caa362SNicolas Saenz Julienne	# Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
44879caa362SNicolas Saenz Julienne	# happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
44979caa362SNicolas Saenz Julienne	depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
45079caa362SNicolas Saenz Julienne	help
45179caa362SNicolas Saenz Julienne	  Enable Raspberry Pi firmware controller PWM bus used to control the
45279caa362SNicolas Saenz Julienne	  official RPI PoE hat
45379caa362SNicolas Saenz Julienne
454ed6c1476SYoshihiro Shimodaconfig PWM_RCAR
455ed6c1476SYoshihiro Shimoda	tristate "Renesas R-Car PWM support"
45648169988SRyo Kodama	depends on ARCH_RENESAS || COMPILE_TEST
457ed6c1476SYoshihiro Shimoda	depends on HAS_IOMEM
458ed6c1476SYoshihiro Shimoda	help
459ed6c1476SYoshihiro Shimoda	  This driver exposes the PWM Timer controller found in Renesas
460ed6c1476SYoshihiro Shimoda	  R-Car chips through the PWM API.
461ed6c1476SYoshihiro Shimoda
462ed6c1476SYoshihiro Shimoda	  To compile this driver as a module, choose M here: the module
463ed6c1476SYoshihiro Shimoda	  will be called pwm-rcar.
464ed6c1476SYoshihiro Shimoda
46599b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU
46699b82abbSLaurent Pinchart	tristate "Renesas TPU PWM support"
46703d99531SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
4682974b098SRichard Weinberger	depends on HAS_IOMEM
46999b82abbSLaurent Pinchart	help
47099b82abbSLaurent Pinchart	  This driver exposes the Timer Pulse Unit (TPU) PWM controller found
47199b82abbSLaurent Pinchart	  in Renesas chips through the PWM API.
47299b82abbSLaurent Pinchart
47399b82abbSLaurent Pinchart	  To compile this driver as a module, choose M here: the module
47499b82abbSLaurent Pinchart	  will be called pwm-renesas-tpu.
47599b82abbSLaurent Pinchart
476101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP
477101353c8SBeniamino Galvani	tristate "Rockchip PWM support"
478e96c0ff4SKrzysztof Kozlowski	depends on ARCH_ROCKCHIP || COMPILE_TEST
47971d4b833SUwe Kleine-König	depends on HAS_IOMEM
480101353c8SBeniamino Galvani	help
481101353c8SBeniamino Galvani	  Generic PWM framework driver for the PWM controller found on
482101353c8SBeniamino Galvani	  Rockchip SoCs.
483101353c8SBeniamino Galvani
484215c29d3SSascha Hauerconfig PWM_SAMSUNG
485b133d2a1SThierry Reding	tristate "Samsung PWM support"
486db8230d2SArnd Bergmann	depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
48771d4b833SUwe Kleine-König	depends on HAS_IOMEM
488215c29d3SSascha Hauer	help
48906dfae38SKrzysztof Kozlowski	  Generic PWM framework driver for Samsung S3C24xx, S3C64xx, S5Pv210
49006dfae38SKrzysztof Kozlowski	  and Exynos SoCs.
49106dfae38SKrzysztof Kozlowski	  Choose Y here only if you build for such Samsung SoC.
492215c29d3SSascha Hauer
493215c29d3SSascha Hauer	  To compile this driver as a module, choose M here: the module
494215c29d3SSascha Hauer	  will be called pwm-samsung.
495215c29d3SSascha Hauer
4969e37a53eSYash Shahconfig PWM_SIFIVE
4979e37a53eSYash Shah	tristate "SiFive PWM support"
4989e37a53eSYash Shah	depends on OF
49971d4b833SUwe Kleine-König	depends on COMMON_CLK && HAS_IOMEM
5009e37a53eSYash Shah	depends on RISCV || COMPILE_TEST
5019e37a53eSYash Shah	help
5029e37a53eSYash Shah	  Generic PWM framework driver for SiFive SoCs.
5039e37a53eSYash Shah
5049e37a53eSYash Shah	  To compile this driver as a module, choose M here: the module
5059e37a53eSYash Shah	  will be called pwm-sifive.
5069e37a53eSYash Shah
5079db33d22SMichael Walleconfig PWM_SL28CPLD
5089db33d22SMichael Walle	tristate "Kontron sl28cpld PWM support"
5099db33d22SMichael Walle	depends on MFD_SL28CPLD || COMPILE_TEST
5109db33d22SMichael Walle	help
5119db33d22SMichael Walle	  Generic PWM framework driver for board management controller
5129db33d22SMichael Walle	  found on the Kontron sl28 CPLD.
5139db33d22SMichael Walle
5149db33d22SMichael Walle	  To compile this driver as a module, choose M here: the module
5159db33d22SMichael Walle	  will be called pwm-sl28cpld.
5169db33d22SMichael Walle
517ce20364bSShiraz Hashimconfig PWM_SPEAR
518ce20364bSShiraz Hashim	tristate "STMicroelectronics SPEAr PWM support"
519e96c0ff4SKrzysztof Kozlowski	depends on PLAT_SPEAR || COMPILE_TEST
52071d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
521ce20364bSShiraz Hashim	help
522ce20364bSShiraz Hashim	  Generic PWM framework driver for the PWM controller on ST
523ce20364bSShiraz Hashim	  SPEAr SoCs.
524ce20364bSShiraz Hashim
525ce20364bSShiraz Hashim	  To compile this driver as a module, choose M here: the module
526ce20364bSShiraz Hashim	  will be called pwm-spear.
527ce20364bSShiraz Hashim
5288aae4b02SBaolin Wangconfig PWM_SPRD
5298aae4b02SBaolin Wang	tristate "Spreadtrum PWM support"
5308aae4b02SBaolin Wang	depends on ARCH_SPRD || COMPILE_TEST
5318aae4b02SBaolin Wang	depends on HAS_IOMEM
5328aae4b02SBaolin Wang	help
5338aae4b02SBaolin Wang	  Generic PWM framework driver for the PWM controller on
5348aae4b02SBaolin Wang	  Spreadtrum SoCs.
5358aae4b02SBaolin Wang
5368aae4b02SBaolin Wang	  To compile this driver as a module, choose M here: the module
5378aae4b02SBaolin Wang	  will be called pwm-sprd.
5388aae4b02SBaolin Wang
539378fe115SLee Jonesconfig PWM_STI
540378fe115SLee Jones	tristate "STiH4xx PWM support"
541e96c0ff4SKrzysztof Kozlowski	depends on ARCH_STI || COMPILE_TEST
54271d4b833SUwe Kleine-König	depends on HAS_IOMEM && OF
543378fe115SLee Jones	help
544378fe115SLee Jones	  Generic PWM framework driver for STiH4xx SoCs.
545378fe115SLee Jones
546378fe115SLee Jones	  To compile this driver as a module, choose M here: the module
547378fe115SLee Jones	  will be called pwm-sti.
548378fe115SLee Jones
5497edf7369SBenjamin Gaignardconfig PWM_STM32
5507edf7369SBenjamin Gaignard	tristate "STMicroelectronics STM32 PWM"
551e96c0ff4SKrzysztof Kozlowski	depends on MFD_STM32_TIMERS || COMPILE_TEST
5527edf7369SBenjamin Gaignard	help
5537edf7369SBenjamin Gaignard	  Generic PWM framework driver for STM32 SoCs.
5547edf7369SBenjamin Gaignard
5557edf7369SBenjamin Gaignard	  To compile this driver as a module, choose M here: the module
5567edf7369SBenjamin Gaignard	  will be called pwm-stm32.
5577edf7369SBenjamin Gaignard
558e70a540bSFabrice Gasnierconfig PWM_STM32_LP
559e70a540bSFabrice Gasnier	tristate "STMicroelectronics STM32 PWM LP"
560e70a540bSFabrice Gasnier	depends on MFD_STM32_LPTIMER || COMPILE_TEST
561e70a540bSFabrice Gasnier	help
562e70a540bSFabrice Gasnier	  Generic PWM framework driver for STMicroelectronics STM32 SoCs
563e70a540bSFabrice Gasnier	  with Low-Power Timer (LPTIM).
564e70a540bSFabrice Gasnier
565e70a540bSFabrice Gasnier	  To compile this driver as a module, choose M here: the module
566e70a540bSFabrice Gasnier	  will be called pwm-stm32-lp.
567e70a540bSFabrice Gasnier
568ef1f09ecSLinus Walleijconfig PWM_STMPE
569ef1f09ecSLinus Walleij	bool "STMPE expander PWM export"
570ef1f09ecSLinus Walleij	depends on MFD_STMPE
571ef1f09ecSLinus Walleij	help
572ef1f09ecSLinus Walleij	  This enables support for the PWMs found in the STMPE I/O
573ef1f09ecSLinus Walleij	  expanders.
574ef1f09ecSLinus Walleij
57509853ce7SAlexandre Belloniconfig PWM_SUN4I
57609853ce7SAlexandre Belloni	tristate "Allwinner PWM support"
57709853ce7SAlexandre Belloni	depends on ARCH_SUNXI || COMPILE_TEST
57809853ce7SAlexandre Belloni	depends on HAS_IOMEM && COMMON_CLK
57909853ce7SAlexandre Belloni	help
58009853ce7SAlexandre Belloni	  Generic PWM framework driver for Allwinner SoCs.
58109853ce7SAlexandre Belloni
58209853ce7SAlexandre Belloni	  To compile this driver as a module, choose M here: the module
58309853ce7SAlexandre Belloni	  will be called pwm-sun4i.
58409853ce7SAlexandre Belloni
585b3c4af85SHammer Hsiehconfig PWM_SUNPLUS
586b3c4af85SHammer Hsieh	tristate "Sunplus PWM support"
587b3c4af85SHammer Hsieh	depends on ARCH_SUNPLUS || COMPILE_TEST
588b3c4af85SHammer Hsieh	depends on HAS_IOMEM && OF
589b3c4af85SHammer Hsieh	help
590b3c4af85SHammer Hsieh	  Generic PWM framework driver for the PWM controller on
591b3c4af85SHammer Hsieh	  Sunplus SoCs.
592b3c4af85SHammer Hsieh
593b3c4af85SHammer Hsieh	  To compile this driver as a module, choose M here: the module
594b3c4af85SHammer Hsieh	  will be called pwm-sunplus.
595b3c4af85SHammer Hsieh
5960134b932SThierry Redingconfig PWM_TEGRA
5970134b932SThierry Reding	tristate "NVIDIA Tegra PWM support"
598e96c0ff4SKrzysztof Kozlowski	depends on ARCH_TEGRA || COMPILE_TEST
59971d4b833SUwe Kleine-König	depends on HAS_IOMEM
6000134b932SThierry Reding	help
6010134b932SThierry Reding	  Generic PWM framework driver for the PWFM controller found on NVIDIA
6020134b932SThierry Reding	  Tegra SoCs.
6030134b932SThierry Reding
6040134b932SThierry Reding	  To compile this driver as a module, choose M here: the module
6050134b932SThierry Reding	  will be called pwm-tegra.
6060134b932SThierry Reding
6078e0cb05bSPhilip, Avinashconfig PWM_TIECAP
6088e0cb05bSPhilip, Avinash	tristate "ECAP PWM support"
609e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
61071d4b833SUwe Kleine-König	depends on HAS_IOMEM
6118e0cb05bSPhilip, Avinash	help
6126f37709fSVignesh R	  PWM driver support for the ECAP APWM controller found on TI SOCs
6138e0cb05bSPhilip, Avinash
6148e0cb05bSPhilip, Avinash	  To compile this driver as a module, choose M here: the module
6158e0cb05bSPhilip, Avinash	  will be called pwm-tiecap.
6168e0cb05bSPhilip, Avinash
61719891b20SPhilip, Avinashconfig PWM_TIEHRPWM
61819891b20SPhilip, Avinash	tristate "EHRPWM PWM support"
619e96c0ff4SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST
62071d4b833SUwe Kleine-König	depends on HAS_IOMEM
62119891b20SPhilip, Avinash	help
622efc80fb3SVignesh Raghavendra	  PWM driver support for the EHRPWM controller found on TI SOCs
62319891b20SPhilip, Avinash
62419891b20SPhilip, Avinash	  To compile this driver as a module, choose M here: the module
62519891b20SPhilip, Avinash	  will be called pwm-tiehrpwm.
62619891b20SPhilip, Avinash
6273744c263SPeter Ujfalusiconfig PWM_TWL
6283744c263SPeter Ujfalusi	tristate "TWL4030/6030 PWM support"
6293744c263SPeter Ujfalusi	depends on TWL4030_CORE
6303744c263SPeter Ujfalusi	help
6313744c263SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030.
6323744c263SPeter Ujfalusi
6333744c263SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
6343744c263SPeter Ujfalusi	  will be called pwm-twl.
6353744c263SPeter Ujfalusi
636aa765647SPeter Ujfalusiconfig PWM_TWL_LED
637aa765647SPeter Ujfalusi	tristate "TWL4030/6030 PWM support for LED drivers"
638aa765647SPeter Ujfalusi	depends on TWL4030_CORE
639aa765647SPeter Ujfalusi	help
640aa765647SPeter Ujfalusi	  Generic PWM framework driver for TWL4030/6030 LED terminals.
641aa765647SPeter Ujfalusi
642aa765647SPeter Ujfalusi	  To compile this driver as a module, choose M here: the module
643aa765647SPeter Ujfalusi	  will be called pwm-twl-led.
644aa765647SPeter Ujfalusi
645721b5957SNobuhiro Iwamatsuconfig PWM_VISCONTI
646721b5957SNobuhiro Iwamatsu	tristate "Toshiba Visconti PWM support"
647721b5957SNobuhiro Iwamatsu	depends on ARCH_VISCONTI || COMPILE_TEST
648721b5957SNobuhiro Iwamatsu	help
649721b5957SNobuhiro Iwamatsu	  PWM Subsystem driver support for Toshiba Visconti SoCs.
650721b5957SNobuhiro Iwamatsu
651721b5957SNobuhiro Iwamatsu	  To compile this driver as a module, choose M here: the module
652721b5957SNobuhiro Iwamatsu	  will be called pwm-visconti.
653721b5957SNobuhiro Iwamatsu
654a245ccebSSascha Hauerconfig PWM_VT8500
655b133d2a1SThierry Reding	tristate "vt8500 PWM support"
656e96c0ff4SKrzysztof Kozlowski	depends on ARCH_VT8500 || COMPILE_TEST
65771d4b833SUwe Kleine-König	depends on HAS_IOMEM
658a245ccebSSascha Hauer	help
659a245ccebSSascha Hauer	  Generic PWM framework driver for vt8500.
660a245ccebSSascha Hauer
661a245ccebSSascha Hauer	  To compile this driver as a module, choose M here: the module
662a245ccebSSascha Hauer	  will be called pwm-vt8500.
663a245ccebSSascha Hauer
664bc1ce713SSean Andersonconfig PWM_XILINX
665bc1ce713SSean Anderson	tristate "Xilinx AXI Timer PWM support"
666bc1ce713SSean Anderson	depends on OF_ADDRESS
667bc1ce713SSean Anderson	depends on COMMON_CLK
668bc1ce713SSean Anderson	select REGMAP_MMIO
669bc1ce713SSean Anderson	help
670bc1ce713SSean Anderson	  PWM driver for Xilinx LogiCORE IP AXI timers. This timer is
671bc1ce713SSean Anderson	  typically a soft core which may be present in Xilinx FPGAs.
672bc1ce713SSean Anderson	  This device may also be present in Microblaze soft processors.
673bc1ce713SSean Anderson	  If you don't have this IP in your design, choose N.
674bc1ce713SSean Anderson
675bc1ce713SSean Anderson	  To compile this driver as a module, choose M here: the module
676bc1ce713SSean Anderson	  will be called pwm-xilinx.
677bc1ce713SSean Anderson
6780c2498f1SSascha Hauerendif
679