11 Jul, 2013

2 commits

  • Pull MFD update from Samuel Ortiz:
    "For the 3.11 merge we only have one new MFD driver for the Kontron
    PLD.

    But we also have:
    - Support for the TPS659038 PMIC from the palmas driver.
    - Intel's Coleto Creek and Avoton SoCs support from the lpc_ich
    driver.
    - RTL8411B support from the rtsx driver.
    - More DT support for the Arizona, max8998, twl4030-power and the
    ti_am335x_tsadc drivers.
    - The SSBI driver move under MFD.
    - A conversion to the devm_* API for most of the MFD drivers.
    - The twl4030-power got split from twl-core into its own module.
    - A major ti_am335x_adc cleanup, leading to a proper DT support.
    - Our regular arizona and wm* updates and cleanups from the Wolfson
    folks.
    - A better error handling and initialization, and a regulator
    subdevice addition for the 88pm80x driver.
    - A bulk platform_set_drvdata() call removal that's no longer need
    since commit 0998d0631001 ("device-core: Ensure drvdata = NULL when
    no driver is bound")

    * tag 'mfd-3.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next: (102 commits)
    mfd: sec: Provide max_register to regmap
    mfd: wm8994: Remove duplicate check for active JACKDET
    MAINTAINERS: Add include directory to MFD file patterns
    mfd: sec: Remove fields not used since regmap conversion
    watchdog: Kontron PLD watchdog timer driver
    mfd: max8998: Add support for Device Tree
    regulator: max8998: Use arrays for specifying voltages in platform data
    mfd: max8998: Add irq domain support
    regulator: palmas: Add TPS659038 support
    mfd: Kontron PLD mfd driver
    mfd: palmas: Add TPS659038 PMIC support
    mfd: palmas: Add SMPS10_BOOST feature
    mfd: palmas: Check if irq is valid
    mfd: lpc_ich: iTCO_wdt patch for Intel Coleto Creek DeviceIDs
    mfd: twl-core: Change TWL6025 references to TWL6032
    mfd: davinci_voicecodec: Fix build breakage
    mfd: vexpress: Make the driver optional for arm and arm64
    mfd: htc-egpio: Use devm_ioremap_nocache() instead of ioremap_nocache()
    mfd: davinci_voicecodec: Convert to use devm_* APIs
    mfd: twl4030-power: Fix relocking on error
    ...

    Linus Torvalds
     
  • Pull regulator fixes from Mark Brown:
    "Fixes for the merge window

    A set of small fixes for issues noticed during the merge window, all
    very much non-invasive"

    * tag 'regulator-v3.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
    MAINTAINERS: Update git repository
    regulator: max8997: Fix a trivial typo in documentation
    regulator: s5m8767: Fix a trivial typo in documentation
    regulator: s2mps11: Convert ramp rate to uV/us and set default ramp rate
    regulator: s5m8767: Update s5m8767-regulator bindings document

    Linus Torvalds
     

04 Jul, 2013

2 commits

  • Pull regulator updates from Mark Brown:
    "Very quiet release here, as well as the usual driver specific updates
    only a couple of new things:

    - New drivers for TI ABB LDOs and MAX77693 PMICs
    - Support for enabling bypass mode support via device tree"

    * tag 'regulator-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (23 commits)
    regulator: max77693: Remove NULL test for rmatch[i].init_data
    regulator: max77693: Fix trivial typo
    regulator: ab8500-ext: Staticize local symbols
    regulator: max77693: Add max77693 regualtor driver.
    regulator: max8973: fix a typo in documentation
    regulator: max8973: initial DT support
    regulators: max8973: fix multiple instance support
    regulator: of: Added a property to indicate bypass mode support
    regulator: ti-abb: Convert to use devm_ioremap_resource
    regulator: tps62360: Fix crash in i2c_driver .probe
    regulator: ab8500: Provide supply names for the AUX regulators
    regulator: ab8500-ext: Enable for Device Tree
    regulator: ab8500-ext: Register as a device in its own right
    regulator: ab8500-ext: Provide a set_voltage call-back operation
    regulator: ab8500: Ensure AB8500 external registers are probed first
    regulator: core: add regulator_get_linear_step()
    regulator: lp397x: use devm_kzalloc() to make cleanup paths simpler
    regulator: lp872x: support the device tree feature
    regulator: Remove unnecessary include of linux/delay.h from regulator drivers
    regulator: isl6271a: Use NULL instead of 0
    ...

    Linus Torvalds
     
  • This patch makes driver to use uV/us as units of ramp_delay. It makes driver
    in compliance with regulator framework and make ramp rate precise.

    This patch also sets default ramp rate in regulator descriptor which can be
    used in case if case ramp rate is not set in regulator constraints.

    Signed-off-by: Yadwinder Singh Brar
    Signed-off-by: Mark Brown

    Yadwinder Singh Brar
     

03 Jul, 2013

1 commit

  • Pull ARM SoC device tree changes from Arnd Bergmann:
    "These changes from 30 individual branches for the most part update
    device tree files, but there are also a few source code changes that
    have crept in this time, usually in order to atomically move over a
    driver from using hardcoded data to DT probing.

    A number of platforms change their DT files to use the C preprocessor,
    which is causing a bit of churn, but that is hopefully only this once"

    * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (372 commits)
    ARM: at91: dt: rm9200ek: add spi support
    ARM: at91: dt: rm9200: add spi support
    ARM: at91/DT: at91sam9n12: add SPI DMA client infos
    ARM: at91/DT: sama5d3: add SPI DMA client infos
    ARM: at91/DT: fix SPI compatibility string
    ARM: Kirkwood: Fix the internal register ranges translation
    ARM: dts: bcm281xx: change comment to C89 style
    ARM: mmc: bcm281xx SDHCI driver (dt mods)
    ARM: nomadik: add the new clocks to the device tree
    clk: nomadik: implement the Nomadik clocks properly
    ARM: dts: omap5-uevm: Provide USB Host PHY clock frequency
    ARM: dts: omap4-panda: Fix DVI EDID reads
    ARM: dts: omap4-panda: Add USB Host support
    arm: mvebu: enable mini-PCIe connectors on Armada 370 RD
    ARM: shmobile: irqpin: add a DT property to enable masking on parent
    ARM: dts: AM43x EPOS EVM support
    ARM: dts: OMAP5: Add bandgap DT entry
    ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM
    ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk
    ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone
    ...

    Linus Torvalds
     

01 Jul, 2013

16 commits


27 Jun, 2013

1 commit


26 Jun, 2013

1 commit


25 Jun, 2013

1 commit

  • This patch adds new regulator driver to support max77693 chip's regulators.
    max77693 has two linear voltage regulators and one current regulator which
    can be controlled through I2C bus. This driver also supports device tree.

    Signed-off-by: Jonghwa Lee
    Signed-off-by: Myungjoo Ham
    Signed-off-by: Mark Brown

    Jonghwa Lee
     

24 Jun, 2013

2 commits

  • This patch adds primitive DT support to the max8973 regulator driver. None
    of the configuration parameters, supported in the platform data are yet
    available in DT, therefore no configuration is performed if booting with
    no platform data. This means, that DT instantiation can only be used on
    boards, where no run-time configuration of the chip is required. In such
    cases the driver can be used to scale its output voltage. In the future
    support for configuration parameters should be added.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mark Brown

    Guennadi Liakhovetski
     
  • Change the device name of the regulator function to the one chosen for
    MODULE_ALIAS. This fixes kernel auto-module loading for the regulator function.

    Signed-off-by: Marc Dietrich
    Signed-off-by: Mark Brown

    Marc Dietrich
     

21 Jun, 2013

1 commit

  • Currently the max8973 regulator driver uses a single static struct of
    regulator operations for all chip instances, but can overwrite some of its
    members depending on configuration. This will affect all other MAX8973
    instances on the system. This patch fixes this bug by allocating a separate
    copy of the struct for each chip instance.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Mark Brown

    Guennadi Liakhovetski
     

20 Jun, 2013

3 commits


18 Jun, 2013

2 commits

  • Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()")
    introduced devm_ioremap_resource() and deprecated the use of
    devm_request_and_ioremap().

    While at it, remove the error message as devm_ioremap_resource prints a similar
    error message.

    Signed-off-by: Tushar Behera
    Signed-off-by: Mark Brown

    Tushar Behera
     
  • Commit "i2c: core: make it possible to match a pure device tree driver"
    changed semantics of the i2c probing for device tree devices.
    Device tree probed devices now get a NULL i2c_device_id pointer.
    This caused kernel panics due to NULL dereference.

    Tested-by: Stephen Warren
    Reviewed-by: Stephen Warren
    Signed-off-by: Tuomas Tynkkynen
    Signed-off-by: Mark Brown

    Tuomas Tynkkynen
     

15 Jun, 2013

1 commit

  • …t/linusw/linux-stericsson into next/dt

    From Linus Walleij:
    Device tree patches for ux500, basically trees and auxdata:
    - Fix for the thermal node to be contained in the PRCMU node
    - Add the DTS and auxdata needed to boot the U8540 platform
    - Various regulators added and renamed
    - Rename base SoC node
    - A bunch of DMA patches adding channels for DT boots
    - A bunch of crypto+hash patches adding config for DT boots
    - A bunch of patches fixing the ALSA SoC support to work
    - Register the LP5521 LEDs
    - Fix a number of typos and naming errors

    * tag 'ux500-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: (39 commits)
    ARM: ux500: drop any 0x prefix from I2C DT devices
    ARM: ux500: Allocate correct amount of memory for the u8540 in DT
    ARM: ux500: Provide auxdata to ux500 ASoC driver
    ARM: ux500: Add DT regulators for ab8500-codec
    ARM: ux500: Correct anamic2 typo in DT files
    ARM: ux500: Fix trivial typo in v-anamic1 comment
    ARM: ux500: Reduce PRCMU reg-names to shorter form for u8540 DT
    ARM: ux500: Add an auxdata entry for MUSB for clock-name look-up
    ARM: ux500: cut chip-select GPIOs from SSP device
    ARM: ux500: use symbolic names for interrupt flags
    ARM: ux500: use #include syntax to include *.dtsi.
    ARM: ux500: bump MMC/SD max frequency for DT boots
    ARM: ux500: Apply other compatible name to the u8540 DTS file
    pinctrl/nomadik: Standardise Pinctrl compat string for DBx5x based platforms
    ARM: ux500: Standardise Pinctrl compatible string for DBx5x based platforms
    ARM: ux500: Standardise DBx5x0 based Pinctrl compat string in the DTS
    crypto: ux500/hash - Enable DT probing of the driver
    crypto: ux500/cryp - Enable DT probing of the driver
    ARM: ux500: enable the crypto and hash on all dbx500
    ARM: ux500: Provide an AUXDATA entry for ux500-hash
    ...

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

11 Jun, 2013

3 commits

  • On some platforms the AUX[1|2|3] regulators are supplied voltage by
    a separate regulator. For example on Snowball these are provided by
    the EXT3. If we list them here, we can supply voltage to them by
    simply listing them in as a consumer of EXT3 in the Snowball case.

    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     
  • Here we use the OF regulator match facility to collect and populate
    initialisation data from Device Tree if we're booting with it enabled.

    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     
  • Some platforms don't support the AB8500 external regulators, so instead
    of having a list of is_() calls prior to calling
    ab8500_ext_regulator_init() from ab8500_regulator_probe(), we can only
    register as a platform device on platforms which require them. It means
    we also have more control over them when booting with Device Tree.

    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     

08 Jun, 2013

2 commits

  • When registering regulators which have a single voltage through Device
    Tree, the framework insists that the specified voltage is actually set.
    Well in order to do that we need to provide this call-back, where we
    check that the value is sane and return without error. Not that the
    selector isn't populated, but in our case list_voltage doesn't actually
    use it, so we're good.

    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     
  • This patch changes the order in which the AB8500 regulator drivers are
    registered and subsequently probed. It saves a lot of -EPROBE_DEFEER
    nonsense and bootlog noise, as some AB8500 core regulators depend on
    the external ones for supply voltage.

    Signed-off-by: Lee Jones
    Signed-off-by: Mark Brown

    Lee Jones
     

07 Jun, 2013

1 commit

  • Add regulator_get_linear_step(), which returns the voltage step size
    between VSEL values for linear regulators. This is intended for use
    by regulator consumers which build their own voltage-to-VSEL tables.

    Signed-off-by: Paul Walmsley
    Reviewed-by: Andrew Chew
    Cc: Matthew Longnecker
    Signed-off-by: Mark Brown

    Paul Walmsley
     

04 Jun, 2013

1 commit