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 539421badeSBoris BREZILLONconfig PWM_ATMEL_TCB 54b133d2a1SThierry Reding tristate "Atmel TC Block PWM support" 559421badeSBoris BREZILLON depends on ATMEL_TCLIB && OF 569421badeSBoris BREZILLON help 579421badeSBoris BREZILLON Generic PWM framework driver for Atmel Timer Counter Block. 589421badeSBoris BREZILLON 599421badeSBoris BREZILLON A Timer Counter Block provides 6 PWM devices grouped by 2. 609421badeSBoris BREZILLON Devices in a given group must have the same period. 619421badeSBoris BREZILLON 629421badeSBoris BREZILLON To compile this driver as a module, choose M here: the module 639421badeSBoris BREZILLON will be called pwm-atmel-tcb. 649421badeSBoris BREZILLON 656a4e4bffSTim Krygerconfig PWM_BCM_KONA 666a4e4bffSTim Kryger tristate "Kona PWM support" 676a4e4bffSTim Kryger depends on ARCH_BCM_MOBILE 686a4e4bffSTim Kryger help 696a4e4bffSTim Kryger Generic PWM framework driver for Broadcom Kona PWM block. 706a4e4bffSTim Kryger 716a4e4bffSTim Kryger To compile this driver as a module, choose M here: the module 726a4e4bffSTim Kryger will be called pwm-bcm-kona. 736a4e4bffSTim Kryger 74a4315e3cSThierry Redingconfig PWM_BFIN 75a4315e3cSThierry Reding tristate "Blackfin PWM support" 76a4315e3cSThierry Reding depends on BFIN_GPTIMERS 77a4315e3cSThierry Reding help 78a4315e3cSThierry Reding Generic PWM framework driver for Blackfin. 79a4315e3cSThierry Reding 80a4315e3cSThierry Reding To compile this driver as a module, choose M here: the module 81a4315e3cSThierry Reding will be called pwm-bfin. 82a4315e3cSThierry Reding 837eb3f6ffSAlexander Shiyanconfig PWM_CLPS711X 847eb3f6ffSAlexander Shiyan tristate "CLPS711X PWM support" 857eb3f6ffSAlexander Shiyan depends on ARCH_CLPS711X || COMPILE_TEST 867eb3f6ffSAlexander Shiyan help 877eb3f6ffSAlexander Shiyan Generic PWM framework driver for Cirrus Logic CLPS711X. 887eb3f6ffSAlexander Shiyan 897eb3f6ffSAlexander Shiyan To compile this driver as a module, choose M here: the module 907eb3f6ffSAlexander Shiyan will be called pwm-clps711x. 917eb3f6ffSAlexander Shiyan 92a2308698SH Hartley Sweetenconfig PWM_EP93XX 93a2308698SH Hartley Sweeten tristate "Cirrus Logic EP93xx PWM support" 94a2308698SH Hartley Sweeten depends on ARCH_EP93XX 95a2308698SH Hartley Sweeten help 96a2308698SH Hartley Sweeten Generic PWM framework driver for Cirrus Logic EP93xx. 97a2308698SH Hartley Sweeten 98a2308698SH Hartley Sweeten To compile this driver as a module, choose M here: the module 99a2308698SH Hartley Sweeten will be called pwm-ep93xx. 100a2308698SH Hartley Sweeten 101b505183bSXiubo Liconfig PWM_FSL_FTM 102b505183bSXiubo Li tristate "Freescale FlexTimer Module (FTM) PWM support" 103b505183bSXiubo Li depends on OF 104*00018a8aSFabio Estevam select REGMAP_MMIO 105b505183bSXiubo Li help 106b505183bSXiubo Li Generic FTM PWM framework driver for Freescale VF610 and 107b505183bSXiubo Li Layerscape LS-1 SoCs. 108b505183bSXiubo Li 109b505183bSXiubo Li To compile this driver as a module, choose M here: the module 110b505183bSXiubo Li will be called pwm-fsl-ftm. 111b505183bSXiubo Li 11229693248SSascha Hauerconfig PWM_IMX 113b133d2a1SThierry Reding tristate "i.MX PWM support" 11429693248SSascha Hauer depends on ARCH_MXC 11529693248SSascha Hauer help 11629693248SSascha Hauer Generic PWM framework driver for i.MX. 11729693248SSascha Hauer 11829693248SSascha Hauer To compile this driver as a module, choose M here: the module 11929693248SSascha Hauer will be called pwm-imx. 12029693248SSascha Hauer 121f6b8a570SThierry Redingconfig PWM_JZ4740 122f6b8a570SThierry Reding tristate "Ingenic JZ4740 PWM support" 123f6b8a570SThierry Reding depends on MACH_JZ4740 124f6b8a570SThierry Reding help 125f6b8a570SThierry Reding Generic PWM framework driver for Ingenic JZ4740 based 126f6b8a570SThierry Reding machines. 127f6b8a570SThierry Reding 128f6b8a570SThierry Reding To compile this driver as a module, choose M here: the module 129f6b8a570SThierry Reding will be called pwm-jz4740. 130f6b8a570SThierry Reding 131af66b3c0SMilo Kimconfig PWM_LP3943 132af66b3c0SMilo Kim tristate "TI/National Semiconductor LP3943 PWM support" 133af66b3c0SMilo Kim depends on MFD_LP3943 134af66b3c0SMilo Kim help 135af66b3c0SMilo Kim Generic PWM framework driver for LP3943 which supports two PWM 136af66b3c0SMilo Kim channels. 137af66b3c0SMilo Kim 138af66b3c0SMilo Kim To compile this driver as a module, choose M here: the module 139af66b3c0SMilo Kim will be called pwm-lp3943. 140af66b3c0SMilo Kim 1412132fa8dSAlexandre Pereira da Silvaconfig PWM_LPC32XX 1422132fa8dSAlexandre Pereira da Silva tristate "LPC32XX PWM support" 1432132fa8dSAlexandre Pereira da Silva depends on ARCH_LPC32XX 1442132fa8dSAlexandre Pereira da Silva help 1452132fa8dSAlexandre Pereira da Silva Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two 1462132fa8dSAlexandre Pereira da Silva PWM controllers. 1472132fa8dSAlexandre Pereira da Silva 1482132fa8dSAlexandre Pereira da Silva To compile this driver as a module, choose M here: the module 1492132fa8dSAlexandre Pereira da Silva will be called pwm-lpc32xx. 1502132fa8dSAlexandre Pereira da Silva 151d16a5aa9SMika Westerbergconfig PWM_LPSS 152d16a5aa9SMika Westerberg tristate "Intel LPSS PWM support" 153d16a5aa9SMika Westerberg depends on ACPI 154d16a5aa9SMika Westerberg help 155d16a5aa9SMika Westerberg Generic PWM framework driver for Intel Low Power Subsystem PWM 156d16a5aa9SMika Westerberg controller. 157d16a5aa9SMika Westerberg 158d16a5aa9SMika Westerberg To compile this driver as a module, choose M here: the module 159d16a5aa9SMika Westerberg will be called pwm-lpss. 160d16a5aa9SMika Westerberg 1614dce82c1SShawn Guoconfig PWM_MXS 1624dce82c1SShawn Guo tristate "Freescale MXS PWM support" 1634dce82c1SShawn Guo depends on ARCH_MXS && OF 16401bf32e9SShawn Guo select STMP_DEVICE 1654dce82c1SShawn Guo help 1664dce82c1SShawn Guo Generic PWM framework driver for Freescale MXS. 1674dce82c1SShawn Guo 1684dce82c1SShawn Guo To compile this driver as a module, choose M here: the module 1694dce82c1SShawn Guo will be called pwm-mxs. 1704dce82c1SShawn Guo 17188b613e6SSteffen Trumtrarconfig PWM_PCA9685 17288b613e6SSteffen Trumtrar tristate "NXP PCA9685 PWM driver" 1732c80a492SAxel Lin depends on OF && I2C 1742c80a492SAxel Lin select REGMAP_I2C 17588b613e6SSteffen Trumtrar help 17688b613e6SSteffen Trumtrar Generic PWM framework driver for NXP PCA9685 LED controller. 17788b613e6SSteffen Trumtrar 17888b613e6SSteffen Trumtrar To compile this driver as a module, choose M here: the module 17988b613e6SSteffen Trumtrar will be called pwm-pca9685. 18088b613e6SSteffen Trumtrar 18179c11b6fSThierry Redingconfig PWM_PUV3 18279c11b6fSThierry Reding tristate "PKUnity NetBook-0916 PWM support" 18379c11b6fSThierry Reding depends on ARCH_PUV3 18479c11b6fSThierry Reding help 18579c11b6fSThierry Reding Generic PWM framework driver for PKUnity NetBook-0916. 18679c11b6fSThierry Reding 18779c11b6fSThierry Reding To compile this driver as a module, choose M here: the module 18879c11b6fSThierry Reding will be called pwm-puv3. 18979c11b6fSThierry Reding 19017b2b478SThierry Redingconfig PWM_PXA 19117b2b478SThierry Reding tristate "PXA PWM support" 19217b2b478SThierry Reding depends on ARCH_PXA 19317b2b478SThierry Reding help 19417b2b478SThierry Reding Generic PWM framework driver for PXA. 19517b2b478SThierry Reding 19617b2b478SThierry Reding To compile this driver as a module, choose M here: the module 19717b2b478SThierry Reding will be called pwm-pxa. 19817b2b478SThierry Reding 19999b82abbSLaurent Pinchartconfig PWM_RENESAS_TPU 20099b82abbSLaurent Pinchart tristate "Renesas TPU PWM support" 20194d88d63SLaurent Pinchart depends on ARCH_SHMOBILE || COMPILE_TEST 2022974b098SRichard Weinberger depends on HAS_IOMEM 20399b82abbSLaurent Pinchart help 20499b82abbSLaurent Pinchart This driver exposes the Timer Pulse Unit (TPU) PWM controller found 20599b82abbSLaurent Pinchart in Renesas chips through the PWM API. 20699b82abbSLaurent Pinchart 20799b82abbSLaurent Pinchart To compile this driver as a module, choose M here: the module 20899b82abbSLaurent Pinchart will be called pwm-renesas-tpu. 20999b82abbSLaurent Pinchart 210101353c8SBeniamino Galvaniconfig PWM_ROCKCHIP 211101353c8SBeniamino Galvani tristate "Rockchip PWM support" 212101353c8SBeniamino Galvani depends on ARCH_ROCKCHIP 213101353c8SBeniamino Galvani help 214101353c8SBeniamino Galvani Generic PWM framework driver for the PWM controller found on 215101353c8SBeniamino Galvani Rockchip SoCs. 216101353c8SBeniamino Galvani 217215c29d3SSascha Hauerconfig PWM_SAMSUNG 218b133d2a1SThierry Reding tristate "Samsung PWM support" 219215c29d3SSascha Hauer depends on PLAT_SAMSUNG 220215c29d3SSascha Hauer help 221215c29d3SSascha Hauer Generic PWM framework driver for Samsung. 222215c29d3SSascha Hauer 223215c29d3SSascha Hauer To compile this driver as a module, choose M here: the module 224215c29d3SSascha Hauer will be called pwm-samsung. 225215c29d3SSascha Hauer 226ce20364bSShiraz Hashimconfig PWM_SPEAR 227ce20364bSShiraz Hashim tristate "STMicroelectronics SPEAr PWM support" 228ce20364bSShiraz Hashim depends on PLAT_SPEAR 229ce20364bSShiraz Hashim depends on OF 230ce20364bSShiraz Hashim help 231ce20364bSShiraz Hashim Generic PWM framework driver for the PWM controller on ST 232ce20364bSShiraz Hashim SPEAr SoCs. 233ce20364bSShiraz Hashim 234ce20364bSShiraz Hashim To compile this driver as a module, choose M here: the module 235ce20364bSShiraz Hashim will be called pwm-spear. 236ce20364bSShiraz Hashim 237378fe115SLee Jonesconfig PWM_STI 238378fe115SLee Jones tristate "STiH4xx PWM support" 239378fe115SLee Jones depends on ARCH_STI 240378fe115SLee Jones depends on OF 241378fe115SLee Jones help 242378fe115SLee Jones Generic PWM framework driver for STiH4xx SoCs. 243378fe115SLee Jones 244378fe115SLee Jones To compile this driver as a module, choose M here: the module 245378fe115SLee Jones will be called pwm-sti. 246378fe115SLee Jones 2470134b932SThierry Redingconfig PWM_TEGRA 2480134b932SThierry Reding tristate "NVIDIA Tegra PWM support" 2490134b932SThierry Reding depends on ARCH_TEGRA 2500134b932SThierry Reding help 2510134b932SThierry Reding Generic PWM framework driver for the PWFM controller found on NVIDIA 2520134b932SThierry Reding Tegra SoCs. 2530134b932SThierry Reding 2540134b932SThierry Reding To compile this driver as a module, choose M here: the module 2550134b932SThierry Reding will be called pwm-tegra. 2560134b932SThierry Reding 2578e0cb05bSPhilip, Avinashconfig PWM_TIECAP 2588e0cb05bSPhilip, Avinash tristate "ECAP PWM support" 2591bf0f20bSPhilip Avinash depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX 2608e0cb05bSPhilip, Avinash help 2618e0cb05bSPhilip, Avinash PWM driver support for the ECAP APWM controller found on AM33XX 2628e0cb05bSPhilip, Avinash TI SOC 2638e0cb05bSPhilip, Avinash 2648e0cb05bSPhilip, Avinash To compile this driver as a module, choose M here: the module 2658e0cb05bSPhilip, Avinash will be called pwm-tiecap. 2668e0cb05bSPhilip, Avinash 26719891b20SPhilip, Avinashconfig PWM_TIEHRPWM 26819891b20SPhilip, Avinash tristate "EHRPWM PWM support" 2691bf0f20bSPhilip Avinash depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX 27019891b20SPhilip, Avinash help 27119891b20SPhilip, Avinash PWM driver support for the EHRPWM controller found on AM33XX 27219891b20SPhilip, Avinash TI SOC 27319891b20SPhilip, Avinash 27419891b20SPhilip, Avinash To compile this driver as a module, choose M here: the module 27519891b20SPhilip, Avinash will be called pwm-tiehrpwm. 27619891b20SPhilip, Avinash 277af0ba001SPhilip, Avinashconfig PWM_TIPWMSS 278af0ba001SPhilip, Avinash bool 2791bf0f20bSPhilip Avinash default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM) 280af0ba001SPhilip, Avinash help 281af0ba001SPhilip, Avinash PWM Subsystem driver support for AM33xx SOC. 282af0ba001SPhilip, Avinash 283af0ba001SPhilip, Avinash PWM submodules require PWM config space access from submodule 284af0ba001SPhilip, Avinash drivers and require common parent driver support. 285af0ba001SPhilip, Avinash 2863744c263SPeter Ujfalusiconfig PWM_TWL 2873744c263SPeter Ujfalusi tristate "TWL4030/6030 PWM support" 2883744c263SPeter Ujfalusi depends on TWL4030_CORE 2893744c263SPeter Ujfalusi help 2903744c263SPeter Ujfalusi Generic PWM framework driver for TWL4030/6030. 2913744c263SPeter Ujfalusi 2923744c263SPeter Ujfalusi To compile this driver as a module, choose M here: the module 2933744c263SPeter Ujfalusi will be called pwm-twl. 2943744c263SPeter Ujfalusi 295aa765647SPeter Ujfalusiconfig PWM_TWL_LED 296aa765647SPeter Ujfalusi tristate "TWL4030/6030 PWM support for LED drivers" 297aa765647SPeter Ujfalusi depends on TWL4030_CORE 298aa765647SPeter Ujfalusi help 299aa765647SPeter Ujfalusi Generic PWM framework driver for TWL4030/6030 LED terminals. 300aa765647SPeter Ujfalusi 301aa765647SPeter Ujfalusi To compile this driver as a module, choose M here: the module 302aa765647SPeter Ujfalusi will be called pwm-twl-led. 303aa765647SPeter Ujfalusi 304a245ccebSSascha Hauerconfig PWM_VT8500 305b133d2a1SThierry Reding tristate "vt8500 PWM support" 306a245ccebSSascha Hauer depends on ARCH_VT8500 307a245ccebSSascha Hauer help 308a245ccebSSascha Hauer Generic PWM framework driver for vt8500. 309a245ccebSSascha Hauer 310a245ccebSSascha Hauer To compile this driver as a module, choose M here: the module 311a245ccebSSascha Hauer will be called pwm-vt8500. 312a245ccebSSascha Hauer 3130c2498f1SSascha Hauerendif 314