27 May, 2011

5 commits

  • The previous style change enables to use asm-generic/bitops/le.h on arm.

    Signed-off-by: Akinobu Mita
    Acked-by: Russell King
    Cc: Arnd Bergmann
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Cc: Greg Ungerer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • The style that we normally use in asm-generic is to test the macro itself
    for existence, so in asm-generic, do:

    #ifndef find_next_zero_bit_le
    extern unsigned long find_next_zero_bit_le(const void *addr,
    unsigned long size, unsigned long offset);
    #endif

    and in the architectures, write

    static inline unsigned long find_next_zero_bit_le(const void *addr,
    unsigned long size, unsigned long offset)
    #define find_next_zero_bit_le find_next_zero_bit_le

    This adds the #define for each of the optimized find bitops in the
    architectures.

    Suggested-by: Arnd Bergmann
    Signed-off-by: Akinobu Mita
    Acked-by: Hans-Christian Egtvedt
    Acked-by: Russell King
    Acked-by: Greg Ungerer
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (57 commits)
    regulator: Fix 88pm8607.c printk format warning
    input: Add support for Qualcomm PMIC8XXX power key
    input: Add Qualcomm pm8xxx keypad controller driver
    mfd: Add omap-usbhs runtime PM support
    mfd: Fix ASIC3 SD Host Controller Configuration size
    mfd: Fix omap_usbhs_alloc_children error handling
    mfd: Fix omap usbhs crash when rmmoding ehci or ohci
    mfd: Add ASIC3 LED support
    leds: Add ASIC3 LED support
    mfd: Update twl4030-code maintainer e-mail address
    mfd: Correct the name and bitmask for ab8500-gpadc BTempPullUp
    mfd: Add manual ab8500-gpadc batt temp activation for AB8500 3.0
    mfd: Provide ab8500-core enumerators for chip cuts
    mfd: Check twl4030-power remove script error condition after i2cwrite
    mfd: Fix twl6030 irq definitions
    mfd: Add phoenix lite (twl6025) support to twl6030
    mfd: Avoid to use constraint name in 88pm860x regulator driver
    mfd: Remove checking on max8925 regulator[0]
    mfd: Remove unused parameter from 88pm860x API
    mfd: Avoid to allocate 88pm860x static platform data
    ...

    Linus Torvalds
     
  • * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (33 commits)
    OMAP3: PM: Boot message is not an error, and not helpful, remove it
    OMAP3: cpuidle: change the power domains modes determination logic
    OMAP3: cpuidle: code rework for improved readability
    OMAP3: cpuidle: re-organize the C-states data
    OMAP3: clean-up mach specific cpuidle data structures
    OMAP3 cpuidle: remove useless SDP specific timings
    usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled
    usb: otg: OMAP4430: Fixing the omap4430_phy_init function
    usb: musb: am35x: fix compile error when building am35x
    usb: musb: OMAP4430: Power down the PHY during board init
    omap: drop board-igep0030.c
    omap: igep0020: add support for IGEP3
    omap: igep0020: minor refactoring
    omap: igep0020: name refactoring for future merge with IGEP3
    omap: Remove support for omap2evm
    arm: omap2plus: GPIO cleanup
    omap: musb: introduce default board config
    omap: move detection of NAND CS to common-board-devices
    omap: use common initialization for PMIC i2c bus
    omap: consolidate touch screen initialization among different boards
    ...

    Linus Torvalds
     
  • Modifying the macro name Main_Ref to all caps(MAIN_REF).

    Suggested by Nishanth Menon

    Signed-off-by: Lesly A M
    Cc: Nishanth Menon
    Cc: David Derrick
    Signed-off-by: Samuel Ortiz

    Lesly A M
     

