- 17 Jun, 2009 7 commits
-
-
Daniel Ribeiro authored
The PCAP Asic as present on EZX phones is a multi function device with voltage regulators, ADC, touch screen controller, RTC, USB transceiver, leds controller, and audio codec. It has two SPI ports, typically one is connected to the application processor and another to the baseband, this driver provides read/write functions to its registers, irq demultiplexer and ADC queueing/abstraction. This chip is used on a lot of Motorola phones, it was manufactured by TI as a custom product with the name PTWL93017, later this design evolved into the ATLAS PMIC from Freescale (MC13783). Signed-off-by:
Daniel Ribeiro <drwyrm@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Linus Walleij authored
This adds a core driver for the AB3100 mixed-signal circuit found in the ST-Ericsson U300 series platforms. This driver is a singleton proxy for all accesses to the AB3100 sub-drivers which will be merged on top of this one, RTC, regulators, battery and system power control, vibrator, LEDs, and an ALSA codec. Signed-off-by:
Linus Walleij <linus.walleij@stericsson.com> Reviewed-by:
Mike Rapoport <mike@compulab.co.il> Reviewed-by:
Ben Dooks <ben-linux@fluff.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Thomas Gleixner authored
The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have been kept around for migration reasons. After more than two years it's time to remove them finally. This patch cleans up one of the remaining users. When all such patches hit mainline we can remove the defines and typedefs finally. Impact: cleanup Convert the last remaining users and remove the typedef. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Adrian Bunk authored
Add the missing MODULE_LICENSE("GPL"). Signed-off-by:
Adrian Bunk <bunk@kernel.org> Cc: Balaji Rao <balajirrao@openmoko.org> Cc: Andy Green <andy@openmoko.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
No impact unless someone has written additional kernel code. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Rakib Mullick authored
Impact: Fix section mismatch. clocks_init() has been called from twl4030_probe() which is a non-init function. Since probing can be done anytime so clocks_init will be called anytime too. So we mark clock_init() as non-init. LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.text+0x8dd9): Section mismatch in reference from the function twl4030_probe() to the function .init.text:clocks_init() The function twl4030_probe() references the function __init clocks_init(). This is often because twl4030_probe lacks a __init annotation or the annotation of clocks_init is wrong. Signed-off-by:
Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
This includes the USB current limit status override which is used in the power management driver. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 16 Jun, 2009 1 commit
-
-
Greg Kroah-Hartman authored
In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so are backwards compatible with all older kernel versions. Cc: Samuel Ortiz <sameo@linux.intel.com> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 13 Jun, 2009 1 commit
-
-
Philipp Zabel authored
The Toshiba parts all have a 24 MHz HCLK, but HTC ASIC3 has a 24.576 MHz HCLK and AMD Imageon w228x's HCLK is 80 MHz. With this patch, the MFD driver provides the HCLK frequency to tmio_mmc via mfd_cell->driver_data. Signed-off-by:
Philipp Zabel <philipp.zabel@gmail.com> Acked-by:
Ian Molton <ian@mnementh.co.uk> Acked-by:
Samuel Ortiz <sameo@openedhand.com> Signed-off-by:
Pierre Ossman <pierre@ossman.eu>
-
- 19 May, 2009 2 commits
-
-
Nelson Castillo authored
Without this change Openmoko Freerunner (GTA02) bootstrap will deadlock. As pointed out in other patches this issue is in the wild since the merge of: : commit 3aa551c9 : Author: Thomas Gleixner <tglx@linutronix.de> : Date: Mon Mar 23 18:28:15 2009 +0100 : : genirq: add threaded interrupt handler support : : Add support for threaded interrupt handlers Signed-off-by:
Nelson Castillo <arhuaco@freaks-unidos.net> Cc: Ingo Molnar <mingo@elte.hu> Cc: <balajirrao@openmoko.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
Due to the way that the WM8350 audio driver handles CODEC_ENA many of the WM8350 audio registers are marked as volatile when they aren't actually so. Allow the audio driver to see a cache of these values for inspection during interrupt context. To do this we need to stop satisfying any bits from volatile registers from cache - there's no real benefit from doing so anyway, we did the read already. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- 04 Apr, 2009 8 commits
-
-
Samuel Ortiz authored
The da903x interrupt handler is retruning an int instead of an irqreturn_t. Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
Mark Brown authored
Reverse the order of the tests for loop exit so we use a valid value before we time out. Vanishingly unlikely to happen since we retry for several times the expected conversion time. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Tobias Klauser authored
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by:
Tobias Klauser <tklauser@distanz.ch> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Philipp Zabel authored
Signed-off-by:
Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Philipp Zabel authored
This patch makes htc-pasic3 register the DS1WM and LED cell drivers through the MFD core infrastructure instead of allocating the platform devices manually. It also calculates the bus_shift parameter from the memory resource size. Signed-off-by:
Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Mark Brown authored
Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Mark Brown authored
Some I2C controllers have high overheads for setting up I2C operations which makes the register cache setup on startup excessively slow since it does a lot of small transactions. Reduce this overhead by doing a bulk read of the entire register bank and filtering out what we don't need later. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Huang Weiyi authored
Removed duplicated #include <linux/device.h> in drivers/mfd/pcf50633-core.c Signed-off-by:
Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
- 31 Mar, 2009 1 commit
-
-
David Brownell authored
Add VPLL2 to the set of twl4030-family regulators exposed for use by various drivers. It's commonly used to power the digital video outputs (e.g. LCD or DVI displays) on OMAP3 systems. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Liam Girdwood <lrg@slimlogic.co.uk>
-
- 30 Mar, 2009 1 commit
-
-
Matt LaPlante authored
Signed-off-by:
Matt LaPlante <kernel1@cyberdogtech.com> Acked-by:
Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- 24 Mar, 2009 1 commit
-
-
Kay Sievers authored
Cc: sameo@openedhand.com Acked-by:
Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org>
-
- 12 Mar, 2009 1 commit
-
-
Mark Brown authored
No software visible difference from revision A. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Samuel Ortiz <sameo@openedhand.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 17 Feb, 2009 11 commits
-
-
Rakib Mullick authored
WARNING: drivers/mfd/built-in.o(.text+0x1706): Section mismatch in reference from the function sm501_register_gpio() to the function .devinit.text:sm501_gpio_register_chip() The function sm501_register_gpio() references the function __devinit sm501_gpio_register_chip(). This is often because sm501_register_gpio lacks a __devinit annotation or the annotation of sm501_gpio_register_chip is wrong. Signed-off-by:
Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Alexey Dobriyan authored
drv => driver renaming is needed otherwise modpost will spit false positives re pointing to __devinit function from regular data. Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Jean Delvare authored
The i2c_device_id list is supposed to be zero-terminated. Signed-off-by:
Jean Delvare <khali@linux-fr.org> Cc: Balaji Rao <balajirrao@openmoko.org> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
-
Mark Brown authored
The IRQs might have been left enabled in hardware, generating spurious IRQs before the drivers have registered. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Philipp Zabel authored
Fixes an off-by-one error in the iomem resource mapping. Signed-off-by:
Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Mark Brown authored
Many ARM platforms do not provide a mach/cpu.h so rather than guarding the use of that header with CONFIG_ARM guard it with the guards used when testing for the OMAP variants in the body of the code. Signed-off-by:
Mark Brown <broonie@sirena.org.uk> Acked-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Roel Kluin authored
With a postfix decrement tries will reach -1 rather than 0, so the warning will not be issued even upon timeout. Signed-off-by:
Roel Kluin <roel.kluin@gmail.com> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Mark Brown authored
The code is out of sync with the silicon. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Mark Brown authored
Check the return value of the device I/O functions when reading the ID registers so we can provide a more useful diagnostic when we're having trouble talking to the device. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Mark Brown authored
Ensure that the interrupt handling is configured before we do platform specific init. This allows the platform specific initialisation to configure things which use interrupts safely. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Julia Lawall authored
Since ei is already known to be non-NULL, I assume that what was intended was to test the result of kzalloc. Signed-off-by:
Julia Lawall <julia@diku.dk> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
- 15 Jan, 2009 1 commit
-
-
Balaji Rao authored
Remove references to set_irq_type and handle_level_irq which are not exported to modules Signed-off-by:
Balaji Rao <balajirrao@openmoko.org> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
- 13 Jan, 2009 1 commit
-
-
Russell King authored
Always pass a struct device if one is available; and there's really no reason for the processor specific stuff in this file if only people would follow the API usage properly by using the struct device. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 11 Jan, 2009 4 commits
-
-
Samuel Ortiz authored
Fixes: drivers/mfd/twl4030-core.c:657: error: implicit declaration of function 'cpu_is_omap2430' Not the nicest fix, but this should be improved by a better OMAP clock API implementation. Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Ben Dooks authored
When setting an GPIO to either input or output, we should ensure that the pin configuration elsewhere in the chip is set to GPIO in-case the initial setup has not been done correctly. Signed-off-by:
Ben Dooks <ben-linux@fluff.org> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
David Brownell authored
Support card detect and writeprotect switches on DM355 EVM. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-
Balaji Rao authored
What the PCF05633 calls as a 'GPIO' is much more than the GPIO in the linux sense and there are only 4 of them - which means, the gpiolib is not used here. Signed-off-by:
Balaji Rao <balajirrao@openmoko.org> Cc: Andy Green <andy@openmoko.com> Signed-off-by:
Samuel Ortiz <sameo@openedhand.com>
-