Simon Glass | b3f0756 | 2016-01-21 19:44:54 -0700 | [diff] [blame] | 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. |
Simon Glass | c5915f7 | 2016-01-21 19:44:55 -0700 | [diff] [blame] | 11 | |
Simon Glass | 636bf17 | 2016-02-21 21:08:49 -0700 | [diff] [blame] | 12 | config PWM_EXYNOS |
| 13 | bool "Enable support for the Exynos PWM" |
| 14 | depends on DM_PWM |
| 15 | help |
| 16 | This PWM is found on Samsung Exynos 5250 and other Samsung SoCs. It |
| 17 | supports a programmable period and duty cycle. A 32-bit counter is |
| 18 | used. It provides 5 channels which can be independently |
| 19 | programmed. Channel 4 (the last) is normally used as a timer. |
| 20 | |
Heiko Schocher | ff3b7b1 | 2019-05-28 06:51:51 +0200 | [diff] [blame] | 21 | config PWM_IMX |
| 22 | bool "Enable support for i.MX27 and later PWM" |
| 23 | help |
| 24 | This PWM is found i.MX27 and later i.MX SoCs. |
| 25 | |
developer | dcb0206 | 2020-02-21 21:01:46 +0800 | [diff] [blame] | 26 | config PWM_MTK |
| 27 | bool "Enable support for MediaTek PWM" |
| 28 | depends on DM_PWM |
| 29 | help |
| 30 | This PWM is found on MT7622, MT7623, and MT7629. It supports a |
| 31 | programmable period and duty cycle. |
| 32 | |
Simon Glass | c5915f7 | 2016-01-21 19:44:55 -0700 | [diff] [blame] | 33 | config PWM_ROCKCHIP |
| 34 | bool "Enable support for the Rockchip PWM" |
| 35 | depends on DM_PWM |
| 36 | help |
| 37 | This PWM is found on RK3288 and other Rockchip SoCs. It supports a |
| 38 | programmable period and duty cycle. A 32-bit counter is used. |
| 39 | Various options provided in the hardware (such as capture mode and |
| 40 | continuous/single-shot) are not supported by the driver. |
Simon Glass | 90836ff | 2016-01-30 16:38:00 -0700 | [diff] [blame] | 41 | |
Simon Glass | e62f4be | 2017-04-16 21:01:11 -0600 | [diff] [blame] | 42 | config PWM_SANDBOX |
| 43 | bool "Enable support for the sandbox PWM" |
| 44 | help |
| 45 | This is a sandbox PWM used for testing. It provides 3 channels and |
| 46 | records the settings passed into it, but otherwise does nothing |
| 47 | useful. The PWM can be enabled but is not connected to any outputs |
| 48 | so this is not very useful. |
| 49 | |
Yash Shah | 3aa586d | 2020-04-23 16:57:16 +0530 | [diff] [blame] | 50 | config PWM_SIFIVE |
| 51 | bool "Enable support for SiFive PWM" |
| 52 | depends on DM_PWM |
| 53 | help |
| 54 | This PWM is found SiFive's FU540 and other SoCs. |
| 55 | |
Simon Glass | 90836ff | 2016-01-30 16:38:00 -0700 | [diff] [blame] | 56 | config PWM_TEGRA |
| 57 | bool "Enable support for the Tegra PWM" |
Simon Glass | d8af3c9 | 2016-01-30 16:38:01 -0700 | [diff] [blame] | 58 | depends on DM_PWM |
Simon Glass | 90836ff | 2016-01-30 16:38:00 -0700 | [diff] [blame] | 59 | help |
| 60 | This PWM is found on Tegra 20 and other Nvidia SoCs. It supports |
| 61 | four channels with a programmable period and duty cycle. Only a |
| 62 | 32KHz clock is supported by the driver but the duty cycle is |
| 63 | configurable. |
Vasily Khoruzhick | 86a38e5 | 2018-05-14 08:16:20 -0700 | [diff] [blame] | 64 | |
| 65 | config PWM_SUNXI |
| 66 | bool "Enable support for the Allwinner Sunxi PWM" |
| 67 | depends on DM_PWM |
| 68 | help |
| 69 | This PWM is found on H3, A64 and other Allwinner SoCs. It supports a |
| 70 | programmable period and duty cycle. A 16-bit counter is used. |