27 May, 2011

8 commits


25 May, 2011

1 commit

  • 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
     

10 May, 2011

1 commit


26 Apr, 2011

1 commit

  • Using C line continuation inside format strings is error prone.
    Clean up the unintended whitespace introduced by misuse of \.
    Neaten correctly used line continations as well for consistency.

    drivers/scsi/arcmsr/arcmsr_hba.c has these errors as well,
    but arcmsr needs a lot more work and the driver should likely be
    moved to staging instead.

    Signed-off-by: Joe Perches
    Acked-by: Randy Dunlap
    Signed-off-by: Jiri Kosina

    Joe Perches
     

31 Mar, 2011

1 commit


27 Mar, 2011

1 commit


26 Mar, 2011

12 commits

  • Acked-by: Mark Brown

    Fix section mismatch that is caused by init code calling exit code:
    pmic_remove() cannot be marked as __devexit.

    WARNING: drivers/regulator/tps6524x-regulator.o(.devinit.text+0x205): Section mismatch in reference from the function pmic_probe() to the function .devexit.text:pmic_remove()
    The function __devinit pmic_probe() references
    a function __devexit pmic_remove().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __devexit annotation of
    pmic_remove() so it may be used outside an exit section.

    Signed-off-by: Randy Dunlap
    Cc: Liam Girdwood
    Cc: Mark Brown
    Cc: Cyril Chemparathy
    Signed-off-by: Liam Girdwood

    Randy Dunlap
     
  • These are the last users in the tree.

    Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     
  • This uses the new infrastructure to provide proper delays when
    enabling or setting the voltage of one specific regulator.

    Cc: Bengt Jonsson
    Signed-off-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Linus Walleij
     
  • This exposes the functionality for rise/fall fime when setting
    voltage to the consumers.

    Cc: Bengt Jonsson
    Signed-off-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Linus Walleij
     
  • This makes it possible to set the stabilization time for voltage
    regulators in the same manner as enable_time(). The interface
    only supports regulators that implements fixed selectors.

    Cc: Bengt Jonsson
    Signed-off-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Linus Walleij
     
  • The regulators on the AB8500 have a lot of custom
    hardware control settings pertaining to 8 external
    signals, settings which are board-specific and need
    be provided from the platform at startup.

    Initialization added for regulators Vana, VextSupply1,
    VextSupply2, VextSupply3, Vaux1, Vaux2, Vaux3, VTVout,
    Vintcore12, Vaudio, Vdmic, Vamic1, Vamic2, VrefDDR.

    Signed-off-by: Bengt Jonsson
    Reviewed-by: Rickard Andersson
    Reviewed-by: Jonas Aberg
    Signed-off-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Bengt Jonsson
     
  • Signed-off-by: Bengt Jonsson
    Signed-off-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Bengt Jonsson
     
  • Acked-by: Mark Brown

    This switches the ab3100 core to use the enable_time()
    infrastructure from the regulator core.

    Cc: Mattias Wallin
    Signed-off-by: Linus Walleij
    Signed-off-by: Liam Girdwood

    Linus Walleij
     
  • The regulator core had suspend-prepare that turns off the regulators
    when entering a system-wide suspend. However, it did not have
    suspend-finish that pairs with suspend-prepare and the regulator core
    has assumed that the regulator devices and their drivers support
    autonomous recover at resume.

    This patch adds regulator_suspend_finish that pairs with the
    previously-existed regulator_suspend_prepare. The function
    regulator_suspend_finish turns on the regulators that have always_on set
    or positive use_count so that we can reset the regulator states
    appropriately at resume.

    In regulator_suspend_finish, if has_full_constraints, it disables
    unnecessary regulators.

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Acked-by: Mark Brown
    --
    Updates
    v3
    comments corrected (Thanks to Igor)
    v2
    disable unnecessary regulators (Thanks to Mark)
    Signed-off-by: Liam Girdwood

    MyungJoo Ham
     
  • Fix typo: s/TPS695x0/TPS659x0/

    Signed-off-by: Igor Grinberg
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Igor Grinberg
     
  • Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     
  • Makes it a bit easier to identify if it's a problem with the supplies,
    the usual error would be omitting the supply name entirely.

    Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     

23 Mar, 2011

