25 May, 2012

1 commit

  • Pull GPIO driver changes from Grant Likely:
    "Lots of gpio changes, both to core code and drivers.

    Changes do touch architecture code to remove the need for separate
    arm/gpio.h includes in most architectures.

    Some new drivers are added, and a number of gpio drivers are converted
    to use irq_domains for gpio inputs used as interrupts. Device tree
    support has been amended to allow multiple gpio_chips to use the same
    device tree node.

    Remaining changes are primarily bug fixes."

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6: (33 commits)
    gpio/generic: initialize basic_mmio_gpio shadow variables properly
    gpiolib: Remove 'const' from data argument of gpiochip_find()
    gpio/rc5t583: add gpio driver for RICOH PMIC RC5T583
    gpiolib: quiet gpiochip_add boot message noise
    gpio: mpc8xxx: Prevent NULL pointer deref in demux handler
    gpio/lpc32xx: Add device tree support
    gpio: Adjust of_xlate API to support multiple GPIO chips
    gpiolib: Implement devm_gpio_request_one()
    gpio-mcp23s08: dbg_show: fix pullup configuration display
    Add support for TCA6424A
    gpio/omap: (re)fix wakeups on level-triggered GPIOs
    gpio/omap: fix broken context restore for non-OFF mode transitions
    gpio/omap: fix missing check in *_runtime_suspend()
    gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume()
    gpio/omap: remove suspend/resume callbacks
    gpio/omap: remove retrigger variable in gpio_irq_handler
    gpio/omap: remove saved_wakeup field from struct gpio_bank
    gpio/omap: remove suspend_wakeup field from struct gpio_bank
    gpio/omap: remove saved_fallingdetect, saved_risingdetect
    gpio/omap: remove virtual_irq_start variable
    ...

    Conflicts:
    drivers/gpio/gpio-samsung.c

    Linus Torvalds
     

24 May, 2012

1 commit

  • Pull sound updates from Takashi Iwai:
    "This is the first big chunk for 3.5 merges of sound stuff.

    There are a few big changes in different areas. First off, the
    streaming logic of USB-audio endpoints has been largely rewritten for
    the better support of "implicit feedback". If anything about USB got
    broken, this change has to be checked.

    For HD-audio, the resume procedure was changed; instead of delaying
    the resume of the hardware until the first use, now waking up
    immediately at resume. This is for buggy BIOS.

    For ASoC, dynamic PCM support and the improved support for digital
    links between off-SoC devices are major framework changes.

    Some highlights are below:

    * HD-audio
    - Avoid accesses of invalid pin-control bits that may stall the codec
    - V-ref setup cleanups
    - Fix the races in power-saving code
    - Fix the races in codec cache hashes and connection lists
    - Split some common codes for BIOS auto-parser to hda_auto_parser.c
    - Changed the PM resume code to wake up immediately for buggy BIOS
    - Creative SoundCore3D support
    - Add Conexant CX20751/2/3/4 codec support

    * ASoC
    - Dynamic PCM support, allowing support for SoCs with internal
    routing through components with tight sequencing and formatting
    constraints within their internal paths or where there are multiple
    components connected with CPU managed DMA controllers inside the
    SoC.
    - Greatly improved support for direct digital links between off-SoC
    devices, providing a much simpler way of connecting things like
    digital basebands to CODECs.
    - Much more fine grained and robust locking, cleaning up some of the
    confusion that crept in with multi-component.
    - CPU support for nVidia Tegra 30 I2S and audio hub controllers and
    ST-Ericsson MSP I2S controolers
    - New CODEC drivers for Cirrus CS42L52, LAPIS Semiconductor ML26124,
    Texas Instruments LM49453.
    - Some regmap changes needed by the Tegra I2S driver.
    - mc13783 audio support.

    * Misc
    - Rewrite with module_pci_driver()
    - Xonar DGX support for snd-oxygen
    - Improvement of packet handling in snd-firewire driver
    - New USB-endpoint streaming logic
    - Enhanced M-audio FTU quirks and relevant cleanups
    - Increment the support of OSS devices to 256
    - snd-aloop accuracy improvement

    There are a few more pending changes for 3.5, but they will be sent
    slightly later as partly depending on the changes of DRM."

    Fix up conflicts in regmap (due to duplicate patches, with some further
    updates then having already come in from the regmap tree). Also some
    fairly trivial context conflicts in the imx and mcx soc drivers.

    * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (280 commits)
    ALSA: snd-usb: fix stream info output in /proc
    ALSA: pcm - Add proper state checks to snd_pcm_drain()
    ALSA: sh: Fix up namespace collision in sh_dac_audio.
    ALSA: hda/realtek - Fix unused variable compile warning
    ASoC: sh: fsi: enable chip specific data transfer mode
    ASoC: sh: fsi: call fsi_hw_startup/shutdown from fsi_dai_trigger()
    ASoC: sh: fsi: use same format for IN/OUT
    ASoC: sh: fsi: add fsi_version() and removed meaningless version check
    ASoC: sh: fsi: use register field macro name on IN/OUT_DMAC
    ASoC: tegra: Add machine driver for WM8753 codec
    ALSA: hda - Fix possible races of accesses to connection list array
    ASoC: OMAP: HDMI: Introduce codec
    ARM: mx31_3ds: Add sound support
    ASoC: imx-mc13783 cleanup
    mx31moboard: Add sound support
    ASoC: mc13783 codec cleanups
    ASoC: add imx-mc13783 sound support
    ASoC: Add mc13783 codec
    mfd: mc13xxx: add codec platform data
    ASoC: don't flip master of DT-instantiated DAI links
    ...

    Linus Torvalds
     

