aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd
AgeCommit message (Collapse)Author
2010-04-28Almost make rotation workgdrm-2.6.32Thomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-04-24Remove a couple of debugging messagesThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-04-24JBT6k74 tweaks: Make resolution switch workThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-04-18Reject modes with clock=0Thomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-04-17Revert "Re-enable Glamo fence IRQ if it sticks"Thomas White
This reverts commit e49965464471cbbf2b8b5ff0883959961d06a8a6.
2010-04-13Fix KMS framebuffer physical addressThomas White
This allows "/dev/fb0" to work correctly with mmap(). Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-04-13Re-enable Glamo fence IRQ if it sticksThomas White
Also fix a formatting typo. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-03-21Enable display before trying to set mode or baseThomas White
This makes it possible to change mode when the screen is switched off. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-03-08Clean up JBT hooks, and allow resolution switchingThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-03-01Change connector type to LVDSThomas White
Not certain that this exactly describes what it is, and too lazy to check, but for sure it's a better description than "Unknown". Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-03-01Report all FB modes given by the lower levelsThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-28Don't choke if userspace provides a pixel clock valueThomas White
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-28Simplify the JBT6k74 driverThomas White
We don't need all the native sleep states - they just complicate things. Instead, just use the LDO "power switch" to send it firmly to sleep and wake it up in a virgin state each time. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-09A couple of GEM refcounting fixesThomas White
This allows GEM objects to be freed properly, which wasn't working before. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-09Fix crash when reading Glamo registers via sysfsThomas White
glamo-core didn't ioremap() some areas, so don't try to read them. Signed-off-by: Thomas White <taw@bitwiz.org.uk>
2010-02-09glamo-drm: select DRM_KMS_HELPER for crtc functionsMartin Jansa
2010-02-09glamo-drm: use dev_set_drvdata instead of setting driver_data directlyMartin Jansa
* driver_data is private since 2.6.32 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b4028437876866aba4747a655ede00f892089e14 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-02-09Work 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>
2010-02-09Glamo 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>
2010-01-22Merge branch 'pcf50633-2.6.32' into om-gta02-2.6.32om-gta02-2.6.32Lars-Peter Clausen
2010-01-22pcf50633: Move pcf50633-gpio driver to the gpio drivers folderLars-Peter Clausen
2010-01-22pcf50633-gpio: Add gpiolib support.Lars-Peter Clausen
2010-01-17Merge branch 'glamo-2.6.32' into om-gta02-2.6.32Lars-Peter Clausen
2010-01-17glamo: ups... forgot to commit header file for previous commitLars-Peter Clausen
2010-01-17Merge branch 'glamo-2.6.32' into om-gta02-2.6.32Lars-Peter Clausen
2010-01-17glamo: restore irq mask after resume.Lars-Peter Clausen
2009-12-21Merge branches 'bq27000-2.6.32', 'glamo-2.6.32', 'jbt6k74-2.6.32', ↵Lars-Peter Clausen
'pcf50633-2.6.32', 'wm8753-2.6.32', 's3c-touchscreen-2.6.32' and 'om-s3c-2.6.32' into om-gta02-2.6.32
2009-12-06backlight/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-12-06MFD: pcf50633: Fix bitfield logic in interrupt handlerLars-Peter Clausen
As those constans are alread bitfields it's wrong Those constants are already bitfields.
2009-12-06mfd: 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-12-06mfd: 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-12-06mfd: 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-12-06mfd: 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-12-06mfd: 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-12-06mfd: 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-12-06mfd: 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-12-06mfd: pcf50633: use set_irq_handler before requesting irqPaul Fertser
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-12-06glamo-mci: select CRC7 in KconfigMarc Andre Tanner
Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>
2009-12-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-12-06glamo: Remove stupid debug message.Lars-Peter Clausen
2009-12-06glamo-mci: Fix regulator error checkLars-Peter Clausen
regulator_get returns a ERR_PTR in case of an error and not a NULL pointer.
2009-12-06glamo-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-12-06glamo: 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-12-06glamo: Fix checkpatch issuses.Lars-Peter Clausen
2009-12-06glamo-core: Properly initalize irq_baseLars-Peter Clausen
2009-12-06glamo-mci: Reset if engine is stalled.Lars-Peter Clausen
2009-12-06glamo-mci: Wait for the mmc engine to become idle before signaling that aLars-Peter Clausen
request has been finished.
2009-12-06glamo-mci: do_pio_{read,write}: Use sg_mapping_iter to iterate through the ↵Lars-Peter Clausen
sg list.
2009-12-06Add glamo driver.Lars-Peter Clausen
2009-12-01mfd: Correct WM831X_MAX_ISEL_VALUEMark Brown
There was confusion between the array size and the highest ISEL value possible. Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>