mbox series

[0/3] mmc: sdhci: Add quirk to disable LED control

Message ID 20181211131044.1481-1-adrian.hunter@intel.com (mailing list archive)
Headers show
Series mmc: sdhci: Add quirk to disable LED control | expand

Message

Adrian Hunter Dec. 11, 2018, 1:10 p.m. UTC
Hi

Host controllers may not have a LED signal line, whereas the register
updates to control the non-existent LED can be relatively time consuming.
Add a quirk to disable LED control, and use it for BYT-based controllers.


Adrian Hunter (3):
      mmc: sdhci: Add quirk to disable LED control
      mmc: sdhci-pci: Disable LED control for Intel BYT-based controllers
      mmc: sdhci-acpi: Disable LED control for Intel BYT-based controllers

 drivers/mmc/host/sdhci-acpi.c     |  7 +++++--
 drivers/mmc/host/sdhci-pci-core.c | 15 ++++++++++-----
 drivers/mmc/host/sdhci.c          | 12 ++++++++++++
 drivers/mmc/host/sdhci.h          |  2 ++
 4 files changed, 29 insertions(+), 7 deletions(-)


Regards
Adrian

Comments

Ulf Hansson Dec. 12, 2018, 9:19 a.m. UTC | #1
On Tue, 11 Dec 2018 at 14:12, Adrian Hunter <adrian.hunter@intel.com> wrote:
>
> Hi
>
> Host controllers may not have a LED signal line, whereas the register
> updates to control the non-existent LED can be relatively time consuming.
> Add a quirk to disable LED control, and use it for BYT-based controllers.
>
>
> Adrian Hunter (3):
>       mmc: sdhci: Add quirk to disable LED control
>       mmc: sdhci-pci: Disable LED control for Intel BYT-based controllers
>       mmc: sdhci-acpi: Disable LED control for Intel BYT-based controllers
>
>  drivers/mmc/host/sdhci-acpi.c     |  7 +++++--
>  drivers/mmc/host/sdhci-pci-core.c | 15 ++++++++++-----
>  drivers/mmc/host/sdhci.c          | 12 ++++++++++++
>  drivers/mmc/host/sdhci.h          |  2 ++
>  4 files changed, 29 insertions(+), 7 deletions(-)
>
>

Applied for next, thanks!

Seems like we also should add a corresponding SDHCI DT binding, as I
assume this is may be common thing one would like to opt-out from.

Kind regards
Uffe