04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, and __devexit
    from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Chris Ball
    Cc: Tony Prisk
    Cc: Will Newton
    Cc: Bill Pemberton
    Cc: Guennadi Liakhovetski
    Cc: Thomas Abraham
    Cc: Andy Shevchenko
    Cc: Adrian Hunter
    Cc: "Rafael J. Wysocki"
    Cc: Mika Westerberg
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

11 Dec, 2012

1 commit

  • sdhci-acpi supports ACPI devices which have compatibility ID
    PNP0D40, however it is not possible to know if those devices
    will all work correctly with runtime-pm, so that must be configured
    per hardware ID.

    For INT33C6, several related quirks, capabilities and flags are set:

    MMC_CAP_NONREMOVABLE
    The SDIO card will never be removable

    SDHCI_ACPI_RUNTIME_PM
    Enable runtime-pm of the host controller

    MMC_CAP_POWER_OFF_CARD
    Enable runtime-pm of the SDIO card

    MMC_PM_KEEP_POWER
    SDIO card has the capability to remain powered up
    during system suspend

    SDHCI_QUIRK2_HOST_OFF_CARD_ON
    Always do a full reset during system resume
    because the card may be already initialized having
    not been powered off.

    Wake-ups from the INT33C6 host controller are not supported, so the
    following capability must *not* be set:

    MMC_PM_WAKE_SDIO_IRQ
    Enable wake on card interrupt

    Signed-off-by: Adrian Hunter
    Acked-by: Chris Ball
    Signed-off-by: Rafael J. Wysocki

    Adrian Hunter
     

24 Nov, 2012

1 commit

  • Add a driver for SDHCI controllers enumerated via ACPI and identified
    by the ACPI Compatibility ID PNP0D40 (or other SDHCI-specific ACPI
    hardware IDs in the future).

    [rjw: Added the changelog.]
    Signed-off-by: Adrian Hunter
    Acked-by: Chris Ball
    Reviewed-by: Mika Westerberg
    Signed-off-by: Rafael J. Wysocki

    Adrian Hunter