23 May, 2012

4 commits

  • Pull trivial updates from Jiri Kosina:
    "As usual, it's mostly typo fixes, redundant code elimination and some
    documentation updates."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (57 commits)
    edac, mips: don't change code that has been removed in edac/mips tree
    xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer
    lib: Change mail address of Oskar Schirmer
    net: Change mail address of Oskar Schirmer
    arm/m68k: Change mail address of Sebastian Hess
    i2c: Change mail address of Oskar Schirmer
    net: Fix tcp_build_and_update_options comment in struct tcp_sock
    atomic64_32.h: fix parameter naming mismatch
    Kconfig: replace "--- help ---" with "---help---"
    c2port: fix bogus Kconfig "default no"
    edac: Fix spelling errors.
    qla1280: Remove redundant NULL check before release_firmware() call
    remoteproc: remove redundant NULL check before release_firmware()
    qla2xxx: Remove redundant NULL check before release_firmware() call.
    aic94xx: Get rid of redundant NULL check before release_firmware() call
    tehuti: delete redundant NULL check before release_firmware()
    qlogic: get rid of a redundant test for NULL before call to release_firmware()
    bna: remove redundant NULL test before release_firmware()
    tg3: remove redundant NULL test before release_firmware() call
    typhoon: get rid of redundant conditional before all to release_firmware()
    ...

    Linus Torvalds
     
  • Pull driver core updates from Greg Kroah-Hartman:
    "Here's the driver core, and other driver subsystems, pull request for
    the 3.5-rc1 merge window.

    Outside of a few minor driver core changes, we ended up with the
    following different subsystem and core changes as well, due to
    interdependancies on the driver core:
    - hyperv driver updates
    - drivers/memory being created and some drivers moved into it
    - extcon driver subsystem created out of the old Android staging
    switch driver code
    - dynamic debug updates
    - printk rework, and /dev/kmsg changes

    All of this has been tested in the linux-next releases for a few weeks
    with no reported problems.

    Signed-off-by: Greg Kroah-Hartman "

    Fix up conflicts in drivers/extcon/extcon-max8997.c where git noticed
    that a patch to the deleted drivers/misc/max8997-muic.c driver needs to
    be applied to this one.

    * tag 'driver-core-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (90 commits)
    uio_pdrv_genirq: get irq through platform resource if not set otherwise
    memory: tegra{20,30}-mc: Remove empty *_remove()
    printk() - isolate KERN_CONT users from ordinary complete lines
    sysfs: get rid of some lockdep false positives
    Drivers: hv: util: Properly handle version negotiations.
    Drivers: hv: Get rid of an unnecessary check in vmbus_prep_negotiate_resp()
    memory: tegra{20,30}-mc: Use dev_err_ratelimited()
    driver core: Add dev_*_ratelimited() family
    Driver Core: don't oops with unregistered driver in driver_find_device()
    printk() - restore prefix/timestamp printing for multi-newline strings
    printk: add stub for prepend_timestamp()
    ARM: tegra30: Make MC optional in Kconfig
    ARM: tegra20: Make MC optional in Kconfig
    ARM: tegra30: MC: Remove unnecessary BUG*()
    ARM: tegra20: MC: Remove unnecessary BUG*()
    printk: correctly align __log_buf
    ARM: tegra30: Add Tegra Memory Controller(MC) driver
    ARM: tegra20: Add Tegra Memory Controller(MC) driver
    printk() - restore timestamp printing at console output
    printk() - do not merge continuation lines of different threads
    ...

    Linus Torvalds
     
  • Pull arm-soc board specific changes from Olof Johansson:
    "While we generally attempt to get rid of board specific files and
    replace them with device tree based descriptions, a lot of platforms
    have not come that far:

    In shmobile, we add two new board files because their recently started
    effort to add DT support has not proceeded enough to use it for all of
    the important hardware.

    In Kirkwood, we are adding support for new boards with a combination
    of DT and board file contents in multiple cases.

    pxa/mmp and imx are extending support for existing board files but not
    adding new ones."

    Fix up trivial conflicts in arch/arm/mach-{mmp/ttc_dkb.c,shmobile/{Kconfig,Makefile}}

    * tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (94 commits)
    ARM: shmobile: fix smp build
    ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree
    kirkwood: Add iconnect support
    orion/kirkwood: create a generic function for gpio led blinking
    kirkwood/orion: fix orion_gpio_set_blink
    ARM: kirkwood: Define DNS-320/DNS-325 NAND in fdt
    kirkwood: Allow nand to be configured via. devicetree
    mtd: Add orion_nand devicetree bindings
    ARM: kirkwood: Basic support for DNS-320 and DNS-325
    ARM: mach-shmobile: Use DT_MACHINE for armadillo 800 eva
    ARM: mach-shmobile: Use DT_MACHINE for KZM9G
    ARM: pxa: hx4700: Add Synaptics NavPoint touchpad
    ARM: pxa: Use REGULATOR_SUPPLY macro
    ARM: mach-shmobile: kzm9g: enable SMP boot
    ARM: mach-shmobile: kzm9g: defconfig update
    ARM: mach-shmobile: kzm9g: add PCF8757 gpio-key
    ARM: mach-shmobile: kzm9g: add SDHI support
    ARM: mach-shmobile: kzm9g: add MMCIF support
    ARM: mach-shmobile: kzm9g: correct screen direction
    ARM: mach-shmobile: sh73a0.h: add GPIO_NR
    ...

    Linus Torvalds
     
  • Pull first batch of arm-soc cleanups from Olof Johansson:
    "These cleanups are basically all over the place. The idea is to
    collect changes with minimal impact but large number of changes so we
    can avoid them from distracting in the diffstat in the other series.

    A significant number of lines get removed here, in particular because
    the ixp2000 and ixp23xx platforms get removed. These have never been
    extremely popular and have fallen into disuse over time with no active
    maintainer taking care of them. The u5500 soc never made it into a
    product, so we are removing it from the ux500 platform.

    Many good cleanups also went into the at91 and omap platforms, as has
    been the case for a number of releases."

    Trivial modify-delete conflicts in arch/arm/mach-{ixp2000,ixp23xx}

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (152 commits)
    ARM: clps711x: Cleanup IRQ handling
    ARM clps711x: Removed unused header mach/time.h
    ARM: clps711x: Added note about support EP731x CPU to Kconfig
    ARM: clps711x: Added missing register definitions
    ARM: clps711x: Used own subarch directory for store header file
    Dove: Fix Section mismatch warnings
    ARM: orion5x: ts78xx debugging changes
    ARM: orion5x: remove PM dependency from ts78xx
    ARM: orion5x: ts78xx fix NAND resource off by one
    ARM: orion5x: ts78xx whitespace cleanups
    Orion5x: Fix Section mismatch warnings
    Orion5x: Fix warning: struct pci_dev declared inside paramter list
    ARM: clps711x: Combine header files into one for clps711x-targets
    ARM: S3C24XX: Use common macro to define resources on mach-qt2410.c
    ARM: S3C24XX: Use common macro to define resources on mach-osiris.c
    ARM: EXYNOS: Adapt to cpuidle core time keeping and irq enable
    ARM: S5PV210: Use common macro to define resources on mach-smdkv210.c
    ARM: S5PV210: Use common macro to define resources on dev-audio.c
    ARM: S5PC100: Use common macro to define resources on dev-audio.c
    ARM: S5P64X0: Use common macro to define resources on dev-audio.c
    ...

    Linus Torvalds
     

