From patchwork Wed Mar 7 13:20:19 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: 130887 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp5175959lja; Wed, 7 Mar 2018 05:21:55 -0800 (PST) X-Google-Smtp-Source: AG47ELurKAC9QJjxLYNCe0ZumxGU6IVETQePMfrK2cHLZ79BNcwL9Iu5JcpGAUPPuFWJjRH6QjkE X-Received: by 10.98.201.88 with SMTP id k85mr7744962pfg.9.1520428915449; Wed, 07 Mar 2018 05:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520428915; cv=none; d=google.com; s=arc-20160816; b=0hyswGdWLhXyc0ib3NjxPNNzboOS6AfVPHbFetyrshyzLahiFf0LtZvh7ATVqg92gq mNg1h7Wup16CWSgJp/iGIVAOSydAUuoXh5qtxU55dbS7CTuYgsJuJHbcJL3NzETbcX61 8bpU/rW0xivWD5U07/oOVgdxvGxrH8jBLIM1OoNsqFUsiS455W523WJUZH+DwrM+orOd D3rm6YDEOf+6vnYdpogcaF45RdVx7KO7bBAZxdqdpTbCleq+OsUChBcJffB+zGhuXWY6 xkWhin7Zz8YLEsorLA4UTiN7Hl81jZJqRKxovSYy13pppe6GryU4TV4CqgMSxDa/oCOZ U1lg== 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=ekE3uyfwFUTLm259DHOPkb4Ez2VB3oc1NwErGUHqvyg=; b=ZnIUXH0QhHJcneseuLinsMGwI0iXkAC7h8kQIseP9YMWpQTB2wQ2d4KnySRRJdjJAs rBcoaaIie5OmxKgPSwAdVuq+OSWCEQCzPDpZtdz/UzBb3oPp2d7YnEzp6Muq4TE8q1TR oVVALAYzxhJizy42aJf9ptQcMdp/2wPJ1E9AgCMW06tdFTiVAdNjY1arWLzGnyTRea3J kEtfWQ1ucE6yC8KilNKqq7jF8HNh43h0mnTZk5Zc0hcPln4JL18UWJsnIqeGFkukuklm d6dZjLaaNi4OY9kolst77VJbDNqRAEknMQgHcCkjzhynnxmkResklYuaLFir90uhMsIT +sfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=OeTnHcY0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=QUARANTINE) 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 102-v6si13016815plf.132.2018.03.07.05.21.55; Wed, 07 Mar 2018 05:21:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=OeTnHcY0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=QUARANTINE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754592AbeCGNVw (ORCPT + 6 others); Wed, 7 Mar 2018 08:21:52 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:52234 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753920AbeCGNVs (ORCPT ); Wed, 7 Mar 2018 08:21:48 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w27DLALg004163; Wed, 7 Mar 2018 07:21:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1520428870; bh=SXsKCc+vOLn8ePGNrU//QtN13wJY9nx/78CRcnvUz1k=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OeTnHcY0uhEOhXTN8AIffHeuzzQYewUGzlmEBQoLRynZllQmjvdB87d9oI5Bevk0b HNCVudglNTNteLjBCAaQIXKu6Wa4qfMhxO/9ub9fLoKRLRgtfGCsk7tKl/UiPXcnva hR1W+huA1wJdIeKHIM/PUz/LcFMJLQh3w9Mo29mE= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w27DLA5k004217; Wed, 7 Mar 2018 07:21:10 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) 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; Wed, 7 Mar 2018 07:21:10 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 7 Mar 2018 07:21:10 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w27DKMnU018331; Wed, 7 Mar 2018 07:21:07 -0600 From: Kishon Vijay Abraham I To: Ulf Hansson , Tony Lindgren , Adrian Hunter CC: Rob Herring , Mark Rutland , Russell King , , , , , , Subject: [PATCH v3 10/11] mmc: sdhci-omap: Add support for MMC/SD controller in k2g SoC Date: Wed, 7 Mar 2018 18:50:19 +0530 Message-ID: <20180307132020.30951-11-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180307132020.30951-1-kishon@ti.com> References: <20180307132020.30951-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for the new compatible added specifically to support k2g's MMC/SD controller. Signed-off-by: Kishon Vijay Abraham I Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-omap.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c index 87206d2aaa77..14dd51b51b41 100644 --- a/drivers/mmc/host/sdhci-omap.c +++ b/drivers/mmc/host/sdhci-omap.c @@ -720,6 +720,10 @@ static const struct sdhci_pltfm_data sdhci_omap_pdata = { .ops = &sdhci_omap_ops, }; +static const struct sdhci_omap_data k2g_data = { + .offset = 0x200, +}; + static const struct sdhci_omap_data dra7_data = { .offset = 0x200, .flags = SDHCI_OMAP_REQUIRE_IODELAY, @@ -727,6 +731,7 @@ static const struct sdhci_omap_data dra7_data = { static const struct of_device_id omap_sdhci_match[] = { { .compatible = "ti,dra7-sdhci", .data = &dra7_data }, + { .compatible = "ti,k2g-sdhci", .data = &k2g_data }, {}, }; MODULE_DEVICE_TABLE(of, omap_sdhci_match);