14 Jan, 2012

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (59 commits)
    rtc: max8925: Add function to work as wakeup source
    mfd: Add pm ops to max8925
    mfd: Convert aat2870 to dev_pm_ops
    mfd: Still check other interrupts if we get a wm831x touchscreen IRQ
    mfd: Introduce missing kfree in 88pm860x probe routine
    mfd: Add S5M series configuration
    mfd: Add s5m series irq driver
    mfd: Add S5M core driver
    mfd: Improve mc13xxx dt binding document
    mfd: Fix stmpe section mismatch
    mfd: Fix stmpe build warning
    mfd: Fix STMPE I2c build failure
    mfd: Constify aat2870-core i2c_device_id table
    gpio: Add support for stmpe variant 801
    mfd: Add support for stmpe variant 801
    mfd: Add support for stmpe variant 610
    mfd: Add support for STMPE SPI interface
    mfd: Separate out STMPE controller and interface specific code
    misc: Remove max8997-muic sysfs attributes
    mfd: Remove unused wm831x_irq_data_to_mask_reg()
    ...

    Fix up trivial conflict in drivers/leds/Kconfig due to addition of
    LEDS_MAX8997 and LEDS_TCA6507 next to each other.

    Linus Torvalds
     

13 Jan, 2012

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (526 commits)
    ASoC: twl6040 - Add method to query optimum PDM_DL1 gain
    ALSA: hda - Fix the lost power-setup of seconary pins after PM resume
    ALSA: usb-audio: add Yamaha MOX6/MOX8 support
    ALSA: virtuoso: add S/PDIF input support for all Xonars
    ALSA: ice1724 - Support for ooAoo SQ210a
    ALSA: ice1724 - Allow card info based on model only
    ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations
    ALSA: hdspm - Provide unique driver id based on card serial
    ASoC: Dynamically allocate the rtd device for a non-empty release()
    ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC
    ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs
    ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs
    ALSA: hda - Use auto-parser for HP laptops with cx20459 codec
    ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
    ALSA: hdsp - Fix potential Oops in snd_hdsp_info_pref_sync_ref()
    ALSA: hda/cirrus - support for iMac12,2 model
    ASoC: cx20442: add bias control over a platform provided regulator
    ALSA: usb-audio - Avoid flood of frame-active debug messages
    ALSA: snd-usb-us122l: Delete calls to preempt_disable
    mfd: Put WM8994 into cache only mode when suspending
    ...

    Fix up trivial conflicts in:
    - arch/arm/mach-s3c64xx/mach-crag6410.c:
    renamed speyside_wm8962 to tobermory, added littlemill right
    next to it
    - drivers/base/regmap/{regcache.c,regmap.c}:
    duplicate diff that had already come in with other changes in
    the regmap tree

    Linus Torvalds
     

09 Jan, 2012

3 commits

  • This patch add Samsung S5M Kconfig and Makefile entry.

    Signed-off-by: Sangbeom Kim
    Signed-off-by: Samuel Ortiz

    Sangbeom Kim
     
  • Few STMPE controller can have register interface over SPI or I2C. Current
    implementation only supports I2C.

    This patch adds support for SPI interface for accessing STMPE's address space.

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

    Viresh Kumar
     
  • Few STMPE controller can have register interface over SPI or I2C. Current
    implementation only supports I2C and all code is present in a single file
    stmpe.c. It would be better to separate out I2C interface specific code from
    controller specific code. Later SPI specific code can be added in a separate
    file.

    This patch separates out I2C and controller specific code into separate files,
    making stmpe.c independent of I2C.

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

    Viresh Kumar
     

14 Dec, 2011

2 commits

  • This patch add SPI support for DA9052/53 MFD core module.

    This patch is functionally tested on Samsung SMDKV6410.

    Signed-off-by: David Dajun Chen
    Signed-off-by: Ashish Jangam
    Acked-by: Samuel Ortiz
    Signed-off-by: Mark Brown

    Ashish Jangam
     
  • The DA9052/53 is a highly integrated PMIC subsystem with supply domain
    flexibility to support wide range of high performance application.

    It provides voltage regulators, GPIO controller, Touch Screen, RTC, Battery
    control and other functionality.

    This patch is functionally tested on Samsung SMDKV6410.

    Signed-off-by: David Dajun Chen
    Signed-off-by: Ashish Jangam
    Acked-by: Samuel Ortiz
    Signed-off-by: Mark Brown

    Ashish Jangam
     

13 Dec, 2011

1 commit

  • Describe the register map to the regmap core so that we can use its
    diagnostic features and cache support. This is split out from the patch
    using it due to the size so that the actual code change is a bit clearer.

    As the various devices are supersets of each other the access maps are
    built up by layering the functions on top of each other, though the
    interface for specifying the register defaults isn't currently amenable
    to this.

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

    Mark Brown
     