22 May, 2012

1 commit

  • Pull regulator updates from Mark Brown:
    "The major thing here is the addition of some helpers to factor code
    out of drivers, making a fair proportion of regulators much more just
    data rather than code which is nice.

    - Helpers in the core for regulators using regmap, providing generic
    implementations of the enable and voltage selection operations which
    just need data to describe them in the drivers.
    - Split out voltage mapping and voltage setting, allowing many more
    drivers to take advantage of the infrastructure for selectors.
    - Loads and loads of cleanups from Axel Lin once again, including many
    changes to take advantage of the above new framework features
    - New drivers for Ricoh RC5T583, TI TPS62362, TI TPS62363, TI
    TPS65913, TI TWL6035 and TI TWL6037.

    Some of the registration changes to support the core refactoring
    caused so many conflicts that eventually topic branches were abandoned
    for this release."

    * tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (227 commits)
    regulator: tps65910: use of_node of matched regulator being register
    regulator: tps65910: dt: support when "regulators" node found
    regulator: tps65910: add error message in case of failure
    regulator: tps62360: dt: initialize of_node param for regulator register.
    regulator: tps65910: use devm_* for memory allocation
    regulator: tps65910: use small letter for regulator names
    mfd: tpx6586x: Depend on regulator
    regulator: regulator for Palmas Kconfig
    regulator: regulator driver for Palmas series chips
    regulator: Enable Device Tree for the db8500-prcmu regulator driver
    regulator: db8500-prcmu: Separate regulator registration from probe
    regulator: ab3100: Use regulator_map_voltage_iterate()
    regulator: tps65217: Convert to set_voltage_sel and map_voltage
    regulator: Enable the ab8500 for Device Tree
    regulator: ab8500: Split up probe() into manageable pieces
    regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info
    regulator: max8649: Remove unused check_range() function
    regulator: rc5t583: Remove max_uV from struct rc5t583_regulator_info
    regulator: da9052: Convert to set_voltage_sel and map_voltage
    regulator: max8952: Use devm_kzalloc
    ...

    Linus Torvalds
     

