Kconfig 6.2 KB

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