Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. menuconfig PWM
  2. bool "Pulse-Width Modulation (PWM) Support"
  3. help
  4. Generic Pulse-Width Modulation (PWM) support.
  5. In Pulse-Width Modulation, a variation of the width of pulses
  6. in a rectangular pulse signal is used as a means to alter the
  7. average power of the signal. Applications include efficient
  8. power delivery and voltage regulation. In computer systems,
  9. PWMs are commonly used to control fans or the brightness of
  10. display backlights.
  11. This framework provides a generic interface to PWM devices
  12. within the Linux kernel. On the driver side it provides an API
  13. to register and unregister a PWM chip, an abstraction of a PWM
  14. controller, that supports one or more PWM devices. Client
  15. drivers can request PWM devices and use the generic framework
  16. to configure as well as enable and disable them.
  17. This generic framework replaces the legacy PWM framework which
  18. allows only a single driver implementing the required API. Not
  19. all legacy implementations have been ported to the framework
  20. yet. The framework provides an API that is backward compatible
  21. with the legacy framework so that existing client drivers
  22. continue to work as expected.
  23. If unsure, say no.
  24. if PWM
  25. config PWM_SYSFS
  26. bool
  27. default y if SYSFS
  28. config PWM_AB8500
  29. tristate "AB8500 PWM support"
  30. depends on AB8500_CORE && ARCH_U8500
  31. help
  32. Generic PWM framework driver for Analog Baseband AB8500.
  33. To compile this driver as a module, choose M here: the module
  34. will be called pwm-ab8500.
  35. config PWM_ATMEL
  36. tristate "Atmel PWM support"
  37. depends on ARCH_AT91 || AVR32
  38. help
  39. Generic PWM framework driver for Atmel SoC.
  40. To compile this driver as a module, choose M here: the module
  41. will be called pwm-atmel.
  42. config PWM_ATMEL_HLCDC_PWM
  43. tristate "Atmel HLCDC PWM support"
  44. depends on MFD_ATMEL_HLCDC
  45. depends on HAVE_CLK
  46. help
  47. Generic PWM framework driver for the PWM output of the HLCDC
  48. (Atmel High-end LCD Controller). This PWM output is mainly used
  49. to control the LCD backlight.
  50. To compile this driver as a module, choose M here: the module
  51. will be called pwm-atmel-hlcdc.
  52. config PWM_ATMEL_TCB
  53. tristate "Atmel TC Block PWM support"
  54. depends on ATMEL_TCLIB && OF
  55. help
  56. Generic PWM framework driver for Atmel Timer Counter Block.
  57. A Timer Counter Block provides 6 PWM devices grouped by 2.
  58. Devices in a given group must have the same period.
  59. To compile this driver as a module, choose M here: the module
  60. will be called pwm-atmel-tcb.
  61. config PWM_BCM_IPROC
  62. tristate "iProc PWM support"
  63. depends on ARCH_BCM_IPROC || COMPILE_TEST
  64. depends on COMMON_CLK
  65. default ARCH_BCM_IPROC
  66. help
  67. Generic PWM framework driver for Broadcom iProc PWM block. This
  68. block is used in Broadcom iProc SoC's.
  69. To compile this driver as a module, choose M here: the module
  70. will be called pwm-bcm-iproc.
  71. config PWM_BCM_KONA
  72. tristate "Kona PWM support"
  73. depends on ARCH_BCM_MOBILE
  74. help
  75. Generic PWM framework driver for Broadcom Kona PWM block.
  76. To compile this driver as a module, choose M here: the module
  77. will be called pwm-bcm-kona.
  78. config PWM_BCM2835
  79. tristate "BCM2835 PWM support"
  80. depends on ARCH_BCM2835
  81. help
  82. PWM framework driver for BCM2835 controller (Raspberry Pi)
  83. To compile this driver as a module, choose M here: the module
  84. will be called pwm-bcm2835.
  85. config PWM_BERLIN
  86. tristate "Marvell Berlin PWM support"
  87. depends on ARCH_BERLIN
  88. help
  89. PWM framework driver for Marvell Berlin SoCs.
  90. To compile this driver as a module, choose M here: the module
  91. will be called pwm-berlin.
  92. config PWM_BFIN
  93. tristate "Blackfin PWM support"
  94. depends on BFIN_GPTIMERS
  95. help
  96. Generic PWM framework driver for Blackfin.
  97. To compile this driver as a module, choose M here: the module
  98. will be called pwm-bfin.
  99. config PWM_BRCMSTB
  100. tristate "Broadcom STB PWM support"
  101. depends on ARCH_BRCMSTB || BMIPS_GENERIC
  102. help
  103. Generic PWM framework driver for the Broadcom Set-top-Box
  104. SoCs (BCM7xxx).
  105. To compile this driver as a module, choose M Here: the module
  106. will be called pwm-brcmstb.c.
  107. config PWM_CLPS711X
  108. tristate "CLPS711X PWM support"
  109. depends on ARCH_CLPS711X || COMPILE_TEST
  110. depends on HAS_IOMEM
  111. help
  112. Generic PWM framework driver for Cirrus Logic CLPS711X.
  113. To compile this driver as a module, choose M here: the module
  114. will be called pwm-clps711x.
  115. config PWM_CRC
  116. bool "Intel Crystalcove (CRC) PWM support"
  117. depends on X86 && INTEL_SOC_PMIC
  118. help
  119. Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
  120. control.
  121. config PWM_CROS_EC
  122. tristate "ChromeOS EC PWM driver"
  123. depends on MFD_CROS_EC
  124. help
  125. PWM driver for exposing a PWM attached to the ChromeOS Embedded
  126. Controller.
  127. config PWM_EP93XX
  128. tristate "Cirrus Logic EP93xx PWM support"
  129. depends on ARCH_EP93XX
  130. help
  131. Generic PWM framework driver for Cirrus Logic EP93xx.
  132. To compile this driver as a module, choose M here: the module
  133. will be called pwm-ep93xx.
  134. config PWM_FSL_FTM
  135. tristate "Freescale FlexTimer Module (FTM) PWM support"
  136. depends on HAS_IOMEM
  137. depends on OF
  138. select REGMAP_MMIO
  139. help
  140. Generic FTM PWM framework driver for Freescale VF610 and
  141. Layerscape LS-1 SoCs.
  142. To compile this driver as a module, choose M here: the module
  143. will be called pwm-fsl-ftm.
  144. config PWM_HIBVT
  145. tristate "HiSilicon BVT PWM support"
  146. depends on ARCH_HISI || COMPILE_TEST
  147. help
  148. Generic PWM framework driver for HiSilicon BVT SoCs.
  149. To compile this driver as a module, choose M here: the module
  150. will be called pwm-hibvt.
  151. config PWM_IMG
  152. tristate "Imagination Technologies PWM driver"
  153. depends on HAS_IOMEM
  154. depends on MFD_SYSCON
  155. depends on COMMON_CLK
  156. depends on MIPS || COMPILE_TEST
  157. help
  158. Generic PWM framework driver for Imagination Technologies
  159. PWM block which supports 4 channels.
  160. To compile this driver as a module, choose M here: the module
  161. will be called pwm-img
  162. config PWM_IMX
  163. tristate "i.MX PWM support"
  164. depends on ARCH_MXC
  165. help
  166. Generic PWM framework driver for i.MX.
  167. To compile this driver as a module, choose M here: the module
  168. will be called pwm-imx.
  169. config PWM_JZ4740
  170. tristate "Ingenic JZ4740 PWM support"
  171. depends on MACH_JZ4740
  172. help
  173. Generic PWM framework driver for Ingenic JZ4740 based
  174. machines.
  175. To compile this driver as a module, choose M here: the module
  176. will be called pwm-jz4740.
  177. config PWM_LP3943
  178. tristate "TI/National Semiconductor LP3943 PWM support"
  179. depends on MFD_LP3943
  180. help
  181. Generic PWM framework driver for LP3943 which supports two PWM
  182. channels.
  183. To compile this driver as a module, choose M here: the module
  184. will be called pwm-lp3943.
  185. config PWM_LPC18XX_SCT
  186. tristate "LPC18xx/43xx PWM/SCT support"
  187. depends on ARCH_LPC18XX
  188. help
  189. Generic PWM framework driver for NXP LPC18xx PWM/SCT which
  190. supports 16 channels.
  191. A maximum of 15 channels can be requested simultaneously and
  192. must have the same period.
  193. To compile this driver as a module, choose M here: the module
  194. will be called pwm-lpc18xx-sct.
  195. config PWM_LPC32XX
  196. tristate "LPC32XX PWM support"
  197. depends on ARCH_LPC32XX
  198. help
  199. Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
  200. PWM controllers.
  201. To compile this driver as a module, choose M here: the module
  202. will be called pwm-lpc32xx.
  203. config PWM_LPSS
  204. tristate
  205. config PWM_LPSS_PCI
  206. tristate "Intel LPSS PWM PCI driver"
  207. depends on X86 && PCI
  208. select PWM_LPSS
  209. help
  210. The PCI driver for Intel Low Power Subsystem PWM controller.
  211. To compile this driver as a module, choose M here: the module
  212. will be called pwm-lpss-pci.
  213. config PWM_LPSS_PLATFORM
  214. tristate "Intel LPSS PWM platform driver"
  215. depends on X86 && ACPI
  216. select PWM_LPSS
  217. help
  218. The platform driver for Intel Low Power Subsystem PWM controller.
  219. To compile this driver as a module, choose M here: the module
  220. will be called pwm-lpss-platform.
  221. config PWM_MESON
  222. tristate "Amlogic Meson PWM driver"
  223. depends on ARCH_MESON
  224. help
  225. The platform driver for Amlogic Meson PWM controller.
  226. To compile this driver as a module, choose M here: the module
  227. will be called pwm-meson.
  228. config PWM_MTK_DISP
  229. tristate "MediaTek display PWM driver"
  230. help
  231. Generic PWM framework driver for MediaTek disp-pwm device.
  232. The PWM is used to control the backlight brightness for display.
  233. To compile this driver as a module, choose M here: the module
  234. will be called pwm-mtk-disp.
  235. config PWM_MEDIATEK
  236. tristate "MediaTek PWM support"
  237. depends on ARCH_MEDIATEK || COMPILE_TEST
  238. help
  239. Generic PWM framework driver for Mediatek ARM SoC.
  240. To compile this driver as a module, choose M here: the module
  241. will be called pwm-mediatek.
  242. config PWM_MXS
  243. tristate "Freescale MXS PWM support"
  244. depends on ARCH_MXS && OF
  245. select STMP_DEVICE
  246. help
  247. Generic PWM framework driver for Freescale MXS.
  248. To compile this driver as a module, choose M here: the module
  249. will be called pwm-mxs.
  250. config PWM_OMAP_DMTIMER
  251. tristate "OMAP Dual-Mode Timer PWM support"
  252. depends on OF && ARCH_OMAP && OMAP_DM_TIMER
  253. help
  254. Generic PWM framework driver for OMAP Dual-Mode Timer PWM output
  255. To compile this driver as a module, choose M here: the module
  256. will be called pwm-omap-dmtimer
  257. config PWM_PCA9685
  258. tristate "NXP PCA9685 PWM driver"
  259. depends on I2C
  260. select REGMAP_I2C
  261. help
  262. Generic PWM framework driver for NXP PCA9685 LED controller.
  263. To compile this driver as a module, choose M here: the module
  264. will be called pwm-pca9685.
  265. config PWM_PUV3
  266. tristate "PKUnity NetBook-0916 PWM support"
  267. depends on ARCH_PUV3
  268. help
  269. Generic PWM framework driver for PKUnity NetBook-0916.
  270. To compile this driver as a module, choose M here: the module
  271. will be called pwm-puv3.
  272. config PWM_PXA
  273. tristate "PXA PWM support"
  274. depends on ARCH_PXA
  275. help
  276. Generic PWM framework driver for PXA.
  277. To compile this driver as a module, choose M here: the module
  278. will be called pwm-pxa.
  279. config PWM_RCAR
  280. tristate "Renesas R-Car PWM support"
  281. depends on ARCH_RENESAS || COMPILE_TEST
  282. depends on HAS_IOMEM
  283. help
  284. This driver exposes the PWM Timer controller found in Renesas
  285. R-Car chips through the PWM API.
  286. To compile this driver as a module, choose M here: the module
  287. will be called pwm-rcar.
  288. config PWM_RENESAS_TPU
  289. tristate "Renesas TPU PWM support"
  290. depends on ARCH_RENESAS || COMPILE_TEST
  291. depends on HAS_IOMEM
  292. help
  293. This driver exposes the Timer Pulse Unit (TPU) PWM controller found
  294. in Renesas chips through the PWM API.
  295. To compile this driver as a module, choose M here: the module
  296. will be called pwm-renesas-tpu.
  297. config PWM_ROCKCHIP
  298. tristate "Rockchip PWM support"
  299. depends on ARCH_ROCKCHIP
  300. help
  301. Generic PWM framework driver for the PWM controller found on
  302. Rockchip SoCs.
  303. config PWM_SAMSUNG
  304. tristate "Samsung PWM support"
  305. depends on PLAT_SAMSUNG || ARCH_EXYNOS
  306. help
  307. Generic PWM framework driver for Samsung.
  308. To compile this driver as a module, choose M here: the module
  309. will be called pwm-samsung.
  310. config PWM_SPEAR
  311. tristate "STMicroelectronics SPEAr PWM support"
  312. depends on PLAT_SPEAR
  313. depends on OF
  314. help
  315. Generic PWM framework driver for the PWM controller on ST
  316. SPEAr SoCs.
  317. To compile this driver as a module, choose M here: the module
  318. will be called pwm-spear.
  319. config PWM_STI
  320. tristate "STiH4xx PWM support"
  321. depends on ARCH_STI
  322. depends on OF
  323. help
  324. Generic PWM framework driver for STiH4xx SoCs.
  325. To compile this driver as a module, choose M here: the module
  326. will be called pwm-sti.
  327. config PWM_STM32
  328. tristate "STMicroelectronics STM32 PWM"
  329. depends on MFD_STM32_TIMERS || COMPILE_TEST
  330. help
  331. Generic PWM framework driver for STM32 SoCs.
  332. To compile this driver as a module, choose M here: the module
  333. will be called pwm-stm32.
  334. config PWM_STM32_LP
  335. tristate "STMicroelectronics STM32 PWM LP"
  336. depends on MFD_STM32_LPTIMER || COMPILE_TEST
  337. help
  338. Generic PWM framework driver for STMicroelectronics STM32 SoCs
  339. with Low-Power Timer (LPTIM).
  340. To compile this driver as a module, choose M here: the module
  341. will be called pwm-stm32-lp.
  342. config PWM_STMPE
  343. bool "STMPE expander PWM export"
  344. depends on MFD_STMPE
  345. help
  346. This enables support for the PWMs found in the STMPE I/O
  347. expanders.
  348. config PWM_SUN4I
  349. tristate "Allwinner PWM support"
  350. depends on ARCH_SUNXI || COMPILE_TEST
  351. depends on HAS_IOMEM && COMMON_CLK
  352. help
  353. Generic PWM framework driver for Allwinner SoCs.
  354. To compile this driver as a module, choose M here: the module
  355. will be called pwm-sun4i.
  356. config PWM_TEGRA
  357. tristate "NVIDIA Tegra PWM support"
  358. depends on ARCH_TEGRA
  359. help
  360. Generic PWM framework driver for the PWFM controller found on NVIDIA
  361. Tegra SoCs.
  362. To compile this driver as a module, choose M here: the module
  363. will be called pwm-tegra.
  364. config PWM_TIECAP
  365. tristate "ECAP PWM support"
  366. depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE
  367. help
  368. PWM driver support for the ECAP APWM controller found on AM33XX
  369. TI SOC
  370. To compile this driver as a module, choose M here: the module
  371. will be called pwm-tiecap.
  372. config PWM_TIEHRPWM
  373. tristate "EHRPWM PWM support"
  374. depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
  375. help
  376. PWM driver support for the EHRPWM controller found on AM33XX
  377. TI SOC
  378. To compile this driver as a module, choose M here: the module
  379. will be called pwm-tiehrpwm.
  380. config PWM_TIPWMSS
  381. bool
  382. default y if (ARCH_OMAP2PLUS) && (PWM_TIECAP || PWM_TIEHRPWM)
  383. help
  384. PWM Subsystem driver support for AM33xx SOC.
  385. PWM submodules require PWM config space access from submodule
  386. drivers and require common parent driver support.
  387. config PWM_TWL
  388. tristate "TWL4030/6030 PWM support"
  389. depends on TWL4030_CORE
  390. help
  391. Generic PWM framework driver for TWL4030/6030.
  392. To compile this driver as a module, choose M here: the module
  393. will be called pwm-twl.
  394. config PWM_TWL_LED
  395. tristate "TWL4030/6030 PWM support for LED drivers"
  396. depends on TWL4030_CORE
  397. help
  398. Generic PWM framework driver for TWL4030/6030 LED terminals.
  399. To compile this driver as a module, choose M here: the module
  400. will be called pwm-twl-led.
  401. config PWM_VT8500
  402. tristate "vt8500 PWM support"
  403. depends on ARCH_VT8500
  404. help
  405. Generic PWM framework driver for vt8500.
  406. To compile this driver as a module, choose M here: the module
  407. will be called pwm-vt8500.
  408. config PWM_ZX
  409. tristate "ZTE ZX PWM support"
  410. depends on ARCH_ZX
  411. help
  412. Generic PWM framework driver for ZTE ZX family SoCs.
  413. To compile this driver as a module, choose M here: the module
  414. will be called pwm-zx.
  415. endif