05 Aug, 2009

1 commit

  • The TWL4030 IRQ handler has a bug which leads to spinlock lock-up. It is
    calling the 'unmask' function in a process context. :The mask/unmask/ack
    functions are only designed to be called from the IRQ handler code,
    or the proper API interfaces found in linux/interrupt.h.

    Also there is no need to have IRQ chaining mechanism. The right way to
    handle this is to claim the parent interrupt as a standard interrupt
    and arrange for handle_twl4030_pih to take care of the rest of the devices.

    Mail thread on this issue can be found at:
    http://marc.info/?l=linux-arm-kernel&m=124629940123396&w=2

    Signed-off-by: Russell King
    Tested-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Signed-off-by: Samuel Ortiz

    Russell King
     

09 Jul, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: gpio_mouse - use standard driver registration method
    Input: mark serio and i8042 as suspended when hibernating too
    Input: add support for generic GPIO-based matrix keypad
    Input: arrange keyboards alphabetically
    Input: gpio-keys - avoid possibility of sleeping in timer function
    Input: gpio-keys - revert 'change timer to workqueue'
    Input: dm355evm_keys - fix kconfig symbol names
    Input: wacom - add DTF720a support and fix rotation on Intuos3
    Input: i8042 - more reset quirks for MSI Wind-clone netbooks

    Linus Torvalds
     

03 Jul, 2009

2 commits


29 Jun, 2009

1 commit


21 Jun, 2009

2 commits

  • Implementation of twl4030 watchdog driver.

    Signed-off-by: Timo Kokkonen
    Signed-off-by: Atal Shargorodsky
    Signed-off-by: Wim Van Sebroeck

    Timo Kokkonen
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (35 commits)
    Input: add driver for Synaptics I2C touchpad
    Input: synaptics - add support for reporting x/y resolution
    Input: ALPS - handle touchpoints buttons correctly
    Input: gpio-keys - change timer to workqueue
    Input: ads7846 - pin change interrupt support
    Input: add support for touchscreen on W90P910 ARM platform
    Input: appletouch - improve finger detection
    Input: wacom - clear Intuos4 wheel data when finger leaves proximity
    Input: ucb1400 - move static function from header into core
    Input: add driver for EETI touchpanels
    Input: ads7846 - more detailed model name in sysfs
    Input: ads7846 - support swapping x and y axes
    Input: ati_remote2 - use non-atomic bitops
    Input: introduce lm8323 keypad driver
    Input: psmouse - ESD workaround fix for OLPC XO touchpad
    Input: tsc2007 - make sure platform provides get_pendown_state()
    Input: uinput - flush all pending ff effects before destroying device
    Input: simplify name handling for certain input handles
    Input: serio - do not use deprecated dev.power.power_state
    Input: wacom - add support for Intuos4 tablets
    ...

    Linus Torvalds
     

18 Jun, 2009

15 commits

  • For MFDs running regulator cores, we really want them to be brought up early
    during boot.

    Signed-off-by: Samuel Ortiz
    Acked-by: Mark Brown
    Acked-by: Mike Rapoport

    Samuel Ortiz
     
  • We can not have .driver_data as const since platform_set_drvdata() doesnt take
    a const.
    The hclk mmc_data field can be const though.

    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • This enables the ASIC3's SD/SDIO MFD cell, supported by the tmio_mmc driver.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • This enables the ASIC3's DS1WM MFD cell, supported by the ds1wm driver.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • This should make the code a little bit easier to read.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • Since ASIC3 has to work on both PXA and S3C and since their
    struct clk implementations differ, we can't register out
    clocks with the clkdev mechanism (yet?).
    For now we have to keep clock handling internal to this
    driver and enable/disable the clocks via the
    mfd_cell->enable/disable functions.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • Used to configure single bits of the SDHWCTRL_SDCONF and EXTCF_RESET/SELECT
    registers needed for DS1WM, MMC/SDIO and PCMCIA functionality.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • More with the grammar.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • The PCAP Asic as present on EZX phones is a multi function device with
    voltage regulators, ADC, touch screen controller, RTC, USB transceiver,
    leds controller, and audio codec.

    It has two SPI ports, typically one is connected to the application
    processor and another to the baseband, this driver provides read/write
    functions to its registers, irq demultiplexer and ADC
    queueing/abstraction.

    This chip is used on a lot of Motorola phones, it was manufactured by TI
    as a custom product with the name PTWL93017, later this design evolved
    into the ATLAS PMIC from Freescale (MC13783).

    Signed-off-by: Daniel Ribeiro
    Signed-off-by: Samuel Ortiz

    Daniel Ribeiro
     
  • This adds a core driver for the AB3100 mixed-signal circuit
    found in the ST-Ericsson U300 series platforms. This driver
    is a singleton proxy for all accesses to the AB3100
    sub-drivers which will be merged on top of this one, RTC,
    regulators, battery and system power control, vibrator,
    LEDs, and an ALSA codec.

    Signed-off-by: Linus Walleij
    Reviewed-by: Mike Rapoport
    Reviewed-by: Ben Dooks
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     
  • The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have
    been kept around for migration reasons. After more than two years it's
    time to remove them finally.

    This patch cleans up one of the remaining users. When all such patches
    hit mainline we can remove the defines and typedefs finally.

    Impact: cleanup

    Convert the last remaining users and remove the typedef.

    Signed-off-by: Thomas Gleixner
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Samuel Ortiz

    Thomas Gleixner
     
  • Add the missing MODULE_LICENSE("GPL").

    Signed-off-by: Adrian Bunk
    Cc: Balaji Rao
    Cc: Andy Green
    Signed-off-by: Andrew Morton
    Signed-off-by: Samuel Ortiz

    Adrian Bunk
     
  • No impact unless someone has written additional kernel code.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • Impact: Fix section mismatch.

    clocks_init() has been called from twl4030_probe() which is a non-init
    function. Since probing can be done anytime so clocks_init will be
    called anytime too. So we mark clock_init() as non-init.

    LD drivers/mfd/built-in.o
    WARNING: drivers/mfd/built-in.o(.text+0x8dd9): Section mismatch in
    reference from the function twl4030_probe() to the function
    .init.text:clocks_init()
    The function twl4030_probe() references
    the function __init clocks_init().
    This is often because twl4030_probe lacks a __init
    annotation or the annotation of clocks_init is wrong.

    Signed-off-by: Rakib Mullick
    Signed-off-by: Samuel Ortiz

    Rakib Mullick
     
  • This includes the USB current limit status override which is used in the
    power management driver.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     

