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