Kconfig 9.6 KB

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