17 Sep, 2012

2 commits


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

    Mark Brown
     

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

    Axel Lin
     

24 Oct, 2011

1 commit


27 Mar, 2011

1 commit


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

    Sundar Iyer
     

20 Dec, 2010

7 commits