blob: cd8f3570f06df33ca21c3fb48eed123412037427 [file] [log] [blame]
Simon Glassfc760cb2016-01-21 19:44:54 -07001config 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.
Simon Glass0e23fd82016-01-21 19:44:55 -070011
12config PWM_ROCKCHIP
13 bool "Enable support for the Rockchip PWM"
14 depends on DM_PWM
15 help
16 This PWM is found on RK3288 and other Rockchip SoCs. It supports a
17 programmable period and duty cycle. A 32-bit counter is used.
18 Various options provided in the hardware (such as capture mode and
19 continuous/single-shot) are not supported by the driver.