- 30 1月, 2015 2 次提交
-
-
由 Naidu Tellapati 提交于
The Pistachio SOC from Imagination Technologies includes a Pulse Width Modulation DAC which produces 1 to 4 digital bit-outputs which represent digital waveforms. These PWM outputs are primarily in charge of controlling backlight LED devices. Reviewed-by: NAndrew Bresticker <abrestic@chromium.org> Signed-off-by: NNaidu Tellapati <Naidu.Tellapati@imgtec.com> Signed-off-by: NSai Masarapu <Sai.Masarapu@imgtec.com> Signed-off-by: NEzequiel Garcia <ezequiel.garcia@imgtec.com> Reviewed-by: NVladimir Zapolskiy <vladimir_zapolskiy@mentor.com> [thierry.reding: fixup license header as discussed on list] Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
由 Alexandre Belloni 提交于
This adds a generic PWM framework driver for the PWM controller found on Allwinner SoCs. Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 17 11月, 2014 2 次提交
-
-
由 Boris Brezillon 提交于
The HLCDC IP available in some Atmel SoCs (i.e. at91sam9x5, at91sam9n12 or sama5d3 families for instance) provides a PWM device. This driver add support for a PWM chip exposing a single PWM device (which will most likely be used to drive a backlight device). Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com> Tested-by: NAnthony Harivel <anthony.harivel@emtrion.de> Tested-by: NLudovic Desroches <ludovic.desroches@atmel.com> Acked-by: NThierry Reding <thierry.reding@gmail.com> Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
由 Bart Tanghe 提交于
Add PWM driver for Broadcom BCM2835 processor (Raspberry Pi) Signed-off-by: NBart Tanghe <bart.tanghe@thomasmore.be> Acked-by: NStephen Warren <swarren@wwwdotorg.org> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 23 8月, 2014 1 次提交
-
-
由 Andy Shevchenko 提交于
The driver consists of core, PCI, and platform parts. It would be better to split them into separate files. The platform driver is now called pwm-lpss-platform. Thus, previously set CONFIG_PWM_LPSS=m is not enough to build it. But we are on the safe side since it seems no one from outside Intel is using it for now. While here, move to use macros module_pci_driver() and module_platform_driver(). Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com> Acked-by: NAlan Cox <alan@linux.intel.com> [thierry.reding: change select to depends on PWM_LPSS, cleanup] Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 07 8月, 2014 1 次提交
-
-
由 Lee Jones 提交于
This driver supports all current STi platforms' PWM IPs. Signed-off-by: NAjit Pal Singh <ajitpal.singh@st.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> [thierry.reding: rename module to pwm-sti, fix build breakage] Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 11 7月, 2014 1 次提交
-
-
由 Beniamino Galvani 提交于
This commit adds a driver for the PWM controller found on Rockchip RK29, RK30 and RK31 SoCs. Signed-off-by: NBeniamino Galvani <b.galvani@gmail.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 28 4月, 2014 1 次提交
-
-
由 Tim Kryger 提交于
Add support for the six-channel Kona PWM controller found on Broadcom mobile SoCs like bcm281xx. Signed-off-by: NTim Kryger <tim.kryger@linaro.org> Reviewed-by: NAlex Elder <elder@linaro.org> Reviewed-by: NMarkus Mayer <markus.mayer@linaro.org> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 01 4月, 2014 1 次提交
-
-
由 Mika Westerberg 提交于
Add support for Intel Low Power I/O subsystem PWM controllers found on Intel BayTrail SoC. Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: NChew, Kean Ho <kean.ho.chew@intel.com> Signed-off-by: NChang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: NChew, Chiau Ee <chiau.ee.chew@intel.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 19 3月, 2014 2 次提交
-
-
由 Alexander Shiyan 提交于
Add a new driver for the ARM CLPS711X Pulse Width Modulator (PWM) interface. This CPU contain two 4-bit PWM outputs with constant period, based on CPU PLL frequency. PWM polarity is determined by hardware by power on reset. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
由 Xiubo Li 提交于
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com> Signed-off-by: NAlison Wang <b18965@freescale.com> Signed-off-by: NJingchang Lu <b35083@freescale.com> Reviewed-by: NSascha Hauer <s.hauer@pengutronix.de> Reviewed-by: NYuan Yao <yao.yuan@freescale.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 21 1月, 2014 1 次提交
-
-
由 Milo Kim 提交于
This is the other of the LP3943 MFD driver. LP3943 can be used as a PWM generator, up to 2 channels. * Two PWM generators supported * Supported PWM operations request, free, config, enable and disable * Pin assignment A driver data, 'pin_used' is checked when a PWM is requested. If the output pin is already assigned, then returns as failure. If the pin is available, 'pin_used' is set. When the PWM is not used anymore, then it is cleared. It is defined as unsigned long type for atomic bit operation APIs, but only LSB 16bits are used because LP3943 has 16 outputs. Signed-off-by: NMilo Kim <milo.kim@ti.com> Acked-by: NThierry Reding <thierry.reding@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
-
- 17 12月, 2013 1 次提交
-
-
由 Bo Shen 提交于
Add a PWM framework driver for the PWM controller found on Atmel SoCs. Signed-off-by: NBo Shen <voice.shen@atmel.com> Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> [thierry.reding: coding style and other minor cleanups] Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 17 10月, 2013 1 次提交
-
-
由 H Hartley Sweeten 提交于
Remove the non-standard EP93xx PWM driver in drivers/misc and add a new driver for the PWM controllers on the EP93xx platform based on the PWM framework. These PWM controllers each support 1 PWM channel with programmable duty cycle, frequency, and polarity inversion. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ryan Mallon <rmallon@gmail.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 13 8月, 2013 2 次提交
-
-
由 Tomasz Figa 提交于
This patch removes the now unused pwm-samsung-legacy driver, which was replaced by new pwm-samsung driver. Signed-off-by: NTomasz Figa <tomasz.figa@gmail.com> Reviewed-by: NSylwester Nawrocki <s.nawrocki@samsung.com> Tested-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NMark Brown <broonie@linaro.org> Tested-by: NSylwester Nawrocki <sylvester.nawrocki@gmail.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NThierry Reding <thierry.reding@gmail.com>
-
由 Tomasz Figa 提交于
This patch introduces new Samsung PWM driver, which is completely rewritten to be multiplatform- and DeviceTree-aware. In addition, remaining problems of old driver are fixed, such as: - proper handling of hardware variants, - synchronization on SMP systems, - handling of boundary parameter values, - hardware sharing with PWM clocksource driver, - undefined state of PWM output after stopping PWM channel. Signed-off-by: NTomasz Figa <tomasz.figa@gmail.com> Reviewed-by: NSylwester Nawrocki <s.nawrocki@samsung.com> Tested-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NMark Brown <broonie@linaro.org> Tested-by: NSylwester Nawrocki <sylvester.nawrocki@gmail.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NThierry Reding <thierry.reding@gmail.com>
-
- 06 8月, 2013 1 次提交
-
-
由 Tomasz Figa 提交于
This patch renames the old pwm-samsung driver to pwm-samsung-legacy to create place for the new, rewritten, DT-aware pwm-samsung driver. Signed-off-by: NTomasz Figa <tomasz.figa@gmail.com> Reviewed-by: NSylwester Nawrocki <s.nawrocki@samsung.com> Tested-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NMark Brown <broonie@linaro.org> Tested-by: NSylwester Nawrocki <sylvester.nawrocki@gmail.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NThierry Reding <thierry.reding@gmail.com>
-
- 21 6月, 2013 2 次提交
-
-
由 Laurent Pinchart 提交于
The Timer Pulse Unit (TPU) is a 4-channels 16-bit timer used to generate waveforms. This driver exposes PWM functions through the PWM API for other drivers to use. The code is loosely based on the leds-renesas-tpu driver by Magnus Damm and the TPU PWM driver shipped in the Armadillo EVA 800 kernel sources. Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: NAxel Lin <axel.lin@ingics.com> Tested-by: NSimon Horman <horms@verge.net.au> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
由 H Hartley Sweeten 提交于
Add a simple sysfs interface to the generic PWM framework. /sys/class/pwm/ `-- pwmchipN/ for each PWM chip |-- export (w/o) ask the kernel to export a PWM channel |-- npwm (r/o) number of PWM channels in this PWM chip |-- pwmX/ for each exported PWM channel | |-- duty_cycle (r/w) duty cycle (in nanoseconds) | |-- enable (r/w) enable/disable PWM | |-- period (r/w) period (in nanoseconds) | `-- polarity (r/w) polarity of PWM (normal/inversed) `-- unexport (w/o) return a PWM channel to the kernel Based on work by Lars Poeschel. Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Lars Poeschel <poeschel@lemonage.de> Cc: Ryan Mallon <rmallon@gmail.com> Cc: Rob Landley <rob@landley.net> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 12 6月, 2013 1 次提交
-
-
由 Steffen Trumtrar 提交于
Add pwm driver for the NXP pca9685 16 channel pwm-led controller. The driver is really barebones at this stage. E.g. the OE' pin and therefore the corresponding registers are not supported. The driver was tested on a HW where this pin is tied to GND. Signed-off-by: NSteffen Trumtrar <s.trumtrar@pengutronix.de> [thierry.reding@gmail.com: style and whitespace cleanups] Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 08 1月, 2013 1 次提交
-
-
由 Boris BREZILLON 提交于
This patch adds a PWM driver based on Atmel Timer Counter Block. The Timer Counter Block is used in Waveform generator mode. A Timer Counter Block provides up to 6 PWM devices grouped by 2: * group 0 = PWM 0 and 1 * group 1 = PWM 2 and 3 * group 2 = PMW 4 and 5 PWM devices in a given group must be configured with the same period value. If a PWM device in a group tries to change the period value and the other device is already configured with a different value an error will be returned. This driver requires device tree support. The Timer Counter Block number used to create a PWM chip is given by the tc-block field in an "atmel,tcb-pwm" compatible node. This patch was tested on kizbox board (at91sam9g20 SoC) with pwm-leds. Signed-off-by: NBoris BREZILLON <linux-arm@overkiz.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
- 28 11月, 2012 4 次提交
-
-
由 Peter Ujfalusi 提交于
This driver only supported the Charging indicator LED. New set of drivers going to provide support for both PWMs and LEDs for twl4030 and twl6030 series of PMICs. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Peter Ujfalusi 提交于
The driver supports the following LED outputs as generic PWM driver: TWL4030 LEDA and LEDB (PWMA and PWMB) TWL6030 Charging indicator LED (PWM LED) On TWL6030 when the PWM requested LED is configured to be controlled by SW. In this case the user can enable/disable and set the duty period freely. When the PWM has been freed, the LED driver is put back to HW control. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Peter Ujfalusi 提交于
The driver supports the following PWM outputs: TWL4030 PWM0 and PWM1 TWL6030 PWM1 and PWM2 On TWL4030 the PWM signals are muxed. Upon requesting the PWM the driver will select the correct mux so the PWM can be used. When the PWM has been freed the original configuration is going to be restored. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Philip, Avinash 提交于
In some platforms (like am33xx), PWM sub modules (ECAP, EHRPWM, EQEP) are integrated to PWM subsystem. These PWM submodules has resources shared and only one register bit-field is provided to control module/clock enable/disable, makes it difficult to handle common resources from independent PWMSS submodule drivers. So the solution here implemented in this patch is, to create driver for PWMSS and take the role of parent driver for PWM submodules. PWMSS parent driver enumerates all the child nodes under PWMSS module. Also symbol "pwmss_submodule_state_change" exported to enable clock gating for individual PWMSS submodules, and submodule drivers has to enable clock gating from their drivers. As this is only supported during DT boot, the parent/child relationship is created and populated in DT execution flow. The only required change is inside DTS file, making EHRPWM & ECAP as a child to PWMSS node. Signed-off-by: NPhilip, Avinash <avinashphilip@ti.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
- 23 11月, 2012 1 次提交
-
-
由 Shiraz Hashim 提交于
Add support for PWM chips present on SPEAr platforms. These PWM chips support 4 channel output with programmable duty cycle and frequency. More details on these PWM chips can be obtained from relevant chapter of reference manual, present at following[1] location. 1. http://www.st.com/internet/mcu/product/251211.jsp Cc: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: NShiraz Hashim <shiraz.hashim@st.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Reviewed-by: NVipin Kumar <vipin.kumar@st.com> Acked-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
- 06 10月, 2012 2 次提交
-
-
由 Thierry Reding 提交于
This commit moves the driver to drivers/pwm and converts it to the new PWM framework. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Acked-by: NLars-Peter Clausen <lars@metafoo.de> Tested-by: NLars-Peter Clausen <lars@metafoo.de> Acked-by: NRalf Baechle <ralf@linux-mips.org>
-
由 Thierry Reding 提交于
This commit moves the driver to drivers/pwm and converts it to the new PWM framework. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Tested-by: NQin Rui <qinrui@mprc.pku.edu.cn> Acked-by: NGuan Xuetao <gxt@mprc.pku.edu.cn>
-
- 20 9月, 2012 1 次提交
-
-
由 Thierry Reding 提交于
This commit moves the driver to drivers/pwm and converts it to the new PWM framework. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NArun Murthy <arun.murthy@stericsson.com>
-
- 19 9月, 2012 1 次提交
-
-
由 Thierry Reding 提交于
This commit moves the driver to drivers/pwm and converts it to the new PWM framework. In order for this to work properly, register the PWM as child of the multi-function TWL6030 device. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Acked-by: NPeter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 26 7月, 2012 2 次提交
-
-
由 Philip, Avinash 提交于
Enhanced high resolution PWM module (EHRPWM) hardware can be used to generate PWM output over 2 channels. This commit adds PWM driver support for EHRPWM device present on AM33XX SOC. Current implementation supports simple PWM functionality. Reviewed-by: NVaibhav Bedia <vaibhav.bedia@ti.com> Signed-off-by: NPhilip, Avinash <avinashphilip@ti.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Philip, Avinash 提交于
ECAP hardware on AM33XX SOC supports auxiliary PWM (APWM) feature. This commit adds PWM driver support for ECAP hardware on AM33XX SOC. In the ECAP hardware, each PWM pin can also be configured to be in capture mode. Current implementation only supports PWM mode of operation. Also, hardware supports sync between multiple PWM pins but the driver supports simple independent PWM functionality. Reviewed-by: NVaibhav Bedia <vaibhav.bedia@ti.com> Signed-off-by: NPhilip, Avinash <avinashphilip@ti.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
- 23 7月, 2012 1 次提交
-
-
Add lpc32xx SOC PWM driver. Signed-off-by: NAlexandre Pereira da Silva <aletes.xgr@gmail.com> Acked-by: NRoland Stigge <stigge@antcom.de> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
- 03 7月, 2012 7 次提交
-
-
由 Shawn Guo 提交于
Add generic PWM framework driver (DT only) for Freescale MXS. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NShawn Guo <shawn.guo@linaro.org> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Sascha Hauer 提交于
Move the driver to drivers/pwm/ and convert it to use the framework. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Cc: Alexey Charkov <alchark@gmail.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Sascha Hauer 提交于
Move the driver to drivers/pwm/ and convert it to use the framework. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> [eric@eukrea.com: fix pwmchip_add return code test] Signed-off-by: NEric Bénard <eric@eukrea.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Sascha Hauer 提交于
Move the driver to drivers/pwm/ and convert it to use the framework. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de> [eric@eukrea.com: set chip.dev to prevent probe failure] [eric@eukrea.com: fix pwmchip_add return code test] Signed-off-by: NEric Bénard <eric@eukrea.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Thierry Reding 提交于
This commit moves the PXA PWM driver to the drivers/pwm subdirectory and converts it to use the new PWM framework. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Thierry Reding 提交于
This commit moves the Blackfin PWM driver to the drivers/pwm sub- directory and converts it to register with the new PWM framework. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-
由 Thierry Reding 提交于
This commit adds a generic PWM framework driver for the PWFM controller found on NVIDIA Tegra SoCs. The driver is based on code from the Chromium kernel tree and was originally written by Gary King (NVIDIA) and later modified by Simon Que (Chromium). Acked-by: NStephen Warren <swarren@wwwdotorg.org> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-