Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp263276imu; Fri, 7 Dec 2018 00:10:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xim+CRKtYidTRWkw8EqE8lU0wETuLva8tLRRs5HvyKlaySEJjzxRsCBSjLa3BKeBNVbTw5 X-Received: by 2002:a63:e950:: with SMTP id q16mr1114519pgj.138.1544170258937; Fri, 07 Dec 2018 00:10:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544170258; cv=none; d=google.com; s=arc-20160816; b=JXA8DNoX8rMcL2EweIrE8ih9i53KcZIAFBJ75L3L+PAJO+fsU1NXn+Zns7XvMElz9V ypoh2KItDgJJb8xBJfAwwaXKkD31ID81AO960ElcSKuS0ptnBBuIKb2s0pVnL+l+PJ6z uKqmCQy5mqaaEptRuGK5hl9n8p4/VNYKwhxTvRrtes7VndPrDvE3nDeW7b/jnfPezp/D QUene6vLcQjMPSW4DgD4865HgVsM5TOb7hg3eCE1R7F5B2Jh1r806FlH/JbbMDubg2xc j+EWuNJJwlFhPcgRKDUTKMuMdhZ8OQ/V1vAfcgG8PgUF72ovtLDhFjNbqv8XxOeMClGP Mggw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rO+aPqD6+w1cIFgTW+ceCmjLX88dliF5vIUwiBWgSDA=; b=PdOr517Xz+hnJVGZrA7PUhXWaZuG8egDlRrOQNtngDKd5R9zBZQA865xuKiPV4f1cl kczdUn61KLTc7MjYmt59nkMXlfs3u7s0mPi2YS4vfrUDqf2C2julqusvI4+q4fyzOaax cJyq76ih49acj5BhVGyFGoB9ACDJU6qrdkmZXnPqKWHea+b8p/e+v7n+tZPG4LTHZmj4 OSkHPXE49B/TtfSp2u+/RSLXzB5NVuf7sV9uR51+B8Fd0tcgocjSClrf3zGWJzCp8a98 0PRAPBY/tPi0ieZTZDWTMmhVpBmCqvA1HXGxMd6NmoaVOUxehsGRdClpDau0X9NDzIYU y2Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="N3U/keQs"; 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 t75si2531427pfa.170.2018.12.07.00.10.44; Fri, 07 Dec 2018 00:10:58 -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="N3U/keQs"; 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 S1726079AbeLGIJD (ORCPT + 99 others); Fri, 7 Dec 2018 03:09:03 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35908 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeLGII7 (ORCPT ); Fri, 7 Dec 2018 03:08:59 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id wB788ZCk070032; Fri, 7 Dec 2018 02:08:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1544170115; bh=rO+aPqD6+w1cIFgTW+ceCmjLX88dliF5vIUwiBWgSDA=; h=From:To:CC:Subject:Date; b=N3U/keQs8z6nJd2nTXQ6kna5YP/1Lthuhiw8V+YdMRTynFjbQcaw6lYnEPKGblwWl Bxaw2wB/4wExYpI34E6MHc4jSaWniH6aQEdGKYfeNQ1H0v7V1he+rcZqV5qx6wj8NU q56YcBBOGfgBpACJE8k8G/CW5cxqFAj1kSdsMpgg= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wB788Z3Y122743 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 7 Dec 2018 02:08:35 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 7 Dec 2018 02:08:34 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 7 Dec 2018 02:08:34 -0600 Received: from a0230074-OptiPlex-7010.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 wB788Vud010977; Fri, 7 Dec 2018 02:08:31 -0600 From: Faiz Abbas To: , , , CC: , , , , , , Subject: [PATCH v2 0/3] Add driver Support for MMCSD on AM654x Date: Fri, 7 Dec 2018 13:41:16 +0530 Message-ID: <20181207081119.29162-1-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 The following patches add driver support for MMCSD on TI's AM654 platforms. Previously I had added the support to sdhci-of-arasan driver with a separate phy driver[1]. Since then it has turned out that tuning operation (for HS200, HS400 and SDR104 speed modes) will require configuration of phy registers. This completely breaks the model of the sdhci-of-arasan driver which relies on a separate driver to configure the phy register space. Because of this, I am creating a new driver with both the sdhci and phy register spaces. This helps me use the phy registers in a future patch that adds tuning support. DT patches will be posted in a separate series. Changes in v2: 1. Reset OTAP delay back to default value in init. 2. Improved patch description for patch 2. 3. Minor style fixes. [1] driver and phy patches posted before https://patchwork.kernel.org/project/linux-mmc/list/?series=26623 Faiz Abbas (3): dt-bindings: mmc: sdhci-am654: Document bindings for the host controllers on TI's AM654 SOCs dt-bindings: mmc: sdhci-of-arasan: Add deprecated message for am65 mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver .../devicetree/bindings/mmc/arasan,sdhci.txt | 4 + .../devicetree/bindings/mmc/sdhci-am654.txt | 37 ++ drivers/mmc/host/Kconfig | 12 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-of-arasan.c | 46 --- drivers/mmc/host/sdhci_am654.c | 381 ++++++++++++++++++ 6 files changed, 435 insertions(+), 46 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-am654.txt create mode 100644 drivers/mmc/host/sdhci_am654.c -- 2.19.2