31 Dec, 2008

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (407 commits)
    [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices
    [ARM] pxafb: cleanup of the timing checking code
    [ARM] pxafb: cleanup of the color format manipulation code
    [ARM] pxafb: add palette format support for LCCR4_PAL_FOR_3
    [ARM] pxafb: add support for FBIOPAN_DISPLAY by dma braching
    [ARM] pxafb: allow pxafb_set_par() to start from arbitrary yoffset
    [ARM] pxafb: allow video memory size to be configurable
    [ARM] pxa: add document on the MFP design and how to use it
    [ARM] sa1100_wdt: don't assume CLOCK_TICK_RATE to be a constant
    [ARM] rtc-sa1100: don't assume CLOCK_TICK_RATE to be a constant
    [ARM] pxa/tavorevb: update board support (smartpanel LCD + keypad)
    [ARM] pxa: Update eseries defconfig
    [ARM] 5352/1: add w90p910-plat config file
    [ARM] s3c: S3C options should depend on PLAT_S3C
    [ARM] mv78xx0: implement GPIO and GPIO interrupt support
    [ARM] Kirkwood: implement GPIO and GPIO interrupt support
    [ARM] Orion: share GPIO IRQ handling code
    [ARM] Orion: share GPIO handling code
    [ARM] s3c: define __io using the typesafe version
    [ARM] S3C64XX: Ensure CPU_V6 is selected
    ...

    Linus Torvalds
     

30 Dec, 2008

1 commit


29 Dec, 2008

1 commit

  • As Nicolas and Russell pointed out, CLOCK_TICK_RATE is no more
    a constant on PXA when multiple processors and platforms are
    selected, change TIMER_FREQ in rtc-sa1100.c into a variable.

    Since the code to decide the clock tick rate is re-used from
    timer.c, introduce a common get_clock_tick_rate() for this.

    Signed-off-by: Eric Miao
    Acked-by: Nicolas Pitre

    Eric Miao
     

24 Dec, 2008

1 commit

  • This patch for the rtc-isl1208 driver makes it reject invalid dates.

    Signed-off-by: Chris Elston
    [a.zummo@towertech.it: added comment explaining the check]
    Signed-off-by: Alessandro Zummo
    Cc: Hebert Valerio Riedel
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Elston
     

16 Dec, 2008

1 commit


11 Dec, 2008

2 commits


03 Dec, 2008

1 commit


02 Dec, 2008

1 commit

  • The AT91CAP9 revC CPU has a few differences over the previous,
    revB CPU which was distributed in small quantities only (revA was
    an internal Atmel product only).

    This patch adds the detection routines to recognize the different
    AT91CAP9 revisions (based on the PMC subsystem version number), and
    uses them to:
    - activate a workaround for the external interrupts levels
    (on revB CPUs)
    - set the UDPHS_BYPASS bit (on revB CPUs)
    - set AT91_GPBR register address to the correct offset
    (0xfffffd50 on revB, 0xfffffd60 on revC)

    For debugging usage, the CPU revision can be found in /proc/cpuinfo
    on the 'Revision' line.

    This patch is extracted from Andrew Victor's -at91 patch (2.6.27-at91.patch)
    where it has been tested for the last 6 months.

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

    Stelian Pop
     

30 Nov, 2008

1 commit


21 Nov, 2008

1 commit

  • Changes:

    - remove locks, rtc class provides them
    - remove unused include
    - if the rtc can't handle set_time, the driver should not fake it

    Signed-off-by: Alessandro Zummo
    Signed-off-by: David S. Miller

    Alessandro Zummo
     

17 Nov, 2008

1 commit


15 Nov, 2008

1 commit


13 Nov, 2008

3 commits

  • Add support for the Dallas DS1390/93/94 SPI RTC chip.

    Signed-off-by: Mark Jackson
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Jackson
     
  • Provide the basic "get" and "set" functionality for the Epson RX-8581 I2C
    RTC. It currently does not support the RTC's Alarm or Fixed-cycle timer.

    [akpm@linux-foundation.org: need log2.h for ilog2(), remove unneeded initialisation]
    Signed-off-by: Martyn Welch
    Signed-off-by: Alessandro Zummo
    Cc: David Brownell
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martyn Welch
     
  • This adds support for the RTC provided by the Wolfson Microelectronics
    WM8350.

    This driver was originally written by Graeme Gregory and Liam Girdwood,
    though it has been modified since then to update it to current mainline
    coding standards and for API completeness.

    [akpm@linux-foundation.org: s/schedule_timeout_interruptible/schedule_timeout_uninterruptible/ to prevent bogus timeout when signal_pending()]
    Signed-off-by: Mark Brown
    Cc: Alessandro Zummo
    Cc: David Brownell
    Cc: Liam Girdwood
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Brown
     

07 Nov, 2008

2 commits

  • -rtc0: alarms up to one month, y3k, 114 bytes nvram, , hpet irqs irqs
    +rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs

    Signed-off-by: Frans Pop
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Frans Pop
     
  • When fixing up invalid years rtc_read_alarm() was calling rtc_valid_tm()
    as a boolean but rtc_valid_tm() returns zero on success or a negative
    number if the time is not valid so the test was inverted.

    Signed-off-by: Mark Brown
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Brown
     

03 Nov, 2008

1 commit


02 Nov, 2008

1 commit

  • As it is, all instances of ->release() for files that have ->fasync()
    need to remember to evict file from fasync lists; forgetting that
    creates a hole and we actually have a bunch that *does* forget.

    So let's keep our lives simple - let __fput() check FASYNC in
    file->f_flags and call ->fasync() there if it's been set. And lose that
    crap in ->release() instances - leaving it there is still valid, but we
    don't have to bother anymore.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

31 Oct, 2008

4 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc64: Add missing null terminating entry to bq4802_match[].
    sparc: use the new byteorder headers
    rtc-m48t59: shift zero year to 1968 on sparc (rev 2)
    dbri: check dma_alloc_coherent errors
    sparc64: remove byteshifting from out* helpers

    Linus Torvalds
     
  • tAdd adds device_init_wakeup() ivokation to probe function of
    s3c2410_rtc_driver. Without of this wakealarm sysfs attribute does not
    initialise.

    Signed-off-by: Yauhen Kharuzhy
    Acked-by: Ben Dooks
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yauhen Kharuzhy
     
  • When ds3234 is built-in, the final links fails with the following vague error
    message:

    `.exit.text' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

    ds3234_remove() cannot be marked __exit, as it's accessed via __devexit_p().
    In addition, mark ds3234_probe() __devinit while we're at it.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • Warnings was appeared when compile rtc-s3c.c because
    platform_driver structure s3c2410_rtcdrv has wrong name.

    Signed-off-by: Yauhen Kharuzhy
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yauhen Kharuzhy
     

30 Oct, 2008

2 commits


24 Oct, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (23 commits)
    sh: asm/gpio.h needs linux/kernel.h for might_sleep()/WARN_ON().
    sh: mach-highlander: Handle SCIF pinmuxing on R7785RP.
    sh: sh7785 pinmux support
    sh: update defconfigs.
    sh: Kill off unused p1fc divisors from SH7763 clk fwk.
    sh: improve pinmux support for single direction pins
    sh: use 10MHz VIO_CLK for ov772x on Migo-R
    sh: Update gpio_set_value() pin value handling
    sh: update ov772x byte order on Migo-R
    rtc: Add R2025S/D comment to rs5c372 Kconfig entry.
    sh: Export cache flush routines needed by sh_eth on SH7619.
    sh: Wire up oops reporting in the die notifier chain.
    sh: ap325rxa: Kill off unused port definitions.
    sh: Hook up PB0->PB7 input-only pins in SH7203 PFC.
    sh: ap325rxa: Move off of hardcoded pinmux for flctl initialization.
    sh: add support FLCTL for ap325rxa board
    sh: gpio: Stub in dummy GPIOIRQ mapping routines.
    sh: rsk7203: leds-gpio support for RSK+ LEDs.
    sh: gpio: Include asm-generic/gpio.h for non-gpiolib stubs.
    sh: fix soc-camera compile breakage on Migo-R.
    ...

    Linus Torvalds
     

22 Oct, 2008

1 commit

  • This adds a driver for the RTC inside the TWL4030 multi-function device.
    It's a fairly basic RTC, with a wake-capable alarm.

    Note that many of the pre-release Overo boards now in circulation can't
    effectively use this RTC, because of a wiring error that puts its TWL
    chip into "secure" mode. (As in "secure yourself against tampering".)
    This isn't an issue on other OMAP3 boards now supported in mainline,
    such as Beagle and Labrador.

    Signed-off-by: David Brownell
    Signed-off-by: Tony Lindgren
    Acked-by: Alessandro Zummo
    Signed-off-by: Samuel Ortiz

    David Brownell
     

21 Oct, 2008

4 commits

  • This was accidentally left out when the R2025S/D support was merged
    earlier.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
    parisc: convert to generic compat_sys_ptrace
    parisc: add rtc platform driver
    parisc: initialize unwinder much earlier
    parisc: add new syscalls
    parisc: hijack jump to start_kernel
    parisc: add pdc_coproc_cfg_unlocked and set_firmware_width_unlocked
    parisc: move include/asm-parisc to arch/parisc/include/asm
    parisc: move pdc_result to real2.S
    parisc: unify CCIO_COLLECT_STATS implementation
    parisc: add arch/parisc/kernel/.gitignore
    parisc: ropes.h - fix ->
    parisc: parisc-agp - fix ->

    Resolve remove/rename conflict: include/asm-parisc/a.out.h is no longer
    relevant.

    Linus Torvalds
     
  • …/git/tip/linux-2.6-tip

    This merges branches irq/genirq, irq/sparseirq-v4, timers/hpet-percpu
    and x86/uv.

    The sparseirq branch is just preliminary groundwork: no sparse IRQs are
    actually implemented by this tree anymore - just the new APIs are added
    while keeping the old way intact as well (the new APIs map 1:1 to
    irq_desc[]). The 'real' sparse IRQ support will then be a relatively
    small patch ontop of this - with a v2.6.29 merge target.

    * 'genirq-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (178 commits)
    genirq: improve include files
    intr_remapping: fix typo
    io_apic: make irq_mis_count available on 64-bit too
    genirq: fix name space collisions of nr_irqs in arch/*
    genirq: fix name space collision of nr_irqs in autoprobe.c
    genirq: use iterators for irq_desc loops
    proc: fixup irq iterator
    genirq: add reverse iterator for irq_desc
    x86: move ack_bad_irq() to irq.c
    x86: unify show_interrupts() and proc helpers
    x86: cleanup show_interrupts
    genirq: cleanup the sparseirq modifications
    genirq: remove artifacts from sparseirq removal
    genirq: revert dynarray
    genirq: remove irq_to_desc_alloc
    genirq: remove sparse irq code
    genirq: use inline function for irq_to_desc
    genirq: consolidate nr_irqs and for_each_irq_desc()
    x86: remove sparse irq from Kconfig
    genirq: define nr_irqs for architectures with GENERIC_HARDIRQS=n
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (112 commits)
    sh: Move SH-4 CPU headers down one more level.
    sh: Only build in gpio.o when CONFIG_GENERIC_GPIO is selected.
    sh: Migrate common board headers to mach-common/.
    sh: Move the CPU definition headers from asm/ to cpu/.
    serial: sh-sci: Add support SCIF of SH7723
    video: add sh_mobile_lcdc platform flags
    video: remove unused sh_mobile_lcdc platform data
    sh: remove consistent alloc cruft
    sh: add dynamic crash base address support
    sh: reduce Migo-R smc91x overruns
    sh: Fix up some merge damage.
    Fix debugfs_create_file's error checking method for arch/sh/mm/
    Fix debugfs_create_dir's error checking method for arch/sh/kernel/
    sh: ap325rxa: Add support RTC RX-8564LC in AP325RXA board
    sh: Use sh7720 GPIO on magicpanelr2 board
    sh: Add sh7720 pinmux code
    sh: Use sh7203 GPIO on rsk7203 board
    sh: Add sh7203 pinmux code
    sh: Use sh7723 GPIO on AP325RXA board
    sh: Add sh7723 pinmux code
    ...

    Linus Torvalds
     

20 Oct, 2008

6 commits

  • Tejun's commit 7b595756ec1f49e0049a9e01a1298d53a7faaa15 made sysfs
    attribute->owner unnecessary. But the field was left in the structure to
    ease the merge. It's been over a year since that change and it is now
    time to start killing attribute->owner along with its users - one arch at
    a time!

    This patch is attempt #1 to get rid of attribute->owner only for
    CONFIG_X86_64 or CONFIG_X86_32 . We will deal with other arches later on
    as and when possible - avr32 will be the next since that is something I
    can test. Compile (make allyesconfig / make allmodconfig / custom config)
    and boot tested.

    akpm: the idea is that we put the declaration of sttribute.owner inside
    `#ifndef CONFIG_X86'. But that proved to be too ambitious for now because
    new usages kept on turning up in subsystem trees.

    [akpm: remove the ifdef for now]
    Signed-off-by: Parag Warudkar
    Cc: Greg KH
    Cc: Ingo Molnar
    Cc: Tejun Heo
    Cc: Len Brown
    Cc: Jens Axboe
    Cc: Jean Delvare
    Cc: Roland Dreier
    Cc: David Brownell
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Parag Warudkar
     
  • These are going away.

    Cc: Takashi Iwai
    Cc: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Change drivers/rtc/ to use the new bcd2bin/bin2bcd functions instead of
    the obsolete BCD_TO_BIN/BIN_TO_BCD/BCD2BIN/BIN2BCD macros.

    Signed-off-by: Adrian Bunk
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Teach rtc-cmos about the second bank of registers found on most modern x86
    systems, giving access to 128 bytes more NVRAM.

    This version only sees that extra NVRAM when both register banks are
    provided as part of *one* PNP resource. Since BIOS on some systems
    presents them using two IO resources, and nothing merges them, this can't
    always show all the NVRAM. (We're supposed to be able to use PNP id
    PNP0b01 too, but BIOS tables doesn't often seem to use that particular
    option.)

    Signed-off-by: David Brownell
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: Bjorn Helgaas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Conflicts:

    Documentation/kernel-parameters.txt
    arch/sh/include/asm/elf.h

    Paul Mundt
     

17 Oct, 2008

2 commits

  • With m68k allmodconfig, I get:

    | drivers/rtc/rtc-ds1286.c: In function 'ds1286_rtc_read':
    | drivers/rtc/rtc-ds1286.c:33: error: implicit declaration of function '__raw_readl'
    | drivers/rtc/rtc-ds1286.c: In function 'ds1286_rtc_write':
    | drivers/rtc/rtc-ds1286.c:38: error: implicit declaration of function '__raw_writel'
    | drivers/rtc/rtc-ds1286.c: In function 'ds1286_probe':
    | drivers/rtc/rtc-ds1286.c:345: error: implicit declaration of function 'ioremap'
    | drivers/rtc/rtc-ds1286.c:345: warning: assignment makes pointer from integer without a cast
    | drivers/rtc/rtc-ds1286.c:365: error: implicit declaration of function 'iounmap'

    and

    | drivers/rtc/rtc-m48t35.c: In function 'm48t35_read_time':
    | drivers/rtc/rtc-m48t35.c:59: error: implicit declaration of function 'readb'
    | drivers/rtc/rtc-m48t35.c:60: error: implicit declaration of function 'writeb'
    | drivers/rtc/rtc-m48t35.c: In function 'm48t35_probe':
    | drivers/rtc/rtc-m48t35.c:168: error: implicit declaration of function 'ioremap'
    | drivers/rtc/rtc-m48t35.c:168: warning: assignment makes pointer from integer without a cast
    | drivers/rtc/rtc-m48t35.c:188: error: implicit declaration of function 'iounmap'

    Include to get access to the I/O API.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Thomas Bogendoerfer
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • New style conversion and reformatting as per indent --linux-style

    Signed-off-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alessandro Zummo