14 Oct, 2006

2 commits


12 Oct, 2006

3 commits


09 Oct, 2006

3 commits


07 Oct, 2006

1 commit


05 Oct, 2006

5 commits

  • In order to initialize the serial console early, the atmel_serial
    driver had to do a hack where it compared the physical address of the
    port with an address known to be permanently mapped, and used it as a
    virtual address. This got around the limitation that ioremap() isn't
    always available when the console is being initalized.

    This patch removes that hack and replaces it with a new "regs" field
    in struct atmel_uart_data that the board-specific code can initialize
    to a fixed virtual mapping for platform devices where this is possible.
    It also initializes the DBGU's regs field with the address the driver
    used to check against.

    On AVR32, the "regs" field is initialized from the physical base
    address when this it can be accessed through a permanently 1:1 mapped
    segment, i.e. the P4 segment.

    If regs is NULL, the console initialization is delayed until the "real"
    driver is up and running and ioremap() can be used.

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Andrew Victor
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     
  • Rename at91_register_uart_fns and associated structs and variables
    to make it consistent with the atmel_ prefix used by the rest of
    the driver.

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Andrew Victor
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     
  • Rename the following public definitions:
    * AT91_NR_UART -> ATMEL_MAX_UART
    * struct at91_uart_data -> struct atmel_uart_data
    * at91_default_console_device -> atmel_default_console_device

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Andrew Victor
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     
  • Rename the following Kconfig symbols:
    * CONFIG_SERIAL_AT91 -> CONFIG_SERIAL_ATMEL
    * CONFIG_SERIAL_AT91_CONSOLE -> CONFIG_SERIAL_ATMEL_CONSOLE
    * CONFIG_SERIAL_AT91_TTYAT -> CONFIG_SERIAL_ATMEL_TTYAT

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Andrew Victor
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     
  • Move include/asm/arch/at91rm9200_usart.h into drivers/serial and rename
    it atmel_usart.h. Also delete AVR32's version of this file.

    Signed-off-by: Haavard Skinnemoen
    Acked-by: Andrew Victor
    Signed-off-by: Linus Torvalds

    Haavard Skinnemoen
     

04 Oct, 2006

3 commits


03 Oct, 2006

1 commit


02 Oct, 2006

2 commits

  • Some architectures provide an execve function that does not set errno, but
    instead returns the result code directly. Rename these to kernel_execve to
    get the right semantics there. Moreover, there is no reasone for any of these
    architectures to still provide __KERNEL_SYSCALLS__ or _syscallN macros, so
    remove these right away.

    [akpm@osdl.org: build fix]
    [bunk@stusta.de: build fix]
    Signed-off-by: Arnd Bergmann
    Cc: Andi Kleen
    Acked-by: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Russell King
    Cc: Ian Molton
    Cc: Mikael Starvik
    Cc: David Howells
    Cc: Yoshinori Sato
    Cc: Hirokazu Takata
    Cc: Ralf Baechle
    Cc: Kyle McMartin
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: Kazumoto Kojima
    Cc: Richard Curnow
    Cc: William Lee Irwin III
    Cc: "David S. Miller"
    Cc: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Cc: Miles Bader
    Cc: Chris Zankel
    Cc: "Luck, Tony"
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Signed-off-by: Adrian Bunk
    Cc: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnd Bergmann
     
  • Add the ability to have pxafb use only certain fixed video modes
    (selected on a per platform basis). This is useful on production
    hardware such as the Zaurus cxx00 models where the valid modes are
    known in advance and any other modes could result in hardware damage.

    Following this, add support for the cxx00 QVGA mode. Mode information
    is passed to the lcd_power call to allowing the panel drivers to
    configure the display hardware accordingly (corgi_lcd already contains
    the functionality for the cxx00 panel).

    This mirrors the setup already used by w100fb.

    Signed-off-by: Richard Purdie
    Signed-off-by: Russell King

    Richard Purdie
     

01 Oct, 2006

