Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2372642imu; Mon, 17 Dec 2018 00:21:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/WBrnabDuEpclHxn3MVoeIMesLiPWx0n1ppO8ntiQ7nyUDaL7Ht2Sveh5TpKm89riBneCj4 X-Received: by 2002:a62:99dd:: with SMTP id t90mr11939335pfk.179.1545034895521; Mon, 17 Dec 2018 00:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545034895; cv=none; d=google.com; s=arc-20160816; b=b2iC1GZDod4/IU6sAj6Kysz2QTyykcrm5hv8Mi1zAvTi7uKrVq5PiKzkoyTDM3wgL2 44G78ItKskUXa/HUGAXPdG1kHJpswFqpNvMUpLUcJR7loiF2l4RJPC2h7hHdQZ6zYd5j tHHRUB3R+y0AjsDRwiZiMlFyeZakD3pynyAPn0OolKJPkNaj3dBzYZPyjg5tV8kYZ6sg kx0i+oUHUTXQttdoki8PtgI184YWU8jUUjFOgKBInmg1oPcQPMFVGaSJAt9msMrH1lWD +eS5LQNeX6RmvG6mO/ONwBN89OdUz4o1oSc+BQsN4l6N0BSFJ4e0hwStdRZD/qgJxjH5 k6mg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=kA3nlrd108oXtUBsINdK5kdNu3J3i+MpG02lnid5R5U=; b=a5Q9illcsYBGQZSo+Q5G9h/lawcrLOcXwGeYGYF0G5dTUV0Ikg56hPPvDsII0l4G+P QvnHcd00fAx4jzy1itobQRHcjjVXd25Oa5xFI8498t9UNXtLGH2ZlK/Ud5L9eg6kLHaw P3G0uFtEx/geideDtuApeejkdaaXPfQ//BOHz8D96jS2bckV+/le8t7pPqfvnBn6Hafr Oi1JzPxka7QISKj+0w+OYlQnIlCcH0DHBrMPBe4+g4TxxhUWnT/bhR/SzT3Kx+9WGQbA MGlGIjaVatmU2pHeKZrRxEhm2Q2pwxSFY7r+AoG4+RJ/4fWecrsOVvPLdb74bTs9dP+c TOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=b5ZcJ2kD; 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 c191si11008171pfg.72.2018.12.17.00.21.20; Mon, 17 Dec 2018 00:21:35 -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=b5ZcJ2kD; 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 S1726673AbeLQINT (ORCPT + 99 others); Mon, 17 Dec 2018 03:13:19 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:57234 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbeLQINS (ORCPT ); Mon, 17 Dec 2018 03:13:18 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id wBH8CsXW017358; Mon, 17 Dec 2018 02:12:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1545034374; bh=kA3nlrd108oXtUBsINdK5kdNu3J3i+MpG02lnid5R5U=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=b5ZcJ2kDUwFx4qsehDup858pQszB8CcqhvdPUtcl42L4jbS2CgcXX4iEaMdpaTqXf 7OT0RV7TNLl31AaEzXX6JrLMcr1QT5XaWDO6ajhhwyroaolBoLnKdX7RTf4/RvIJv3 CGmdAE+e9iTwrV2GhGP3z/oGNIx2nAFFle0r1yOc= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wBH8Csx9020861 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Dec 2018 02:12:54 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 17 Dec 2018 02:12:54 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 17 Dec 2018 02:12:54 -0600 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wBH8Cotm006498; Mon, 17 Dec 2018 02:12:51 -0600 Subject: Re: [PATCH v3 0/3] Add driver Support for MMCSD on AM654x To: , , , CC: , , , , , References: <20181210183507.9617-1-faiz_abbas@ti.com> From: Faiz Abbas Message-ID: <378ace78-7345-8875-f3e7-7cddcaf5e4bc@ti.com> Date: Mon, 17 Dec 2018 13:45:41 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181210183507.9617-1-faiz_abbas@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit 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 Hi, On 11/12/18 12:05 AM, Faiz Abbas wrote: > 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 v3: > 1. Removed reference to clk_ahb as its not being used. > 2. Added comment for pm_runtime being used for enabling > clocks. > > 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 | 374 ++++++++++++++++++ > 6 files changed, 428 insertions(+), 46 deletions(-) > create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-am654.txt > create mode 100644 drivers/mmc/host/sdhci_am654.c Gentle ping. Thanks, Faiz