24 Oct, 2011

4 commits

  • The AB3550 never passed the prototype stage. Instead it was used
    as a precursor to AB5500 for testing basic building blocks used
    in that chip, since they had large similarities. Since AB3550 will
    not see the light of day in product form and since the prototypes
    are no longer used, let's delete the driver and any references to
    it.

    Cc: Mattias Wallin
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     
  • This breaks the debugfs portions of the AB5500 driver into its own
    file. Split off a _raw function to access registers since we don't
    want to expose a generically named function globally. Move all
    required data structures to a shared ab5500-core.h file.

    Cc: Mattias Wallin
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     
  • The analog baseband chip ab5500 is a multi functional chip
    containing regulators, charging, gpio, USB and accessory detect.
    It also contain various multimedia functionalities like digital
    encoder and audio codec.
    The core driver added with this patch provides register access via
    i2c via PRCMU. Event handling implemented as irq_chip will come in
    future patches since it depends on PRCMU functionality not yet
    implemented.

    Signed-off-by: Mattias Wallin
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Mattias Wallin
     
  • Add support for Intel MSIC chip found on Intel Medfield platforms. This
    chip embeds several subdevices: audio, ADC, GPIO, power button, etc. The
    driver creates platform device for each subdevice.

    We also provide an MSIC register access API which should replace the more
    generic SCU IPC interface currently used. Existing drivers can choose
    whether they convert to this new API or stick with the SCU IPC interface.

    Signed-off-by: Mika Westerberg
    Signed-off-by: Samuel Ortiz

    Mika Westerberg
     

01 Aug, 2011

5 commits

  • Add mfd core driver for AnalogicTech AAT2870.
    The AAT2870 is communication through I2C and contains backlight and
    regulator components.

    Signed-off-by: Jin Park
    Signed-off-by: Samuel Ortiz

    Jin Park
     
  • Having another TPS chip at the end of the Kconfig when all it's
    relatives are grouped together in their own section seems totally
    counter-intuitive. Move it, also in the Makefile.

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

    Linus Walleij
     
  • This module controls the interrupt handling for the tps65912.
    The interrupt sources can be the following:

    - GPIO
    - PWRON signal
    - PWRHOLD signal
    - Temperature detection

    Signed-off-by: Margarita Olaya Cabrera
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Samuel Ortiz

    Margarita Olaya
     
  • The tps65912 chip is a power management IC. It contains the following
    components:

    - Regulators
    - GPIO controller

    The core driver is registered as a platform driver, it provides communication
    through I2C and SPI interfaces.

    Signed-off-by: Margarita Olaya Cabrera
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Samuel Ortiz

    Margarita Olaya
     
  • In preparation for some additional work on the wm831x AUXADC code move the
    support into a separate file. This is a simple code motion patch, there
    should be no functional changes.

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

    Mark Brown
     

27 Jul, 2011

1 commit

  • * 'next/devel2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc: (47 commits)
    OMAP: Add debugfs node to show the summary of all clocks
    OMAP2+: hwmod: Follow the recommended PRCM module enable sequence
    OMAP2+: clock: allow per-SoC clock init code to prevent clockdomain calls from clock code
    OMAP2+: clockdomain: Add per clkdm lock to prevent concurrent state programming
    OMAP2+: PM: idle clkdms only if already in idle
    OMAP2+: clockdomain: add clkdm_in_hwsup()
    OMAP2+: clockdomain: Add 2 APIs to control clockdomain from hwmod framework
    OMAP: clockdomain: Remove redundant call to pwrdm_wait_transition()
    OMAP4: hwmod: Introduce the module control in hwmod control
    OMAP4: cm: Add two new APIs for modulemode control
    OMAP4: hwmod data: Add modulemode entry in omap_hwmod structure
    OMAP4: hwmod data: Add PRM context register offset
    OMAP4: prm: Remove deprecated functions
    OMAP4: prm: Replace warm reset API with the offset based version
    OMAP4: hwmod: Replace RSTCTRL absolute address with offset macros
    OMAP: hwmod: Wait the idle status to be disabled
    OMAP4: hwmod: Replace CLKCTRL absolute address with offset macros
    OMAP2+: hwmod: Init clkdm field at boot time
    OMAP4: hwmod data: Add clock domain attribute
    OMAP4: clock data: Add missing divider selection for auxclks
    ...

    Linus Torvalds
     

05 Jul, 2011

2 commits

  • Base on Mark's comment [1], I make the Kconfig entry invisible to users.
    [1] https://lkml.org/lkml/2011/5/14/136

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • TWL6040 IC provides analog high-end audio codec functions for
    handset applications. It contains several audio analog inputs
    and outputs as well as vibrator support. It's connected to the
    host processor via PDM interface for audio data communication.
    The audio modules are controlled by internal registers that
    can be accessed by I2C and PDM interface.

    TWL6040 MFD will be registered as a child of TWL-CORE, and will
    have two children of its own: twl6040-codec and twl6040-vibra.

    This driver is based on TWL4030 and WM8350 MFD drivers.

    Signed-off-by: Misael Lopez Cruz
    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz

    Misael Lopez Cruz
     

