- 16 9月, 2012 1 次提交
-
-
由 Mark Brown 提交于
Currently the MFD core supports remapping MFD cell interrupts using an irqdomain but only if the MFD is being instantiated using device tree and only if the device tree bindings use the pattern of registering IPs in the device tree with compatible properties. This will be actively harmful for drivers which support non-DT platforms and use this pattern for their DT bindings as it will mean that the core will silently change remapping behaviour and it is also limiting for drivers which don't do DT with this particular pattern. There is also a potential fragility if there are interrupts not associated with MFD cells and all the cells are omitted from the device tree for some reason. Instead change the code to take an IRQ domain as an optional argument, allowing drivers to take the decision about the parent domain for their interrupts. The one current user of this feature is ab8500-core, it has the domain lookup pushed out into the driver. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 09 7月, 2012 1 次提交
-
-
由 Axel Lin 提交于
Guard PM methods with CONFIG_PM_SLEEP and get rid of some unneeded #ifdefs. This fixes below build warnings: CC drivers/mfd/tc3589x.o drivers/mfd/tc3589x.c:361:12: warning: 'tc3589x_suspend' defined but not used [-Wunused-function] drivers/mfd/tc3589x.c:375:12: warning: 'tc3589x_resume' defined but not used [-Wunused-function] SIMPLE_DEV_PM_OPS already defines constant dev_pm_ops, thus also fix 'duplicate const' sparse warning. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 24 10月, 2011 1 次提交
-
-
由 Linus Walleij 提交于
The CONFIG_PM code was unconditionally compiled in despite the dev_pm_ops only being included into the driver struct if used. Fix this by adding the missing #ifdef. Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 27 3月, 2011 1 次提交
-
-
由 Thomas Gleixner 提交于
Converted with coccinelle. Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-
- 30 12月, 2010 1 次提交
-
-
由 Sundar Iyer 提交于
Add support for the keypad controller module found on the TC3589X devices. This driver default adds the support for TC35893 device. Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> [Some minor fixups for compilation] Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
- 20 12月, 2010 8 次提交
-
-
由 Samuel Ortiz 提交于
This also converts tc3589x to the new irq API. Cc: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
Skip putting the GPIO module into a reset during the chip init. This makes sure to preserve any existing GPIO configurations done by pre-kernel boot code. Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
On the TC35892, a random delayed interrupt clear (GPIO IC) write locks up the child interrupts. In such a case, the original interrupt is active and not yet acknowledged. Re-check the IRQST bit for any pending interrupts and handle those. Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
Add block identifier to be able to add multiple mfd clients to the mfd core Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
Most of the register layout, client IRQ numbers on the TC35892 is shared also by other variants. Make this generic as tc3589x Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
Rename the tc35892 core/gpio drivers to tc3589x to include new variants in the same mfd core Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
由 Sundar Iyer 提交于
Rename the header file to include further variants within the same mfd core driver Acked-by: NSamuel Ortiz <sameo@linux.intel.com> Signed-off-by: NSundar Iyer <sundar.iyer@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
-
- 03 6月, 2010 1 次提交
-
-
由 Wolfram Sang 提交于
I2C drivers can use the clientdata-pointer to point to private data. As I2C devices are not really unregistered, but merely detached from their driver, it used to be the drivers obligation to clear this pointer during remove() or a failed probe(). As a couple of drivers forgot to do this, it was agreed that it was cleaner if the i2c-core does this clearance when appropriate, as there is no guarantee for the lifetime of the clientdata-pointer after remove() anyhow. This feature was added to the core with commit e4a7b9b0 to fix the faulty drivers. As there is no need anymore to clear the clientdata-pointer, remove all current occurrences in the drivers to simplify the code and prevent confusion. Signed-off-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Acked-by: NRichard Purdie <rpurdie@linux.intel.com> Acked-by: NDmitry Torokhov <dtor@mail.ru> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 28 5月, 2010 1 次提交
-
-
由 Rabin Vincent 提交于
The TC35892 I/O Expander provides 24 GPIOs, a keypad controller, timers, and a rotator wheel interface. This patch adds the MFD core. Acked-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
-