linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PWM driver support for EHRPWM & ECAP
@ 2012-07-13  9:35 Philip, Avinash
  2012-07-13  9:35 ` [PATCH 1/2] PWM: ECAP: PWM driver support for ECAP APWM Philip, Avinash
  2012-07-13  9:35 ` [PATCH 2/2] PWM: EHRPWM: PWM driver support for EHRPWM Philip, Avinash
  0 siblings, 2 replies; 14+ messages in thread
From: Philip, Avinash @ 2012-07-13  9:35 UTC (permalink / raw)
  To: linux-arm-kernel

This patch series adds support for PWM driver support for EHRPWM
and ECAP modules which has been present on AM335x SOC. AM335X SOC has 3
instances of ECAP & EHRPWM.

EHRPWM device can be used to generate PWM waveforms. It has 2 channels of PWM
output and each can be configured for different duty cycle and polarity.

ECAP device can be used as either Capture or APWM mode. In APWM mode, ECAP
can generate PWM waveform.

Patch #1 adds Generic PWM driver support for simple APWM functionality of ECAP
ECAP hardware.

Patch #2 adds  PWM driver support for EHRPWM device.

This patch series is based on new PWM framework maintained at [1].

1. https://gitorious.org/linux-pwm/linux-pwm/trees/for-next
2. http://lists.infradead.org/pipermail/linux-arm-kernel/2012-June/104483.html

Philip, Avinash (2):
  PWM: ECAP: PWM driver support for ECAP APWM.
  PWM: EHRPWM: PWM driver support for EHRPWM.

 drivers/pwm/Kconfig      |   22 ++
 drivers/pwm/Makefile     |    2 +
 drivers/pwm/pwm-ecap.c   |  255 +++++++++++++++++++++++++
 drivers/pwm/pwm-ehrpwm.c |  476 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 755 insertions(+), 0 deletions(-)
 create mode 100644 drivers/pwm/pwm-ecap.c
 create mode 100644 drivers/pwm/pwm-ehrpwm.c

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-07-24  8:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13  9:35 [PATCH 0/2] PWM driver support for EHRPWM & ECAP Philip, Avinash
2012-07-13  9:35 ` [PATCH 1/2] PWM: ECAP: PWM driver support for ECAP APWM Philip, Avinash
2012-07-23  6:52   ` Thierry Reding
2012-07-23  9:10     ` Philip, Avinash
2012-07-23  9:22       ` Thierry Reding
2012-07-23 12:44         ` Philip, Avinash
2012-07-23 13:37           ` Thierry Reding
2012-07-24  7:52             ` Philip, Avinash
2012-07-24  8:07               ` Thierry Reding
2012-07-24  8:36                 ` Philip, Avinash
2012-07-24  8:48                   ` Thierry Reding
2012-07-13  9:35 ` [PATCH 2/2] PWM: EHRPWM: PWM driver support for EHRPWM Philip, Avinash
2012-07-23  7:42   ` Thierry Reding
2012-07-23  9:16     ` Philip, Avinash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).