LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <david-b@pacbell.net>,
Andrew Victor <linux@maxim.org.za>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Patrice Vilchez <patrice.vilchez@rfo.atmel.com>,
Richard Purdie <rpurdie@rpsys.net>,
linux-kernel@vger.kernel.org, kernel@avr32linux.org
Subject: [PATCH -mm 0/2] AVR32 PWM driver and example user
Date: Thu, 24 Jan 2008 15:33:43 +0100 [thread overview]
Message-ID: <1201185225-15789-1-git-send-email-hskinnemoen@atmel.com> (raw)
Two patches from David Brownell follow. The first one implements a
low-level driver/library for the PWM controller integrated on some
newer AVR32- and ARM-based chips from Atmel. The second one uses this
library to implement a LED driver with variable brightness.
There's currently no user of this LED driver, but it can be tested on
the ATSTK1000 by following the instructions here:
http://avr32linux.org/twiki/bin/view/Main/AtmelPwmDriver
Also, PWM functionality in the kernel has been requested by several
AVR32 users with custom boards (which we hopefully will see support
for in mainline later), and some AT91-based boards may be able to use
the PWM LED driver by default given some suitable platform- and board
code (David mentioned AT91SAM9263EK.) I'd appreciate some feedback
from AT91 people about this.
David Brownell (2):
Basic PWM driver for AVR32 and AT91
PWM LED driver
arch/avr32/mach-at32ap/at32ap700x.c | 54 +++++
drivers/leds/Kconfig | 7 +
drivers/leds/Makefile | 1 +
drivers/leds/leds-atmel-pwm.c | 157 +++++++++++++
drivers/misc/Kconfig | 9 +
drivers/misc/Makefile | 1 +
drivers/misc/atmel_pwm.c | 409 +++++++++++++++++++++++++++++++++
include/asm-avr32/arch-at32ap/board.h | 3 +
include/linux/atmel_pwm.h | 70 ++++++
9 files changed, 711 insertions(+), 0 deletions(-)
create mode 100644 drivers/leds/leds-atmel-pwm.c
create mode 100644 drivers/misc/atmel_pwm.c
create mode 100644 include/linux/atmel_pwm.h
next reply other threads:[~2008-01-24 14:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 14:33 Haavard Skinnemoen [this message]
2008-01-24 14:33 ` [PATCH -mm 1/2] Basic PWM driver for AVR32 and AT91 Haavard Skinnemoen
2008-01-24 14:33 ` [PATCH -mm 2/2] PWM LED driver Haavard Skinnemoen
2008-01-28 5:32 ` Andrew Morton
2008-01-28 9:15 ` Haavard Skinnemoen
2008-01-28 9:29 ` Andrew Morton
2008-01-28 9:32 ` Haavard Skinnemoen
2008-01-28 9:41 ` David Brownell
2008-01-24 20:53 ` [PATCH -mm 1/2] Basic PWM driver for AVR32 and AT91 David Brownell
2008-01-27 14:16 ` Haavard Skinnemoen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1201185225-15789-1-git-send-email-hskinnemoen@atmel.com \
--to=hskinnemoen@atmel.com \
--cc=akpm@linux-foundation.org \
--cc=david-b@pacbell.net \
--cc=kernel@avr32linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@maxim.org.za \
--cc=nicolas.ferre@atmel.com \
--cc=patrice.vilchez@rfo.atmel.com \
--cc=rpurdie@rpsys.net \
--subject='Re: [PATCH -mm 0/2] AVR32 PWM driver and example user' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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).