[PATCH RESEND v5 1/2] PWM: PXA: add device tree support to PWM driver
Thierry Reding
thierry.reding at gmail.com
Tue Dec 3 05:17:15 EST 2013
On Sat, Sep 21, 2013 at 12:19:33PM -0700, Mike Dunn wrote:
> 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 at newsguy.com>
> ---
> Documentation/devicetree/bindings/pwm/pxa-pwm.txt | 30 +++++++++++++
> drivers/pwm/pwm-pxa.c | 52 ++++++++++++++++++++++-
> 2 files changed, 81 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/devicetree/bindings/pwm/pxa-pwm.txt
Hi Mike,
It looks like this fell through the cracks. Is this patch still the
latest one you have? Should it still be applied?
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131203/ecdf98b7/attachment.sig>
More information about the linux-arm-kernel
mailing list