19 May, 2012

1 commit


18 May, 2012

2 commits


16 May, 2012

1 commit

  • Take advantage of the new regmap irq_domain support to dynamically
    allocate interrupts, using regmap_irq_get_virq() rather than irq_base
    to look up the interrupts. This means that most users should not need
    to specify an irq_base at all.

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

    Mark Brown
     

14 May, 2012

2 commits


12 May, 2012

2 commits


10 May, 2012

1 commit

  • This patch remove old max8997-muic drvier because of newly Extcon framework.
    Extcon framework manages the external connector, so add extcon-max8997 driver
    by using Extcon interface to support MUIC feature of Maxim 8997 PMIC instead
    of max8997-muic driver(drivers/misc/max8997-muic.c).

    Signed-off-by: Chanwoo Choi
    Signed-off-by: Myungjoo Ham
    Signed-off-by: Kyungmin Park
    Signed-off-by: Greg Kroah-Hartman

    Chanwoo Choi
     

04 May, 2012

1 commit


03 May, 2012

1 commit

  • This patch is part of a set which adds PCMCIA/CF support for the hx4700.
    This patch modifies asic3_gpio_config[] as follows:
    1. Remove ASIC3_GPIOC4_CF_nCD, whose purpose is unknown.
    2. Add ASIC3_GPIOD4_CF_nCD, the actual CF card detect GPIO.

    Signed-off-by: Paul Parsons
    Cc: Philipp Zabel
    Signed-off-by: Haojian Zhuang

    Paul Parsons
     

02 May, 2012

2 commits

  • This platform has been obsoleted and was only available inside of
    ST-Ericsson, no users of this code are left in the world. This
    deletes the core U5500 support entirely in the same manner as the
    obsoleted U8500 silicon was previously deleted.

    Cc: Srinidhi Kasagar
    Cc: Rabin Vincent
    Cc: Jonas Aberg
    Cc: Per Forlin
    Cc: Ulf Hansson
    Acked-by: Samuel Ortiz
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This platform has been obsoleted and was only available inside of
    ST-Ericsson, no users of this code are left in the world. This
    deletes the core U5500 support entirely in the same manner as the
    obsoleted U8500 silicon was previously deleted.

    Cc: Srinidhi Kasagar
    Cc: Rabin Vincent
    Cc: Jonas Aberg
    Cc: Per Forlin
    Cc: Ulf Hansson
    Acked-by: Samuel Ortiz
    Signed-off-by: Linus Walleij

    Linus Walleij
     

