10c2498f1SSascha Hauermenuconfig PWM 2b817bf5cSThierry Reding bool "Pulse-Width Modulation (PWM) Support" 30c2498f1SSascha Hauer help 4b817bf5cSThierry Reding Generic Pulse-Width Modulation (PWM) support. 50c2498f1SSascha Hauer 6b817bf5cSThierry Reding In Pulse-Width Modulation, a variation of the width of pulses 7b817bf5cSThierry Reding in a rectangular pulse signal is used as a means to alter the 8b817bf5cSThierry Reding average power of the signal. Applications include efficient 9b817bf5cSThierry Reding power delivery and voltage regulation. In computer systems, 10b817bf5cSThierry Reding PWMs are commonly used to control fans or the brightness of 11b817bf5cSThierry Reding display backlights. 12b817bf5cSThierry Reding 13b817bf5cSThierry Reding This framework provides a generic interface to PWM devices 14b817bf5cSThierry Reding within the Linux kernel. On the driver side it provides an API 15b817bf5cSThierry Reding to register and unregister a PWM chip, an abstraction of a PWM 16b817bf5cSThierry Reding controller, that supports one or more PWM devices. Client 17b817bf5cSThierry Reding drivers can request PWM devices and use the generic framework 18b817bf5cSThierry Reding to configure as well as enable and disable them. 19b817bf5cSThierry Reding 20b817bf5cSThierry Reding This generic framework replaces the legacy PWM framework which 21b817bf5cSThierry Reding allows only a single driver implementing the required API. Not 22b817bf5cSThierry Reding all legacy implementations have been ported to the framework 23b817bf5cSThierry Reding yet. The framework provides an API that is backward compatible 24b817bf5cSThierry Reding with the legacy framework so that existing client drivers 25b817bf5cSThierry Reding continue to work as expected. 26b817bf5cSThierry Reding 27b817bf5cSThierry Reding If unsure, say no. 280c2498f1SSascha Hauer 290c2498f1SSascha Hauerif PWM 300c2498f1SSascha Hauer 3176abbddeSH Hartley Sweetenconfig PWM_SYSFS 3276abbddeSH Hartley Sweeten bool 3376abbddeSH Hartley Sweeten default y if SYSFS 3476abbddeSH Hartley Sweeten 356173f8f4SThierry Redingconfig PWM_AB8500 366173f8f4SThierry Reding tristate "AB8500 PWM support" 376173f8f4SThierry Reding depends on AB8500_CORE && ARCH_U8500 386173f8f4SThierry Reding help 396173f8f4SThierry Reding Generic PWM framework driver for Analog Baseband AB8500. 406173f8f4SThierry Reding 416173f8f4SThierry Reding To compile this driver as a module, choose M here: the module 426173f8f4SThierry Reding will be called pwm-ab8500. 436173f8f4SThierry Reding 4432b16d46SBo Shenconfig PWM_ATMEL 4532b16d46SBo Shen tristate "Atmel PWM support" 46bb4bbbaaSAlexandre Belloni depends on ARCH_AT91 || AVR32 4732b16d46SBo Shen help 4832b16d46SBo Shen Generic PWM framework driver for Atmel SoC. 4932b16d46SBo Shen 5032b16d46SBo Shen To compile this driver as a module, choose M here: the module 5132b16d46SBo Shen will be called pwm-atmel. 5232b16d46SBo Shen 532b4984beSBoris Brezillonconfig PWM_ATMEL_HLCDC_PWM 542b4984beSBoris Brezillon tristate "Atmel HLCDC PWM support" 552b4984beSBoris Brezillon depends on MFD_ATMEL_HLCDC 56d2048c49SThierry Reding depends on HAVE_CLK 572b4984beSBoris Brezillon help 582b4984beSBoris Brezillon Generic PWM framework driver for the PWM output of the HLCDC 592b4984beSBoris Brezillon (Atmel High-end LCD Controller). This PWM output is mainly used 602b4984beSBoris Brezillon to control the LCD backlight. 612b4984beSBoris Brezillon 622b4984beSBoris Brezillon To compile this driver as a module, choose M here: the module 632b4984beSBoris Brezillon will be called pwm-atmel-hlcdc. 642b4984beSBoris Brezillon 659421badeSBoris BREZILLONconfig PWM_ATMEL_TCB 66b133d2a1SThierry Reding tristate "Atmel TC Block PWM support" 679421badeSBoris BREZILLON depends on ATMEL_TCLIB && OF 689421badeSBoris BREZILLON help 699421badeSBoris BREZILLON Generic PWM framework driver for Atmel Timer Counter Block. 709421badeSBoris BREZILLON 719421badeSBoris BREZILLON A Timer Counter Block provides 6 PWM devices grouped by 2. 729421badeSBoris BREZILLON Devices in a given group must have the same period. 739421badeSBoris BREZILLON 749421badeSBoris BREZILLON To compile this driver as a module, choose M here: the module 759421badeSBoris BREZILLON will be called pwm-atmel-tcb. 769421badeSBoris BREZILLON 776a4e4bffSTim Krygerconfig PWM_BCM_KONA 786a4e4bffSTim Kryger tristate "Kona PWM support" 796a4e4bffSTim Kryger depends on ARCH_BCM_MOBILE 806a4e4bffSTim Kryger help 816a4e4bffSTim Kryger Generic PWM framework driver for Broadcom Kona PWM block. 826a4e4bffSTim Kryger 836a4e4bffSTim Kryger To compile this driver as a module, choose M here: the module 846a4e4bffSTim Kryger will be called pwm-bcm-kona. 856a4e4bffSTim Kryger 86e5a06dc5SBart Tangheconfig PWM_BCM2835 87e5a06dc5SBart Tanghe tristate "BCM2835 PWM support" 88e5a06dc5SBart Tanghe depends on ARCH_BCM2835 89e5a06dc5SBart Tanghe help 90e5a06dc5SBart Tanghe PWM framework driver for BCM2835 controller (Raspberry Pi) 91e5a06dc5SBart Tanghe 92e5a06dc5SBart Tanghe To compile this driver as a module, choose M here: the module 93e5a06dc5SBart Tanghe will be called pwm-bcm2835. 94e5a06dc5SBart Tanghe 95a4315e3cSThierry Redingconfig PWM_BFIN 96a4315e3cSThierry Reding tristate "Blackfin PWM support" 97a4315e3cSThierry Reding depends on BFIN_GPTIMERS 98a4315e3cSThierry Reding help 99a4315e3cSThierry Reding Generic PWM framework driver for Blackfin. 100a4315e3cSThierry Reding 101a4315e3cSThierry Reding To compile this driver as a module, choose M here: the module 102a4315e3cSThierry Reding will be called pwm-bfin. 103a4315e3cSThierry Reding 1047eb3f6ffSAlexander Shiyanconfig PWM_CLPS711X 1057eb3f6ffSAlexander Shiyan tristate "CLPS711X PWM support" 1067eb3f6ffSAlexander Shiyan depends on ARCH_CLPS711X || COMPILE_TEST 107dec02f98SChen Gang depends on HAS_IOMEM 1087eb3f6ffSAlexander Shiyan help 1097eb3f6ffSAlexander Shiyan Generic PWM framework driver for Cirrus Logic CLPS711X. 1107eb3f6ffSAlexander Shiyan 1117eb3f6ffSAlexander Shiyan To compile this driver as a module, choose M here: the module 1127eb3f6ffSAlexander Shiyan will be called pwm-clps711x. 1137eb3f6ffSAlexander Shiyan 114a2308698SH Hartley Sweetenconfig PWM_EP93XX 115a2308698SH Hartley Sweeten tristate "Cirrus Logic EP93xx PWM support" 116a2308698SH Hartley Sweeten depends on ARCH_EP93XX 117a2308698SH Hartley Sweeten help 118a2308698SH Hartley Sweeten Generic PWM framework driver for Cirrus Logic EP93xx. 119a2308698SH Hartley Sweeten 120a2308698SH Hartley Sweeten To compile this driver as a module, choose M here: the module 121a2308698SH Hartley Sweeten will be called pwm-ep93xx. 122a2308698SH Hartley Sweeten 123b505183bSXiubo Liconfig PWM_FSL_FTM 124b505183bSXiubo Li tristate "Freescale FlexTimer Module (FTM) PWM support" 125b505183bSXiubo Li depends on OF 12600018a8aSFabio Estevam select REGMAP_MMIO 127b505183bSXiubo Li help 128b505183bSXiubo Li Generic FTM PWM framework driver for Freescale VF610 and 129b505183bSXiubo Li Layerscape LS-1 SoCs. 130b505183bSXiubo Li 131b505183bSXiubo Li To compile this driver as a module, choose M here: the module 132b505183bSXiubo Li will be called pwm-fsl-ftm. 133b505183bSXiubo Li 134277bb6a2SNaidu Tellapaticonfig PWM_IMG 135277bb6a2SNaidu Tellapati tristate "Imagination Technologies PWM driver" 136277bb6a2SNaidu Tellapati depends on HAS_IOMEM 137277bb6a2SNaidu Tellapati depends on MFD_SYSCON 138277bb6a2SNaidu Tellapati depends on COMMON_CLK 139277bb6a2SNaidu Tellapati depends on MIPS || COMPILE_TEST 140277bb6a2SNaidu Tellapati help 141277bb6a2SNaidu Tellapati Generic PWM framework driver for Imagination Technologies 142277bb6a2SNaidu Tellapati PWM block which supports 4 channels. 143277bb6a2SNaidu Tellapati 144277bb6a2SNaidu Tellapati To compile this driver as a module, choose M here: the module 145277bb6a2SNaidu Tellapati will be called pwm-img 146277bb6a2SNaidu Tellapati 14729693248SSascha Hauerconfig PWM_IMX 148b133d2a1SThierry Reding tristate "i.MX PWM support" 14929693248SSascha Hauer depends on ARCH_MXC 15029693248SSascha Hauer help 15129693248SSascha Hauer Generic PWM framework driver for i.MX. 15229693248SSascha Hauer 15329693248SSascha Hauer To compile this driver as a module, choose M here: the module 15429693248SSascha Hauer will be called pwm-imx. 15529693248SSascha Hauer 156f6b8a570SThierry Redingconfig PWM_JZ4740 157f6b8a570SThierry Reding tristate "Ingenic JZ4740 PWM support" 158f6b8a570SThierry Reding depends on MACH_JZ4740 159f6b8a570SThierry Reding help 160f6b8a570SThierry Reding Generic PWM framework driver for Ingenic JZ4740 based 161f6b8a570SThierry Reding machines. 162f6b8a570SThierry Reding 163f6b8a570SThierry Reding To compile this driver as a module, choose M here: the module 164f6b8a570SThierry Reding will be called pwm-jz4740. 165f6b8a570SThierry Reding 166af66b3c0SMilo Kimconfig PWM_LP3943 167af66b3c0SMilo Kim tristate "TI/National Semiconductor LP3943 PWM support" 168af66b3c0SMilo Kim depends on MFD_LP3943 169af66b3c0SMilo Kim help 170af66b3c0SMilo Kim Generic PWM framework driver for LP3943 which supports two PWM 171af66b3c0SMilo Kim channels. 172af66b3c0SMilo Kim 173af66b3c0SMilo Kim To compile this driver as a module, choose M here: the module 174af66b3c0SMilo Kim will be called pwm-lp3943. 175af66b3c0SMilo Kim 1762132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX 1772132fa8dSAlexandre Pereira da Silva tristate "LPC32XX PWM support" 1782132fa8dSAlexandre Pereira da Silva depends on ARCH_LPC32XX 1792132fa8dSAlexandre Pereira da Silva help 1802132fa8dSAlexandre Pereira da Silva Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two 1812132fa8dSAlexandre Pereira da Silva PWM controllers. 1822132fa8dSAlexandre Pereira da Silva 1832132fa8dSAlexandre Pereira da Silva To compile this driver as a module, choose M here: the module 1842132fa8dSAlexandre Pereira da Silva will be called pwm-lpc32xx. 1852132fa8dSAlexandre Pereira da Silva 186d16a5aa9SMika Westerbergconfig PWM_LPSS 187d16a5aa9SMika Westerberg tristate "Intel LPSS PWM support" 188ad16202dSAndy Shevchenko depends on X86 189d16a5aa9SMika Westerberg help 190d16a5aa9SMika Westerberg Generic PWM framework driver for Intel Low Power Subsystem PWM 191d16a5aa9SMika Westerberg controller. 192d16a5aa9SMika Westerberg 193d16a5aa9SMika Westerberg To compile this driver as a module, choose M here: the module 194d16a5aa9SMika Westerberg will be called pwm-lpss. 195d16a5aa9SMika Westerberg 196c558e39eSAndy Shevchenkoconfig PWM_LPSS_PCI 197c558e39eSAndy Shevchenko tristate "Intel LPSS PWM PCI driver" 198c558e39eSAndy Shevchenko depends on PWM_LPSS && PCI 199c558e39eSAndy Shevchenko help 200c558e39eSAndy Shevchenko The PCI driver for Intel Low Power Subsystem PWM controller. 201c558e39eSAndy Shevchenko 202c558e39eSAndy Shevchenko To compile this driver as a module, choose M here: the module 203c558e39eSAndy Shevchenko will be called pwm-lpss-pci. 204c558e39eSAndy Shevchenko 205c558e39eSAndy Shevchenkoconfig PWM_LPSS_PLATFORM 206c558e39eSAndy Shevchenko tristate "Intel LPSS PWM platform driver" 207c558e39eSAndy Shevchenko depends on PWM_LPSS && ACPI 208c558e39eSAndy Shevchenko help 209c558e39eSAndy Shevchenko The platform driver for Intel Low Power Subsystem PWM controller. 210c558e39eSAndy Shevchenko 211c558e39eSAndy Shevchenko To compile this driver as a module, choose M here: the module 212c558e39eSAndy Shevchenko will be called pwm-lpss-platform. 213c558e39eSAndy Shevchenko 2144dce82c1SShawn Guoconfig PWM_MXS 2154dce82c1SShawn Guo tristate "Freescale MXS PWM support" 2164dce82c1SShawn Guo depends on ARCH_MXS && OF 21701bf32e9SShawn Guo select STMP_DEVICE 2184dce82c1SShawn Guo help 2194dce82c1SShawn Guo Generic PWM framework driver for Freescale MXS. 2204dce82c1SShawn Guo 2214dce82c1SShawn Guo To compile this driver as a module, choose M here: the module 2224dce82c1SShawn Guo will be called pwm-mxs. 2234dce82c1SShawn Guo 22488b613e6SSteffen Trumtrarconfig PWM_PCA9685 22588b613e6SSteffen Trumtrar tristate "NXP PCA9685 PWM driver" 2262c80a492SAxel Lin depends on OF && I2C 2272c80a492SAxel Lin select REGMAP_I2C 22888b613e6SSteffen Trumtrar help 22988b613e6SSteffen Trumtrar Generic PWM framework driver for NXP PCA9685 LED controller. 23088b613e6SSteffen Trumtrar 23188b613e6SSteffen Trumtrar To compile this driver as a module, choose M here: the module 23288b613e6SSteffen Trumtrar will be called pwm-pca9685. 23388b613e6SSteffen Trumtrar 23479c11b6fSThierry Redingconfig PWM_PUV3 23579c11b6fSThierry Reding tristate "PKUnity NetBook-0916 PWM support" 23679c11b6fSThierry Reding depends on ARCH_PUV3 23779c11b6fSThierry Reding help 23879c11b6fSThierry Reding Generic PWM framework driver for PKUnity NetBook-0916. 23979c11b6fSThierry Reding 24079c11b6fSThierry Reding To compile this driver as a module, choose M here: the module 24179c11b6fSThierry Reding will be called pwm-puv3. 24279c11b6fSThierry Reding 24317b2b478SThierry Redingconfig PWM_PXA 24417b2b478SThierry Reding tristate "PXA PWM support" 24517b2b478SThierry Reding depends on ARCH_PXA 24617b2b478SThierry Reding help 24717b2b478SThierry Reding Generic PWM framework driver for PXA. 24817b2b478SThierry Reding 24917b2b478SThierry Reding To compile this driver as a module, choose M here: the module 25017b2b478SThierry Reding will be called pwm-pxa. 25117b2b478SThierry Reding 25299b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU 25399b82abbSLaurent Pinchart tristate "Renesas TPU PWM support" 25494d88d63SLaurent Pinchart depends on ARCH_SHMOBILE || COMPILE_TEST 2552974b098SRichard Weinberger depends on HAS_IOMEM 25699b82abbSLaurent Pinchart help 25799b82abbSLaurent Pinchart This driver exposes the Timer Pulse Unit (TPU) PWM controller found 25899b82abbSLaurent Pinchart in Renesas chips through the PWM API. 25999b82abbSLaurent Pinchart 26099b82abbSLaurent Pinchart To compile this driver as a module, choose M here: the module 26199b82abbSLaurent Pinchart will be called pwm-renesas-tpu. 26299b82abbSLaurent Pinchart 263101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP 264101353c8SBeniamino Galvani tristate "Rockchip PWM support" 265101353c8SBeniamino Galvani depends on ARCH_ROCKCHIP 266101353c8SBeniamino Galvani help 267101353c8SBeniamino Galvani Generic PWM framework driver for the PWM controller found on 268101353c8SBeniamino Galvani Rockchip SoCs. 269101353c8SBeniamino Galvani 270215c29d3SSascha Hauerconfig PWM_SAMSUNG 271b133d2a1SThierry Reding tristate "Samsung PWM support" 27206e4cb6bSAbhilash Kesavan depends on PLAT_SAMSUNG || ARCH_EXYNOS 273215c29d3SSascha Hauer help 274215c29d3SSascha Hauer Generic PWM framework driver for Samsung. 275215c29d3SSascha Hauer 276215c29d3SSascha Hauer To compile this driver as a module, choose M here: the module 277215c29d3SSascha Hauer will be called pwm-samsung. 278215c29d3SSascha Hauer 279ce20364bSShiraz Hashimconfig PWM_SPEAR 280ce20364bSShiraz Hashim tristate "STMicroelectronics SPEAr PWM support" 281ce20364bSShiraz Hashim depends on PLAT_SPEAR 282ce20364bSShiraz Hashim depends on OF 283ce20364bSShiraz Hashim help 284ce20364bSShiraz Hashim Generic PWM framework driver for the PWM controller on ST 285ce20364bSShiraz Hashim SPEAr SoCs. 286ce20364bSShiraz Hashim 287ce20364bSShiraz Hashim To compile this driver as a module, choose M here: the module 288ce20364bSShiraz Hashim will be called pwm-spear. 289ce20364bSShiraz Hashim 290378fe115SLee Jonesconfig PWM_STI 291378fe115SLee Jones tristate "STiH4xx PWM support" 292378fe115SLee Jones depends on ARCH_STI 293378fe115SLee Jones depends on OF 294378fe115SLee Jones help 295378fe115SLee Jones Generic PWM framework driver for STiH4xx SoCs. 296378fe115SLee Jones 297378fe115SLee Jones To compile this driver as a module, choose M here: the module 298378fe115SLee Jones will be called pwm-sti. 299378fe115SLee Jones 30009853ce7SAlexandre Belloniconfig PWM_SUN4I 30109853ce7SAlexandre Belloni tristate "Allwinner PWM support" 30209853ce7SAlexandre Belloni depends on ARCH_SUNXI || COMPILE_TEST 30309853ce7SAlexandre Belloni depends on HAS_IOMEM && COMMON_CLK 30409853ce7SAlexandre Belloni help 30509853ce7SAlexandre Belloni Generic PWM framework driver for Allwinner SoCs. 30609853ce7SAlexandre Belloni 30709853ce7SAlexandre Belloni To compile this driver as a module, choose M here: the module 30809853ce7SAlexandre Belloni will be called pwm-sun4i. 30909853ce7SAlexandre Belloni 3100134b932SThierry Redingconfig PWM_TEGRA 3110134b932SThierry Reding tristate "NVIDIA Tegra PWM support" 3120134b932SThierry Reding depends on ARCH_TEGRA 3130134b932SThierry Reding help 3140134b932SThierry Reding Generic PWM framework driver for the PWFM controller found on NVIDIA 3150134b932SThierry Reding Tegra SoCs. 3160134b932SThierry Reding 3170134b932SThierry Reding To compile this driver as a module, choose M here: the module 3180134b932SThierry Reding will be called pwm-tegra. 3190134b932SThierry Reding 3208e0cb05bSPhilip, Avinashconfig PWM_TIECAP 3218e0cb05bSPhilip, Avinash tristate "ECAP PWM support" 3221bf0f20bSPhilip Avinash depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX 3238e0cb05bSPhilip, Avinash help 3248e0cb05bSPhilip, Avinash PWM driver support for the ECAP APWM controller found on AM33XX 3258e0cb05bSPhilip, Avinash TI SOC 3268e0cb05bSPhilip, Avinash 3278e0cb05bSPhilip, Avinash To compile this driver as a module, choose M here: the module 3288e0cb05bSPhilip, Avinash will be called pwm-tiecap. 3298e0cb05bSPhilip, Avinash 33019891b20SPhilip, Avinashconfig PWM_TIEHRPWM 33119891b20SPhilip, Avinash tristate "EHRPWM PWM support" 3321bf0f20bSPhilip Avinash depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX 33319891b20SPhilip, Avinash help 33419891b20SPhilip, Avinash PWM driver support for the EHRPWM controller found on AM33XX 33519891b20SPhilip, Avinash TI SOC 33619891b20SPhilip, Avinash 33719891b20SPhilip, Avinash To compile this driver as a module, choose M here: the module 33819891b20SPhilip, Avinash will be called pwm-tiehrpwm. 33919891b20SPhilip, Avinash 340af0ba001SPhilip, Avinashconfig PWM_TIPWMSS 341af0ba001SPhilip, Avinash bool 3421bf0f20bSPhilip Avinash default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM) 343af0ba001SPhilip, Avinash help 344af0ba001SPhilip, Avinash PWM Subsystem driver support for AM33xx SOC. 345af0ba001SPhilip, Avinash 346af0ba001SPhilip, Avinash PWM submodules require PWM config space access from submodule 347af0ba001SPhilip, Avinash drivers and require common parent driver support. 348af0ba001SPhilip, Avinash 3493744c263SPeter Ujfalusiconfig PWM_TWL 3503744c263SPeter Ujfalusi tristate "TWL4030/6030 PWM support" 3513744c263SPeter Ujfalusi depends on TWL4030_CORE 3523744c263SPeter Ujfalusi help 3533744c263SPeter Ujfalusi Generic PWM framework driver for TWL4030/6030. 3543744c263SPeter Ujfalusi 3553744c263SPeter Ujfalusi To compile this driver as a module, choose M here: the module 3563744c263SPeter Ujfalusi will be called pwm-twl. 3573744c263SPeter Ujfalusi 358aa765647SPeter Ujfalusiconfig PWM_TWL_LED 359aa765647SPeter Ujfalusi tristate "TWL4030/6030 PWM support for LED drivers" 360aa765647SPeter Ujfalusi depends on TWL4030_CORE 361aa765647SPeter Ujfalusi help 362aa765647SPeter Ujfalusi Generic PWM framework driver for TWL4030/6030 LED terminals. 363aa765647SPeter Ujfalusi 364aa765647SPeter Ujfalusi To compile this driver as a module, choose M here: the module 365aa765647SPeter Ujfalusi will be called pwm-twl-led. 366aa765647SPeter Ujfalusi 367a245ccebSSascha Hauerconfig PWM_VT8500 368b133d2a1SThierry Reding tristate "vt8500 PWM support" 369a245ccebSSascha Hauer depends on ARCH_VT8500 370a245ccebSSascha Hauer help 371a245ccebSSascha Hauer Generic PWM framework driver for vt8500. 372a245ccebSSascha Hauer 373a245ccebSSascha Hauer To compile this driver as a module, choose M here: the module 374a245ccebSSascha Hauer will be called pwm-vt8500. 375a245ccebSSascha Hauer 3760c2498f1SSascha Hauerendif 377