mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
b52fa7bc5d
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> |
||
---|---|---|
.. | ||
core.c | ||
Kconfig | ||
Makefile | ||
pwm-ab8500.c | ||
pwm-atmel-tcb.c | ||
pwm-bfin.c | ||
pwm-ep93xx.c | ||
pwm-imx.c | ||
pwm-jz4740.c | ||
pwm-lpc32xx.c | ||
pwm-mxs.c | ||
pwm-pca9685.c | ||
pwm-puv3.c | ||
pwm-pxa.c | ||
pwm-renesas-tpu.c | ||
pwm-samsung.c | ||
pwm-spear.c | ||
pwm-tegra.c | ||
pwm-tiecap.c | ||
pwm-tiehrpwm.c | ||
pwm-tipwmss.c | ||
pwm-tipwmss.h | ||
pwm-twl-led.c | ||
pwm-twl.c | ||
pwm-vt8500.c | ||
sysfs.c |