From patchwork Mon Feb 5 12:50:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 126860 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1944868ljc; Mon, 5 Feb 2018 04:55:29 -0800 (PST) X-Google-Smtp-Source: AH8x225xdbPqGvsn8E2EvjqnhLvAMgiAt+DswVv38ccWxlS8F1U2A12FZz2por2Ot2FXNhkl0Bh6 X-Received: by 2002:a17:902:b406:: with SMTP id x6-v6mr34725406plr.150.1517835329563; Mon, 05 Feb 2018 04:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517835329; cv=none; d=google.com; s=arc-20160816; b=g1QbmESx8Ccx3SXo5pHnkCmGIWeIkmG7F5vigNXat+OfGOLyeFxBmLI5SPjgE8kzup kGHTG9FTeF+dPbHAHVOCYOzXWp2Cy4nUH7/PVy8uElxKNKqpTeKT/CN/B3InHhrVjjwW C+7fBr+Rg+brEg6GpIHMtIcTqZ1y2fs84RfKsZXMVi/9QE0dEuUxqfXWFvSVnAo1mjgr MQU5VxKjqD8XeHQ/SDaxm6335fNAOe+aJucgULY1Nocp2XV16apZfXn/P7hAiCK0EeDZ KOZSxSZl5+DlKtZK49QrZrC5s/WjxhVpl/wnAdtt/5ITnavymhZOmjIwPjUSScs/NNwU 9OiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=2qa5MpTGHMbbwLsmycrIH/lv4Q2TDfdMUUjlcDxyv/E=; b=mXa4wy264YToSlKX97st+vhA+UeqTw4G4nZ1t+25ty85MmWsjLpr2z0xAOCAcSRa1t rQjvFnTd3VLm2eKvv9ffewXnYLg/lK2MoqH7YT+n0JgtE1aVATrNoYmto0fiyfmJvdp0 j2uvywNzO683+6SzUHyikR0nbSc4o7iPVVeCEfGT0ONbZ6KenMfgE6ydMbqknKeBZol/ HRY5HlNxkPk/S59FpylF5dDnLE5AU72NlGYf2JDCWP5YRaQ2HB0gbKEI0kHoDsxi8xi5 DBKmkzBPARE4qJUWDaaCMvDVGe6lxHEJApsBeR/w+sppSmVOf1S9GpH+8TKqXnBwM8T6 GmIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h2pCgUZw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a80si6833656pfa.6.2018.02.05.04.55.29; Mon, 05 Feb 2018 04:55:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h2pCgUZw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753314AbeBEMz0 (ORCPT + 28 others); Mon, 5 Feb 2018 07:55:26 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:29249 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015AbeBEMvf (ORCPT ); Mon, 5 Feb 2018 07:51:35 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w15Cp6T6010676; Mon, 5 Feb 2018 06:51:06 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517835066; bh=NDjo/cfB2UpDXEwpkDPLp+FNxEOsgl601Pt2M/VFwNI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=h2pCgUZw9LoLsMrduQ6bjKdv7dy4cAqtYcNaqS7mq8AgxAoKCHHZhdlY3UD7LZeea L6vU+5yN6lZp80s9wMpAQ0wHlyjmDoc+fnif/vvDUcI2HYt2+yJOGQfM8PgplHO5Ai kqLIyVDnJ9/wngPxeymiK8zdjqLFXwV3rOPEJGLY= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w15Cp6un020099; Mon, 5 Feb 2018 06:51:06 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 5 Feb 2018 06:51:05 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 5 Feb 2018 06:51:05 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w15CoaGc023963; Mon, 5 Feb 2018 06:51:02 -0600 From: Kishon Vijay Abraham I To: Ulf Hansson , Tony Lindgren , Adrian Hunter CC: Rob Herring , Mark Rutland , Russell King , Kishon Vijay Abraham I , , , , , Subject: [PATCH v2 07/16] mmc: sdhci_omap: Fix sdhci-omap quirks Date: Mon, 5 Feb 2018 18:20:20 +0530 Message-ID: <20180205125029.21570-8-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180205125029.21570-1-kishon@ti.com> References: <20180205125029.21570-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SDHCI_QUIRK2_PRESET_VALUE_BROKEN quirk as setting preset values loads incorrect CLKD values (for UHS modes). Remove SDHCI_QUIRK2_NO_1_8_V quirk as sdhci-omap now supports UHS modes. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci-omap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 8b6170cd689b..d5a9e688dc1b 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -710,8 +710,8 @@ static const struct sdhci_pltfm_data sdhci_omap_pdata = { SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN | SDHCI_QUIRK_NO_HISPD_BIT | SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC, - .quirks2 = SDHCI_QUIRK2_NO_1_8_V | - SDHCI_QUIRK2_ACMD23_BROKEN | + .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN | + SDHCI_QUIRK2_PRESET_VALUE_BROKEN | SDHCI_QUIRK2_RSP_136_HAS_CRC, .ops = &sdhci_omap_ops, };