linux_old1/drivers/pwm
Mike Dunn b52fa7bc5d pwm: pxa: Add device tree support
This patch adds device tree support to the PXA's PWM driver.  Nothing
needs to be extracted from the device tree node by the PWM device.
Client devices need only specify the period; the per-chip index is
implicitly zero because one device node must be present for each PWM
output in use.  This approach is more convenient due to the wide
variability in the number of PWM channels present across the various PXA
variants, and is made possible by the fact that the register sets for
each PWM channel are segregated from each other.  An of_xlate() method
is added to parse this single-cell node.  The existing ID table is
reused for the match table data.

Tested on a Palm Treo 680 (both platform data and DT cases).

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2013-12-04 10:18:52 +01:00
..
Kconfig pwm: add ep93xx PWM support 2013-10-17 16:07:19 +02:00
Makefile pwm: add ep93xx PWM support 2013-10-17 16:07:19 +02:00
core.c pwm: Use the DT macro directly when parsing PWM DT flags 2013-09-03 13:08:10 +02:00
pwm-ab8500.c pwm: ab8500: Add .owner to struct pwm_ops 2013-04-02 11:29:11 +02:00
pwm-atmel-tcb.c pwm: atmel-tcb: fix max time computation for slow clk source 2013-09-19 14:04:32 +02:00
pwm-bfin.c pwm: Fill in missing .owner fields 2013-06-12 13:18:29 +02:00
pwm-ep93xx.c pwm: add ep93xx PWM support 2013-10-17 16:07:19 +02:00
pwm-imx.c pwm: imx: Remove redundant of_match_ptr 2013-10-08 15:49:38 +02:00
pwm-jz4740.c pwm: remove use of __devexit 2012-11-28 12:23:41 -08:00
pwm-lpc32xx.c pwm: lpc32xx: Remove redundant of_match_ptr 2013-10-08 15:49:19 +02:00
pwm-mxs.c pwm: mxs: Remove redundant of_match_ptr 2013-10-08 15:49:10 +02:00
pwm-pca9685.c pwm: pca9685: Fix wrong argument to set MODE1_SLEEP bit 2013-06-26 23:23:54 +02:00
pwm-puv3.c pwm: Fill in missing .owner fields 2013-06-12 13:18:29 +02:00
pwm-pxa.c pwm: pxa: Add device tree support 2013-12-04 10:18:52 +01:00
pwm-renesas-tpu.c pwm: simplify use of devm_ioremap_resource 2013-09-03 13:09:16 +02:00
pwm-samsung.c pwm: samsung: Fix kernel warning while unexporting a channel 2013-11-01 11:17:57 +01:00
pwm-spear.c pwm: simplify use of devm_ioremap_resource 2013-09-03 13:09:16 +02:00
pwm-tegra.c pwm: Fill in missing .owner fields 2013-06-12 13:18:29 +02:00
pwm-tiecap.c pwm: don't use devm_pinctrl_get_select_default() in probe 2013-10-15 12:16:35 +02:00
pwm-tiehrpwm.c pwm: don't use devm_pinctrl_get_select_default() in probe 2013-10-15 12:16:35 +02:00
pwm-tipwmss.c drivers/pwm: don't check resource with devm_ioremap_resource 2013-05-18 11:55:58 +02:00
pwm-tipwmss.h pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices 2013-03-22 11:35:20 +01:00
pwm-twl-led.c pwm: twl-led: Include linux/of.h header 2013-10-08 15:45:44 +02:00
pwm-twl.c pwm: twl: Include linux/of.h header 2013-10-08 15:45:44 +02:00
pwm-vt8500.c drivers/pwm: don't check resource with devm_ioremap_resource 2013-05-18 11:55:58 +02:00
sysfs.c pwm: convert class code to use dev_groups 2013-07-29 09:08:33 +02:00