08 Apr, 2013

1 commit


22 Jan, 2013

1 commit

  • This fixes a regression in the TC3589x driver introduced in
    commit 15e27b1088245a2de3b7d09d39cd209212eb16af
    "mfd: Provide the tc3589x with its own IRQ domain"

    If a system with a TC3589x expander is booted and a base
    IRQ is passed from platform data, a legacy domain will
    be used. However, since the Ux500 is now switched to use
    SPARSE_IRQ, no descriptors get allocated on-the-fly,
    and we get a crash.

    Fix this by switching to using the simple irqdomain that
    will handle this uniformly and also allocates descriptors
    explicitly.

    Also fix two small whitespace errors in the vicinity while
    we're at it.

    Cc: stable@kernel.org
    Acked-by: Lee Jones
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     

29 Nov, 2012

3 commits

  • CONFIG_HOTPLUG is going away as an option so __devexit is no
    longer needed.

    Signed-off-by: Bill Pemberton
    Cc: Srinidhi Kasagar
    Cc: Peter Tyser
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Acked-by: David Brown
    Acked-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devinit is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Srinidhi Kasagar
    Cc: Peter Tyser
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Acked-by: David Brown
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Srinidhi Kasagar
    Cc: Peter Tyser
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Acked-by: David Brown
    Acked-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     

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