Kconfig 5.7 KB

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