aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd
AgeCommit message (Collapse)Author
2009-11-22Work on Glamo-core for DRMThomas White
This adds modifications to the core of the Glamo driver to expose functionality to support DRM and KMS. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-22Glamo DRM and KMS driverThomas White
This adds the Glamo DRM and KMS driver, but not the modifications needed elsewhere to support it. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2009-11-06Merge branch 'om-gta02-2.6.31' into om-2.6.31Lars-Peter Clausen
2009-11-06Merge branch 'glamo-2.6.31' into om-gta02-2.6.31Lars-Peter Clausen
2009-11-06Fix jiffies comparisonNelson Castillo
Jiffies can wrap. We have to use macros to compare them. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-11-04Merge branch 'om-gta02-2.6.31' into om-2.6.31Lars-Peter Clausen
2009-11-04Merge branch 'glamo-2.6.31' into om-gta02-2.6.31Lars-Peter Clausen
2009-11-04glamo: Remove stupid debug message.Lars-Peter Clausen
2009-11-03Readd glamo to mfd KconfigLars-Peter Clausen
This must have been lost during some merge conflict.
2009-11-02Merge branches 'om-gta02-2.6.31' and 'om-gta01-2.6.31' into om-2.6.31Lars-Peter Clausen
Conflicts: drivers/mfd/Kconfig
2009-11-02Merge branches 'pcf50633-2.6.31' and 'gta02-machine-devices-2.6.31' into ↵Lars-Peter Clausen
om-gta02-2.6.31
2009-11-02backlight/mfd: Add pcf50633 backlight driverLars-Peter Clausen
This patch adds a backlight driver controling the pcf50633 led converter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2009-10-24MFD: pcf50633: Fix bitfield logic in interrupt handlerLars-Peter Clausen
As those constans are alread bitfields it's wrong Those constants are already bitfields.
2009-10-23pcf50606-adc: Some minor cleanupsLars-Peter Clausen
2009-10-23pcf50606-core: Some minor cleanups.Lars-Peter Clausen
2009-10-22pcf50606: remove gpo driverLars-Peter Clausen
Since it is not use and probably never will be it's safe to remove it.
2009-10-17Merge branches 'om-gta02-2.6.31' and 'om-gta01-2.6.31' into om-2.6.31Lars-Peter Clausen
Conflicts: drivers/mfd/Kconfig drivers/power/Kconfig drivers/power/Makefile
2009-10-17pcf50606: Add newline to error message.Lars-Peter Clausen
2009-10-17pcf50606: Use disable_irq_nosync to prevent deadlock.Lars-Peter Clausen
2009-10-17Merge branch 'glamo-2.6.31' into om-gta02-2.6.31Lars-Peter Clausen
2009-10-17Fix pcf50606-regulator drvdata usagePaul Fertser
Ported from 01f61025cee418405880d653f33ce179873a3610
2009-10-17Use platform_device_add_data to set regulator platform dataPaul Fertser
Ported from 0231c22f5955bbe72c88815f119198c734149e00
2009-10-17Cleanup pcf50606_probe error handlingPaul Fertser
Ported from f9745d7f9cca30230a827f2170cf038a368f9992
2009-10-17Fix memleak in pcf50633_client_dev_registePaul Fertser
Ported from 207ec43e8c5a54dfc82a0e65af5b8f2765e3cbb8
2009-10-17make suspend/resume belong to i2c_driverPaul Fertser
Ported from 804ed578713f259c23e6e98e4740588f4aa00519
2009-10-17Inital pcf50606 supportLars-Peter Clausen
2009-10-17glamo-mci: Fix regulator error checkLars-Peter Clausen
regulator_get returns a ERR_PTR in case of an error and not a NULL pointer.
2009-10-11Merge branch 'glamo-2.6.31' into om-gta02-2.6.31Lars-Peter Clausen
2009-10-10glamo-core: Use set_irq_flags on ARM only. set_irq_{no,}prove everywhere elseLars-Peter Clausen
Although there will probably never any other platform using the glamo...
2009-10-10glamo: Use set_irq_data instead of set_irq_chip_data for the demux handlerLars-Peter Clausen
Also fixup order in which the irq handler and it's data are initalized.
2009-10-10glamo: Fix checkpatch issuses.Lars-Peter Clausen
2009-10-10glamo-core: Properly initalize irq_baseLars-Peter Clausen
2009-10-10glamo-mci: Reset if engine is stalled.Lars-Peter Clausen
2009-10-10Merge branch 'glamo-2.6.31' into om-gta02-2.6.31Lars-Peter Clausen
2009-10-10glamo-mci: Wait for the mmc engine to become idle before signaling that aLars-Peter Clausen
request has been finished.
2009-10-10glamo-mci: do_pio_{read,write}: Use sg_mapping_iter to iterate through the ↵Lars-Peter Clausen
sg list.
2009-10-09Merge branches 'om-s3c-2.6.31', 'gta02-machine-2.6.31', 'ar6000-2.6.31', ↵Lars-Peter Clausen
'glamo-2.6.31', 'jbt6k74-2.6.31', 'gta02-vibrator-2.6.31', 'bq27000-2.6.31', 'wm8753-2.6.31' and 'pcf50633-2.6.31' into om-gta02-2.6.31
2009-10-09mfd: pcf50633: Fix pcf50633-regulator drvdata usageLars-Peter Clausen
Currently the pcf50633-regulator driver data is set to the pcf50633 core structure, but the pcf50633-regulator remove handler assumes that it is set to the regulator device. This patch fixes the issue by accessing the pcf506533 core structure through its parent device and setting the driver data to the regulator device. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2009-10-09mfd: pcf50633: Use platform_device_add_data to set regulator platform dataLars-Peter Clausen
Platform devices allocated with platform_device_alloc should use platform_device_add_data to set the platform data, because kfree will be called on the platform_data when the device is released. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2009-10-09mfd: pcf50633: Cleanup pcf50633_probe error handlingLars-Peter Clausen
Currently the child devices were not freed if the irq could not be requested. This patch restructures the function, that in case of an error all previously allocated resources are freed. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2009-10-07mfd: pcf50633: Fix memleak in pcf50633_client_dev_registerLars-Peter Clausen
Since platform_device_add_data copies the passed data, the allocated subdev_pdata is never freed. A simple fix would be to either free subdev_pdata or put it onto the stack. But since the pcf50633 child devices can rely on beeing children of the pcf50633 core device it's much more elegant to get access to pcf50633 core structure through that link. This allows to get completly rid of pcf5033_subdev_pdata. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2009-10-07mfd: pcf50633: move messages to appropriate log levelsArnaud Patard
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-10-07mfd: pcf50633: make suspend/resume belong to i2c_driverLars-Peter Clausen
When not using the i2c suspend/resume callbacks the i2c client resumed before the i2c master. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-10-07mfd: pcf50633 disable unnecessary shutdown on lowsysPaul Fertser
On gta02 hardware revision A5 it can actually bring the system down during normal operating conditions so we disable it. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-10-07mfd: pcf50633: use set_irq_handler before requesting irqPaul Fertser
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-10-07pcf50633: use a dedicated workqueue for irq processingPaul Fertser
Using the default kernel "events" workqueue causes problems with synchronous adc readings if initiated from some task on the same workqueue. I had a deadlock trying to use pcf50633_adc_sync_read from a power_supply class driver because the reading was initiated from the workqueue and it waited for the irq processing to complete (to get the result) and that was put on the same workqueue. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-10-05Add glamo driver.Lars-Peter Clausen
2009-08-04mfd: twl4030 irq fixesRussell King
The TWL4030 IRQ handler has a bug which leads to spinlock lock-up. It is calling the 'unmask' function in a process context. :The mask/unmask/ack functions are only designed to be called from the IRQ handler code, or the proper API interfaces found in linux/interrupt.h. Also there is no need to have IRQ chaining mechanism. The right way to handle this is to claim the parent interrupt as a standard interrupt and arrange for handle_twl4030_pih to take care of the rest of the devices. Mail thread on this issue can be found at: http://marc.info/?l=linux-arm-kernel&m=124629940123396&w=2 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2009-07-08Merge branch 'for-linus' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: gpio_mouse - use standard driver registration method Input: mark serio and i8042 as suspended when hibernating too Input: add support for generic GPIO-based matrix keypad Input: arrange keyboards alphabetically Input: gpio-keys - avoid possibility of sleeping in timer function Input: gpio-keys - revert 'change timer to workqueue' Input: dm355evm_keys - fix kconfig symbol names Input: wacom - add DTF720a support and fix rotation on Intuos3 Input: i8042 - more reset quirks for MSI Wind-clone netbooks
2009-07-03mfd: fix pcap adc lockingDaniel Ribeiro
Release the lock on error. Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>