linux-stable/drivers/misc
David Brownell 2a341f5cf5 atmel_tc library
Create <linux/atmel_tc.h> based on <asm-arm/arch-at91/at91-tc.h> and the
at91sam9263 and at32ap7000 datasheets.  Most AT91 and AT32 SOCs have one
or two of these TC blocks, which include three 16-bit timers that can be
interconnected in various ways.

These TC blocks can be used for external interfacing (such as PWM and
measurement), or used as somewhat quirky sixteen-bit timers.

Changes relative to the original version:
  * Drop unneeded inclusion of <linux/mutex.h>
  * Support an arbitrary number of TC blocks
  * Return a struct with information about a TC block from
    atmel_tc_alloc() instead of using a combination of return values
    and "out" parameters.
  * ioremap() the I/O registers on allocation
  * Look up clocks and irqs for all channels
  * Add "name" parameter to atmel_tc_alloc() and use this when
    requesting the iomem resource.
  * Check if the platform provided the necessary resources at probe()
    time instead of when the TCB is allocated.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2008-03-04 13:41:23 +01:00
..
hdpuftrs
ibmasm kobject: convert ibmasm to use kref, not kobject 2008-01-24 20:40:08 -08:00
acer-wmi.c acer-wmi: Add DMI match for mail LED on Acer TravelMate 4200 series 2008-02-16 00:47:13 -05:00
asus-laptop.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-02-07 09:45:58 -08:00
atmel-ssc.c Driver for the Atmel on-chip SSC on AT32AP and AT91 2007-10-17 08:42:47 -07:00
atmel_pwm.c Basic PWM driver for AVR32 and AT91 2008-02-08 09:22:38 -08:00
atmel_tclib.c atmel_tc library 2008-03-04 13:41:23 +01:00
eeprom_93cx6.c
enclosure.c [SCSI] enclosure: add support for enclosure services 2008-02-07 18:04:10 -06:00
fujitsu-laptop.c Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
intel_menlow.c intel_menlo: extract return values using PTR_ERR 2008-02-15 18:29:30 -05:00
ioc4.c drivers/misc: Move misplaced pci_dev_put's 2007-11-14 18:45:39 -08:00
Kconfig atmel_tc library 2008-03-04 13:41:23 +01:00
lkdtm.c drivers/misc/lkdtm.c: cleanups 2008-02-06 10:41:03 -08:00
Makefile atmel_tc library 2008-03-04 13:41:23 +01:00
msi-laptop.c Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
phantom.c phantom: don't grab other devices 2008-02-06 10:41:10 -08:00
sony-laptop.c sony-laptop: fix scancode decode 2008-01-24 00:47:29 -05:00
tc1100-wmi.c tc1100-wmi: Add driver for HP Compaq TC1100 Tablets 2008-02-05 15:07:16 -05:00
thinkpad_acpi.c ACPI: thinkpad-acpi: add tablet-mode reporting 2008-02-16 00:34:06 -05:00
tifm_7xx1.c memstick: initial commit for Sony MemoryStick support 2008-02-09 11:08:34 -08:00
tifm_core.c memstick: initial commit for Sony MemoryStick support 2008-02-09 11:08:34 -08:00