summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mfd: max77686: Convert to managed resources for allocating memoryLee Jones2013-06-131-17/+8
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: janz-cmodio: Convert to managed resources for allocating memoryLee Jones2013-06-131-8/+4
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: htc-pasic3: Convert to managed resources for allocating memoryLee Jones2013-06-131-3/+1
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: htc-i2cpld: Convert to managed resources for allocating memoryLee Jones2013-06-131-10/+5
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: htc-egpio: Convert to managed resources for allocating memoryLee Jones2013-06-131-5/+4
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: davinci_voicecodec: Convert to managed resources for allocating memoryLee Jones2013-06-131-7/+3
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: cros_ec: Convert to managed resources for allocating memoryLee Jones2013-06-131-19/+9
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: asic3: Convert to managed resources for allocating memoryLee Jones2013-06-131-10/+4
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: adp5520: Convert to managed resources for allocating memoryLee Jones2013-06-131-6/+2
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: abx500-core: Convert to managed resources for allocating memoryLee Jones2013-06-131-6/+4
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: ab8500-gpadc: Convert to managed resources for allocating memoryLee Jones2013-06-131-5/+1
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: ab8500-debug: Convert to managed resources for allocating memoryLee Jones2013-06-131-22/+12
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: ab3100-otp: Convert to managed resources for allocating memoryLee Jones2013-06-131-9/+5
| | | | | Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* mfd: tps65912: Convert to managed resources for allocating memoryLee Jones2013-06-133-4/+4
| | | | | | | | Saves on code and simplifies the driver, as these resources are now tracked and freed automatically when the driver is realised. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* Merge branch 'for-mfd-next' of ↵Samuel Ortiz2013-06-137-46/+77
|\ | | | | | | git://git.linaro.org/people/ljones/linux-3.0-ux500
| * mfd: 88pm860x: Use devm_regmap_init_i2c()Sachin Kamat2013-06-131-2/+1
| | | | | | | | | | | | | | devm_regmap_init_i2c() is device managed and makes cleanup simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
| * mfd: ab8500-core: Add AB8500 external regulators as MFD devicesLee Jones2013-06-131-0/+10
| | | | | | | | | | | | | | | | | | | | The AB8500 external regulator driver is now a device in its own right, so it requires registering and probing in the normal way. This patch will ensure the driver is probed once registered for all devices which support them. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
| * mfd: dbx500-prcmu: Use correct names for clock management registersLee Jones2013-06-131-2/+2
| | | | | | | | | | | | | | ... as stipulated by the Hardware Specification document. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
| * mfd: Replace strict_strtoul() with kstrtoul() in ab* and att*Jingoo Han2013-06-133-21/+14
| | | | | | | | | | | | | | | | | | | | The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
| * mfd: ab8500-core: Add of_compatible property for ab8500-codecFabio Baltieri2013-06-131-0/+1
| | | | | | | | | | | | | | | | Add of_compatible string to the ab8500-codec cell to allow the driver to grab handlers such as regulators from device-tree when available. Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
| * mfd: ab8500-core: Add device for new RTC version for AB8540 cut2Alexandre Torgue2013-06-132-8/+49
| | | | | | | | | | | | | | | | | | | | AB8540 RTC have changed between AB8540_cut1 and AB8540_cut2.Different ressources to define for those two version. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Julien Delacou <julien.delacou@stericsson.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
| * mfd: ab8500-core: Drop references to ab8500-ledsLee Jones2013-06-131-13/+0
| | | | | | | | | | | | | | | | | | The ab8500-leds driver has never been upstreamed and was replaced by a PWM framework based driver, so these references are not needed anymore. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
* | Merge tag 'mfd-arizona-v3.10-rc2' of ↵Samuel Ortiz2013-06-139-38/+305
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc mfd: arizona: Updates for v3.10 A bunch of enhancements and fixes for the arizona devices, adding a few new features (the main one being device tree) and improving robustness.
| * | mfd: wm5110: Make DSPn_STATUS_3 readableMark Brown2013-05-232-0/+11
| | | | | | | | | | | | | | | | | | | | | These registers have been documented since the driver was originally submitted so expose them. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: arizona: Change fast_start pdata name to better reflect functionalityCharles Keepax2013-05-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bit in the register enables MICBIAS fast startup when clear not when set. This patch changes the name of this pdata option to soft_start to better match the functionality. We rename rather than invert the handling to keep the same default functionality, which is fast start active. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: arizona: Support use of external DCVDDMark Brown2013-05-202-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | When the device is used with an external DCVDD supply instead of the internal LDO1 then an extra step is required when suspending and resuming the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: Add device tree bindings for Arizona class devicesMark Brown2013-05-205-4/+159
| | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: arizona: Disable interrupts during suspendMark Brown2013-05-171-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We aren't able to handle interrupts after the device has suspended since we need to runtime resume it in order to do so but the controller may not be available any more. Handle this in the same way as we handle a similar issue on resume. Reported-by: Chuansheng Liu <chuansheng.liu@intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: arizona: Add missing cleanup on removeMark Brown2013-05-171-0/+5
| | | | | | | | | | | | | | | | | | | | | We'd forgotten to disable /RESET or the regulators. Practically speaking this code is unlikely to ever be run. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: wm5102: Manually apply register patchCharles Keepax2013-05-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Future updates will require us to manually apply the register patch for wm5102. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * | mfd: arizona: Read the device identification information after bootMark Brown2013-05-171-31/+49
| | | | | | | | | | | | | | | | | | | | | | | | Future devices may not fully report the device identification information until their boot sequence is complete so defer acting on these until that has finished. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | | MAINTAINERS: Add Lee Jones as the MFD co-maintainerSamuel Ortiz2013-06-111-1/+3
| | | | | | | | | | | | | | | | | | | | | Lee Jones from Linaro offered to help me with maitaining the MFD drivers. Also, fix the MFD tree URLs. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: jz4740-adc: Use clk_prepare_enable/clk_disable_unprepareLars-Peter Clausen2013-06-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | In preparation to switching the jz4740 clk driver to the common clk framework update the clk enable/disable calls to clk_prepare_enable/clk_disable_unprepare. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: max77687: Add registration of max77686-clkOlof Johansson2013-06-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MAX77686 clock driver has been in-tree for over 6 months, but never actually enabled through the MFD registration before. Add it to the table so the device will probe and configure properly. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: wm8994: Emulate level triggered interrupts if requiredMark Brown2013-06-113-4/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | The interrupt controller on the wm8994 series of devices requires a level triggered parent. If one is not available but a GPIO is available for the interrupt then emulate. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: cros_ec: Fix Kconfig typo - s/ned/need/Geert Uytterhoeven2013-06-111-1/+1
| | | | | | | | | | | | | | | | | | Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: tc6393xb: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: tc6387xb: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: t7l66xb: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: mcp-sa11x0: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: twl4030-madc: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: twl4030-audio: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: jz4740-adc: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: intel_msic: Remove unnecessary platform_set_drvdata()Jingoo Han2013-06-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: lpc_ich: Add support for Intel Avoton SoCJames Ralston2013-06-111-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds the LPC Controller Device IDs for Watchdog and GPIO for Intel Avoton SoC, to the lpc_ich driver. Signed-off-by: James Ralston <james.d.ralston@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: twl-core: Convert to module_i2c_driver()Grygorii Strashko2013-06-111-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shift TWL initialization to module/device init layer, because I2C now is not initialized on subsys init layer and shifted to module/device init layer instead. The I2C <--> TWL dependency should be resolved in drivers/Makefile now. Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: rtsx: Add support for RTL8411BRoger Tseng2013-06-114-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | Adding support of model RTL8411B. Since the model is similar to RTL8411, differences are implemented in rtl8411.c. Signed-off-by: Roger Tseng <rogerable@realtek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: sec-core: Remove explicit call to mfd_remove_devicesLeon Romanovsky2013-06-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | In case mfd_add_devices will fail, it will call to mfd_remove_devices by itself and return non-zero value. Signed-off-by: Leon Romanovsky <leon@leon.nu> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | mfd: Move ssbi driver into drivers/mfdArnd Bergmann2013-06-117-22/+3
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason for ssbi to have its own top-level driver directory when the only users of this interface are all MFD drivers. The only mainline driver using it at the moment (PM8921) is marked broken and in fact does not compile. I have verified that fixing the trivial build breakage in pm8921 links in the new ssbi code just fine, but that can be a separate patch. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | Linux 3.10-rc5v3.10-rc5Linus Torvalds2013-06-091-1/+1
| |