Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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_KONA
  62. tristate "Kona PWM support"
  63. depends on ARCH_BCM_MOBILE
  64. help
  65. Generic PWM framework driver for Broadcom Kona PWM block.
  66. To compile this driver as a module, choose M here: the module
  67. will be called pwm-bcm-kona.
  68. config PWM_BCM2835
  69. tristate "BCM2835 PWM support"
  70. depends on ARCH_BCM2835
  71. help
  72. PWM framework driver for BCM2835 controller (Raspberry Pi)
  73. To compile this driver as a module, choose M here: the module
  74. will be called pwm-bcm2835.
  75. config PWM_BERLIN
  76. tristate "Marvell Berlin PWM support"
  77. depends on ARCH_BERLIN
  78. help
  79. PWM framework driver for Marvell Berlin SoCs.
  80. To compile this driver as a module, choose M here: the module
  81. will be called pwm-berlin.
  82. config PWM_BFIN
  83. tristate "Blackfin PWM support"
  84. depends on BFIN_GPTIMERS
  85. help
  86. Generic PWM framework driver for Blackfin.
  87. To compile this driver as a module, choose M here: the module
  88. will be called pwm-bfin.
  89. config PWM_BRCMSTB
  90. tristate "Broadcom STB PWM support"
  91. depends on ARCH_BRCMSTB || BMIPS_GENERIC
  92. help
  93. Generic PWM framework driver for the Broadcom Set-top-Box
  94. SoCs (BCM7xxx).
  95. To compile this driver as a module, choose M Here: the module
  96. will be called pwm-brcmstb.c.
  97. config PWM_CLPS711X
  98. tristate "CLPS711X PWM support"
  99. depends on ARCH_CLPS711X || COMPILE_TEST
  100. depends on HAS_IOMEM
  101. help
  102. Generic PWM framework driver for Cirrus Logic CLPS711X.
  103. To compile this driver as a module, choose M here: the module
  104. will be called pwm-clps711x.
  105. config PWM_CRC
  106. bool "Intel Crystalcove (CRC) PWM support"
  107. depends on X86 && INTEL_SOC_PMIC
  108. help
  109. Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM
  110. control.
  111. config PWM_EP93XX
  112. tristate "Cirrus Logic EP93xx PWM support"
  113. depends on ARCH_EP93XX
  114. help
  115. Generic PWM framework driver for Cirrus Logic EP93xx.
  116. To compile this driver as a module, choose M here: the module
  117. will be called pwm-ep93xx.
  118. config PWM_FSL_FTM
  119. tristate "Freescale FlexTimer Module (FTM) PWM support"
  120. depends on OF
  121. select REGMAP_MMIO
  122. help
  123. Generic FTM PWM framework driver for Freescale VF610 and
  124. Layerscape LS-1 SoCs.
  125. To compile this driver as a module, choose M here: the module
  126. will be called pwm-fsl-ftm.
  127. config PWM_IMG
  128. tristate "Imagination Technologies PWM driver"
  129. depends on HAS_IOMEM
  130. depends on MFD_SYSCON
  131. depends on COMMON_CLK
  132. depends on MIPS || COMPILE_TEST
  133. help
  134. Generic PWM framework driver for Imagination Technologies
  135. PWM block which supports 4 channels.
  136. To compile this driver as a module, choose M here: the module
  137. will be called pwm-img
  138. config PWM_IMX
  139. tristate "i.MX PWM support"
  140. depends on ARCH_MXC
  141. help
  142. Generic PWM framework driver for i.MX.
  143. To compile this driver as a module, choose M here: the module
  144. will be called pwm-imx.
  145. config PWM_JZ4740
  146. tristate "Ingenic JZ4740 PWM support"
  147. depends on MACH_JZ4740
  148. help
  149. Generic PWM framework driver for Ingenic JZ4740 based
  150. machines.
  151. To compile this driver as a module, choose M here: the module
  152. will be called pwm-jz4740.
  153. config PWM_LP3943
  154. tristate "TI/National Semiconductor LP3943 PWM support"
  155. depends on MFD_LP3943
  156. help
  157. Generic PWM framework driver for LP3943 which supports two PWM
  158. channels.
  159. To compile this driver as a module, choose M here: the module
  160. will be called pwm-lp3943.
  161. config PWM_LPC18XX_SCT
  162. tristate "LPC18xx/43xx PWM/SCT support"
  163. depends on ARCH_LPC18XX
  164. help
  165. Generic PWM framework driver for NXP LPC18xx PWM/SCT which
  166. supports 16 channels.
  167. A maximum of 15 channels can be requested simultaneously and
  168. must have the same period.
  169. To compile this driver as a module, choose M here: the module
  170. will be called pwm-lpc18xx-sct.
  171. config PWM_LPC32XX
  172. tristate "LPC32XX PWM support"
  173. depends on ARCH_LPC32XX
  174. help
  175. Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
  176. PWM controllers.
  177. To compile this driver as a module, choose M here: the module
  178. will be called pwm-lpc32xx.
  179. config PWM_LPSS
  180. tristate "Intel LPSS PWM support"
  181. depends on X86
  182. help
  183. Generic PWM framework driver for Intel Low Power Subsystem PWM
  184. controller.
  185. To compile this driver as a module, choose M here: the module
  186. will be called pwm-lpss.
  187. config PWM_LPSS_PCI
  188. tristate "Intel LPSS PWM PCI driver"
  189. depends on PWM_LPSS && PCI
  190. help
  191. The PCI driver for Intel Low Power Subsystem PWM controller.
  192. To compile this driver as a module, choose M here: the module
  193. will be called pwm-lpss-pci.
  194. config PWM_LPSS_PLATFORM
  195. tristate "Intel LPSS PWM platform driver"
  196. depends on PWM_LPSS && ACPI
  197. help
  198. The platform driver for Intel Low Power Subsystem PWM controller.
  199. To compile this driver as a module, choose M here: the module
  200. will be called pwm-lpss-platform.
  201. config PWM_MTK_DISP
  202. tristate "MediaTek display PWM driver"
  203. depends on ARCH_MEDIATEK || COMPILE_TEST
  204. depends on HAS_IOMEM
  205. help
  206. Generic PWM framework driver for MediaTek disp-pwm device.
  207. The PWM is used to control the backlight brightness for display.
  208. To compile this driver as a module, choose M here: the module
  209. will be called pwm-mtk-disp.
  210. config PWM_MXS
  211. tristate "Freescale MXS PWM support"
  212. depends on ARCH_MXS && OF
  213. select STMP_DEVICE
  214. help
  215. Generic PWM framework driver for Freescale MXS.
  216. To compile this driver as a module, choose M here: the module
  217. will be called pwm-mxs.
  218. config PWM_PCA9685
  219. tristate "NXP PCA9685 PWM driver"
  220. depends on I2C
  221. select REGMAP_I2C
  222. help
  223. Generic PWM framework driver for NXP PCA9685 LED controller.
  224. To compile this driver as a module, choose M here: the module
  225. will be called pwm-pca9685.
  226. config PWM_PUV3
  227. tristate "PKUnity NetBook-0916 PWM support"
  228. depends on ARCH_PUV3
  229. help
  230. Generic PWM framework driver for PKUnity NetBook-0916.
  231. To compile this driver as a module, choose M here: the module
  232. will be called pwm-puv3.
  233. config PWM_PXA
  234. tristate "PXA PWM support"
  235. depends on ARCH_PXA
  236. help
  237. Generic PWM framework driver for PXA.
  238. To compile this driver as a module, choose M here: the module
  239. will be called pwm-pxa.
  240. config PWM_RCAR
  241. tristate "Renesas R-Car PWM support"
  242. depends on ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || COMPILE_TEST
  243. depends on HAS_IOMEM
  244. help
  245. This driver exposes the PWM Timer controller found in Renesas
  246. R-Car chips through the PWM API.
  247. To compile this driver as a module, choose M here: the module
  248. will be called pwm-rcar.
  249. config PWM_RENESAS_TPU
  250. tristate "Renesas TPU PWM support"
  251. depends on ARCH_SHMOBILE || COMPILE_TEST
  252. depends on HAS_IOMEM
  253. help
  254. This driver exposes the Timer Pulse Unit (TPU) PWM controller found
  255. in Renesas chips through the PWM API.
  256. To compile this driver as a module, choose M here: the module
  257. will be called pwm-renesas-tpu.
  258. config PWM_ROCKCHIP
  259. tristate "Rockchip PWM support"
  260. depends on ARCH_ROCKCHIP
  261. help
  262. Generic PWM framework driver for the PWM controller found on
  263. Rockchip SoCs.
  264. config PWM_SAMSUNG
  265. tristate "Samsung PWM support"
  266. depends on PLAT_SAMSUNG || ARCH_EXYNOS
  267. help
  268. Generic PWM framework driver for Samsung.
  269. To compile this driver as a module, choose M here: the module
  270. will be called pwm-samsung.
  271. config PWM_SPEAR
  272. tristate "STMicroelectronics SPEAr PWM support"
  273. depends on PLAT_SPEAR
  274. depends on OF
  275. help
  276. Generic PWM framework driver for the PWM controller on ST
  277. SPEAr SoCs.
  278. To compile this driver as a module, choose M here: the module
  279. will be called pwm-spear.
  280. config PWM_STI
  281. tristate "STiH4xx PWM support"
  282. depends on ARCH_STI
  283. depends on OF
  284. help
  285. Generic PWM framework driver for STiH4xx SoCs.
  286. To compile this driver as a module, choose M here: the module
  287. will be called pwm-sti.
  288. config PWM_SUN4I
  289. tristate "Allwinner PWM support"
  290. depends on ARCH_SUNXI || COMPILE_TEST
  291. depends on HAS_IOMEM && COMMON_CLK
  292. help
  293. Generic PWM framework driver for Allwinner SoCs.
  294. To compile this driver as a module, choose M here: the module
  295. will be called pwm-sun4i.
  296. config PWM_TEGRA
  297. tristate "NVIDIA Tegra PWM support"
  298. depends on ARCH_TEGRA
  299. help
  300. Generic PWM framework driver for the PWFM controller found on NVIDIA
  301. Tegra SoCs.
  302. To compile this driver as a module, choose M here: the module
  303. will be called pwm-tegra.
  304. config PWM_TIECAP
  305. tristate "ECAP PWM support"
  306. depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
  307. help
  308. PWM driver support for the ECAP APWM controller found on AM33XX
  309. TI SOC
  310. To compile this driver as a module, choose M here: the module
  311. will be called pwm-tiecap.
  312. config PWM_TIEHRPWM
  313. tristate "EHRPWM PWM support"
  314. depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX
  315. help
  316. PWM driver support for the EHRPWM controller found on AM33XX
  317. TI SOC
  318. To compile this driver as a module, choose M here: the module
  319. will be called pwm-tiehrpwm.
  320. config PWM_TIPWMSS
  321. bool
  322. default y if (ARCH_OMAP2PLUS) && (PWM_TIECAP || PWM_TIEHRPWM)
  323. help
  324. PWM Subsystem driver support for AM33xx SOC.
  325. PWM submodules require PWM config space access from submodule
  326. drivers and require common parent driver support.
  327. config PWM_TWL
  328. tristate "TWL4030/6030 PWM support"
  329. depends on TWL4030_CORE
  330. help
  331. Generic PWM framework driver for TWL4030/6030.
  332. To compile this driver as a module, choose M here: the module
  333. will be called pwm-twl.
  334. config PWM_TWL_LED
  335. tristate "TWL4030/6030 PWM support for LED drivers"
  336. depends on TWL4030_CORE
  337. help
  338. Generic PWM framework driver for TWL4030/6030 LED terminals.
  339. To compile this driver as a module, choose M here: the module
  340. will be called pwm-twl-led.
  341. config PWM_VT8500
  342. tristate "vt8500 PWM support"
  343. depends on ARCH_VT8500
  344. help
  345. Generic PWM framework driver for vt8500.
  346. To compile this driver as a module, choose M here: the module
  347. will be called pwm-vt8500.
  348. endif