xref: /rk3399_rockchip-uboot/drivers/pwm/Kconfig (revision 41fa035ce1480aa87d42e4af0ed8ea841944c2c9)
1fc760cb8SSimon Glassconfig DM_PWM
2fc760cb8SSimon Glass	bool "Enable support for pulse-width modulation devices (PWM)"
3fc760cb8SSimon Glass	depends on DM
4fc760cb8SSimon Glass	help
5fc760cb8SSimon Glass	  A pulse-width modulator emits a pulse of varying width and provides
6fc760cb8SSimon Glass	  control over the duty cycle (high and low time) of the signal. This
7fc760cb8SSimon Glass	  is often used to control a voltage level. The more time the PWM
8fc760cb8SSimon Glass	  spends in the 'high' state, the higher the voltage. The PWM's
9fc760cb8SSimon Glass	  frequency/period can be controlled along with the proportion of that
10fc760cb8SSimon Glass	  time that the signal is high.
110e23fd81SSimon Glass
120e23fd81SSimon Glassconfig PWM_ROCKCHIP
130e23fd81SSimon Glass	bool "Enable support for the Rockchip PWM"
140e23fd81SSimon Glass	depends on DM_PWM
150e23fd81SSimon Glass	help
160e23fd81SSimon Glass	  This PWM is found on RK3288 and other Rockchip SoCs. It supports a
170e23fd81SSimon Glass	  programmable period and duty cycle. A 32-bit counter is used.
180e23fd81SSimon Glass	  Various options provided in the hardware (such as capture mode and
190e23fd81SSimon Glass	  continuous/single-shot) are not supported by the driver.
20*41fa035cSSimon Glass
21*41fa035cSSimon Glassconfig PWM_TEGRA
22*41fa035cSSimon Glass	bool "Enable support for the Tegra PWM"
23*41fa035cSSimon Glass	help
24*41fa035cSSimon Glass	  This PWM is found on Tegra 20 and other Nvidia SoCs. It supports
25*41fa035cSSimon Glass	  four channels with a programmable period and duty cycle. Only a
26*41fa035cSSimon Glass	  32KHz clock is supported by the driver but the duty cycle is
27*41fa035cSSimon Glass	  configurable.
28