Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2654653imu; Thu, 29 Nov 2018 08:14:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/XTvUSBWMTrt36sLi66k8KDbG5XQgGcesf1KH/p3ERfx2TcoQia6b9laEYbbZ528XaFXKc0 X-Received: by 2002:a62:81c1:: with SMTP id t184mr1970643pfd.246.1543508079113; Thu, 29 Nov 2018 08:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543508079; cv=none; d=google.com; s=arc-20160816; b=HSl1rZ5y6us8PjAEE21IUj8MXyyKLL+xzb14hLNoJHkWr+PR3Ffr8H871qWYeAgI6R 1moa4pmliHwALLrMQ3FxlE24uGWAcF+VCWOi8mJxsFez6skGqLBdrhCHyI7/9pdX8K5F DcmcAYzAqe1EBVXegDFkhXiC+c4AV6+GDke0KxZmGIeekov7qWSAFEnQdXDoii3pQ5Fv CFMUouuxucI7U4CVFVxdgdwE5UZnxafQhYXHMC9mBMnTWjuoBSf+cx9wrTpIM3klWb7D z7EWX+qRQ4tu0cQ3XkcMZsiXgDVDlPuRGYoQS03wedrK4XaS4WuHABaNXePUWBgvLxNn pWRw== 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=DzpJ1kEuso3OgtTOxn+AuN5ExFYrgskLKARggFaKFpg=; b=kE72SaG2f9/pVq8oYDMwyoIrgvpDrgckCQn9oCTCY6BEG4MoYZey0keBCx85MpJCI/ qSEa7n/0wDhid/sKwRoHllhUES6J+mOL4jaPwM0vQzk/MhSlkuuJp1kYaB+vU6dgm/Nl RNj+kHPm8SzQuLezliQ++Ufj2Q8TaExlxX3p+1+McLGWDpSlULMESyiGMy5yp7Y1yld1 5U30OlFF/G92wPYePrOOpi1nRL2xxvZmlo+3xt2RbbEPwdfa5raSGUiJyE7G2rai/tsL O/7nWlSHLTHC3XJxWqWPFHnFJwcbyv2OZRoGjxrXgARP3TyqoHyHmO+INvnpJHsB6t82 Eliw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dHvhIxuD; 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 d13si1992618pgh.196.2018.11.29.08.13.54; Thu, 29 Nov 2018 08:14:39 -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=dHvhIxuD; 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 S1729216AbeK3DSo (ORCPT + 99 others); Thu, 29 Nov 2018 22:18:44 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:39730 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728423AbeK3DSn (ORCPT ); Thu, 29 Nov 2018 22:18:43 -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 wATGCUeP100606; Thu, 29 Nov 2018 10:12:30 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1543507950; bh=DzpJ1kEuso3OgtTOxn+AuN5ExFYrgskLKARggFaKFpg=; h=From:To:CC:Subject:Date; b=dHvhIxuDNfQoJISL2359W/gj4XPPGqtWuJzGigNG6AbbRdvGpdqJLVoRkM2zB50XR kLWNStXk2nm+ahsVB9uTFfONH3zLF0lTuBkR4Z/Yw8ENo358vpLSw3zxC+EZd5WBDC MCymbaNZj56JL4r7iX9a9n/w/x8TL2teRPZQmdpo= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wATGCULE025519 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 29 Nov 2018 10:12:30 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 29 Nov 2018 10:12:30 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 29 Nov 2018 10:12:30 -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 wATGCQL3019470; Thu, 29 Nov 2018 10:12:27 -0600 From: Faiz Abbas To: , , , CC: , , , , , , Subject: [PATCH 0/3] Add driver Support for MMCSD on AM654x. Date: Thu, 29 Nov 2018 21:45:10 +0530 Message-ID: <20181129161513.31734-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. [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 am654 mmc: sdhci_am654: Add Initial Support for AM654 SDHCI driver .../devicetree/bindings/mmc/arasan,sdhci.txt | 4 + .../devicetree/bindings/mmc/sdhci-am654.txt | 23 ++ drivers/mmc/host/Kconfig | 12 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-of-arasan.c | 46 --- drivers/mmc/host/sdhci_am654.c | 366 ++++++++++++++++++ 6 files changed, 406 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