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. 11*0e23fd81SSimon Glass 12*0e23fd81SSimon Glassconfig PWM_ROCKCHIP 13*0e23fd81SSimon Glass bool "Enable support for the Rockchip PWM" 14*0e23fd81SSimon Glass depends on DM_PWM 15*0e23fd81SSimon Glass help 16*0e23fd81SSimon Glass This PWM is found on RK3288 and other Rockchip SoCs. It supports a 17*0e23fd81SSimon Glass programmable period and duty cycle. A 32-bit counter is used. 18*0e23fd81SSimon Glass Various options provided in the hardware (such as capture mode and 19*0e23fd81SSimon Glass continuous/single-shot) are not supported by the driver. 20