04 Jul, 2011

1 commit


27 May, 2011

6 commits

  • The GPIO driver should reside in drivers/gpio/ for better
    organization.

    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Grant Likely
    Signed-off-by: Liam Girdwood

    Jorge Eduardo Candelaria
     
  • This module controls the interrupt handling for the tps chip. The
    interrupt sources are the following:

    - GPIO falling/rising edge detection
    - Battery voltage below/above threshold
    - PWRON signal
    - PWRHOLD signal
    - Temperature detection
    - RTC alarm and periodic event

    Signed-off-by: Graeme Gregory
    Signed-off-by: Jorge Eduardo Candelaria
    Reviewed-by: Mark Brown
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Graeme Gregory
     
  • TPS65910 has one configurable GPIO that can be used for several
    purposes. Subsequent versions of the TPS chip support more than
    one GPIO.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Grant Likely
    Signed-off-by: Liam Girdwood

    Graeme Gregory
     
  • The TPS65910 chip is a power management IC for multimedia and handheld
    devices. It contains the following components:

    - Regulators
    - GPIO controller
    - RTC

    The tps65910 core driver is registered as a platform driver and provides
    communication through I2C with the host device for the different
    components.

    Signed-off-by: Graeme Gregory
    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Graeme Gregory
     
  • Add support for the irq controller in Qualcomm 8xxx pmic. The 8xxx
    interrupt controller provides control for gpio and mpp configured as
    interrupts in addition to other subdevice interrupts. The interrupt
    controller also provides a way to read the real time status of an
    interrupt. This real time status is the only way one can get the
    input values of gpio and mpp lines.

    Signed-off-by: Abhijeet Dharmapurikar
    Signed-off-by: Samuel Ortiz

    Abhijeet Dharmapurikar
     
  • Add support for the Qualcomm PM8921 PMIC chip. The core driver
    will communicate with the PMIC chip via the MSM SSBI bus.

    Signed-off-by: Abhijeet Dharmapurikar
    Signed-off-by: Samuel Ortiz

    Abhijeet Dharmapurikar
     

25 May, 2011

2 commits

  • 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
     
  • 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
     

30 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (26 commits)
    mmc: SDHI should depend on SUPERH || ARCH_SHMOBILE
    mmc: tmio_mmc: Move some defines into a shared header
    mmc: tmio: support aggressive clock gating
    mmc: tmio: fix power-mode interpretation
    mmc: tmio: remove work-around for unmasked SDIO interrupts
    sh: fix SDHI IO address-range
    ARM: mach-shmobile: fix SDHI IO address-range
    mmc: tmio: only access registers above 0xff, if available
    mfd: remove now redundant sh_mobile_sdhi.h header
    sh: convert boards to use linux/mmc/sh_mobile_sdhi.h
    ARM: mach-shmobile: convert boards to use linux/mmc/sh_mobile_sdhi.h
    mmc: tmio: convert the SDHI MMC driver from MFD to a platform driver
    sh: ecovec: use the CONFIG_MMC_TMIO symbols instead of MFD
    mmc: tmio: split core functionality, DMA and MFD glue
    mmc: tmio: use PIO for short transfers
    mmc: tmio-mmc: Improve DMA stability on sh-mobile
    mmc: fix mmc_app_send_scr() for dma transfer
    mmc: sdhci-esdhc: enable esdhc on imx53
    mmc: sdhci-esdhc: use writel/readl as general APIs
    mmc: sdhci: add the abort CMDTYPE bits definition
    ...

    Linus Torvalds
     

27 Mar, 2011

1 commit

  • This patch enables IRQ handling for MAX8997/8966 chips.

    Please note that Fuel-Gauge-related IRQs are not implemented in this
    initial release. The fuel gauge module in MAX8997 is identical to
    MAX17042, which is already in Linux kernel. In order to use the
    already-existing MAX17042 driver for fuel gauge module in MAX8997, the
    main interrupt handler of MAX8997 should relay related interrupts to
    MAX17042 driver. However, in order to do this, we need to modify
    MAX17042 driver as well because MAX17042 driver does not have any
    interrupt handlers for now. We are not going to implement this in this
    initial release as it is not crucial in basic operations of MAX8997.

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Signed-off-by: Samuel Ortiz

    MyungJoo Ham
     

25 Mar, 2011

