All of lore.kernel.org
 help / color / mirror / Atom feed
* [PWM v3: 0/3] Proposal for a generic PWM API
@ 2011-02-10 15:53 Bill Gatliff
  2011-02-10 15:53 ` [PWM v3: 1/3] PWM: Implement a generic PWM framework Bill Gatliff
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Bill Gatliff @ 2011-02-10 15:53 UTC (permalink / raw)
  To: linux-embedded; +Cc: Bill Gatliff

This patch series contains the third attempt at implementation of
a generic PWM device interface framework.  Think gpiolib, but for
devices and pseudo-devices that generate pulse-wave-modulated outputs.

Functionally-speaking, this series has regressed somewhat from
previous versions because I am currently focusing my attention on the
API itself.  I include only implementations for GPIO+hrtimer devices
and the Atmel PWMC peripheral as references in this series; I will
post patches for LED drivers, PXA, Samsung, etc. devices once I know
that the API itself is on its way to mainline.  (I believe that the
two reference implementations sufficiently confirm the utility of the
API itself).

The code in this series is significantly clearer and more
straightforward than previous versions.  Thanks to everyone who helped
me with this refactoring!  I'm pretty convinced that the code you see
here is at last suitable for pulling into mainline.

Finally, the attached code CAN be used to control devices that drive
stepper motors and the like, but doing so is discouraged as I am
anticipating a request to develop an API specifically for such
situations.


Regards,


b.g.



Bill Gatliff (3):
  PWM: Implement a generic PWM framework
  PWM: GPIO+hrtimer device emulation
  PWM: Atmel PWMC driver

 Documentation/pwm.txt    |  259 +++++++++++++++++++
 drivers/Kconfig          |    2 +
 drivers/Makefile         |    2 +
 drivers/pwm/Kconfig      |   28 ++
 drivers/pwm/Makefile     |    7 +
 drivers/pwm/atmel-pwmc.c |  520 ++++++++++++++++++++++++++++++++++++++
 drivers/pwm/gpio-pwm.c   |  354 ++++++++++++++++++++++++++
 drivers/pwm/pwm.c        |  619 ++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/pwm/pwm.h  |  163 ++++++++++++
 9 files changed, 1954 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/pwm.txt
 create mode 100644 drivers/pwm/Kconfig
 create mode 100644 drivers/pwm/Makefile
 create mode 100644 drivers/pwm/atmel-pwmc.c
 create mode 100644 drivers/pwm/gpio-pwm.c
 create mode 100644 drivers/pwm/pwm.c
 create mode 100644 include/linux/pwm/pwm.h

-- 
1.7.2.3

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

end of thread, other threads:[~2011-02-16 17:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 15:53 [PWM v3: 0/3] Proposal for a generic PWM API Bill Gatliff
2011-02-10 15:53 ` [PWM v3: 1/3] PWM: Implement a generic PWM framework Bill Gatliff
2011-02-10 20:39   ` Sascha Hauer
2011-02-11 18:22     ` Bill Gatliff
2011-02-12  5:48       ` Bill Gatliff
2011-02-14  8:03       ` Sascha Hauer
2011-02-14 16:56         ` Bill Gatliff
2011-02-16  8:18           ` Sascha Hauer
2011-02-16 17:00             ` Bill Gatliff
2011-02-10 15:53 ` [PWM v3: 2/3] PWM: GPIO+hrtimer device emulation Bill Gatliff
2011-02-10 15:53 ` [PWM v3: 3/3] PWM: Atmel PWMC driver Bill Gatliff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.