From patchwork Tue Dec 11 13:10:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 10723745 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABA8D15A6 for ; Tue, 11 Dec 2018 13:12:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CA422A9B4 for ; Tue, 11 Dec 2018 13:12:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F0FC2A9DC; Tue, 11 Dec 2018 13:12:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 309882A9D5 for ; Tue, 11 Dec 2018 13:12:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726252AbeLKNM0 (ORCPT ); Tue, 11 Dec 2018 08:12:26 -0500 Received: from mga06.intel.com ([134.134.136.31]:40117 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726135AbeLKNM0 (ORCPT ); Tue, 11 Dec 2018 08:12:26 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2018 05:12:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,342,1539673200"; d="scan'208";a="108671063" Received: from ahunter-desktop.fi.intel.com ([10.237.72.130]) by fmsmga008.fm.intel.com with ESMTP; 11 Dec 2018 05:12:24 -0800 From: Adrian Hunter To: Ulf Hansson Cc: linux-mmc Subject: [PATCH 0/3] mmc: sdhci: Add quirk to disable LED control Date: Tue, 11 Dec 2018 15:10:41 +0200 Message-Id: <20181211131044.1481-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.17.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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