1 commit

  • On systems running with virtual cpus there is optimization potential in
    regard to spinlocks and rw-locks. If the virtual cpu that has taken a lock
    is known to a cpu that wants to acquire the same lock it is beneficial to
    yield the timeslice of the virtual cpu in favour of the cpu that has the
    lock (directed yield).

    With CONFIG_PREEMPT="n" this can be implemented by the architecture without
    common code changes. Powerpc already does this.

    With CONFIG_PREEMPT="y" the lock loops are coded with _raw_spin_trylock,
    _raw_read_trylock and _raw_write_trylock in kernel/spinlock.c. If the lock
    could not be taken cpu_relax is called. A directed yield is not possible
    because cpu_relax doesn't know anything about the lock. To be able to
    yield the lock in favour of the current lock holder variants of cpu_relax
    for spinlocks and rw-locks are needed. The new _raw_spin_relax,
    _raw_read_relax and _raw_write_relax primitives differ from cpu_relax
    insofar that they have an argument: a pointer to the lock structure.

    Signed-off-by: Martin Schwidefsky
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Haavard Skinnemoen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     

30 Sep, 2006

3 commits

  • Signed-off-by: Kevin Hilman
    Signed-off-by: Russell King

    Kevin Hilman
     
  • Pass ticks to do_timer() and update_times(), and adjust x86_64 and s390
    timer interrupt handler with this change.

    Currently update_times() calculates ticks by "jiffies - wall_jiffies", but
    callers of do_timer() should know how many ticks to update. Passing ticks
    get rid of this redundant calculation. Also there are another redundancy
    pointed out by Martin Schwidefsky.

    This cleanup make a barrier added by
    5aee405c662ca644980c184774277fc6d0769a84 needless. So this patch removes
    it.

    As a bonus, this cleanup make wall_jiffies can be removed easily, since now
    wall_jiffies is always synced with jiffies. (This patch does not really
    remove wall_jiffies. It would be another cleanup patch)

    Signed-off-by: Atsushi Nemoto
    Cc: Martin Schwidefsky
    Cc: "Eric W. Biederman"
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: john stultz
    Cc: Andi Kleen
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Acked-by: Russell King
    Cc: Ian Molton
    Cc: Mikael Starvik
    Acked-by: David Howells
    Cc: Yoshinori Sato
    Cc: Hirokazu Takata
    Acked-by: Ralf Baechle
    Cc: Kyle McMartin
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: Kazumoto Kojima
    Cc: Richard Curnow
    Cc: William Lee Irwin III
    Cc: "David S. Miller"
    Cc: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Cc: Miles Bader
    Cc: Chris Zankel
    Acked-by: "Luck, Tony"
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Atsushi Nemoto
     
  • This patch adds support for keypad driver running on different TI
    OMAP(http://www.ti.com/omap) processor based boards like OSK, H2, H3, H4,
    Persuas and Nokia 770.

    Signed-off-by: Komal Shah
    Acked-by: Dmitry Torokhov
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Komal Shah
     

29 Sep, 2006

5 commits

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (130 commits)
    [ARM] 3856/1: Add clocksource for Intel IXP4xx platforms
    [ARM] 3855/1: Add generic time support
    [ARM] 3873/1: S3C24XX: Add irq_chip names
    [ARM] 3872/1: S3C24XX: Apply consistant tabbing to irq_chips
    [ARM] 3871/1: S3C24XX: Fix ordering of EINT4..23
    [ARM] nommu: confirms the CR_V bit in nommu mode
    [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores.
    [ARM] 3870/1: AT91: Start removing static memory mappings
    [ARM] 3869/1: AT91: NAND support for DK and KB9202 boards
    [ARM] 3868/1: AT91 hardware header update
    [ARM] 3867/1: AT91 GPIO update
    [ARM] 3866/1: AT91 clock update
    [ARM] 3865/1: AT91RM9200 header updates
    [ARM] 3862/2: S3C2410 - add basic power management support for AML M5900 series
    [ARM] kthread: switch arch/arm/kernel/apm.c
    [ARM] Off-by-one in arch/arm/common/icst*
    [ARM] 3864/1: Refactore sharpsl_pm
    [ARM] 3863/1: Add Locomo SPI Device
    [ARM] 3847/2: Convert LOMOMO to use struct device for GPIOs
    [ARM] Use CPU_CACHE_* where possible in asm/cacheflush.h
    ...

    Linus Torvalds
     
  • Russell King
     
  • Enables the ixp4xx platforms to use Generic time-of-day.

    Signed-off-by: Kevin Hilman
    Acked-by: John Stultz
    Signed-off-by: Deepak Saxena
    Signed-off-by: Russell King

    Kevin Hilman
     
  • This patch adds Generic time-of-day support for the ARM architecture.

    The support is currently added using #ifdef's so that it can support
    sub-arches that do not (yet) have a clocksource added. As sub-arches
    add clocksource support, they should 'select GENERIC_TIME'

    Signed-off-by: Deepak Saxena
    Signed-off-by: Daniel Walker

    Signed-off-by: Kevin Hilman

    Acked-by: John Stultz
    Signed-off-by: Russell King

    Kevin Hilman
     
  • This patch removes the static memory mapping for the currently-unused
    peripherals [Synchronous Serial, Timer/Counter unit], and for those
    drivers that already ioremap() their registers [UART].

    Also, the Ethernet driver now uses the platform_device resources but
    doesn't yet use ioremap() so we need to pass it the virtual address
    instead of the physical address.

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     

28 Sep, 2006

11 commits

  • This patch adds the hardware register definitions for the TWI (I2C)
    controller found on the AT91RM9200 and AT91SAM9xx processors.
    It also defines the AIC Fast-Forcing registers added to the AT91SAM9's.

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     
  • This patch makes the AT91 gpio.c support processor-generic (AT91RM9200
    and AT91SAM9xxx). The GPIO controllers supported by a particular AT91
    processor are defined in the processor-specific file and are registered
    with gpio.c at startup.

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     
  • This is more preparation for adding support for the new Atmel AT91SAM9
    processors.

    Changes include:
    - Replace AT91_BASE_* with AT91RM9200_BASE_*
    - Replace AT91_ID_* with AT91RM9200_ID_*
    - ROM, SRAM and UHP address definitions moved to at91rm9200.h.
    - The raw AT91_P[ABCD]_* definitions are now depreciated in favour of
    the GPIO API.

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     
  • This patch adds another hook into sharpsl_pm to notify the machine
    specific driver immediately after resume. This is needed to support the Sharp SL-6000 (Tosa).

    Signed-off-by: Dirk Opfer
    Signed-off-by: Russell King

    Dirk Opfer
     
  • The Locomo chip has a SPI interface which is used for SD/MMC cards (only collie).
    This patch adds the definition for the SPI device inside the Locomo chip.

    Signed-off-by: Dirk Opfer
    Signed-off-by: Russell King

    Dirk Opfer
     
  • Convert LOMOMO to use struct device * for GPIOs instead of struct
    locomo_dev. This enables access to the GPIOs from code which is not
    a locomo device itself (such as audio). Access for gpio 31 is removed
    for error handling (no such hardware exists).

    Signed-off-by: Richard Purdie
    Signed-off-by: Russell King

    Richard Purdie
     
  • This updates the PXA 25x UDC board-independent infrastructure for VBUS sensing
    and the D+ pullup. The original code evolved from rather bizarre support on
    Intel's "Lubbock" reference hardware, so that on more sensible hardware it
    doesn't work as well as it could/should.

    The change is just to teach the UDC driver how to use built-in PXA GPIO pins
    directly. This reduces the amount of board-specfic object code needed, and
    enables the use of a VBUS sensing IRQ on boards (like Gumstix) that have one.
    With VBUS sensing, the UDC is unclocked until a host is actually connected.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • Russell King
     
  • Three of the generic cache method options were using explicit CPU
    types, whereas they could use the CPU_CACHE_* definitions instead.
    Switch them over to use the CPU_CACHE_* definitions.

    Signed-off-by: Russell King

    Russell King
     
  • This patch adds ARM946E-S core support which has typically 8KB I&D cache.
    It has a MPU and supports ARMv5TE instruction set.

    Because the ARM946E-S core can be synthesizable with various cache size,
    CONFIG_CPU_DCACHE_SIZE is defined for vendor specific configurations.

    Signed-off-by: Hyok S. Choi
    Signed-off-by: Russell King

    Hyok S. Choi
     
  • This patch adds ARM940T core support which has 4KB D-cache, 4KB I-cache
    and a MPU.

    Signed-off-by: Hyok S. Choi
    Signed-off-by: Russell King

    Hyok S. Choi