aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-01-28sh: Split out processor.h in to _32 and _64 variants.Paul Mundt4-269/+293
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: SH-5 pt_regs.Paul Mundt1-6/+22
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out arch/sh/kernel/process.c for _32 and _64 variants.Paul Mundt3-2/+2
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Have 32-bit use arch/sh/kernel/Makefile_32.Paul Mundt2-25/+30
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move in the SH-5 mmu_context headers.Paul Mundt5-271/+173
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Kill off lib64 version of io.c.Paul Mundt2-138/+6
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move sh32 optimized I/O routines to arch/sh/lib/Paul Mundt3-68/+83
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: SH-5 byteorder routines.Paul Mundt1-15/+30
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Consolidate CPU features in Kconfig.cpu.Paul Mundt3-118/+104
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: SH-5 version of current_thread_info().Paul Mundt1-2/+4
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out irqflags.h in to _32 and _64 variants.Paul Mundt4-93/+188
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out asm/string.h for sh32 and sh64.Paul Mundt3-131/+136
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add SH-5 support to io.h.Paul Mundt1-16/+22
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add in cacheflush and DMA headers for SH-5.Paul Mundt2-16/+6
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh64: Kill off arch/sh64/oprofile.Paul Mundt2-35/+0
The same implementation exists in arch/sh/oprofile, so get rid of this version. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move sh64 board defconfigs to arch/sh/configs.Paul Mundt3-0/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move sh64 boards to arch/sh/.Paul Mundt9-0/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Correct SH-5 instruction size value.Paul Mundt1-1/+3
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add cache definitions for SH-5.Paul Mundt1-53/+8
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add addrspace.h segmentation stub for SH-5.Paul Mundt1-0/+6
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: BUGFLAG_WARNING needs GENERIC_BUG.Paul Mundt1-2/+2
Move the HAVE_ARCH_BUG/HAVE_ARCH_WARN_ON definitions underneath CONFIG_GENERIC_BUG. This is needed for BUGFLAG_WARNING usage. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Fix up fixmap location for SH-5.Paul Mundt1-0/+4
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add SH-5 support to asm/module.h.Paul Mundt1-0/+4
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Switch Kconfig.sh64 to use arch/sh/mm/Kconfig.Paul Mundt2-21/+14
Consolidates the HUGETLB definitions and others. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Plug SH-5 in to arch/sh/Makefile.Paul Mundt1-2/+6
Adds the ISA tuning and a lib64 rule. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move arch/sh64/lib to arch/sh/lib64.Paul Mundt12-0/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move the sh64 Kconfig to arch/sh/Kconfig.sh64.Paul Mundt1-0/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out cache status bits per-CPU family.Paul Mundt5-5/+20
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Split out PXSEG segmentation per-CPU family.Paul Mundt5-23/+39
The CPU family abstraction already exists, so move out the PXSEG definition for each one. SH-2A already has this special cased, and SH-5 will as well. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Add a SUPERH32 config symbol.Paul Mundt1-0/+3
We need to differentiate from SUPERH64, so add a SUPERH32 for regular sh. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Move CPU subtypes to Kconfig.sh.Paul Mundt2-190/+190
We intend to share the mm options, so move the SH-only subtypes up a level. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh: Rename Kconfig to Kconfig.sh.Paul Mundt1-0/+0
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28sh64: Use the generic rtc-sh driver.Paul Mundt1-129/+67
Rip out the sh64-specific RTC bits, use rtc-sh instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28rtc: rtc-sh: SH-5 support.Paul Mundt2-2/+6
Trivial support for the SH-5 (sh64) on-chip RTC. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6Linus Torvalds91-760/+2763
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (54 commits) MAINTIANERS: just use Mike gmail e-mail for contact and pawn the serial driver off onto Sonic [Blackfin] arch: remove old I2C BF54x porting. [Blackfin] arch: Add the semtimedop syscall. Upstream uClibc doesn't compile without it. [Blackfin] arch: fix bug kernel boot message: memory information is not reasonable [Blackfin] arch: use common flash driver to setup partitions rather than the bf5xx-flash driver [Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to boot up [Blackfin] arch: Fix bug Only RTC interrupt can wake up deeper sleep core. [Blackfin] arch: Add proper SW System Reset delay sequence [Blackfin] arch: Update copyright date [Blackfin] arch: GPIO API cleanup and anomaly update [Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with GENERIC_GPIO API interface [Blackfin] arch: Initial checkin of the memory protection support. [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option [Blackfin] arch: Add some comments - fix semicolons [Blackfin] arch: move all code related to CPLB handling into a new subdirectory under kernel/ [Blackfin] arch: print out list of modules if kernel is crashing and tell people if the kernel is tainted [Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, EZKIT-BF533 and EZKIT-BF561 boards [Blackfin] arch: Don't oops_in_progress if single step is comming from the kernel [Blackfin] arch: Fix BUG - kernel sometimes would stuck with KEYBOARD_GPIO on [Blackfin] arch: update to latest anomaly sheets ...
2008-01-27i2c-bfin-twi: Register adapter with a specific bus numberKalle Pokki1-1/+2
All the users of this driver explicitly specify the I2C bus numbers to be used in their platform data. Make the driver respect that. Signed-off-by: Kalle Pokki <kalle.pokki@eke.fi> Cc: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c-au1550: Convert to platform driverManuel Lauss3-96/+123
Convert the i2c-au1550 bus driver to platform driver, and register a platform device for the Alchemy Db/Pb series of boards. Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c-au1550: properly terminate zero-byte transfersManuel Lauss1-3/+8
Zero-bytes transfers would leave the bus transaction unfinished (no i2c stop is sent), with the following transfer actually sending the slave address to the previously addressed device, resulting in weird device failures (e.g. reset minute register values in my RTC). This patch instructs the controller to send an I2C STOP right after the slave address in case of a zero-byte transfer. Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27mpc-i2c: Propagate error values properlyJon Smirl1-12/+16
Propagate the error values returned by i2c_wait() instead of overriding them with a meaningless -1. Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c: Add i2c_new_dummy() utilityDavid Brownell2-1/+64
This adds a i2c_new_dummy() primitive to help work with devices that consume multiple addresses, which include many I2C eeproms and at least one RTC. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c: Drop legacy locking in i2c_new_probed_deviceJean Delvare1-2/+0
It is no longer required to hold adapter->clist_lock to call i2c_check_addr. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <david-b@pacbell.net>
2008-01-27i2c: Limit locking scope in i2c_detach_clientJean Delvare1-1/+2
We only need to hold adapter->clist_lock when we touch the client list. Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c-remove-redundant-i2c_client-list.patchDavid Brownell1-14/+8
This goes on top of the patch removing most i2c_adapter.clients usage, updating i2c_attach_client: - Don't call device_register() while holding clist_lock. This removes a self-deadlock when on the i2c_driver.probe() path, for drivers that need to attach new devices (e.g. dummies). - Remove a redundant address check. The driver model core does this as a consequence of guaranteeing unique names. - Move the "device registered" diagnostic so that it never lies; previously, on error paths it would falsely report success. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c: Drivers stop using the redundant client listJean Delvare2-19/+40
The redundant i2c client list maintained by i2c-core is going away soon, so drivers should stop using it now. Instead, they can use the standard iterator provided by the device driver model (device_for_each_child). Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: David Brownell <david-b@pacbell.net> Cc: Michael Hunold <michael@mihu.de>
2008-01-27i2c: Stop using the redundant client listDavid Brownell3-52/+63
The i2c_adapter.clients list of i2c_client nodes duplicates driver model state. This patch starts removing that list, letting us remove most existing users of those i2c-core lists. * The core I2C code now iterates over the driver model's list instead of the i2c-internal one in some places where it's safe: - Passing a command/ioctl to each client, a mechanims used almost exclusively by DVB adapters; - Device address checking, in both i2c-core and i2c-dev. * Provide i2c_verify_client() to use with driver model iterators. * Flag the relevant i2c_adapter and i2c_client fields as deprecated, to help prevent new users from appearing. For the moment the list needs to stick around, since some issues show up when deleting devices created by legacy I2C drivers. (They don't follow standard driver model rules. Removing those devices can cause self-deadlocks.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c-viapro: Add support for the VT8237SJean Delvare3-3/+8
Add support for another variant of the VT8237. I couldn't test I2C block support but I assume it is present as well. Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c-piix4: Drop redundant PCI function number checkJean Delvare1-26/+15
Checking the PCI function number doesn't add any value, and it makes adding dynamic IDs to the driver more difficult. Drop this check. Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c: Let the user specify PCI driver data through new_idJean Delvare2-0/+10
The i2c-amd756 and i2c-viapro drivers make use of the driver_data field of the PCI device ID. When adding device IDs dynamically (by writing to the new_id sysfs file) you cannot set the value of this field by default. It has to be allowed explicitly. Do that, and check the value so that the user can't crash the kernel accidentally. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-01-27i2c-pxa: Add polling transferMike Rapoport3-12/+133
Add polling I2C transfer implementation for PXA I2C. This is needed for cases where I2C transactions have to occur at times interrups are disabled. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Acked-by: eric miao <eric.miao@marvell.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-01-27i2c: Support i2c_transfer in atomic contextsMike Rapoport1-1/+11
Allow i2c_transfer to be called in contexts where sleeping is not allowed. It is the reponsability of the caller to ensure that the underlying i2c bus driver will not sleep either. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Jean Delvare <khali@linux-fr.org>