6 commits

  • This adds a subdriver for the regulator found inside the TPS61050
    and TPS61052 chips.

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

    Linus Walleij
     
  • This patch supports PMIC/Regulator part of MAX8997/MAX8966 MFD.
    In this initial release, selecting voltages or current-limit
    and switching on/off the regulators are supported.

    Controlling voltages for DVS with GPIOs is not implemented fully
    and requires more considerations: it controls multiple bucks (selection
    of 1, 2, and 5) at the same time with SET1~3 gpios. Thus, when DVS-GPIO
    is activated, we lose the ability to control the voltage of a single
    buck regulator independently; i.e., contolling a buck affects other two
    bucks. Therefore, using the conventional regulator framework directly
    might be problematic. However, in this driver, we try to choose
    a setting without such side effect of affecting other regulators and
    then try to choose a setting with the minimum side effect (the sum of
    voltage changes in other regulators).

    On the other hand, controlling all the three bucks simultenously based
    on the voltage set table may help build cpufreq and similar system
    more robust; i.e., all the three voltages are consistent every time
    without glitches during transition.

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

    MyungJoo Ham
     
  • Copy 88pm860x platform data into different mfd_data structure for
    regulator driver. So move the identification of device node from
    regulator driver to mfd driver.

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

    Haojian Zhuang
     
  • The cell's platform_data is now accessed with a helper function;
    change clients to use that, and remove the now-unused data_size.

    Note that mfd-core no longer makes a copy of platform_data, but the
    mc13xxx-core driver creates the pdata structures on the stack. In
    order to get around that, the various ARM mach types that set the
    pdata have been changed to hold the variable in static (global) memory.
    Also note that __initdata references in aforementioned pdata structs
    have been dropped.

    Signed-off-by: Andres Salomon
    Signed-off-by: Samuel Ortiz

    Andres Salomon
     
  • The cell's platform_data is now accessed with a helper function;
    change clients to use that, and remove the now-unused data_size.

    Signed-off-by: Andres Salomon
    Signed-off-by: Samuel Ortiz

    Andres Salomon
     
  • In OMAP4 Blaze and Panda, 32KHz clock to WLAN is supplied from Phoenix
    TWL6030. The 32KHz clock state (ON/OFF) is configured in
    CLK32KG_CFG_[GRP, TRANS, STATE] register. This follows the same register
    programming model as other regulators in TWL6030. So add CLK32KG as pseudo
    regulator.

    Signed-off-by: Balaji T K
    Acked-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Balaji T K
     

25 Feb, 2011

2 commits


14 Jan, 2011

3 commits

  • The previous driver did not support BUCK1-DVS3, BUCK1-DVS4, and
    BUCK2-DVS2 modes. This patch adds such modes and an option to block
    setting buck1/2 voltages out of the preset values.

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

    MyungJoo Ham
     
  • The first releases of LP3974 have a large delay in RTC registers,
    which requires 2 seconds of delay after writing to a rtc register
    (recommended by National Semiconductor's engineers)
    before reading it.

    If "rtc_delay" field of the platform data is true, the rtc driver
    assumes that such delays are required. Although we have not seen
    LP3974s without requiring such delays, we assume that such LP3974s
    will be released soon (or they have done so already) and they are
    supported by "lp3974" without setting "rtc_delay" at the platform
    data.

    This patch adds delays with msleep when writing values to RTC registers
    if the platform data has rtc_delay set.

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

    MyungJoo Ham
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (348 commits)
    ALSA: hda - Fix NULL-derefence with a single mic in STAC auto-mic detection
    ALSA: hda - Add missing NID 0x19 fixup for Sony VAIO
    ALSA: hda - Fix ALC275 enable hardware EQ for SONY VAIO
    ALSA: oxygen: fix Xonar DG input
    ALSA: hda - Fix EAPD on Lenovo NB ALC269 to low
    ALSA: hda - Fix missing EAPD for Acer 4930G
    ALSA: hda: Disable 4/6 channels on some NVIDIA GPUs.
    ALSA: hda - Add static_hdmi_pcm option to HDMI codec parser
    ALSA: hda - Don't refer ELD when unplugged
    ASoC: tpa6130a2: Fix compiler warning
    ASoC: tlv320dac33: Add DAPM selection for LOM invert
    ASoC: DMIC codec: Adding a generic DMIC codec
    ALSA: snd-usb-us122l: Fix missing NULL checks
    ALSA: snd-usb-us122l: Fix MIDI output
    ASoC: soc-cache: Fix invalid memory access during snd_soc_lzo_cache_sync()
    ASoC: Fix section mismatch in wm8995.c
    ALSA: oxygen: add S/PDIF source selection for Claro cards
    ALSA: oxygen: fix CD/MIDI for X-Meridian (2G)
    ASoC: fix migor audio build
    ALSA: include delay.h for msleep in Xonar DG support
    ...

    Linus Torvalds
     

13 Jan, 2011

1 commit


12 Jan, 2011

3 commits