Kconfig 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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
  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_BFIN
  52. tristate "Blackfin PWM support"
  53. depends on BFIN_GPTIMERS
  54. help
  55. Generic PWM framework driver for Blackfin.
  56. To compile this driver as a module, choose M here: the module
  57. will be called pwm-bfin.
  58. config PWM_EP93XX
  59. tristate "Cirrus Logic EP93xx PWM support"
  60. depends on ARCH_EP93XX
  61. help
  62. Generic PWM framework driver for Cirrus Logic EP93xx.
  63. To compile this driver as a module, choose M here: the module
  64. will be called pwm-ep93xx.
  65. config PWM_IMX
  66. tristate "i.MX PWM support"
  67. depends on ARCH_MXC
  68. help
  69. Generic PWM framework driver for i.MX.
  70. To compile this driver as a module, choose M here: the module
  71. will be called pwm-imx.
  72. config PWM_JZ4740
  73. tristate "Ingenic JZ4740 PWM support"
  74. depends on MACH_JZ4740
  75. help
  76. Generic PWM framework driver for Ingenic JZ4740 based
  77. machines.
  78. To compile this driver as a module, choose M here: the module
  79. will be called pwm-jz4740.
  80. config PWM_LP3943
  81. tristate "TI/National Semiconductor LP3943 PWM support"
  82. depends on MFD_LP3943
  83. help
  84. Generic PWM framework driver for LP3943 which supports two PWM
  85. channels.
  86. To compile this driver as a module, choose M here: the module
  87. will be called pwm-lp3943.
  88. config PWM_LPC32XX
  89. tristate "LPC32XX PWM support"
  90. depends on ARCH_LPC32XX
  91. help
  92. Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two
  93. PWM controllers.
  94. To compile this driver as a module, choose M here: the module
  95. will be called pwm-lpc32xx.
  96. config PWM_MXS
  97. tristate "Freescale MXS PWM support"
  98. depends on ARCH_MXS && OF
  99. select STMP_DEVICE
  100. help
  101. Generic PWM framework driver for Freescale MXS.
  102. To compile this driver as a module, choose M here: the module
  103. will be called pwm-mxs.
  104. config PWM_PCA9685
  105. tristate "NXP PCA9685 PWM driver"
  106. depends on OF && I2C
  107. select REGMAP_I2C
  108. help
  109. Generic PWM framework driver for NXP PCA9685 LED controller.
  110. To compile this driver as a module, choose M here: the module
  111. will be called pwm-pca9685.
  112. config PWM_PUV3
  113. tristate "PKUnity NetBook-0916 PWM support"
  114. depends on ARCH_PUV3
  115. help
  116. Generic PWM framework driver for PKUnity NetBook-0916.
  117. To compile this driver as a module, choose M here: the module
  118. will be called pwm-puv3.
  119. config PWM_PXA
  120. tristate "PXA PWM support"
  121. depends on ARCH_PXA
  122. help
  123. Generic PWM framework driver for PXA.
  124. To compile this driver as a module, choose M here: the module
  125. will be called pwm-pxa.
  126. config PWM_RENESAS_TPU
  127. tristate "Renesas TPU PWM support"
  128. depends on ARCH_SHMOBILE || COMPILE_TEST
  129. help
  130. This driver exposes the Timer Pulse Unit (TPU) PWM controller found
  131. in Renesas chips through the PWM API.
  132. To compile this driver as a module, choose M here: the module
  133. will be called pwm-renesas-tpu.
  134. config PWM_SAMSUNG
  135. tristate "Samsung PWM support"
  136. depends on PLAT_SAMSUNG
  137. help
  138. Generic PWM framework driver for Samsung.
  139. To compile this driver as a module, choose M here: the module
  140. will be called pwm-samsung.
  141. config PWM_SPEAR
  142. tristate "STMicroelectronics SPEAr PWM support"
  143. depends on PLAT_SPEAR
  144. depends on OF
  145. help
  146. Generic PWM framework driver for the PWM controller on ST
  147. SPEAr SoCs.
  148. To compile this driver as a module, choose M here: the module
  149. will be called pwm-spear.
  150. config PWM_TEGRA
  151. tristate "NVIDIA Tegra PWM support"
  152. depends on ARCH_TEGRA
  153. help
  154. Generic PWM framework driver for the PWFM controller found on NVIDIA
  155. Tegra SoCs.
  156. To compile this driver as a module, choose M here: the module
  157. will be called pwm-tegra.
  158. config PWM_TIECAP
  159. tristate "ECAP PWM support"
  160. depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
  161. help
  162. PWM driver support for the ECAP APWM controller found on AM33XX
  163. TI SOC
  164. To compile this driver as a module, choose M here: the module
  165. will be called pwm-tiecap.
  166. config PWM_TIEHRPWM
  167. tristate "EHRPWM PWM support"
  168. depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX
  169. help
  170. PWM driver support for the EHRPWM controller found on AM33XX
  171. TI SOC
  172. To compile this driver as a module, choose M here: the module
  173. will be called pwm-tiehrpwm.
  174. config PWM_TIPWMSS
  175. bool
  176. default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
  177. help
  178. PWM Subsystem driver support for AM33xx SOC.
  179. PWM submodules require PWM config space access from submodule
  180. drivers and require common parent driver support.
  181. config PWM_TWL
  182. tristate "TWL4030/6030 PWM support"
  183. depends on TWL4030_CORE
  184. help
  185. Generic PWM framework driver for TWL4030/6030.
  186. To compile this driver as a module, choose M here: the module
  187. will be called pwm-twl.
  188. config PWM_TWL_LED
  189. tristate "TWL4030/6030 PWM support for LED drivers"
  190. depends on TWL4030_CORE
  191. help
  192. Generic PWM framework driver for TWL4030/6030 LED terminals.
  193. To compile this driver as a module, choose M here: the module
  194. will be called pwm-twl-led.
  195. config PWM_VT8500
  196. tristate "vt8500 PWM support"
  197. depends on ARCH_VT8500
  198. help
  199. Generic PWM framework driver for vt8500.
  200. To compile this driver as a module, choose M here: the module
  201. will be called pwm-vt8500.
  202. endif