19 Apr, 2012

1 commit


17 Apr, 2012

3 commits

  • This reverts commit 98d8618af37728f6e18e84110ddb99987b47dd12 as it
    breaks the build of the muic driver.

    Reported-by: Stephen Rothwell
    Signed-off-by: Mark Brown

    Mark Brown
     
  • The combination of commit 1b1247dd75aa5cf5fae54a3bec7280046e9c7957

    "mfd: Add support for RICOH PMIC RC5T583"

    and commit 6ffc3270210efa2bea526953a142ffc908f5bd86

    "regulator: Add support for RICOH PMIC RC5T583 regulator"

    are causing the i386 allmodconfig builds to fail with this:

    ERROR: "rc5t583_update" [drivers/regulator/rc5t583-regulator.ko] undefined!
    ERROR: "rc5t583_set_bits" [drivers/regulator/rc5t583-regulator.ko] undefined!
    ERROR: "rc5t583_clear_bits" [drivers/regulator/rc5t583-regulator.ko] undefined!
    ERROR: "rc5t583_read" [drivers/regulator/rc5t583-regulator.ko] undefined!

    and this:

    ERROR: "rc5t583_ext_power_req_config" [drivers/regulator/rc5t583-regulator.ko] undefined!

    For the 1st four, make the simple ops static inline, instead of
    polluting the namespace with trivial exports. For the last one,
    add an EXPORT_SYMBOL.

    Signed-off-by: Paul Gortmaker
    Signed-off-by: Samuel Ortiz

    Paul Gortmaker
     
  • Add irq domain support for max8997 interrupts. The reverse mapping method
    used is linear mapping since the sub-drivers of max8997 such as regulator
    and charger drivers can use the max8997 irq_domain to get the linux irq
    number for max8997 interrupts. All uses of irq_base in platform data and
    max8997 driver private data are removed.

    Signed-off-by: Thomas Abraham
    Acked-by: MyungJoo Ham
    Acked-by: Grant Likely
    Acked-by: Samuel Ortiz
    Signed-off-by: Mark Brown

    Thomas Abraham
     

16 Apr, 2012

2 commits

  • Complete the separation of the twl6040 from the twl core since
    it is a separate chip, not part of the twl6030 PMIC.

    Make the needed Kconfig changes for the depending drivers at the
    same time to avoid breaking the kernel build (vibra, ASoC components).

    Signed-off-by: Peter Ujfalusi
    Reviewed-by: Mark Brown
    Acked-by: Tony Lindgren
    Acked-by: Dmitry Torokhov
    Signed-off-by: Samuel Ortiz

    Peter Ujfalusi
     
  • The ux500 default config enables the db5500 and the db8500.
    The incoming cpuidle driver uses the 'prcmu_enable_wakeups'
    and the 'prcmu_set_power_state' functions but these ones
    are defined but not implemented for the db5500, leading to
    an unresolved symbol error at link time. In order to compile,
    we have to disable the db5500 support which is not acceptable
    for the default config.

    I noticed there are also some other functions which are
    defined but not implemented.

    This patch fix this by removing the functions definitions
    and move out of the config section the empty functions which
    are normally used when the DB550 config is disabled.
    Only the functions which are not implemented are concerned
    by this modification.

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

    Daniel Lezcano
     

09 Apr, 2012

1 commit


06 Apr, 2012

1 commit


04 Apr, 2012

1 commit

  • The RC5T583 PMIC from RICOH consists of 4 DCDC and 10
    LDOs. This driver supports the control of different
    regulator output through regulator interface.
    This driver depends on MFD driver of RC5T583 and uses
    mfd rc5t583 apis to communicate to device for accessing
    different device's registers.

    Signed-off-by: Laxman Dewangan
    Signed-off-by: Mark Brown

    Laxman Dewangan
     

01 Apr, 2012

1 commit

  • This patch add variables for opmode of s5m series.
    S5M series have 4 operation modes.
    Off mode is always regulator off mode.
    On mode is always regulator on mode.
    Lowpower mode is that regualtor operate in low-power.
    Suspend mode is that regulator operation depends on AP suspend mode.

    Signed-off-by: Sangbeom Kim
    Signed-off-by: Mark Brown

    Sangbeom Kim
     

