20 Oct, 2014

1 commit


19 Jun, 2014

1 commit


06 Jan, 2014

1 commit

  • As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
    refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
    mfd_add_devices() is "const" again. Hence make all cell data passed to
    mfd_add_devices() const where possible.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Lee Jones

    Geert Uytterhoeven
     

31 Jul, 2013

1 commit


12 Jun, 2013

1 commit

  • The driver core clears the driver data to NULL after device_release
    or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
    (device-core: Ensure drvdata = NULL when no driver is bound).
    Thus, it is not needed to manually clear the device driver data to NULL.

    Signed-off-by: Jingoo Han
    Acked-by: Lee Jones
    Acked-by: Mika Westerberg
    Signed-off-by: Samuel Ortiz

    Jingoo Han
     

18 May, 2013

1 commit


08 Apr, 2013

1 commit


26 Jan, 2013

1 commit

  • Convert all uses of devm_request_and_ioremap() to the newly introduced
    devm_ioremap_resource() which provides more consistent error handling.

    devm_ioremap_resource() provides its own error messages so all explicit
    error messages can be removed from the failure code paths.

    Signed-off-by: Thierry Reding
    Cc: Samuel Ortiz
    Signed-off-by: Greg Kroah-Hartman

    Thierry Reding
     

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
     

16 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
     

01 May, 2012

1 commit


09 Jan, 2012

1 commit


24 Oct, 2011

2 commits

  • Without this header we might get following compilation errors:

    drivers/mfd/intel_msic.c:303:2: error: implicit declaration of function 'readb'
    drivers/mfd/intel_msic.c:433:2: error: implicit declaration of function 'ioremap_nocache'
    drivers/mfd/intel_msic.c:433:17: warning: assignment makes pointer from integer without a cast
    drivers/mfd/intel_msic.c:455:2: error: implicit declaration of function 'iounmap'

    Signed-off-by: Mika Westerberg
    Signed-off-by: Samuel Ortiz

    Mika Westerberg
     
  • Add support for Intel MSIC chip found on Intel Medfield platforms. This
    chip embeds several subdevices: audio, ADC, GPIO, power button, etc. The
    driver creates platform device for each subdevice.

    We also provide an MSIC register access API which should replace the more
    generic SCU IPC interface currently used. Existing drivers can choose
    whether they convert to this new API or stick with the SCU IPC interface.

    Signed-off-by: Mika Westerberg
    Signed-off-by: Samuel Ortiz

    Mika Westerberg