Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 2 | menuconfig PWM |
Thierry Reding | b817bf5 | 2012-08-16 08:01:21 +0200 | [diff] [blame] | 3 | bool "Pulse-Width Modulation (PWM) Support" |
Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 4 | help |
Thierry Reding | b817bf5 | 2012-08-16 08:01:21 +0200 | [diff] [blame] | 5 | Generic Pulse-Width Modulation (PWM) support. |
Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 6 | |
Thierry Reding | b817bf5 | 2012-08-16 08:01:21 +0200 | [diff] [blame] | 7 | In Pulse-Width Modulation, a variation of the width of pulses |
| 8 | in a rectangular pulse signal is used as a means to alter the |
| 9 | average power of the signal. Applications include efficient |
| 10 | power delivery and voltage regulation. In computer systems, |
| 11 | PWMs are commonly used to control fans or the brightness of |
| 12 | display backlights. |
| 13 | |
| 14 | This framework provides a generic interface to PWM devices |
| 15 | within the Linux kernel. On the driver side it provides an API |
| 16 | to register and unregister a PWM chip, an abstraction of a PWM |
| 17 | controller, that supports one or more PWM devices. Client |
| 18 | drivers can request PWM devices and use the generic framework |
| 19 | to configure as well as enable and disable them. |
| 20 | |
| 21 | This generic framework replaces the legacy PWM framework which |
| 22 | allows only a single driver implementing the required API. Not |
| 23 | all legacy implementations have been ported to the framework |
| 24 | yet. The framework provides an API that is backward compatible |
| 25 | with the legacy framework so that existing client drivers |
| 26 | continue to work as expected. |
| 27 | |
| 28 | If unsure, say no. |
Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 29 | |
| 30 | if PWM |
| 31 | |
H Hartley Sweeten | 76abbdde | 2013-06-11 10:38:59 -0700 | [diff] [blame] | 32 | config PWM_SYSFS |
| 33 | bool |
| 34 | default y if SYSFS |
| 35 | |
Uwe Kleine-König | 3ad1f3a | 2020-02-10 22:35:18 +0100 | [diff] [blame] | 36 | config PWM_DEBUG |
| 37 | bool "PWM lowlevel drivers additional checks and debug messages" |
| 38 | depends on DEBUG_KERNEL |
| 39 | help |
| 40 | This option enables some additional checks to help lowlevel driver |
| 41 | authors to get their callbacks implemented correctly. |
| 42 | It is expected to introduce some runtime overhead and diagnostic |
| 43 | output to the kernel log, so only enable while working on a driver. |
| 44 | |
Thierry Reding | 6173f8f | 2012-08-31 11:46:24 +0200 | [diff] [blame] | 45 | config PWM_AB8500 |
| 46 | tristate "AB8500 PWM support" |
| 47 | depends on AB8500_CORE && ARCH_U8500 |
| 48 | help |
| 49 | Generic PWM framework driver for Analog Baseband AB8500. |
| 50 | |
| 51 | To compile this driver as a module, choose M here: the module |
| 52 | will be called pwm-ab8500. |
| 53 | |
Bo Shen | 32b16d4 | 2013-12-13 14:41:49 +0800 | [diff] [blame] | 54 | config PWM_ATMEL |
| 55 | tristate "Atmel PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 56 | depends on ARCH_AT91 || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 57 | depends on HAS_IOMEM && OF |
Bo Shen | 32b16d4 | 2013-12-13 14:41:49 +0800 | [diff] [blame] | 58 | help |
| 59 | Generic PWM framework driver for Atmel SoC. |
| 60 | |
| 61 | To compile this driver as a module, choose M here: the module |
| 62 | will be called pwm-atmel. |
| 63 | |
Boris Brezillon | 2b4984b | 2014-10-07 15:38:14 +0200 | [diff] [blame] | 64 | config PWM_ATMEL_HLCDC_PWM |
| 65 | tristate "Atmel HLCDC PWM support" |
| 66 | depends on MFD_ATMEL_HLCDC |
Thierry Reding | d2048c4 | 2014-12-18 10:09:42 +0100 | [diff] [blame] | 67 | depends on HAVE_CLK |
Boris Brezillon | 2b4984b | 2014-10-07 15:38:14 +0200 | [diff] [blame] | 68 | help |
| 69 | Generic PWM framework driver for the PWM output of the HLCDC |
| 70 | (Atmel High-end LCD Controller). This PWM output is mainly used |
| 71 | to control the LCD backlight. |
| 72 | |
| 73 | To compile this driver as a module, choose M here: the module |
| 74 | will be called pwm-atmel-hlcdc. |
| 75 | |
Boris BREZILLON | 9421bad | 2013-01-08 16:36:42 +0100 | [diff] [blame] | 76 | config PWM_ATMEL_TCB |
Thierry Reding | b133d2a | 2013-01-30 09:19:55 +0100 | [diff] [blame] | 77 | tristate "Atmel TC Block PWM support" |
Alexandre Belloni | 061f857 | 2020-10-30 19:36:56 +0100 | [diff] [blame] | 78 | depends on OF |
| 79 | select REGMAP_MMIO |
Boris BREZILLON | 9421bad | 2013-01-08 16:36:42 +0100 | [diff] [blame] | 80 | help |
| 81 | Generic PWM framework driver for Atmel Timer Counter Block. |
| 82 | |
| 83 | A Timer Counter Block provides 6 PWM devices grouped by 2. |
| 84 | Devices in a given group must have the same period. |
| 85 | |
| 86 | To compile this driver as a module, choose M here: the module |
| 87 | will be called pwm-atmel-tcb. |
| 88 | |
Yendapally Reddy Dhananjaya Reddy | daa5abc | 2016-07-05 02:00:25 -0400 | [diff] [blame] | 89 | config PWM_BCM_IPROC |
| 90 | tristate "iProc PWM support" |
Scott Branden | 5bf22ff | 2016-10-08 13:54:05 -0700 | [diff] [blame] | 91 | depends on ARCH_BCM_IPROC || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 92 | depends on COMMON_CLK && HAS_IOMEM |
Scott Branden | 5bf22ff | 2016-10-08 13:54:05 -0700 | [diff] [blame] | 93 | default ARCH_BCM_IPROC |
Yendapally Reddy Dhananjaya Reddy | daa5abc | 2016-07-05 02:00:25 -0400 | [diff] [blame] | 94 | help |
| 95 | Generic PWM framework driver for Broadcom iProc PWM block. This |
| 96 | block is used in Broadcom iProc SoC's. |
| 97 | |
| 98 | To compile this driver as a module, choose M here: the module |
| 99 | will be called pwm-bcm-iproc. |
| 100 | |
Tim Kryger | 6a4e4bf | 2014-04-25 11:31:12 -0700 | [diff] [blame] | 101 | config PWM_BCM_KONA |
| 102 | tristate "Kona PWM support" |
Clément Péron | 88a053d | 2018-11-23 10:35:59 +0100 | [diff] [blame] | 103 | depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST |
| 104 | depends on HAVE_CLK && HAS_IOMEM |
| 105 | default ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS |
Tim Kryger | 6a4e4bf | 2014-04-25 11:31:12 -0700 | [diff] [blame] | 106 | help |
| 107 | Generic PWM framework driver for Broadcom Kona PWM block. |
| 108 | |
| 109 | To compile this driver as a module, choose M here: the module |
| 110 | will be called pwm-bcm-kona. |
| 111 | |
Bart Tanghe | e5a06dc | 2014-10-08 12:14:32 +0200 | [diff] [blame] | 112 | config PWM_BCM2835 |
| 113 | tristate "BCM2835 PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 114 | depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 115 | depends on HAS_IOMEM |
Bart Tanghe | e5a06dc | 2014-10-08 12:14:32 +0200 | [diff] [blame] | 116 | help |
| 117 | PWM framework driver for BCM2835 controller (Raspberry Pi) |
| 118 | |
| 119 | To compile this driver as a module, choose M here: the module |
| 120 | will be called pwm-bcm2835. |
| 121 | |
Antoine Ténart | 59d5c8b | 2015-10-02 16:59:47 +0200 | [diff] [blame] | 122 | config PWM_BERLIN |
| 123 | tristate "Marvell Berlin PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 124 | depends on ARCH_BERLIN || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 125 | depends on HAS_IOMEM |
Antoine Ténart | 59d5c8b | 2015-10-02 16:59:47 +0200 | [diff] [blame] | 126 | help |
| 127 | PWM framework driver for Marvell Berlin SoCs. |
| 128 | |
| 129 | To compile this driver as a module, choose M here: the module |
| 130 | will be called pwm-berlin. |
| 131 | |
Florian Fainelli | 3a9f595 | 2015-09-14 16:47:06 -0700 | [diff] [blame] | 132 | config PWM_BRCMSTB |
| 133 | tristate "Broadcom STB PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 134 | depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 135 | depends on HAS_IOMEM |
Florian Fainelli | 3a9f595 | 2015-09-14 16:47:06 -0700 | [diff] [blame] | 136 | help |
| 137 | Generic PWM framework driver for the Broadcom Set-top-Box |
| 138 | SoCs (BCM7xxx). |
| 139 | |
| 140 | To compile this driver as a module, choose M Here: the module |
| 141 | will be called pwm-brcmstb.c. |
| 142 | |
Alexander Shiyan | 7eb3f6f | 2014-03-12 19:53:05 +0400 | [diff] [blame] | 143 | config PWM_CLPS711X |
| 144 | tristate "CLPS711X PWM support" |
| 145 | depends on ARCH_CLPS711X || COMPILE_TEST |
Chen Gang | dec02f9 | 2014-10-04 17:48:42 +0800 | [diff] [blame] | 146 | depends on HAS_IOMEM |
Alexander Shiyan | 7eb3f6f | 2014-03-12 19:53:05 +0400 | [diff] [blame] | 147 | help |
| 148 | Generic PWM framework driver for Cirrus Logic CLPS711X. |
| 149 | |
| 150 | To compile this driver as a module, choose M here: the module |
| 151 | will be called pwm-clps711x. |
| 152 | |
Shobhit Kumar | a3f37a1 | 2015-06-26 14:32:08 +0530 | [diff] [blame] | 153 | config PWM_CRC |
| 154 | bool "Intel Crystalcove (CRC) PWM support" |
| 155 | depends on X86 && INTEL_SOC_PMIC |
| 156 | help |
| 157 | Generic PWM framework driver for Crystalcove (CRC) PMIC based PWM |
| 158 | control. |
| 159 | |
Brian Norris | 1f0d3bb | 2016-07-15 16:28:44 -0700 | [diff] [blame] | 160 | config PWM_CROS_EC |
| 161 | tristate "ChromeOS EC PWM driver" |
Enric Balletbo i Serra | 47f11e0 | 2019-09-02 11:53:01 +0200 | [diff] [blame] | 162 | depends on CROS_EC |
Brian Norris | 1f0d3bb | 2016-07-15 16:28:44 -0700 | [diff] [blame] | 163 | help |
| 164 | PWM driver for exposing a PWM attached to the ChromeOS Embedded |
| 165 | Controller. |
| 166 | |
Jarkko Nikula | 1ed2b3f | 2020-10-02 16:56:13 +0300 | [diff] [blame] | 167 | config PWM_DWC |
| 168 | tristate "DesignWare PWM Controller" |
| 169 | depends on PCI |
| 170 | help |
| 171 | PWM driver for Synopsys DWC PWM Controller attached to a PCI bus. |
| 172 | |
| 173 | To compile this driver as a module, choose M here: the module |
| 174 | will be called pwm-dwc. |
| 175 | |
H Hartley Sweeten | a230869 | 2013-10-15 18:40:03 -0700 | [diff] [blame] | 176 | config PWM_EP93XX |
| 177 | tristate "Cirrus Logic EP93xx PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 178 | depends on ARCH_EP93XX || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 179 | depends on HAS_IOMEM |
H Hartley Sweeten | a230869 | 2013-10-15 18:40:03 -0700 | [diff] [blame] | 180 | help |
| 181 | Generic PWM framework driver for Cirrus Logic EP93xx. |
| 182 | |
| 183 | To compile this driver as a module, choose M here: the module |
| 184 | will be called pwm-ep93xx. |
| 185 | |
Xiubo Li | b505183 | 2014-02-27 17:39:49 +0800 | [diff] [blame] | 186 | config PWM_FSL_FTM |
| 187 | tristate "Freescale FlexTimer Module (FTM) PWM support" |
Vegard Nossum | 36d5be4 | 2016-01-02 14:02:07 +0100 | [diff] [blame] | 188 | depends on HAS_IOMEM |
Xiubo Li | b505183 | 2014-02-27 17:39:49 +0800 | [diff] [blame] | 189 | depends on OF |
Fabio Estevam | 00018a8 | 2014-08-21 20:50:25 -0300 | [diff] [blame] | 190 | select REGMAP_MMIO |
Xiubo Li | b505183 | 2014-02-27 17:39:49 +0800 | [diff] [blame] | 191 | help |
| 192 | Generic FTM PWM framework driver for Freescale VF610 and |
| 193 | Layerscape LS-1 SoCs. |
| 194 | |
| 195 | To compile this driver as a module, choose M here: the module |
| 196 | will be called pwm-fsl-ftm. |
| 197 | |
yuanjian | d09f008 | 2016-11-28 17:42:46 +0800 | [diff] [blame] | 198 | config PWM_HIBVT |
| 199 | tristate "HiSilicon BVT PWM support" |
| 200 | depends on ARCH_HISI || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 201 | depends on HAS_IOMEM |
yuanjian | d09f008 | 2016-11-28 17:42:46 +0800 | [diff] [blame] | 202 | help |
| 203 | Generic PWM framework driver for HiSilicon BVT SoCs. |
| 204 | |
| 205 | To compile this driver as a module, choose M here: the module |
| 206 | will be called pwm-hibvt. |
| 207 | |
Naidu Tellapati | 277bb6a | 2015-01-09 14:54:47 -0300 | [diff] [blame] | 208 | config PWM_IMG |
| 209 | tristate "Imagination Technologies PWM driver" |
| 210 | depends on HAS_IOMEM |
| 211 | depends on MFD_SYSCON |
| 212 | depends on COMMON_CLK |
| 213 | depends on MIPS || COMPILE_TEST |
| 214 | help |
| 215 | Generic PWM framework driver for Imagination Technologies |
| 216 | PWM block which supports 4 channels. |
| 217 | |
| 218 | To compile this driver as a module, choose M here: the module |
| 219 | will be called pwm-img |
| 220 | |
Uwe Kleine-König | d80f820 | 2019-01-07 20:53:52 +0100 | [diff] [blame] | 221 | config PWM_IMX1 |
| 222 | tristate "i.MX1 PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 223 | depends on ARCH_MXC || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 224 | depends on HAS_IOMEM |
Sascha Hauer | 2969324 | 2012-03-15 10:04:35 +0100 | [diff] [blame] | 225 | help |
Uwe Kleine-König | d80f820 | 2019-01-07 20:53:52 +0100 | [diff] [blame] | 226 | Generic PWM framework driver for i.MX1 and i.MX21 |
Sascha Hauer | 2969324 | 2012-03-15 10:04:35 +0100 | [diff] [blame] | 227 | |
| 228 | To compile this driver as a module, choose M here: the module |
Uwe Kleine-König | d80f820 | 2019-01-07 20:53:52 +0100 | [diff] [blame] | 229 | will be called pwm-imx1. |
| 230 | |
| 231 | config PWM_IMX27 |
| 232 | tristate "i.MX27 PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 233 | depends on ARCH_MXC || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 234 | depends on HAS_IOMEM |
Uwe Kleine-König | d80f820 | 2019-01-07 20:53:52 +0100 | [diff] [blame] | 235 | help |
| 236 | Generic PWM framework driver for i.MX27 and later i.MX SoCs. |
| 237 | |
| 238 | To compile this driver as a module, choose M here: the module |
| 239 | will be called pwm-imx27. |
Sascha Hauer | 2969324 | 2012-03-15 10:04:35 +0100 | [diff] [blame] | 240 | |
Anson Huang | 738a1cf | 2019-05-09 13:29:29 +0000 | [diff] [blame] | 241 | config PWM_IMX_TPM |
| 242 | tristate "i.MX TPM PWM support" |
| 243 | depends on ARCH_MXC || COMPILE_TEST |
| 244 | depends on HAVE_CLK && HAS_IOMEM |
| 245 | help |
| 246 | Generic PWM framework driver for i.MX7ULP TPM module, TPM's full |
| 247 | name is Low Power Timer/Pulse Width Modulation Module. |
| 248 | |
| 249 | To compile this driver as a module, choose M here: the module |
| 250 | will be called pwm-imx-tpm. |
| 251 | |
Rahul Tanwar | 97960ad | 2020-11-05 13:49:40 +0800 | [diff] [blame] | 252 | config PWM_INTEL_LGM |
| 253 | tristate "Intel LGM PWM support" |
| 254 | depends on HAS_IOMEM |
| 255 | depends on (OF && X86) || COMPILE_TEST |
| 256 | select REGMAP_MMIO |
| 257 | help |
| 258 | Generic PWM fan controller driver for LGM SoC. |
| 259 | |
| 260 | To compile this driver as a module, choose M here: the module |
| 261 | will be called pwm-intel-lgm. |
| 262 | |
Jeff LaBundy | 6f0841a | 2020-04-12 21:15:16 -0500 | [diff] [blame] | 263 | config PWM_IQS620A |
| 264 | tristate "Azoteq IQS620A PWM support" |
| 265 | depends on MFD_IQS62X || COMPILE_TEST |
| 266 | help |
| 267 | Generic PWM framework driver for the Azoteq IQS620A multi-function |
| 268 | sensor. |
| 269 | |
| 270 | To compile this driver as a module, choose M here: the module will |
| 271 | be called pwm-iqs620a. |
| 272 | |
Thierry Reding | f6b8a57 | 2012-08-22 10:01:24 +0200 | [diff] [blame] | 273 | config PWM_JZ4740 |
Paul Cercueil | b419006 | 2018-01-06 17:58:43 +0100 | [diff] [blame] | 274 | tristate "Ingenic JZ47xx PWM support" |
Paul Cercueil | b48d49e | 2020-05-27 13:52:22 +0200 | [diff] [blame] | 275 | depends on MIPS |
Paul Cercueil | ce1f9ce | 2020-03-23 15:24:18 +0100 | [diff] [blame] | 276 | depends on COMMON_CLK |
Paul Cercueil | c269351 | 2020-03-23 15:24:20 +0100 | [diff] [blame] | 277 | select MFD_SYSCON |
Thierry Reding | f6b8a57 | 2012-08-22 10:01:24 +0200 | [diff] [blame] | 278 | help |
Paul Cercueil | b419006 | 2018-01-06 17:58:43 +0100 | [diff] [blame] | 279 | Generic PWM framework driver for Ingenic JZ47xx based |
Thierry Reding | f6b8a57 | 2012-08-22 10:01:24 +0200 | [diff] [blame] | 280 | machines. |
| 281 | |
| 282 | To compile this driver as a module, choose M here: the module |
| 283 | will be called pwm-jz4740. |
| 284 | |
Vijayakannan Ayyathurai | bd899ce | 2020-10-22 15:14:46 +0800 | [diff] [blame] | 285 | config PWM_KEEMBAY |
| 286 | tristate "Intel Keem Bay PWM driver" |
| 287 | depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST) |
| 288 | help |
| 289 | The platform driver for Intel Keem Bay PWM controller. |
| 290 | |
| 291 | To compile this driver as a module, choose M here: the module |
| 292 | will be called pwm-keembay. |
| 293 | |
Milo Kim | af66b3c | 2013-12-06 11:18:43 +0900 | [diff] [blame] | 294 | config PWM_LP3943 |
| 295 | tristate "TI/National Semiconductor LP3943 PWM support" |
| 296 | depends on MFD_LP3943 |
| 297 | help |
| 298 | Generic PWM framework driver for LP3943 which supports two PWM |
| 299 | channels. |
| 300 | |
| 301 | To compile this driver as a module, choose M here: the module |
| 302 | will be called pwm-lp3943. |
| 303 | |
Ariel D'Alessandro | 841e6f9 | 2015-08-05 23:31:46 -0300 | [diff] [blame] | 304 | config PWM_LPC18XX_SCT |
| 305 | tristate "LPC18xx/43xx PWM/SCT support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 306 | depends on ARCH_LPC18XX || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 307 | depends on HAS_IOMEM |
Ariel D'Alessandro | 841e6f9 | 2015-08-05 23:31:46 -0300 | [diff] [blame] | 308 | help |
| 309 | Generic PWM framework driver for NXP LPC18xx PWM/SCT which |
| 310 | supports 16 channels. |
| 311 | A maximum of 15 channels can be requested simultaneously and |
| 312 | must have the same period. |
| 313 | |
| 314 | To compile this driver as a module, choose M here: the module |
| 315 | will be called pwm-lpc18xx-sct. |
| 316 | |
Alexandre Pereira da Silva | 2132fa8 | 2012-07-10 11:38:10 -0300 | [diff] [blame] | 317 | config PWM_LPC32XX |
| 318 | tristate "LPC32XX PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 319 | depends on ARCH_LPC32XX || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 320 | depends on HAS_IOMEM |
Alexandre Pereira da Silva | 2132fa8 | 2012-07-10 11:38:10 -0300 | [diff] [blame] | 321 | help |
| 322 | Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two |
| 323 | PWM controllers. |
| 324 | |
| 325 | To compile this driver as a module, choose M here: the module |
| 326 | will be called pwm-lpc32xx. |
| 327 | |
Mika Westerberg | d16a5aa | 2014-03-20 22:04:23 +0800 | [diff] [blame] | 328 | config PWM_LPSS |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 329 | depends on HAS_IOMEM |
Andy Shevchenko | 6f90a00 | 2015-11-18 13:25:17 +0200 | [diff] [blame] | 330 | tristate |
Mika Westerberg | d16a5aa | 2014-03-20 22:04:23 +0800 | [diff] [blame] | 331 | |
Andy Shevchenko | c558e39 | 2014-08-19 19:17:35 +0300 | [diff] [blame] | 332 | config PWM_LPSS_PCI |
| 333 | tristate "Intel LPSS PWM PCI driver" |
Uwe Kleine-König | aa43edc | 2020-11-18 10:45:09 +0100 | [diff] [blame] | 334 | depends on X86 || COMPILE_TEST |
| 335 | depends on HAS_IOMEM && PCI |
Andy Shevchenko | 6f90a00 | 2015-11-18 13:25:17 +0200 | [diff] [blame] | 336 | select PWM_LPSS |
Andy Shevchenko | c558e39 | 2014-08-19 19:17:35 +0300 | [diff] [blame] | 337 | help |
| 338 | The PCI driver for Intel Low Power Subsystem PWM controller. |
| 339 | |
| 340 | To compile this driver as a module, choose M here: the module |
| 341 | will be called pwm-lpss-pci. |
| 342 | |
| 343 | config PWM_LPSS_PLATFORM |
| 344 | tristate "Intel LPSS PWM platform driver" |
Uwe Kleine-König | aa43edc | 2020-11-18 10:45:09 +0100 | [diff] [blame] | 345 | depends on (X86 && ACPI) || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 346 | depends on HAS_IOMEM |
Andy Shevchenko | 6f90a00 | 2015-11-18 13:25:17 +0200 | [diff] [blame] | 347 | select PWM_LPSS |
Andy Shevchenko | c558e39 | 2014-08-19 19:17:35 +0300 | [diff] [blame] | 348 | help |
| 349 | The platform driver for Intel Low Power Subsystem PWM controller. |
| 350 | |
| 351 | To compile this driver as a module, choose M here: the module |
| 352 | will be called pwm-lpss-platform. |
| 353 | |
Neil Armstrong | 211ed63 | 2016-08-22 17:36:30 +0200 | [diff] [blame] | 354 | config PWM_MESON |
| 355 | tristate "Amlogic Meson PWM driver" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 356 | depends on ARCH_MESON || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 357 | depends on COMMON_CLK && HAS_IOMEM |
Neil Armstrong | 211ed63 | 2016-08-22 17:36:30 +0200 | [diff] [blame] | 358 | help |
| 359 | The platform driver for Amlogic Meson PWM controller. |
| 360 | |
| 361 | To compile this driver as a module, choose M here: the module |
| 362 | will be called pwm-meson. |
| 363 | |
YH Huang | 7e3b7dc | 2015-08-18 15:27:54 +0800 | [diff] [blame] | 364 | config PWM_MTK_DISP |
| 365 | tristate "MediaTek display PWM driver" |
| 366 | depends on ARCH_MEDIATEK || COMPILE_TEST |
| 367 | depends on HAS_IOMEM |
| 368 | help |
| 369 | Generic PWM framework driver for MediaTek disp-pwm device. |
| 370 | The PWM is used to control the backlight brightness for display. |
| 371 | |
| 372 | To compile this driver as a module, choose M here: the module |
| 373 | will be called pwm-mtk-disp. |
| 374 | |
John Crispin | caf065f | 2017-01-23 19:34:37 +0100 | [diff] [blame] | 375 | config PWM_MEDIATEK |
| 376 | tristate "MediaTek PWM support" |
John Crispin | 8cdc43a | 2018-07-25 11:52:09 +0200 | [diff] [blame] | 377 | depends on ARCH_MEDIATEK || RALINK || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 378 | depends on HAS_IOMEM |
John Crispin | caf065f | 2017-01-23 19:34:37 +0100 | [diff] [blame] | 379 | help |
| 380 | Generic PWM framework driver for Mediatek ARM SoC. |
| 381 | |
| 382 | To compile this driver as a module, choose M here: the module |
Zhi Mao | aa12d7a | 2017-06-30 14:05:16 +0800 | [diff] [blame] | 383 | will be called pwm-mediatek. |
John Crispin | caf065f | 2017-01-23 19:34:37 +0100 | [diff] [blame] | 384 | |
Shawn Guo | 4dce82c | 2012-04-04 10:50:52 +0800 | [diff] [blame] | 385 | config PWM_MXS |
| 386 | tristate "Freescale MXS PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 387 | depends on ARCH_MXS || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 388 | depends on HAS_IOMEM && OF |
Shawn Guo | 01bf32e | 2012-06-26 16:58:09 +0800 | [diff] [blame] | 389 | select STMP_DEVICE |
Shawn Guo | 4dce82c | 2012-04-04 10:50:52 +0800 | [diff] [blame] | 390 | help |
| 391 | Generic PWM framework driver for Freescale MXS. |
| 392 | |
| 393 | To compile this driver as a module, choose M here: the module |
| 394 | will be called pwm-mxs. |
| 395 | |
Neil Armstrong | 6604c65 | 2015-11-02 12:14:21 +0100 | [diff] [blame] | 396 | config PWM_OMAP_DMTIMER |
| 397 | tristate "OMAP Dual-Mode Timer PWM support" |
Uwe Kleine-König | 9f2919e | 2019-11-11 10:03:57 +0100 | [diff] [blame] | 398 | depends on OF |
| 399 | depends on OMAP_DM_TIMER || COMPILE_TEST |
Neil Armstrong | 6604c65 | 2015-11-02 12:14:21 +0100 | [diff] [blame] | 400 | help |
| 401 | Generic PWM framework driver for OMAP Dual-Mode Timer PWM output |
| 402 | |
| 403 | To compile this driver as a module, choose M here: the module |
| 404 | will be called pwm-omap-dmtimer |
| 405 | |
Steffen Trumtrar | 88b613e | 2013-05-30 09:50:12 +0200 | [diff] [blame] | 406 | config PWM_PCA9685 |
| 407 | tristate "NXP PCA9685 PWM driver" |
Andy Shevchenko | 912b843 | 2015-10-07 13:18:49 +0300 | [diff] [blame] | 408 | depends on I2C |
Axel Lin | 2c80a49 | 2013-12-17 11:51:29 +0800 | [diff] [blame] | 409 | select REGMAP_I2C |
Steffen Trumtrar | 88b613e | 2013-05-30 09:50:12 +0200 | [diff] [blame] | 410 | help |
| 411 | Generic PWM framework driver for NXP PCA9685 LED controller. |
| 412 | |
| 413 | To compile this driver as a module, choose M here: the module |
| 414 | will be called pwm-pca9685. |
| 415 | |
Thierry Reding | 17b2b47 | 2012-01-02 21:22:38 +0100 | [diff] [blame] | 416 | config PWM_PXA |
| 417 | tristate "PXA PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 418 | depends on ARCH_PXA || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 419 | depends on HAS_IOMEM |
Thierry Reding | 17b2b47 | 2012-01-02 21:22:38 +0100 | [diff] [blame] | 420 | help |
| 421 | Generic PWM framework driver for PXA. |
| 422 | |
| 423 | To compile this driver as a module, choose M here: the module |
| 424 | will be called pwm-pxa. |
| 425 | |
Yoshihiro Shimoda | ed6c147 | 2015-09-30 17:47:53 +0900 | [diff] [blame] | 426 | config PWM_RCAR |
| 427 | tristate "Renesas R-Car PWM support" |
Ryo Kodama | 4816998 | 2016-03-31 13:39:11 +0200 | [diff] [blame] | 428 | depends on ARCH_RENESAS || COMPILE_TEST |
Yoshihiro Shimoda | ed6c147 | 2015-09-30 17:47:53 +0900 | [diff] [blame] | 429 | depends on HAS_IOMEM |
| 430 | help |
| 431 | This driver exposes the PWM Timer controller found in Renesas |
| 432 | R-Car chips through the PWM API. |
| 433 | |
| 434 | To compile this driver as a module, choose M here: the module |
| 435 | will be called pwm-rcar. |
| 436 | |
Laurent Pinchart | 99b82ab | 2013-06-13 18:54:44 +0200 | [diff] [blame] | 437 | config PWM_RENESAS_TPU |
| 438 | tristate "Renesas TPU PWM support" |
Simon Horman | 03d9953 | 2016-02-25 10:03:23 +0900 | [diff] [blame] | 439 | depends on ARCH_RENESAS || COMPILE_TEST |
Richard Weinberger | 2974b09 | 2014-01-31 13:45:18 +0100 | [diff] [blame] | 440 | depends on HAS_IOMEM |
Laurent Pinchart | 99b82ab | 2013-06-13 18:54:44 +0200 | [diff] [blame] | 441 | help |
| 442 | This driver exposes the Timer Pulse Unit (TPU) PWM controller found |
| 443 | in Renesas chips through the PWM API. |
| 444 | |
| 445 | To compile this driver as a module, choose M here: the module |
| 446 | will be called pwm-renesas-tpu. |
| 447 | |
Beniamino Galvani | 101353c | 2014-06-21 16:22:06 +0200 | [diff] [blame] | 448 | config PWM_ROCKCHIP |
| 449 | tristate "Rockchip PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 450 | depends on ARCH_ROCKCHIP || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 451 | depends on HAS_IOMEM |
Beniamino Galvani | 101353c | 2014-06-21 16:22:06 +0200 | [diff] [blame] | 452 | help |
| 453 | Generic PWM framework driver for the PWM controller found on |
| 454 | Rockchip SoCs. |
| 455 | |
Sascha Hauer | 215c29d | 2012-03-15 10:04:36 +0100 | [diff] [blame] | 456 | config PWM_SAMSUNG |
Thierry Reding | b133d2a | 2013-01-30 09:19:55 +0100 | [diff] [blame] | 457 | tristate "Samsung PWM support" |
Arnd Bergmann | db8230d | 2020-08-06 20:20:35 +0200 | [diff] [blame] | 458 | depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 459 | depends on HAS_IOMEM |
Sascha Hauer | 215c29d | 2012-03-15 10:04:36 +0100 | [diff] [blame] | 460 | help |
| 461 | Generic PWM framework driver for Samsung. |
| 462 | |
| 463 | To compile this driver as a module, choose M here: the module |
| 464 | will be called pwm-samsung. |
| 465 | |
Yash Shah | 9e37a53 | 2019-06-11 11:14:44 +0530 | [diff] [blame] | 466 | config PWM_SIFIVE |
| 467 | tristate "SiFive PWM support" |
| 468 | depends on OF |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 469 | depends on COMMON_CLK && HAS_IOMEM |
Yash Shah | 9e37a53 | 2019-06-11 11:14:44 +0530 | [diff] [blame] | 470 | depends on RISCV || COMPILE_TEST |
| 471 | help |
| 472 | Generic PWM framework driver for SiFive SoCs. |
| 473 | |
| 474 | To compile this driver as a module, choose M here: the module |
| 475 | will be called pwm-sifive. |
| 476 | |
Michael Walle | 9db33d2 | 2020-09-14 23:43:34 +0200 | [diff] [blame] | 477 | config PWM_SL28CPLD |
| 478 | tristate "Kontron sl28cpld PWM support" |
| 479 | depends on MFD_SL28CPLD || COMPILE_TEST |
| 480 | help |
| 481 | Generic PWM framework driver for board management controller |
| 482 | found on the Kontron sl28 CPLD. |
| 483 | |
| 484 | To compile this driver as a module, choose M here: the module |
| 485 | will be called pwm-sl28cpld. |
| 486 | |
Shiraz Hashim | ce20364 | 2012-10-25 09:39:13 +0530 | [diff] [blame] | 487 | config PWM_SPEAR |
| 488 | tristate "STMicroelectronics SPEAr PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 489 | depends on PLAT_SPEAR || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 490 | depends on HAS_IOMEM && OF |
Shiraz Hashim | ce20364 | 2012-10-25 09:39:13 +0530 | [diff] [blame] | 491 | help |
| 492 | Generic PWM framework driver for the PWM controller on ST |
| 493 | SPEAr SoCs. |
| 494 | |
| 495 | To compile this driver as a module, choose M here: the module |
| 496 | will be called pwm-spear. |
| 497 | |
Baolin Wang | 8aae4b0 | 2019-08-14 20:46:11 +0800 | [diff] [blame] | 498 | config PWM_SPRD |
| 499 | tristate "Spreadtrum PWM support" |
| 500 | depends on ARCH_SPRD || COMPILE_TEST |
| 501 | depends on HAS_IOMEM |
| 502 | help |
| 503 | Generic PWM framework driver for the PWM controller on |
| 504 | Spreadtrum SoCs. |
| 505 | |
| 506 | To compile this driver as a module, choose M here: the module |
| 507 | will be called pwm-sprd. |
| 508 | |
Lee Jones | 378fe11 | 2014-07-14 15:33:27 +0100 | [diff] [blame] | 509 | config PWM_STI |
| 510 | tristate "STiH4xx PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 511 | depends on ARCH_STI || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 512 | depends on HAS_IOMEM && OF |
Lee Jones | 378fe11 | 2014-07-14 15:33:27 +0100 | [diff] [blame] | 513 | help |
| 514 | Generic PWM framework driver for STiH4xx SoCs. |
| 515 | |
| 516 | To compile this driver as a module, choose M here: the module |
| 517 | will be called pwm-sti. |
| 518 | |
Benjamin Gaignard | 7edf736 | 2017-01-20 10:15:05 +0100 | [diff] [blame] | 519 | config PWM_STM32 |
| 520 | tristate "STMicroelectronics STM32 PWM" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 521 | depends on MFD_STM32_TIMERS || COMPILE_TEST |
Benjamin Gaignard | 7edf736 | 2017-01-20 10:15:05 +0100 | [diff] [blame] | 522 | help |
| 523 | Generic PWM framework driver for STM32 SoCs. |
| 524 | |
| 525 | To compile this driver as a module, choose M here: the module |
| 526 | will be called pwm-stm32. |
| 527 | |
Fabrice Gasnier | e70a540 | 2017-08-28 12:04:09 +0200 | [diff] [blame] | 528 | config PWM_STM32_LP |
| 529 | tristate "STMicroelectronics STM32 PWM LP" |
| 530 | depends on MFD_STM32_LPTIMER || COMPILE_TEST |
| 531 | help |
| 532 | Generic PWM framework driver for STMicroelectronics STM32 SoCs |
| 533 | with Low-Power Timer (LPTIM). |
| 534 | |
| 535 | To compile this driver as a module, choose M here: the module |
| 536 | will be called pwm-stm32-lp. |
| 537 | |
Linus Walleij | ef1f09e | 2016-04-05 23:22:37 +0200 | [diff] [blame] | 538 | config PWM_STMPE |
| 539 | bool "STMPE expander PWM export" |
| 540 | depends on MFD_STMPE |
| 541 | help |
| 542 | This enables support for the PWMs found in the STMPE I/O |
| 543 | expanders. |
| 544 | |
Alexandre Belloni | 09853ce | 2014-12-17 22:15:39 +0100 | [diff] [blame] | 545 | config PWM_SUN4I |
| 546 | tristate "Allwinner PWM support" |
| 547 | depends on ARCH_SUNXI || COMPILE_TEST |
| 548 | depends on HAS_IOMEM && COMMON_CLK |
| 549 | help |
| 550 | Generic PWM framework driver for Allwinner SoCs. |
| 551 | |
| 552 | To compile this driver as a module, choose M here: the module |
| 553 | will be called pwm-sun4i. |
| 554 | |
Thierry Reding | 0134b93 | 2011-12-21 07:47:07 +0100 | [diff] [blame] | 555 | config PWM_TEGRA |
| 556 | tristate "NVIDIA Tegra PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 557 | depends on ARCH_TEGRA || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 558 | depends on HAS_IOMEM |
Thierry Reding | 0134b93 | 2011-12-21 07:47:07 +0100 | [diff] [blame] | 559 | help |
| 560 | Generic PWM framework driver for the PWFM controller found on NVIDIA |
| 561 | Tegra SoCs. |
| 562 | |
| 563 | To compile this driver as a module, choose M here: the module |
| 564 | will be called pwm-tegra. |
| 565 | |
Krzysztof Kozlowski | f24e564 | 2019-12-30 18:21:12 +0100 | [diff] [blame] | 566 | config PWM_TIECAP |
Philip, Avinash | 8e0cb05b | 2012-07-25 16:58:18 +0530 | [diff] [blame] | 567 | tristate "ECAP PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 568 | depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 569 | depends on HAS_IOMEM |
Philip, Avinash | 8e0cb05b | 2012-07-25 16:58:18 +0530 | [diff] [blame] | 570 | help |
Vignesh R | 6f37709 | 2018-10-16 11:34:02 +0530 | [diff] [blame] | 571 | PWM driver support for the ECAP APWM controller found on TI SOCs |
Philip, Avinash | 8e0cb05b | 2012-07-25 16:58:18 +0530 | [diff] [blame] | 572 | |
| 573 | To compile this driver as a module, choose M here: the module |
| 574 | will be called pwm-tiecap. |
| 575 | |
Krzysztof Kozlowski | f24e564 | 2019-12-30 18:21:12 +0100 | [diff] [blame] | 576 | config PWM_TIEHRPWM |
Philip, Avinash | 19891b2 | 2012-07-25 16:58:19 +0530 | [diff] [blame] | 577 | tristate "EHRPWM PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 578 | depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_K3 || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 579 | depends on HAS_IOMEM |
Philip, Avinash | 19891b2 | 2012-07-25 16:58:19 +0530 | [diff] [blame] | 580 | help |
Vignesh Raghavendra | efc80fb3 | 2019-03-12 14:46:29 +0530 | [diff] [blame] | 581 | PWM driver support for the EHRPWM controller found on TI SOCs |
Philip, Avinash | 19891b2 | 2012-07-25 16:58:19 +0530 | [diff] [blame] | 582 | |
| 583 | To compile this driver as a module, choose M here: the module |
| 584 | will be called pwm-tiehrpwm. |
| 585 | |
Peter Ujfalusi | 3744c26 | 2012-11-27 11:09:57 +0100 | [diff] [blame] | 586 | config PWM_TWL |
| 587 | tristate "TWL4030/6030 PWM support" |
| 588 | depends on TWL4030_CORE |
| 589 | help |
| 590 | Generic PWM framework driver for TWL4030/6030. |
| 591 | |
| 592 | To compile this driver as a module, choose M here: the module |
| 593 | will be called pwm-twl. |
| 594 | |
Peter Ujfalusi | aa76564 | 2012-11-27 11:09:58 +0100 | [diff] [blame] | 595 | config PWM_TWL_LED |
| 596 | tristate "TWL4030/6030 PWM support for LED drivers" |
| 597 | depends on TWL4030_CORE |
| 598 | help |
| 599 | Generic PWM framework driver for TWL4030/6030 LED terminals. |
| 600 | |
| 601 | To compile this driver as a module, choose M here: the module |
| 602 | will be called pwm-twl-led. |
| 603 | |
Sascha Hauer | a245cce | 2012-03-15 10:04:37 +0100 | [diff] [blame] | 604 | config PWM_VT8500 |
Thierry Reding | b133d2a | 2013-01-30 09:19:55 +0100 | [diff] [blame] | 605 | tristate "vt8500 PWM support" |
Krzysztof Kozlowski | e96c0ff | 2020-03-03 21:24:47 +0100 | [diff] [blame] | 606 | depends on ARCH_VT8500 || COMPILE_TEST |
Uwe Kleine-König | 71d4b83 | 2020-11-18 10:45:08 +0100 | [diff] [blame] | 607 | depends on HAS_IOMEM |
Sascha Hauer | a245cce | 2012-03-15 10:04:37 +0100 | [diff] [blame] | 608 | help |
| 609 | Generic PWM framework driver for vt8500. |
| 610 | |
| 611 | To compile this driver as a module, choose M here: the module |
| 612 | will be called pwm-vt8500. |
| 613 | |
Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 614 | endif |