31 Mar, 2012

1 commit

  • Pull battery updates from Anton Vorontsov:
    "Various small bugfixes and enhancements, plus two new drivers:
    - A quite complex ab8500 charger driver, submitted by Arun Murthy @
    ST-Ericsson;
    - Summit Microelectronics SMB347 Battery Charger, submitted by Bruce
    E Robertson and Alan Cox @ Intel.

    And that's all."

    * tag 'for-v3.4-rc1' of git://git.infradead.org/battery-2.6: (36 commits)
    max17042_battery: Clean up interrupt handling
    Revert "max8998_charger: Include linux/module.h just once"
    ab8500_fg: Fix some build warnings on x86_64
    max17042_battery: Fix CHARGE_FULL representation.
    max8998_charger: Include linux/module.h just once
    power_supply: Convert i2c drivers to module_i2c_driver
    lp8727_charger: Add MODULE_DEVICE_TABLE
    charger-manager: Simplify charger_get_property(), get rid of a warning
    charger-manager: Clean up for better readability
    da9052-battery: Convert to use module_platform_driver
    da9052-battery: Fix a memory leak when unload the module
    da9052-battery: Add missing platform_set_drvdata
    ab8500: Turn unneeded global symbols into local ones
    ab8500_fg: Fix copy-paste error
    ab8500_fg: Get rid of 'struct battery_type'
    ab8500_fg: Get rid of 'struct v_to_cap'
    ab8500_btemp: Get rid of 'enum adc_therm'
    ab8500_charger: Convert to the new USB OTG calls
    ab8500-btemp: AB8500 battery temperature driver
    ab8500-fg: A8500 fuel gauge driver
    ...

    Linus Torvalds
     

29 Mar, 2012

