Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. config DM_PWM
  2. bool "Enable support for pulse-width modulation devices (PWM)"
  3. depends on DM
  4. help
  5. A pulse-width modulator emits a pulse of varying width and provides
  6. control over the duty cycle (high and low time) of the signal. This
  7. is often used to control a voltage level. The more time the PWM
  8. spends in the 'high' state, the higher the voltage. The PWM's
  9. frequency/period can be controlled along with the proportion of that
  10. time that the signal is high.
  11. config PWM_CROS_EC
  12. bool "Enable support for the Chrome OS EC PWM"
  13. depends on DM_PWM
  14. help
  15. This PWM is found on several Chrome OS devices and controlled by
  16. the Chrome OS embedded controller. It may be used to control the
  17. screen brightness and/or the keyboard backlight depending on the
  18. device.
  19. config PWM_EXYNOS
  20. bool "Enable support for the Exynos PWM"
  21. depends on DM_PWM
  22. help
  23. This PWM is found on Samsung Exynos 5250 and other Samsung SoCs. It
  24. supports a programmable period and duty cycle. A 32-bit counter is
  25. used. It provides 5 channels which can be independently
  26. programmed. Channel 4 (the last) is normally used as a timer.
  27. config PWM_IMX
  28. bool "Enable support for i.MX27 and later PWM"
  29. help
  30. This PWM is found i.MX27 and later i.MX SoCs.
  31. config PWM_MESON
  32. bool "Enable support for Amlogic Meson SoCs PWM"
  33. depends on DM_PWM
  34. help
  35. This PWM is found on Amlogic Meson SoCs. It supports a
  36. programmable period and duty cycle for 2 independant channels.
  37. config PWM_MTK
  38. bool "Enable support for MediaTek PWM"
  39. depends on DM_PWM
  40. help
  41. This PWM is found on MT7622, MT7623, and MT7629. It supports a
  42. programmable period and duty cycle.
  43. config PWM_ROCKCHIP
  44. bool "Enable support for the Rockchip PWM"
  45. depends on DM_PWM
  46. help
  47. This PWM is found on RK3288 and other Rockchip SoCs. It supports a
  48. programmable period and duty cycle. A 32-bit counter is used.
  49. Various options provided in the hardware (such as capture mode and
  50. continuous/single-shot) are not supported by the driver.
  51. config PWM_SANDBOX
  52. bool "Enable support for the sandbox PWM"
  53. help
  54. This is a sandbox PWM used for testing. It provides 3 channels and
  55. records the settings passed into it, but otherwise does nothing
  56. useful. The PWM can be enabled but is not connected to any outputs
  57. so this is not very useful.
  58. config PWM_SIFIVE
  59. bool "Enable support for SiFive PWM"
  60. depends on DM_PWM
  61. help
  62. This PWM is found SiFive's FU540 and other SoCs.
  63. config PWM_TEGRA
  64. bool "Enable support for the Tegra PWM"
  65. depends on DM_PWM
  66. help
  67. This PWM is found on Tegra 20 and other Nvidia SoCs. It supports
  68. four channels with a programmable period and duty cycle. Only a
  69. 32KHz clock is supported by the driver but the duty cycle is
  70. configurable.
  71. config PWM_SUNXI
  72. bool "Enable support for the Allwinner Sunxi PWM"
  73. depends on DM_PWM
  74. help
  75. This PWM is found on H3, A64 and other Allwinner SoCs. It supports a
  76. programmable period and duty cycle. A 16-bit counter is used.
  77. config PWM_TI_EHRPWM
  78. bool "Enable support for EHRPWM PWM"
  79. depends on DM_PWM && ARCH_OMAP2PLUS
  80. default y
  81. help
  82. PWM driver support for the EHRPWM controller found on TI SOCs.