16 Jun, 2009

1 commit

  • In the near future, the driver core is going to not allow direct access
    to the driver_data pointer in struct device. Instead, the functions
    dev_get_drvdata() and dev_set_drvdata() should be used. These functions
    have been around since the beginning, so are backwards compatible with
    all older kernel versions.

    Cc: Samuel Ortiz
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

14 Jun, 2009

1 commit

  • The Toshiba parts all have a 24 MHz HCLK, but HTC ASIC3 has a 24.576 MHz HCLK
    and AMD Imageon w228x's HCLK is 80 MHz. With this patch, the MFD driver
    provides the HCLK frequency to tmio_mmc via mfd_cell->driver_data.

    Signed-off-by: Philipp Zabel
    Acked-by: Ian Molton
    Acked-by: Samuel Ortiz
    Signed-off-by: Pierre Ossman

    Philipp Zabel
     

11 Jun, 2009

1 commit


27 May, 2009

1 commit


20 May, 2009

2 commits

  • Without this change Openmoko Freerunner (GTA02) bootstrap will deadlock.
    As pointed out in other patches this issue is in the wild since the merge
    of:

    : commit 3aa551c9b4c40018f0e261a178e3d25478dc04a9
    : Author: Thomas Gleixner
    : Date: Mon Mar 23 18:28:15 2009 +0100
    :
    : genirq: add threaded interrupt handler support
    :
    : Add support for threaded interrupt handlers

    Signed-off-by: Nelson Castillo
    Cc: Ingo Molnar
    Cc:
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Samuel Ortiz

    Nelson Castillo
     
  • Due to the way that the WM8350 audio driver handles CODEC_ENA many of
    the WM8350 audio registers are marked as volatile when they aren't
    actually so. Allow the audio driver to see a cache of these values for
    inspection during interrupt context.

    To do this we need to stop satisfying any bits from volatile registers
    from cache - there's no real benefit from doing so anyway, we did the
    read already.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     

05 Apr, 2009

8 commits


04 Apr, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (28 commits)
    trivial: Update my email address
    trivial: NULL noise: drivers/mtd/tests/mtd_*test.c
    trivial: NULL noise: drivers/media/dvb/frontends/drx397xD_fw.h
    trivial: Fix misspelling of "Celsius".
    trivial: remove unused variable 'path' in alloc_file()
    trivial: fix a pdlfush -> pdflush typo in comment
    trivial: jbd header comment typo fix for JBD_PARANOID_IOFAIL
    trivial: wusb: Storage class should be before const qualifier
    trivial: drivers/char/bsr.c: Storage class should be before const qualifier
    trivial: h8300: Storage class should be before const qualifier
    trivial: fix where cgroup documentation is not correctly referred to
    trivial: Give the right path in Documentation example
    trivial: MTD: remove EOL from MODULE_DESCRIPTION
    trivial: Fix typo in bio_split()'s documentation
    trivial: PWM: fix of #endif comment
    trivial: fix typos/grammar errors in Kconfig texts
    trivial: Fix misspelling of firmware
    trivial: cgroups: documentation typo and spelling corrections
    trivial: Update contact info for Jochen Hein
    trivial: fix typo "resgister" -> "register"
    ...

    Linus Torvalds
     

31 Mar, 2009

1 commit

  • Add VPLL2 to the set of twl4030-family regulators exposed for
    use by various drivers. It's commonly used to power the digital
    video outputs (e.g. LCD or DVI displays) on OMAP3 systems.

    Signed-off-by: David Brownell
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    David Brownell
     

30 Mar, 2009

1 commit


25 Mar, 2009

1 commit