blob: 6be612d58a9aa2cd00c66fce1f7c13ca4f1097b9 [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
Billy Tsaifae101d2022-03-08 11:04:05 +080012config PWM_ASPEED
13 bool "Enable support for the Aspeed PWM"
14 depends on DM_PWM
15 help
16 This PWM is found on Ast2600 SoCs. It supports a programmable period
17 and duty cycle. It provides 16 channels which can be independently
18 programmed.
19
Dan Sneddon9b075972021-09-20 16:28:44 -070020config PWM_AT91
21 bool "Enable support for PWM found on AT91 SoC's"
22 depends on DM_PWM && ARCH_AT91
23 help
24 Support for PWM hardware on AT91 based SoC.
25
Alper Nebi Yasak1b9ee282020-10-22 23:49:27 +030026config PWM_CROS_EC
27 bool "Enable support for the Chrome OS EC PWM"
28 depends on DM_PWM
29 help
30 This PWM is found on several Chrome OS devices and controlled by
31 the Chrome OS embedded controller. It may be used to control the
32 screen brightness and/or the keyboard backlight depending on the
33 device.
34
Simon Glass5c2dd4c2016-02-21 21:08:49 -070035config PWM_EXYNOS
36 bool "Enable support for the Exynos PWM"
37 depends on DM_PWM
38 help
39 This PWM is found on Samsung Exynos 5250 and other Samsung SoCs. It
40 supports a programmable period and duty cycle. A 32-bit counter is
41 used. It provides 5 channels which can be independently
42 programmed. Channel 4 (the last) is normally used as a timer.
43
Heiko Schochere0f06572019-05-28 06:51:51 +020044config PWM_IMX
45 bool "Enable support for i.MX27 and later PWM"
46 help
47 This PWM is found i.MX27 and later i.MX SoCs.
48
Neil Armstrong2d481b22020-10-01 10:04:56 +020049config PWM_MESON
50 bool "Enable support for Amlogic Meson SoCs PWM"
51 depends on DM_PWM
52 help
53 This PWM is found on Amlogic Meson SoCs. It supports a
54 programmable period and duty cycle for 2 independant channels.
55
Sam Shiha537fa42020-02-21 21:01:46 +080056config PWM_MTK
57 bool "Enable support for MediaTek PWM"
58 depends on DM_PWM
59 help
60 This PWM is found on MT7622, MT7623, and MT7629. It supports a
61 programmable period and duty cycle.
62
Simon Glass0e23fd82016-01-21 19:44:55 -070063config PWM_ROCKCHIP
64 bool "Enable support for the Rockchip PWM"
65 depends on DM_PWM
66 help
67 This PWM is found on RK3288 and other Rockchip SoCs. It supports a
68 programmable period and duty cycle. A 32-bit counter is used.
69 Various options provided in the hardware (such as capture mode and
70 continuous/single-shot) are not supported by the driver.
Simon Glass41fa0352016-01-30 16:38:00 -070071
Simon Glass43b41562017-04-16 21:01:11 -060072config PWM_SANDBOX
73 bool "Enable support for the sandbox PWM"
74 help
75 This is a sandbox PWM used for testing. It provides 3 channels and
76 records the settings passed into it, but otherwise does nothing
77 useful. The PWM can be enabled but is not connected to any outputs
78 so this is not very useful.
79
Yash Shah7239a612020-04-23 16:57:16 +053080config PWM_SIFIVE
81 bool "Enable support for SiFive PWM"
82 depends on DM_PWM
83 help
84 This PWM is found SiFive's FU540 and other SoCs.
85
Simon Glass41fa0352016-01-30 16:38:00 -070086config PWM_TEGRA
87 bool "Enable support for the Tegra PWM"
Simon Glass91c08af2016-01-30 16:38:01 -070088 depends on DM_PWM
Simon Glass41fa0352016-01-30 16:38:00 -070089 help
90 This PWM is found on Tegra 20 and other Nvidia SoCs. It supports
91 four channels with a programmable period and duty cycle. Only a
92 32KHz clock is supported by the driver but the duty cycle is
93 configurable.
Vasily Khoruzhick1c353ae2018-05-14 08:16:20 -070094
95config PWM_SUNXI
96 bool "Enable support for the Allwinner Sunxi PWM"
97 depends on DM_PWM
98 help
99 This PWM is found on H3, A64 and other Allwinner SoCs. It supports a
100 programmable period and duty cycle. A 16-bit counter is used.
Dario Binacchiade7f0d2020-12-30 00:16:24 +0100101
102config PWM_TI_EHRPWM
103 bool "Enable support for EHRPWM PWM"
104 depends on DM_PWM && ARCH_OMAP2PLUS
105 default y
106 help
107 PWM driver support for the EHRPWM controller found on TI SOCs.