1 commit

  • On sh-mobile platforms the SDHI driver was using the tmio_mmc SD/SDIO
    MFD cell driver. Now that the tmio_mmc driver has been split into a
    core and a separate MFD glue, we can support SDHI natively without the
    need to emulate an MFD controller. This also allows to support systems
    with an on-SoC SDHI controller and a separate MFD with a TMIO core.

    Signed-off-by: Guennadi Liakhovetski
    Acked-by: Paul Mundt
    Signed-off-by: Chris Ball

    Guennadi Liakhovetski
     

23 Mar, 2011

5 commits

  • The TPS61050/TPS61052 are boost converters, LED drivers, LED flash
    drivers and a simple GPIO pin chips.

    Cc: Liam Girdwood
    Cc: Mark Brown
    Cc: Jonas Aberg
    Cc: Ola Lilja
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     
  • MAX8997/MAX8966 chip is a multi-function device with I2C bussses. The
    chip includes PMIC, RTC, Fuel Gauge, MUIC, Haptic, Flash control, and
    Battery (charging) control.

    This patch is an initial release of a MAX8997/8966 driver that supports
    to enable the chip with its primary I2C bus that connects every device
    mentioned above except for Fuel Gauge, which uses another I2C bus. The
    fuel gauge is not supported by this mfd driver and is supported by a
    seperated driver of MAX17042 Fuel Gauge (yes, the fuel gauge part is
    compatible with MAX17042).

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Reviewed-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    MyungJoo Ham
     
  • Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring
    ADC. This driver monitors the real time conversion of analog signals like
    battery temperature, battery cuurent etc.

    Signed-off-by: Keerthy
    Signed-off-by: Samuel Ortiz

    Keerthy
     
  • AB8500 GPADC driver used to convert Acc and battery/ac/usb voltage

    Signed-off-by: Arun Murthy
    Acked-by: Linus Walleij
    Acked-by: Mattias Wallin
    Signed-off-by: Samuel Ortiz

    Arun Murthy
     
  • This adds a pretty straight-forward system control driver for the
    AB8500. This driver will be used from the core platform, e.g the
    clock tree implementation in the machine code, and is by nature
    singleton.

    There are a few simple functions to read, write, set and clear
    registers so that the machine code can control its own foundation.

    Cc: Mattias Wallin
    Signed-off-by: Mattias Nilsson
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Mattias Nilsson
     

18 Mar, 2011

1 commit

  • * 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (289 commits)
    davinci: DM644x EVM: register MUSB device earlier
    davinci: add spi devices on tnetv107x evm
    davinci: add ssp config for tnetv107x evm board
    davinci: add tnetv107x ssp platform device
    spi: add ti-ssp spi master driver
    mfd: add driver for sequencer serial port
    ARM: EXYNOS4: Implement Clock gating for System MMU
    ARM: EXYNOS4: Enhancement of System MMU driver
    ARM: EXYNOS4: Add support for gpio interrupts
    ARM: S5P: Add function to register gpio interrupt bank data
    ARM: S5P: Cleanup S5P gpio interrupt code
    ARM: EXYNOS4: Add missing GPYx banks
    ARM: S3C64XX: Fix section mismatch from cpufreq init
    ARM: EXYNOS4: Add keypad device to the SMDKV310
    ARM: EXYNOS4: Update clocks for keypad
    ARM: EXYNOS4: Update keypad base address
    ARM: EXYNOS4: Add keypad device helpers
    ARM: EXYNOS4: Add support for SATA on ARMLEX4210
    plat-nomadik: make GPIO interrupts work with cpuidle ApSleep
    mach-u300: define a dummy filter function for coh901318
    ...

    Fix up various conflicts in
    - arch/arm/mach-exynos4/cpufreq.c
    - arch/arm/mach-mxs/gpio.c
    - drivers/net/Kconfig
    - drivers/tty/serial/Kconfig
    - drivers/tty/serial/Makefile
    - drivers/usb/gadget/fsl_mxc_udc.c
    - drivers/video/Kconfig

    Linus Torvalds
     

15 Mar, 2011

1 commit

  • TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial port
    device. It has a built-in programmable execution engine that can be programmed
    to operate as almost any serial bus (I2C, SPI, EasyScale, and others).

    This patch adds a driver for this controller device. The driver does not
    expose a user-land interface. Protocol drivers built on top of this layer are
    expected to remain in-kernel.

    Signed-off-by: Cyril Chemparathy
    Acked-by: Samuel Ortiz
    Signed-off-by: Sekhar Nori
    Signed-off-by: Kevin Hilman

    Cyril Chemparathy
     

01 Mar, 2011

1 commit

  • enabling and disabling the common clocks for ehci
    and ohci is implemented. usbhs is a common parent
    platform driver for EHCI and OHCI driver. This driver
    receives the clock enable and disable requests
    from ehci and ohci drivers.The UHH and TLL
    initialization is also performed.

    Signed-off-by: Keshava Munegowda
    Signed-off-by: Felipe Balbi

    Keshava Munegowda