LWN.net Logo

Implements a common PWM API

From:  Bill Gatliff <bgat@billgatliff.com>
To:  linux-embedded@vger.kernel.org
Subject:  [PWM PATCH 0/5] Implements a common PWM API
Date:  Tue, 2 Feb 2010 01:14:51 -0600
Message-ID:  <cover.1265094517.git.bgat@billgatliff.com>
Cc:  linux-kernel@vger.kernel.org, Bill Gatliff <bgat@billgatliff.com>
Archive-link:  Article, Thread

This patch series implements a common PWM API.  This series incorporates
the feedback from the linux-embedded mailing list and elsewhere; the author
greatly appreciates the efforts of everyone who reviewed the previous version
of this code.

Bill Gatliff (5):
  API to consolidate PWM devices behind a common user and kernel
    interface
  Emulates PWM hardware using a high-resolution timer and a GPIO pin
  Expunge old Atmel PWMC driver, replacing it with one that conforms to
    the PWM API
  PWM-based LED control
  LED "dimmer" trigger

 Documentation/pwm.txt       |  260 ++++++++++++++++++
 drivers/leds/leds-pwm.c     |  224 +++++++++-------
 drivers/leds/ledtrig-dim.c  |   95 +++++++
 drivers/misc/Makefile       |    6 +-
 drivers/misc/atmel_pwm.c    |  409 ----------------------------
 drivers/pwm/atmel-pwm.c     |  589 ++++++++++++++++++++++++++++++++++++++++
 drivers/pwm/gpio.c          |  307 +++++++++++++++++++++
 drivers/pwm/pwm.c           |  633 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/pwm.h         |   31 --
 include/linux/pwm/pwm-led.h |   34 +++
 include/linux/pwm/pwm.h     |  170 ++++++++++++
 11 files changed, 2217 insertions(+), 541 deletions(-)
 create mode 100644 Documentation/pwm.txt
 create mode 100644 drivers/leds/ledtrig-dim.c
 delete mode 100644 drivers/misc/atmel_pwm.c
 create mode 100644 drivers/pwm/atmel-pwm.c
 create mode 100644 drivers/pwm/gpio.c
 create mode 100644 drivers/pwm/pwm.c
 delete mode 100644 include/linux/pwm.h
 create mode 100644 include/linux/pwm/pwm-led.h
 create mode 100644 include/linux/pwm/pwm.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds