From patchwork Fri May 18 22:03:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Branden X-Patchwork-Id: 10412395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 299E160230 for ; Fri, 18 May 2018 22:07:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1428B28A81 for ; Fri, 18 May 2018 22:07:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 069E528AA8; Fri, 18 May 2018 22:07:26 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7B4C528A81 for ; Fri, 18 May 2018 22:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=jJWn1syYqpkwLTwaLlZEtpNWlbO4v6RZsr7/CwWtjIM=; b=Uc0EuxNkRkzRY547DaGfOMNxrE PcFZir3UiZU3j9bABb5vgkbqQnVlwyGQfCAZ5s22PFG/Nc19kdQ24etdfA8QORirWPMGTaLs4kl3a bo7ViEHAFxHWTiw8WLJAU+ki61unUh4CA0ut4uXqNqz7T3MJXvz1NmvmkfcxW+kM/HaD9AffsJLv8 Qete1Z7ovWrXbBzJOZr0HcG8IDhYVs+z7dzpj9jJfSFZDaPIItuGV1GQbkuLYG3Y5NYQISVY0Y7Eb 6jSSkJ/d8wt3CA0hI+1tCXhzY64mYuNN61SV7TBK1mcQ2AUQzEvWr3ems5oLpnrEiT4DjZqE25fEJ 6AmOgMkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJnWx-0001ap-At; Fri, 18 May 2018 22:07:19 +0000 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJnU9-0006Vc-Vw for linux-arm-kernel@lists.infradead.org; Fri, 18 May 2018 22:04:31 +0000 Received: by mail-qk0-x244.google.com with SMTP id l132-v6so7659206qke.3 for ; Fri, 18 May 2018 15:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mUI+MKIONwWxbhO1ncGA/OdA+ZbFHjTa+ykVc5bLwNo=; b=d2GtW0kMPZfKX5vj37m8Q/yT6cl/lyy4ofDLeMdaoseDwZ9WVIJso43imT6dk/LjDc OWmoM2vSvdGj6EKAYbF5lbKSC3KRG7b43KzyIY36TlWC2QZ7XQ3NQEGcuBN3JSxY+Gqr TcmYHgdVnOihc2EE+vCH8F84hDAOlchd7V2Mw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mUI+MKIONwWxbhO1ncGA/OdA+ZbFHjTa+ykVc5bLwNo=; b=fP7nMV0OUTReNtLvJahPHSECOwYF3ir6I9gclgiHxaAivPgdwSu40Sxfkbgsq9kJKt WiqTHX2BTTBWBBD7voFZHmD71fB8D9Ovuvx8hTQ2ZkDGKpzZpQXDSzNukbTWbO2+UA3D siTj57AcBXwMOk6VUUjwFZWxWbDQS+InpRn90uJ+upP5y45a9bHN1c/SNUlJEJXocdBY usc4geIDbbYYQuOqP6aCkSTktN6wqdJWZQv6iOM/CmfXvGQqSAcqiCoDsTvB38uoqGI8 nNPm61BODukHTHs5R81K6kPOm21Uu1jxjQ7QUUbzuG0gTldeOtEEnZXf+y59Y56gNAG8 YbZg== X-Gm-Message-State: ALKqPwd0iQu0Cur3DlC41g8kY08F7cLSzSQjCrQVL/JBDIx4Mq4o0jrL sCUmSEe6hUdPMLntOXGILFTzhg== X-Google-Smtp-Source: AB8JxZqEEcnqjin5FaAVSQ2Yikd0KepPGlLqID4IjIi4Ih6TUT4S7e298X/zAqnv08CQShN0cIeuQw== X-Received: by 2002:a37:24c2:: with SMTP id k63-v6mr10458183qkk.28.1526681054977; Fri, 18 May 2018 15:04:14 -0700 (PDT) Received: from lbrmn-lnxub113.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id m4-v6sm1829866qkf.91.2018.05.18.15.04.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 May 2018 15:04:14 -0700 (PDT) From: Scott Branden To: Adrian Hunter , Ulf Hansson Subject: [PATCH 3/3] mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus Date: Fri, 18 May 2018 15:03:57 -0700 Message-Id: <1526681037-2074-4-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1526681037-2074-1-git-send-email-scott.branden@broadcom.com> References: <1526681037-2074-1-git-send-email-scott.branden@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180518_150426_039248_7A50CA4A X-CRM114-Status: GOOD ( 13.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Scott Branden , Corneliu Doban , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, BCM Kernel Feedback , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Corneliu Doban The SDHCI_QUIRK2_HOST_OFF_CARD_ON is needed for the driver to properly reset the host controller (reset all) on initialization after exiting deep sleep. Signed-off-by: Corneliu Doban Signed-off-by: Scott Branden Reviewed-by: Ray Jui Reviewed-by: Srinath Mannam --- drivers/mmc/host/sdhci-iproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 1f0ab08..d0e83db 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -186,7 +186,7 @@ static const struct sdhci_ops sdhci_iproc_32only_ops = { static const struct sdhci_pltfm_data sdhci_iproc_cygnus_pltfm_data = { .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, - .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, + .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN | SDHCI_QUIRK2_HOST_OFF_CARD_ON, .ops = &sdhci_iproc_32only_ops, };