Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 1 | menuconfig PWM |
Thierry Reding | b817bf5 | 2012-08-16 08:01:21 +0200 | [diff] [blame] | 2 | bool "Pulse-Width Modulation (PWM) Support" |
Thierry Reding | 79c11b6 | 2012-08-31 08:29:24 +0200 | [diff] [blame^] | 3 | depends on !MACH_JZ4740 |
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 | |
Thierry Reding | 6173f8f | 2012-08-31 11:46:24 +0200 | [diff] [blame] | 32 | config PWM_AB8500 |
| 33 | tristate "AB8500 PWM support" |
| 34 | depends on AB8500_CORE && ARCH_U8500 |
| 35 | help |
| 36 | Generic PWM framework driver for Analog Baseband AB8500. |
| 37 | |
| 38 | To compile this driver as a module, choose M here: the module |
| 39 | will be called pwm-ab8500. |
| 40 | |
Thierry Reding | a4315e3 | 2012-01-02 20:53:50 +0100 | [diff] [blame] | 41 | config PWM_BFIN |
| 42 | tristate "Blackfin PWM support" |
| 43 | depends on BFIN_GPTIMERS |
| 44 | help |
| 45 | Generic PWM framework driver for Blackfin. |
| 46 | |
| 47 | To compile this driver as a module, choose M here: the module |
| 48 | will be called pwm-bfin. |
| 49 | |
Sascha Hauer | 2969324 | 2012-03-15 10:04:35 +0100 | [diff] [blame] | 50 | config PWM_IMX |
| 51 | tristate "i.MX pwm support" |
| 52 | depends on ARCH_MXC |
| 53 | help |
| 54 | Generic PWM framework driver for i.MX. |
| 55 | |
| 56 | To compile this driver as a module, choose M here: the module |
| 57 | will be called pwm-imx. |
| 58 | |
Alexandre Pereira da Silva | 2132fa8 | 2012-07-10 11:38:10 -0300 | [diff] [blame] | 59 | config PWM_LPC32XX |
| 60 | tristate "LPC32XX PWM support" |
| 61 | depends on ARCH_LPC32XX |
| 62 | help |
| 63 | Generic PWM framework driver for LPC32XX. The LPC32XX SOC has two |
| 64 | PWM controllers. |
| 65 | |
| 66 | To compile this driver as a module, choose M here: the module |
| 67 | will be called pwm-lpc32xx. |
| 68 | |
Shawn Guo | 4dce82c | 2012-04-04 10:50:52 +0800 | [diff] [blame] | 69 | config PWM_MXS |
| 70 | tristate "Freescale MXS PWM support" |
| 71 | depends on ARCH_MXS && OF |
Shawn Guo | 01bf32e | 2012-06-26 16:58:09 +0800 | [diff] [blame] | 72 | select STMP_DEVICE |
Shawn Guo | 4dce82c | 2012-04-04 10:50:52 +0800 | [diff] [blame] | 73 | help |
| 74 | Generic PWM framework driver for Freescale MXS. |
| 75 | |
| 76 | To compile this driver as a module, choose M here: the module |
| 77 | will be called pwm-mxs. |
| 78 | |
Thierry Reding | 79c11b6 | 2012-08-31 08:29:24 +0200 | [diff] [blame^] | 79 | config PWM_PUV3 |
| 80 | tristate "PKUnity NetBook-0916 PWM support" |
| 81 | depends on ARCH_PUV3 |
| 82 | help |
| 83 | Generic PWM framework driver for PKUnity NetBook-0916. |
| 84 | |
| 85 | To compile this driver as a module, choose M here: the module |
| 86 | will be called pwm-puv3. |
| 87 | |
Thierry Reding | 17b2b47 | 2012-01-02 21:22:38 +0100 | [diff] [blame] | 88 | config PWM_PXA |
| 89 | tristate "PXA PWM support" |
| 90 | depends on ARCH_PXA |
| 91 | help |
| 92 | Generic PWM framework driver for PXA. |
| 93 | |
| 94 | To compile this driver as a module, choose M here: the module |
| 95 | will be called pwm-pxa. |
| 96 | |
Sascha Hauer | 215c29d | 2012-03-15 10:04:36 +0100 | [diff] [blame] | 97 | config PWM_SAMSUNG |
| 98 | tristate "Samsung pwm support" |
| 99 | depends on PLAT_SAMSUNG |
| 100 | help |
| 101 | Generic PWM framework driver for Samsung. |
| 102 | |
| 103 | To compile this driver as a module, choose M here: the module |
| 104 | will be called pwm-samsung. |
| 105 | |
Thierry Reding | 0134b93 | 2011-12-21 07:47:07 +0100 | [diff] [blame] | 106 | config PWM_TEGRA |
| 107 | tristate "NVIDIA Tegra PWM support" |
| 108 | depends on ARCH_TEGRA |
| 109 | help |
| 110 | Generic PWM framework driver for the PWFM controller found on NVIDIA |
| 111 | Tegra SoCs. |
| 112 | |
| 113 | To compile this driver as a module, choose M here: the module |
| 114 | will be called pwm-tegra. |
| 115 | |
Philip, Avinash | 8e0cb05 | 2012-07-25 16:58:18 +0530 | [diff] [blame] | 116 | config PWM_TIECAP |
| 117 | tristate "ECAP PWM support" |
| 118 | depends on SOC_AM33XX |
| 119 | help |
| 120 | PWM driver support for the ECAP APWM controller found on AM33XX |
| 121 | TI SOC |
| 122 | |
| 123 | To compile this driver as a module, choose M here: the module |
| 124 | will be called pwm-tiecap. |
| 125 | |
Philip, Avinash | 19891b2 | 2012-07-25 16:58:19 +0530 | [diff] [blame] | 126 | config PWM_TIEHRPWM |
| 127 | tristate "EHRPWM PWM support" |
| 128 | depends on SOC_AM33XX |
| 129 | help |
| 130 | PWM driver support for the EHRPWM controller found on AM33XX |
| 131 | TI SOC |
| 132 | |
| 133 | To compile this driver as a module, choose M here: the module |
| 134 | will be called pwm-tiehrpwm. |
| 135 | |
Sascha Hauer | a245cce | 2012-03-15 10:04:37 +0100 | [diff] [blame] | 136 | config PWM_VT8500 |
| 137 | tristate "vt8500 pwm support" |
| 138 | depends on ARCH_VT8500 |
| 139 | help |
| 140 | Generic PWM framework driver for vt8500. |
| 141 | |
| 142 | To compile this driver as a module, choose M here: the module |
| 143 | will be called pwm-vt8500. |
| 144 | |
Sascha Hauer | 0c2498f | 2011-01-28 09:40:40 +0100 | [diff] [blame] | 145 | endif |