17 Sep, 2012
2 commits
-
Here we provide a means to probe and extract vital information
from Device Tree when booting with it enabled. Without this
patch sub-devices wouldn't be able to reference the tc3589x
from Device Tree.Signed-off-by: Lee Jones
Acked-by: Linus Walleij
Signed-off-by: Samuel Ortiz -
In preparation for Device Tree enablement all IRQ controllers
should control their own IRQ domain. This patch provides just
that.Signed-off-by: Lee Jones
Acked-by: Linus Walleij
Signed-off-by: Samuel Ortiz
14 Sep, 2012
1 commit
-
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: Mark Brown
Signed-off-by: Samuel Ortiz
09 Jul, 2012
1 commit
-
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: Axel Lin
Signed-off-by: Samuel Ortiz
24 Oct, 2011
1 commit
-
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: Linus Walleij
Signed-off-by: Samuel Ortiz
27 Mar, 2011
1 commit
-
Converted with coccinelle.
Signed-off-by: Thomas Gleixner
Acked-by: Mark Brown
Signed-off-by: Samuel Ortiz
30 Dec, 2010
1 commit
-
Add support for the keypad controller module found on the
TC3589X devices. This driver default adds the support for
TC35893 device.Signed-off-by: Sundar Iyer
Acked-by: Dmitry Torokhov
[Some minor fixups for compilation]
Signed-off-by: Linus Walleij
20 Dec, 2010
7 commits
-
This also converts tc3589x to the new irq API.
Cc: Rabin Vincent
Signed-off-by: Samuel Ortiz
Signed-off-by: Linus Walleij -
Acked-by: Samuel Ortiz
Signed-off-by: Sundar Iyer
Signed-off-by: Linus Walleij -
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: Samuel Ortiz
Signed-off-by: Sundar Iyer
Signed-off-by: Linus Walleij -
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: Samuel Ortiz
Signed-off-by: Sundar Iyer
Signed-off-by: Linus Walleij -
Add block identifier to be able to add multiple mfd clients
to the mfd coreAcked-by: Samuel Ortiz
Signed-off-by: Sundar Iyer
Signed-off-by: Linus Walleij -
Most of the register layout, client IRQ numbers on the TC35892 is shared also
by other variants. Make this generic as tc3589xAcked-by: Samuel Ortiz
Signed-off-by: Sundar Iyer
Signed-off-by: Linus Walleij -
Rename the tc35892 core/gpio drivers to tc3589x to include
new variants in the same mfd coreAcked-by: Samuel Ortiz
Signed-off-by: Sundar Iyer
Signed-off-by: Linus Walleij