3 commits

  • Pull MMC updates from Chris Ball:

    Core:
    * Support for MMC 4.5 Data Tag feature -- we tag REQ_META, so devices
    that support Data Tag will provide increased throughput for metadata.
    * Faster detection of card removal on I/O errors.

    Drivers:
    * dw_mmc now supports eMMC Power Off Notify, has PCI support, and
    implements pre_req and post_req for asynchronous requests.
    * omap_hsmmc now supports device tree.
    * esdhc now has power management support.
    * sdhci-tegra now supports Tegra30 devices.
    * sdhci-spear now supports hibernation.
    * tmio_mmc now supports using a GPIO for card detection.
    * Intel PCH now supports 8-bit bus transfers.

    * tag 'mmc-merge-for-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (53 commits)
    mmc: sh_mmcif: simplify bitmask macros
    mmc: sh_mobile_sdhi: support modular mmc-core with non-standard hotplug
    mmc: sh_mobile_sdhi: add a callback for board specific init code
    mmc: tmio: cosmetic: prettify the tmio_mmc_set_ios() function
    mmc: sh_mobile_sdhi: do not manage PM clocks manually
    mmc: tmio_mmc: remove unused sdio_irq_enabled flag
    mmc: tmio_mmc: power status flag doesn't have to be exposed in platform data
    mmc: sh_mobile_sdhi: pass card hotplug GPIO number to TMIO MMC
    mmc: tmio_mmc: support the generic MMC GPIO card hotplug helper
    mmc: tmio: calculate the native hotplug condition only once
    mmc: simplify mmc_cd_gpio_request() by removing two parameters
    mmc: sdhci-pci: allow 8-bit bus width for Intel PCH
    mmc: sdhci: check interrupt flags in ISR again
    mmc: sdhci-pci: Add MSI support
    mmc: core: warn when card doesn't support HPI
    mmc: davinci: Poll status for small size transfers
    mmc: davinci: Eliminate spurious interrupts
    mmc: omap_hsmmc: Avoid a regulator voltage change with dt
    mmc: omap_hsmmc: Convert hsmmc driver to use device tree
    mmc: sdhci-pci: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for Medfield SDIO
    ...

    Linus Torvalds
     
  • Pull GPIO changes for v3.4 from Grant Likely:
    "Primarily gpio device driver changes with some minor side effects
    under arch/arm and arch/x86. Also includes a few core changes such as
    explicitly supporting (electrical) open source and open drain outputs
    and some help for parsing gpio devicetree properties."

    Fix up context conflict due to Laxman Dewangan adding sleep control for
    the tps65910 driver separately for gpio's and regulators.

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
    gpio/ep93xx: Remove unused inline function and useless pr_err message
    gpio/sodaville: Mark broken due to core irqdomain migration
    gpio/omap: fix redundant decoding of gpio offset
    gpio/omap: fix incorrect update to context.irqenable1
    gpio/omap: fix incorrect context restore logic in omap_gpio_runtime_*
    gpio/omap: fix missing dataout context save in _set_gpio_dataout_reg
    gpio/omap: fix _set_gpio_irqenable implementation
    gpio/omap: fix trigger type to unsigned
    gpio/omap: fix wakeup_en register update in _set_gpio_wakeup()
    gpio: tegra: tegra_gpio_config shouldn't be __init
    gpio/davinci: fix enabling unbanked GPIO IRQs
    gpio/davinci: fix oops on unbanked gpio irq request
    gpio/omap: Fix section warning for omap_mpuio_alloc_gc()
    ARM: tegra: export tegra_gpio_{en,dis}able
    gpio/gpio-stmpe: Fix the value returned by _get_value routine
    Documentation/gpio.txt: Explain expected pinctrl interaction
    GPIO: LPC32xx: Add output reading to GPO P3
    GPIO: LPC32xx: Fix missing bit selection mask
    gpio/omap: fix wakeups on level-triggered GPIOs
    gpio/omap: Fix IRQ handling for SPARSE_IRQ
    ...

    Linus Torvalds
     
  • Pull MFD changes from Samuel Ortiz:
    - 4 new drivers: Freescale i.MX on-chip Anatop, Ricoh's RC5T583 and
    TI's TPS65090 and TPS65217.
    - New variants support (8420, 8520 ab9540), cleanups and bug fixes for
    the abx500 and db8500 ST-E chipsets.
    - Some minor fixes and update for the wm8994 from Mark.
    - The beginning of a long term TWL cleanup effort coming from the TI
    folks.
    - Various fixes and cleanups for the s5m, TPS659xx, pm860x, and MAX8997
    drivers.

    Fix up trivial conflicts due to duplicate patches and header file
    cleanups ( removal etc).

    * tag 'mfd_3.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (97 commits)
    gpio/twl: Add DT support to gpio-twl4030 driver
    gpio/twl: Allocate irq_desc dynamically for SPARSE_IRQ support
    mfd: Detach twl6040 from the pmic mfd driver
    mfd: Replace twl-* pr_ macros by the dev_ equivalent and do various cleanups
    mfd: Micro-optimization on twl4030 IRQ handler
    mfd: Make twl4030 SIH SPARSE_IRQ capable
    mfd: Move twl-core IRQ allocation into twl[4030|6030]-irq files
    mfd: Remove references already defineid in header file from twl-core
    mfd: Remove unneeded header from twl-core
    mfd: Make twl-core not depend on pdata->irq_base/end
    ARM: OMAP2+: board-omap4-*: Do not use anymore TWL6030_IRQ_BASE in board files
    mfd: Return twl6030_mmc_card_detect IRQ for board setup
    Revert "mfd: Add platform data for MAX8997 haptic driver"
    mfd: Add support for TPS65090
    mfd: Add some da9052-i2c section annotations
    mfd: Build rtc5t583 only if I2C config is selected to y.
    mfd: Add anatop mfd driver
    mfd: Fix compilation error in tps65910.h
    mfd: Add 8420 variant to db8500-prcmu
    mfd: Add 8520 PRCMU variant to db8500-prcmu
    ...

    Linus Torvalds
     

28 Mar, 2012

