Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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_BFIN
  76. tristate "Blackfin PWM support"
  77. depends on BFIN_GPTIMERS
  78. help
  79. Generic PWM framework driver for Blackfin.
  80. To compile this driver as a module, choose M here: the module
  81. will be called pwm-bfin.
  82. config PWM_CLPS711X
  83. tristate "CLPS711X PWM support"
  84. depends on ARCH_CLPS711X || COMPILE_TEST
  85. depends on HAS_IOMEM
  86. help
  87. Generic PWM framework driver for Cirrus Logic CLPS711X.
  88. To compile this driver as a module, choose M here: the module
  89. will be called pwm-clps711x.
  90. config PWM_EP93XX
  91. tristate "Cirrus Logic EP93xx PWM support"
  92. depends on ARCH_EP93XX
  93. help
  94. Generic PWM framework driver for Cirrus Logic EP93xx.
  95. To compile this driver as a module, choose M here: the module
  96. will be called pwm-ep93xx.
  97. config PWM_FSL_FTM
  98. tristate "Freescale FlexTimer Module (FTM) PWM support"
  99. depends on OF
  100. select REGMAP_MMIO
  101. help
  102. Generic FTM PWM framework driver for Freescale VF610 and
  103. Layerscape LS-1 SoCs.
  104. To compile this driver as a module, choose M here: the module
  105. will be called pwm-fsl-ftm.
  106. config PWM_IMG
  107. tristate "Imagination Technologies PWM driver"
  108. depends on HAS_IOMEM
  109. depends on MFD_SYSCON
  110. depends on COMMON_CLK
  111. depends on MIPS || COMPILE_TEST
  112. help
  113. Generic PWM framework driver for Imagination Technologies
  114. PWM block which supports 4 channels.
  115. To compile this driver as a module, choose M here: the module
  116. will be called pwm-img
  117. config PWM_IMX
  118. tristate "i.MX PWM support"
  119. depends on ARCH_MXC
  120. help
  121. Generic PWM framework driver for i.MX.
  122. To compile this driver as a module, choose M here: the module
  123. will be called pwm-imx.
  124. config PWM_JZ4740
  125. tristate "Ingenic JZ4740 PWM support"
  126. depends on MACH_JZ4740
  127. help
  128. Generic PWM framework driver for Ingenic JZ4740 based
  129. machines.
  130. To compile this driver as a module, choose M here: the module
  131. will be called pwm-jz4740.
  132. config PWM_LP3943
  133. tristate "TI/National Semiconductor LP3943 PWM support"
  134. depends on MFD_LP3943
  135. help
  136. Generic PWM framework driver for LP3943 which supports two PWM
  137. channels.
  138. To compile this driver as a module, choose M here: the module
  139. will be called pwm-lp3943.
  140. config PWM_LPC32XX
  141. tristate "LPC32XX PWM support"
  142. depends on ARCH_LPC32XX
  143. help
  144. Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
  145. PWM controllers.
  146. To compile this driver as a module, choose M here: the module
  147. will be called pwm-lpc32xx.
  148. config PWM_LPSS
  149. tristate "Intel LPSS PWM support"
  150. depends on X86
  151. help
  152. Generic PWM framework driver for Intel Low Power Subsystem PWM
  153. controller.
  154. To compile this driver as a module, choose M here: the module
  155. will be called pwm-lpss.
  156. config PWM_LPSS_PCI
  157. tristate "Intel LPSS PWM PCI driver"
  158. depends on PWM_LPSS && PCI
  159. help
  160. The PCI driver for Intel Low Power Subsystem PWM controller.
  161. To compile this driver as a module, choose M here: the module
  162. will be called pwm-lpss-pci.
  163. config PWM_LPSS_PLATFORM
  164. tristate "Intel LPSS PWM platform driver"
  165. depends on PWM_LPSS && ACPI
  166. help
  167. The platform driver for Intel Low Power Subsystem PWM controller.
  168. To compile this driver as a module, choose M here: the module
  169. will be called pwm-lpss-platform.
  170. config PWM_MXS
  171. tristate "Freescale MXS PWM support"
  172. depends on ARCH_MXS && OF
  173. select STMP_DEVICE
  174. help
  175. Generic PWM framework driver for Freescale MXS.
  176. To compile this driver as a module, choose M here: the module
  177. will be called pwm-mxs.
  178. config PWM_PCA9685
  179. tristate "NXP PCA9685 PWM driver"
  180. depends on OF && I2C
  181. select REGMAP_I2C
  182. help
  183. Generic PWM framework driver for NXP PCA9685 LED controller.
  184. To compile this driver as a module, choose M here: the module
  185. will be called pwm-pca9685.
  186. config PWM_PUV3
  187. tristate "PKUnity NetBook-0916 PWM support"
  188. depends on ARCH_PUV3
  189. help
  190. Generic PWM framework driver for PKUnity NetBook-0916.
  191. To compile this driver as a module, choose M here: the module
  192. will be called pwm-puv3.
  193. config PWM_PXA
  194. tristate "PXA PWM support"
  195. depends on ARCH_PXA
  196. help
  197. Generic PWM framework driver for PXA.
  198. To compile this driver as a module, choose M here: the module
  199. will be called pwm-pxa.
  200. config PWM_RENESAS_TPU
  201. tristate "Renesas TPU PWM support"
  202. depends on ARCH_SHMOBILE || COMPILE_TEST
  203. depends on HAS_IOMEM
  204. help
  205. This driver exposes the Timer Pulse Unit (TPU) PWM controller found
  206. in Renesas chips through the PWM API.
  207. To compile this driver as a module, choose M here: the module
  208. will be called pwm-renesas-tpu.
  209. config PWM_ROCKCHIP
  210. tristate "Rockchip PWM support"
  211. depends on ARCH_ROCKCHIP
  212. help
  213. Generic PWM framework driver for the PWM controller found on
  214. Rockchip SoCs.
  215. config PWM_SAMSUNG
  216. tristate "Samsung PWM support"
  217. depends on PLAT_SAMSUNG || ARCH_EXYNOS
  218. help
  219. Generic PWM framework driver for Samsung.
  220. To compile this driver as a module, choose M here: the module
  221. will be called pwm-samsung.
  222. config PWM_SPEAR
  223. tristate "STMicroelectronics SPEAr PWM support"
  224. depends on PLAT_SPEAR
  225. depends on OF
  226. help
  227. Generic PWM framework driver for the PWM controller on ST
  228. SPEAr SoCs.
  229. To compile this driver as a module, choose M here: the module
  230. will be called pwm-spear.
  231. config PWM_STI
  232. tristate "STiH4xx PWM support"
  233. depends on ARCH_STI
  234. depends on OF
  235. help
  236. Generic PWM framework driver for STiH4xx SoCs.
  237. To compile this driver as a module, choose M here: the module
  238. will be called pwm-sti.
  239. config PWM_SUN4I
  240. tristate "Allwinner PWM support"
  241. depends on ARCH_SUNXI || COMPILE_TEST
  242. depends on HAS_IOMEM && COMMON_CLK
  243. help
  244. Generic PWM framework driver for Allwinner SoCs.
  245. To compile this driver as a module, choose M here: the module
  246. will be called pwm-sun4i.
  247. config PWM_TEGRA
  248. tristate "NVIDIA Tegra PWM support"
  249. depends on ARCH_TEGRA
  250. help
  251. Generic PWM framework driver for the PWFM controller found on NVIDIA
  252. Tegra SoCs.
  253. To compile this driver as a module, choose M here: the module
  254. will be called pwm-tegra.
  255. config PWM_TIECAP
  256. tristate "ECAP PWM support"
  257. depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
  258. help
  259. PWM driver support for the ECAP APWM controller found on AM33XX
  260. TI SOC
  261. To compile this driver as a module, choose M here: the module
  262. will be called pwm-tiecap.
  263. config PWM_TIEHRPWM
  264. tristate "EHRPWM PWM support"
  265. depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
  266. help
  267. PWM driver support for the EHRPWM controller found on AM33XX
  268. TI SOC
  269. To compile this driver as a module, choose M here: the module
  270. will be called pwm-tiehrpwm.
  271. config PWM_TIPWMSS
  272. bool
  273. default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
  274. help
  275. PWM Subsystem driver support for AM33xx SOC.
  276. PWM submodules require PWM config space access from submodule
  277. drivers and require common parent driver support.
  278. config PWM_TWL
  279. tristate "TWL4030/6030 PWM support"
  280. depends on TWL4030_CORE
  281. help
  282. Generic PWM framework driver for TWL4030/6030.
  283. To compile this driver as a module, choose M here: the module
  284. will be called pwm-twl.
  285. config PWM_TWL_LED
  286. tristate "TWL4030/6030 PWM support for LED drivers"
  287. depends on TWL4030_CORE
  288. help
  289. Generic PWM framework driver for TWL4030/6030 LED terminals.
  290. To compile this driver as a module, choose M here: the module
  291. will be called pwm-twl-led.
  292. config PWM_VT8500
  293. tristate "vt8500 PWM support"
  294. depends on ARCH_VT8500
  295. help
  296. Generic PWM framework driver for vt8500.
  297. To compile this driver as a module, choose M here: the module
  298. will be called pwm-vt8500.
  299. endif