Kconfig 6.5 KB

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