3 commits

  • Pull ARM platform updates from Russell King:
    "This covers platform stuff for platforms I have a direct interest in
    (iow, I have the hardware). Essentially:
    - as we no longer support any other Acorn platforms other than RiscPC
    anymore, we can collect all that code into mach-rpc.
    - convert Acorn expansion card stuff to use IRQ allocation functions,
    and get rid of NO_IRQ from there.
    - cleanups to the ebsa110 platform to move some private stuff out of
    its header files.
    - large amount of SA11x0 updates:
    - conversion of private DMA implementation to DMA engine support
    (this actually gives us greater flexibility in drivers over the old
    API.)
    - re-worked ucb1x00 updates - convert to genirq, remove sa11x0
    dependencies, fix various minor issues
    - move platform specific sa11x0 framebuffer data into platform files
    in arch/arm instead of keeping this in the driver itself
    - update sa11x0 IrDA driver for DMA engine, and allow it to use DMA
    for SIR transmissions as well as FIR
    - rework sa1111 support for genirq, and irq allocation
    - fix sa1111 IRQ support so it works again
    - use sparse IRQ support

    After this, I have one more pull request remaining from my current
    set, which I think is going to be the most problematical as it
    generates 8 conflicts."

    Fixed up the trivial conflict in arch/arm/mach-rpc/Makefile as per
    Russell.

    * 'platforms' of git://git.linaro.org/people/rmk/linux-arm: (125 commits)
    ARM: 7343/1: sa11x0: convert to sparse IRQ
    ARM: 7342/2: sa1100: prepare for sparse irq conversion
    ARM: 7341/1: input: prepare jornada720 keyboard and ts for sa11x0 sparse irq
    ARM: 7340/1: rtc: sa1100: include mach/irqs.h instead of asm/irq.h
    ARM: sa11x0: remove unused DMA controller definitions
    ARM: sa11x0: remove old SoC private DMA driver
    USB: sa1111: add hcd .reset method
    USB: sa1111: add OHCI shutdown methods
    USB: sa1111: reorganize ohci-sa1111.c
    USB: sa1111: get rid of nasty printk(KERN_DEBUG "%s: ...", __FILE__)
    USB: sa1111: sparse and checkpatch cleanups
    ARM: sa11x0: don't static map sa1111
    ARM: sa1111: use dev_err() rather than printk()
    ARM: sa1111: cleanup sub-device registration and unregistration
    ARM: sa1111: only setup DMA for DMA capable devices
    ARM: sa1111: register sa1111 devices with dmabounce in bus notifier
    ARM: sa1111: move USB interface register definitions to ohci-sa1111.c
    ARM: sa1111: move PCMCIA interface register definitions to sa1111_generic.c
    ARM: sa1111: move PS/2 interface register definitions to sa1111p2.c
    ARM: sa1111: delete unused physical GPIO register definitions
    ...

    Linus Torvalds
     
  • The controller power status flag does not have to be accessed from the
    hot-plug detection code any more, it can now be removed from the platform
    data and put in the controller private struct.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Chris Ball

    Guennadi Liakhovetski
     
  • If the platform specifies the TMIO_MMC_HAS_COLD_CD flag, use the generic
    MMC GPIO card hotplug helper.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Chris Ball

    Guennadi Liakhovetski
     

27 Mar, 2012

3 commits

  • The struct is duplicated, plus causes the following flood:

    CC drivers/power/ab8500_fg.o
    ab8500_fg.c: In function ‘ab8500_fg_get_ext_psy_data’:
    b8500_fg.c:2081:8: warning: assignment from incompatible pointer type [enabled by default]

    Signed-off-by: Anton Vorontsov

    Anton Vorontsov
     
  • The struct is duplicated, plus when used it causes the following
    warnings:

    CHECK drivers/power/ab8500_fg.c
    ab8500_fg.c:818:13: warning: incorrect type in assignment (different base types)
    ab8500_fg.c:818:13: expected struct v_to_cap *tbl
    ab8500_fg.c:818:13: got struct abx500_v_to_cap *const v_to_cap_tbl
    CC drivers/power/ab8500_fg.o
    ab8500_fg.c: In function 'ab8500_fg_volt_to_capacity':
    ab8500_fg.c:818:6: warning: assignment from incompatible pointer type [enabled by default]

    Signed-off-by: Anton Vorontsov

    Anton Vorontsov
     
  • This is the same as abx500_adc_therm, but when the former is used,
    the following warning flood pops up:

    drivers/power/ab8500_btemp.c: In function 'ab8500_btemp_batctrl_volt_to_res':
    ab8500_btemp.c:150:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare]
    ab8500_btemp.c: In function 'ab8500_btemp_curr_source_enable':
    ab8500_btemp.c:212:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare]
    ab8500_btemp.c:244:32: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare]
    ab8500_btemp.c: In function 'ab8500_btemp_measure_temp':
    ab8500_btemp.c:462:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare]
    ab8500_btemp.c: In function 'ab8500_btemp_id':
    ab8500_btemp.c:528:121: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare]
    ab8500_btemp.c:551:25: warning: comparison between 'enum abx500_adc_therm' and 'enum adc_therm' [-Wenum-compare]

    This patch fixes the issue by switching the driver to use more
    namespace-friendly enum.

    Signed-off-by: Anton Vorontsov

    Anton Vorontsov