26 May, 2011

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (75 commits)
    mmc: core: eMMC bus width may not work on all platforms
    mmc: sdhci: Auto-CMD23 fixes.
    mmc: sdhci: Auto-CMD23 support.
    mmc: core: Block CMD23 support for UHS104/SDXC cards.
    mmc: sdhci: Implement MMC_CAP_CMD23 for SDHCI.
    mmc: core: Use CMD23 for multiblock transfers when we can.
    mmc: quirks: Add/remove quirks conditional support.
    mmc: Add new VUB300 USB-to-SD/SDIO/MMC driver
    mmc: sdhci-pxa: Add quirks for DMA/ADMA to match h/w
    mmc: core: duplicated trial with same freq in mmc_rescan_try_freq()
    mmc: core: add support for eMMC Dual Data Rate
    mmc: core: eMMC signal voltage does not use CMD11
    mmc: sdhci-pxa: add platform code for UHS signaling
    mmc: sdhci: add hooks for setting UHS in platform specific code
    mmc: core: clear MMC_PM_KEEP_POWER flag on resume
    mmc: dw_mmc: fixed wrong regulator_enable in suspend/resume
    mmc: sdhi: allow powering down controller with no card inserted
    mmc: tmio: runtime suspend the controller, where possible
    mmc: sdhi: support up to 3 interrupt sources
    mmc: sdhi: print physical base address and clock rate
    ...

    Linus Torvalds
     
  • * 'for-torvalds' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
    mach-ux500: voltage domain regulators for DB8500
    cpufreq: make DB8500 cpufreq driver compile
    cpufreq: update DB8500 cpufreq driver
    mach-ux500: move CPUfreq driver to cpufreq subsystem
    mfd: add DB5500 PRCMU driver
    mfd: update DB8500 PRCMU driver
    mach-ux500: move the DB8500 PRCMU driver to MFD
    mach-ux500: make PRCMU base address dynamic
    mach-ux500: rename PRCMU driver per SoC
    mach-ux500: update ASIC version detection
    mach-ux500: update SoC and board IRQ handling
    mach-ux500: update the DB5500 register file
    mach-ux500: update the DB8500 register file

    Linus Torvalds
     
  • * 'rmobile-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (34 commits)
    ARM: mach-shmobile: mackerel: add renesas_usbhs support for USB1
    ARM: mach-shmobile: Correct the G4EVM SDHI0 I/O range.
    ARM: arch-shmobile: sh7372: add renesas_usbhs irq support
    ARM: mach-shmobile: sh73a0: mark DMA slave ID 0 as invalid
    ARM: mach-shmobile: mark DMA slave ID 0 as invalid
    ARM: mach-shmobile: Enable DMAEngine for SDHI on AG5EVM
    ARM: mach-shmobile: Enable DMAEngine for MMCIF on AG5EVM
    ARM: mach-shmobile: sh73a0 DMA Engine support for SY-DMAC
    dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20
    dmaengine: shdma: Fix SH_DMAC_MAX_CHANNELS handling
    dmaengine: shdma: Make second memory window optional
    ARM: mach-shmobile: Tidy up after SH7372 pm changes.
    ARM: mach-shmobile: sh7372 Core Standby CPUIdle
    ARM: mach-shmobile: CPUIdle support
    ARM: mach-shmobile: sh7372 Core Standby Suspend-to-RAM
    ARM: mach-shmobile: Suspend-to-RAM support
    mailmap: Add entry for Damian Hobson-Garcia.
    ARM: switch mackerel to dynamically manage the platform camera
    ARM: mach-shmobile: Add SDHI support for AG5EVM and sh73a0
    ARM: arch-shmobile: Use multiple irq vectors for SDHI
    ...

    Linus Torvalds
     

25 May, 2011

