Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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_EXYNOS
  12. bool "Enable support for the Exynos PWM"
  13. depends on DM_PWM
  14. help
  15. This PWM is found on Samsung Exynos 5250 and other Samsung SoCs. It
  16. supports a programmable period and duty cycle. A 32-bit counter is
  17. used. It provides 5 channels which can be independently
  18. programmed. Channel 4 (the last) is normally used as a timer.
  19. config PWM_ROCKCHIP
  20. bool "Enable support for the Rockchip PWM"
  21. depends on DM_PWM
  22. help
  23. This PWM is found on RK3288 and other Rockchip SoCs. It supports a
  24. programmable period and duty cycle. A 32-bit counter is used.
  25. Various options provided in the hardware (such as capture mode and
  26. continuous/single-shot) are not supported by the driver.
  27. config PWM_SANDBOX
  28. bool "Enable support for the sandbox PWM"
  29. help
  30. This is a sandbox PWM used for testing. It provides 3 channels and
  31. records the settings passed into it, but otherwise does nothing
  32. useful. The PWM can be enabled but is not connected to any outputs
  33. so this is not very useful.
  34. config PWM_TEGRA
  35. bool "Enable support for the Tegra PWM"
  36. depends on DM_PWM
  37. help
  38. This PWM is found on Tegra 20 and other Nvidia SoCs. It supports
  39. four channels with a programmable period and duty cycle. Only a
  40. 32KHz clock is supported by the driver but the duty cycle is
  41. configurable.
  42. config PWM_SUNXI
  43. bool "Enable support for the Allwinner Sunxi PWM"
  44. depends on DM_PWM
  45. help
  46. This PWM is found on H3, A64 and other Allwinner SoCs. It supports a
  47. programmable period and duty cycle. A 16-bit counter is used.
  48. config PWM_ARK
  49. bool "Enable support for the Arkmicro PWM"
  50. help
  51. This PWM is found on Arkmicro SoCs. It supports a
  52. programmable period and duty cycle. A 32-bit counter is used.