Kconfig 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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_TCB
  43. tristate "Atmel TC Block PWM support"
  44. depends on ATMEL_TCLIB && OF
  45. help
  46. Generic PWM framework driver for Atmel Timer Counter Block.
  47. A Timer Counter Block provides 6 PWM devices grouped by 2.
  48. Devices in a given group must have the same period.
  49. To compile this driver as a module, choose M here: the module
  50. will be called pwm-atmel-tcb.
  51. config PWM_BCM_KONA
  52. tristate "Kona PWM support"
  53. depends on ARCH_BCM_MOBILE
  54. help
  55. Generic PWM framework driver for Broadcom Kona PWM block.
  56. To compile this driver as a module, choose M here: the module
  57. will be called pwm-bcm-kona.
  58. config PWM_BFIN
  59. tristate "Blackfin PWM support"
  60. depends on BFIN_GPTIMERS
  61. help
  62. Generic PWM framework driver for Blackfin.
  63. To compile this driver as a module, choose M here: the module
  64. will be called pwm-bfin.
  65. config PWM_CLPS711X
  66. tristate "CLPS711X PWM support"
  67. depends on ARCH_CLPS711X || COMPILE_TEST
  68. depends on HAS_IOMEM
  69. help
  70. Generic PWM framework driver for Cirrus Logic CLPS711X.
  71. To compile this driver as a module, choose M here: the module
  72. will be called pwm-clps711x.
  73. config PWM_EP93XX
  74. tristate "Cirrus Logic EP93xx PWM support"
  75. depends on ARCH_EP93XX
  76. help
  77. Generic PWM framework driver for Cirrus Logic EP93xx.
  78. To compile this driver as a module, choose M here: the module
  79. will be called pwm-ep93xx.
  80. config PWM_FSL_FTM
  81. tristate "Freescale FlexTimer Module (FTM) PWM support"
  82. depends on OF
  83. select REGMAP_MMIO
  84. help
  85. Generic FTM PWM framework driver for Freescale VF610 and
  86. Layerscape LS-1 SoCs.
  87. To compile this driver as a module, choose M here: the module
  88. will be called pwm-fsl-ftm.
  89. config PWM_IMX
  90. tristate "i.MX PWM support"
  91. depends on ARCH_MXC
  92. help
  93. Generic PWM framework driver for i.MX.
  94. To compile this driver as a module, choose M here: the module
  95. will be called pwm-imx.
  96. config PWM_JZ4740
  97. tristate "Ingenic JZ4740 PWM support"
  98. depends on MACH_JZ4740
  99. help
  100. Generic PWM framework driver for Ingenic JZ4740 based
  101. machines.
  102. To compile this driver as a module, choose M here: the module
  103. will be called pwm-jz4740.
  104. config PWM_LP3943
  105. tristate "TI/National Semiconductor LP3943 PWM support"
  106. depends on MFD_LP3943
  107. help
  108. Generic PWM framework driver for LP3943 which supports two PWM
  109. channels.
  110. To compile this driver as a module, choose M here: the module
  111. will be called pwm-lp3943.
  112. config PWM_LPC32XX
  113. tristate "LPC32XX PWM support"
  114. depends on ARCH_LPC32XX
  115. help
  116. Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
  117. PWM controllers.
  118. To compile this driver as a module, choose M here: the module
  119. will be called pwm-lpc32xx.
  120. config PWM_LPSS
  121. tristate "Intel LPSS PWM support"
  122. depends on X86
  123. help
  124. Generic PWM framework driver for Intel Low Power Subsystem PWM
  125. controller.
  126. To compile this driver as a module, choose M here: the module
  127. will be called pwm-lpss.
  128. config PWM_LPSS_PCI
  129. tristate "Intel LPSS PWM PCI driver"
  130. depends on PWM_LPSS && PCI
  131. help
  132. The PCI driver for Intel Low Power Subsystem PWM controller.
  133. To compile this driver as a module, choose M here: the module
  134. will be called pwm-lpss-pci.
  135. config PWM_LPSS_PLATFORM
  136. tristate "Intel LPSS PWM platform driver"
  137. depends on PWM_LPSS && ACPI
  138. help
  139. The platform driver for Intel Low Power Subsystem PWM controller.
  140. To compile this driver as a module, choose M here: the module
  141. will be called pwm-lpss-platform.
  142. config PWM_MXS
  143. tristate "Freescale MXS PWM support"
  144. depends on ARCH_MXS && OF
  145. select STMP_DEVICE
  146. help
  147. Generic PWM framework driver for Freescale MXS.
  148. To compile this driver as a module, choose M here: the module
  149. will be called pwm-mxs.
  150. config PWM_PCA9685
  151. tristate "NXP PCA9685 PWM driver"
  152. depends on OF && I2C
  153. select REGMAP_I2C
  154. help
  155. Generic PWM framework driver for NXP PCA9685 LED controller.
  156. To compile this driver as a module, choose M here: the module
  157. will be called pwm-pca9685.
  158. config PWM_PUV3
  159. tristate "PKUnity NetBook-0916 PWM support"
  160. depends on ARCH_PUV3
  161. help
  162. Generic PWM framework driver for PKUnity NetBook-0916.
  163. To compile this driver as a module, choose M here: the module
  164. will be called pwm-puv3.
  165. config PWM_PXA
  166. tristate "PXA PWM support"
  167. depends on ARCH_PXA
  168. help
  169. Generic PWM framework driver for PXA.
  170. To compile this driver as a module, choose M here: the module
  171. will be called pwm-pxa.
  172. config PWM_RENESAS_TPU
  173. tristate "Renesas TPU PWM support"
  174. depends on ARCH_SHMOBILE || COMPILE_TEST
  175. depends on HAS_IOMEM
  176. help
  177. This driver exposes the Timer Pulse Unit (TPU) PWM controller found
  178. in Renesas chips through the PWM API.
  179. To compile this driver as a module, choose M here: the module
  180. will be called pwm-renesas-tpu.
  181. config PWM_ROCKCHIP
  182. tristate "Rockchip PWM support"
  183. depends on ARCH_ROCKCHIP
  184. help
  185. Generic PWM framework driver for the PWM controller found on
  186. Rockchip SoCs.
  187. config PWM_SAMSUNG
  188. tristate "Samsung PWM support"
  189. depends on PLAT_SAMSUNG
  190. help
  191. Generic PWM framework driver for Samsung.
  192. To compile this driver as a module, choose M here: the module
  193. will be called pwm-samsung.
  194. config PWM_SPEAR
  195. tristate "STMicroelectronics SPEAr PWM support"
  196. depends on PLAT_SPEAR
  197. depends on OF
  198. help
  199. Generic PWM framework driver for the PWM controller on ST
  200. SPEAr SoCs.
  201. To compile this driver as a module, choose M here: the module
  202. will be called pwm-spear.
  203. config PWM_STI
  204. tristate "STiH4xx PWM support"
  205. depends on ARCH_STI
  206. depends on OF
  207. help
  208. Generic PWM framework driver for STiH4xx SoCs.
  209. To compile this driver as a module, choose M here: the module
  210. will be called pwm-sti.
  211. config PWM_TEGRA
  212. tristate "NVIDIA Tegra PWM support"
  213. depends on ARCH_TEGRA
  214. help
  215. Generic PWM framework driver for the PWFM controller found on NVIDIA
  216. Tegra SoCs.
  217. To compile this driver as a module, choose M here: the module
  218. will be called pwm-tegra.
  219. config PWM_TIECAP
  220. tristate "ECAP PWM support"
  221. depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
  222. help
  223. PWM driver support for the ECAP APWM controller found on AM33XX
  224. TI SOC
  225. To compile this driver as a module, choose M here: the module
  226. will be called pwm-tiecap.
  227. config PWM_TIEHRPWM
  228. tristate "EHRPWM PWM support"
  229. depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
  230. help
  231. PWM driver support for the EHRPWM controller found on AM33XX
  232. TI SOC
  233. To compile this driver as a module, choose M here: the module
  234. will be called pwm-tiehrpwm.
  235. config PWM_TIPWMSS
  236. bool
  237. default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
  238. help
  239. PWM Subsystem driver support for AM33xx SOC.
  240. PWM submodules require PWM config space access from submodule
  241. drivers and require common parent driver support.
  242. config PWM_TWL
  243. tristate "TWL4030/6030 PWM support"
  244. depends on TWL4030_CORE
  245. help
  246. Generic PWM framework driver for TWL4030/6030.
  247. To compile this driver as a module, choose M here: the module
  248. will be called pwm-twl.
  249. config PWM_TWL_LED
  250. tristate "TWL4030/6030 PWM support for LED drivers"
  251. depends on TWL4030_CORE
  252. help
  253. Generic PWM framework driver for TWL4030/6030 LED terminals.
  254. To compile this driver as a module, choose M here: the module
  255. will be called pwm-twl-led.
  256. config PWM_VT8500
  257. tristate "vt8500 PWM support"
  258. depends on ARCH_VT8500
  259. help
  260. Generic PWM framework driver for vt8500.
  261. To compile this driver as a module, choose M here: the module
  262. will be called pwm-vt8500.
  263. endif