32 commits

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

    * 'timers-ptp-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    ptp: Fix dp83640 build warning when building statically
    ptp: Added a clock driver for the National Semiconductor PHYTER.
    ptp: Added a clock driver for the IXP46x.
    ptp: Added a clock that uses the eTSEC found on the MPC85xx.
    ptp: Added a brand new class driver for ptp clocks.

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6: (126 commits)
    sh_mobile_meram: Safely disable MERAM operation when not initialized
    video: mb862xxfb: add support for L1 displaying
    video: mb862xx: add support for controller's I2C bus adapter
    video: mb862xxfb: relocate register space to get contiguous vram
    video: mb862xxfb: use pre-initialized configuration for PCI GDCs
    video: mb862xxfb: correct fix.smem_len field initialization
    video: s3c-fb: correct transparency checking in 32bpp
    video: s3c-fb: add gpio setup function to resume function
    fbdev/amifb: Remove superfluous alignment of frame buffer memory
    fbdev/amifb: Do not call panic() if there's not enough Chip RAM
    fbdev/amifb: Correct check for video memory size
    video: mb862xxfb: Require either FB_MB862XX_PCI_GDC or FB_MB862XX_LIME
    video: s3c-fb: add window variant information for S5P
    video: s3c-fb: add additional validate bpps
    video: s3c-fb: correct window osd size offset values
    udlfb: include prefetch.h explicitly
    drivers/video/s3c2410fb.c: Convert release_resource to release_mem_region
    drivers/video/sm501fb.c: Convert release_resource to release_mem_region
    drivers/video: Convert release_resource to release_mem_region
    video, udlfb: Fix two build warnings about 'ignoring return value'
    ...

    Linus Torvalds
     
  • Most arches define CONFIG_DEBUG_STACK_USAGE exactly the same way. Move it
    to lib/Kconfig.debug so each arch doesn't have to define it. This
    obviously makes the option generic, but that's fine because the config is
    already used in generic code.

    It's not obvious to me that sysrq-P actually does anything caution by
    keeping the most inclusive wording.

    Signed-off-by: Stephen Boyd
    Cc: Chris Metcalf
    Acked-by: David S. Miller
    Acked-by: Richard Weinberger
    Acked-by: Mike Frysinger
    Cc: Russell King
    Cc: Hirokazu Takata
    Acked-by: Ralf Baechle
    Cc: Paul Mackerras
    Acked-by: Benjamin Herrenschmidt
    Cc: Chen Liqin
    Cc: Lennox Wu
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Boyd
     
  • This constant hasn't been used since before the git era (2.6.12) and thus
    can be dropped.

    Signed-off-by: Stephen Boyd
    Cc: Russell King
    Cc: Richard Weinberger
    Cc: Hirokazu Takata
    Cc: Kyle McMartin
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Matt Turner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Boyd
     
  • Fold all the mmu_gather rework patches into one for submission

    Signed-off-by: Peter Zijlstra
    Reported-by: Hugh Dickins
    Cc: Benjamin Herrenschmidt
    Cc: David Miller
    Cc: Martin Schwidefsky
    Cc: Russell King
    Cc: Paul Mundt
    Cc: Jeff Dike
    Cc: Richard Weinberger
    Cc: Tony Luck
    Cc: KAMEZAWA Hiroyuki
    Cc: Mel Gorman
    Cc: KOSAKI Motohiro
    Cc: Nick Piggin
    Cc: Namhyung Kim
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • Fix up the arm mmu_gather code to conform to the new API.

    Signed-off-by: Peter Zijlstra
    Cc: Benjamin Herrenschmidt
    Cc: David Miller
    Cc: Martin Schwidefsky
    Cc: Russell King
    Cc: Paul Mundt
    Cc: Jeff Dike
    Cc: Richard Weinberger
    Cc: Tony Luck
    Cc: KAMEZAWA Hiroyuki
    Cc: Hugh Dickins
    Cc: Mel Gorman
    Cc: KOSAKI Motohiro
    Cc: Nick Piggin
    Cc: Namhyung Kim
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • Architectures that implement their own show_mem() function did not pass
    the filter argument to show_free_areas() to appropriately avoid emitting
    the state of nodes that are disallowed in the current context. This patch
    now passes the filter argument to show_free_areas() so those nodes are now
    avoided.

    This patch also removes the show_free_areas() wrapper around
    __show_free_areas() and converts existing callers to pass an empty filter.

    ia64 emits additional information for each node, so skip_free_areas_zone()
    must be made global to filter disallowed nodes and it is converted to use
    a nid argument rather than a zone for this use case.

    Signed-off-by: David Rientjes
    Cc: Russell King
    Cc: Tony Luck
    Cc: Fenghua Yu
    Cc: Kyle McMartin
    Cc: Helge Deller
    Cc: James Bottomley
    Cc: "David S. Miller"
    Cc: Guan Xuetao
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • renesas_usbhs driver can use external interrupt mode
    (which come from USB-PHY) or autonomy mode (it use own interrupt)
    for detecting connection/disconnection when Function.
    And it will be power OFF while it has been disconnecting
    if external interrupt mode is selected.

    mackerel board has 2 USB ports.

    But we can not use external interrupt mode
    on CN22 USB0 port which is only for USB Function.
    IRQ7-PORT40 is already used by Touchscreen,
    and USB-PHY needs IRQ7-PORT167.
    It is impossible to use IRQ7 demux on mackerel.

    We can use external interrupt mode USB-Function on "USB1".
    USB1 can become Host by r8a66597, and become Function by renesas_usbhs.
    But don't select both drivers in same time.
    These 2 drivers are not supporting IRQ SHARD.

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Paul Mundt

    Kuninori Morimoto
     
  • This obviously should have been 0xe6d500ff, fix it up accordingly.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • renesas_usbhs is remake version of r8a66597

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Paul Mundt

    Kuninori Morimoto
     
  • This makes it possible to leave DMA slave IDs in the platform data
    at default 0 value without hitting DMA channel allocation error paths.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This makes it possible to leave DMA slave IDs in the platform data
    at default 0 value without hitting DMA channel allocation error paths.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     
  • Add SDHI0 and SDHI1 slave ids for RX and TX to enable
    DMA Engine support for SDHI on the AG5EVM board.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Simply add MMCIF slave ids for RX and TX to enable
    DMA Engine support for the AG5EVM board.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Add SY-DMAC support via shdma.c to the sh73a0 SoC
    including slave ids, platform data and clock bindings.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This patch ties in the previously added sh7372 sleep
    mode known as Core Standby together with the shared
    SH-Mobile ARM CPUIdle implementation.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch adds a shared SH-Mobile ARM specific CPUIdle
    implementation supporting WFI only at this point. It
    serves as a common point for late registration of the
    arch-specific CPUIdle code, and supports adding extra
    sleep modes using the callback shmobile_cpuidle_setup()
    together with shmobile_cpuidle_modes[].

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Add sh7372 Core Standby sleep mode support and tie it
    in with the shared SH-Mobile ARM suspend code.

    The Core Standby mode is the lightest sh7372-specific
    sleep mode, cutting power to the ARM core excluding the
    L2 cache. Any interrupt source can be used for wakeups.

    The low level portion of this code is based on the
    TI OMAP sleep code in sleep34xx.S, thanks to them.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch adds a simple Suspend-to-RAM implementation
    for SH-Mobile ARM. The struct shmobile_suspend_ops are
    kept global to allow cpu-specific code to override
    the callbacks if needed.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Enable fast bcm4329 WIFI suspend/resume on Tegra2 board.

    This patch allows the mach-tegra support to tell the tegra MMC host
    controller to NOT turn off power for the MMC controller the WIFI part
    lives behind. Thus bcm4329 firmware doesn't need to be reloaded.

    Signed-off-by: Venkat Rao
    Tested-by: Grant Grundler
    Reviewed-by: Olof Johansson
    Acked-by: Olof Johansson
    Signed-off-by: Chris Ball

    Venkat Rao
     
  • * 'for-linus/2640/i2c' of git://git.fluff.org/bjdooks/linux: (21 commits)
    mach-ux500: set proper I2C platform data from MOP500s
    i2c-nomadik: break out single messsage transmission
    i2c-nomadik: reset the hw after status check
    i2c-nomadik: remove the unnecessary delay
    i2c-nomadik: change the TX and RX threshold
    i2c-nomadik: add code to retry on timeout failure
    i2c-nomadik: use pm_runtime API
    i2c-nomadik: print abort cause only on abort tag
    i2c-nomadik: correct adapter timeout initialization
    i2c-nomadik: remove the redundant error message
    i2c-nomadik: corrrect returned error numbers
    i2c-nomadik: fix speed enumerator
    i2c-nomadik: make i2c timeout specific per i2c bus
    i2c-nomadik: add regulator support
    i2c: i2c-sh_mobile bus speed platform data V2
    i2c: i2c-sh_mobile clock string removal
    i2c-eg20t: Support new device ML7223 IOH
    i2c: tegra: Add de-bounce cycles.
    i2c: tegra: fix repeated start handling
    i2c: tegra: recover from spurious interrupt storm
    ...

    Linus Torvalds
     
  • This specifies the new per-platform timeout per I2C bus and
    switches the I2C buses to fast mode, and increase the FIFO
    depth to 8 for reads and writes.

    Signed-off-by: Linus Walleij
    Signed-off-by: Ben Dooks

    Linus Walleij
     
  • The I2C speed enumerators in the i2c-nomadik header file were in
    the wrong order.

    Signed-off-by: Linus Walleij
    Signed-off-by: Ben Dooks

    Linus Walleij
     
  • Add option to have different i2c timeout delay for different i2c buses
    specified in platform data. Default to the old value unless specified.

    Signed-off-by: Virupax Sadashivpetimath
    Reviewed-by: Srinidhi Kasagar
    Signed-off-by: Linus Walleij
    Signed-off-by: Ben Dooks

    Virupax Sadashivpetimath
     
  • The DB8500 has ePOD:s (electronic power domains) which are possible
    to switch on/off to deactivate silicon blocks on the DB8500 SoC
    by cutting their power without retention. We model these as simple
    regulators with one bit on/off settings.

    Acked-by: Liam Girdwood
    Acked-by: Mark Brown
    Signed-off-by: Bengt Jonsson
    Signed-off-by: Sundar Iyer
    Signed-off-by: Jonas Aberg
    Signed-off-by: Virupax Sadashivpetimath
    Signed-off-by: Martin Persson
    Signed-off-by: Linus Walleij

    Bengt Jonsson
     
  • As part of the ARM arch subsystem migration, move the DB8500
    cpufreq driver to drivers/cpufreq as discussed with Dave Jones. The
    Makefile is not updated in order to avoid cross-subsystem conflicts
    for this file in merges.

    Cc: Arnd Bergmann
    Acked-by: Dave Jones
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This adds the DB5500 PRCMU driver. Right now this one is pretty
    restricted in functionality, exposing a simple interface to send
    I2C messages.

    Acked-by: Samuel Ortiz
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This updates the DB8500 PRCMU driver to the latest version
    available internally. Nominally we would update the dependent
    CPUfreq driver at the same time but since that is being moved
    around in this patch set we postpone that by simply deactivating
    it for the time being.

    This is a snapshot of the current PRCMU firmware API as it looks
    right now. The PRCMU firmware is still subject to change. This
    also updates the CPUfreq driver to a newer version that will
    utilize the new API.

    Acked-by: Samuel Ortiz
    Signed-off-by: Mattias Nilsson
    Signed-off-by: Martin Persson
    Signed-off-by: Per Fransson
    Signed-off-by: Jonas Aaberg
    Signed-off-by: Sebastien Rault
    Signed-off-by: Bengt Jonsson
    Signed-off-by: Rickard Andersson
    Signed-off-by: Linus Walleij

    Mattias Nilsson
     
  • We have decided that this function arbiter fits better in the MFD
    subsystem. Since we need to concatenate the split header files we move
    it basically like this:

    mv mach-ux500/prcmu-db8500.c drivers/mfd/db8500-prcmu.c
    mv mach-ux500/include/mach/prcmu-defs.h include/linux/mfd/db8500-prcmu.h
    mv mach-ux500/include/mach/prcmu-regs.h drivers/mfd/db8500-prcmu-regs.h
    mach-ux500/include/mach/prcmu.h >> include/linux/mfd/db8500-prcmu.h
    rm arch/arm/mach-ux500/include/mach/prcmu.h

    Then we update different #include statements and Makefile orders etc
    to make the PRCMU driver compile, link and boot in the new place
    without really changing any code.

    Acked-by: Samuel Ortiz
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This makes the PRCMU base address be selected at runtime for U8500
    and U5500 instead of being compiled-in.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This renames the prcmu.c file to prcmu-db8500.c so as to indicate
    that it is for this one SoC.

    Signed-off-by: Linus Walleij

    Linus Walleij