{"id":810524,"url":"http://patchwork.ozlabs.org/api/covers/810524/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/cover/20170906114556.32532-1-kishon@ti.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170906114556.32532-1-kishon@ti.com>","list_archive_url":null,"date":"2017-09-06T11:45:53","name":"[v3,0/3] mmc: Add OMAP SDHCI driver","submitter":{"id":14965,"url":"http://patchwork.ozlabs.org/api/people/14965/?format=json","name":"Kishon Vijay Abraham I","email":"kishon@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/cover/20170906114556.32532-1-kishon@ti.com/mbox/","series":[{"id":1771,"url":"http://patchwork.ozlabs.org/api/series/1771/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=1771","date":"2017-09-06T11:45:54","name":"mmc: Add OMAP SDHCI driver","version":3,"mbox":"http://patchwork.ozlabs.org/series/1771/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/810524/comments/","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"ouPe8ug8\"; \n\tdkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnMKz60Ykz9sBZ\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 21:48:39 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753668AbdIFLsX (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 6 Sep 2017 07:48:23 -0400","from fllnx210.ext.ti.com ([198.47.19.17]:45759 \"EHLO\n\tfllnx210.ext.ti.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753262AbdIFLrS (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 6 Sep 2017 07:47:18 -0400","from dlelxv90.itg.ti.com ([172.17.2.17])\n\tby fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v86BkBNt006524; \n\tWed, 6 Sep 2017 06:46:11 -0500","from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38])\n\tby dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v86BkB6U007027; \n\tWed, 6 Sep 2017 06:46:11 -0500","from DLEE108.ent.ti.com (157.170.170.38) by DLEE108.ent.ti.com\n\t(157.170.170.38) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tWed, 6 Sep 2017 06:46:10 -0500","from dlep33.itg.ti.com (157.170.170.75) by DLEE108.ent.ti.com\n\t(157.170.170.38) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Wed, 6 Sep 2017 06:46:10 -0500","from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com\n\t[10.172.224.153])\n\tby dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v86Bk6DV005946;\n\tWed, 6 Sep 2017 06:46:06 -0500"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1504698371;\n\tbh=5D6IgwDr3ftHWl5/MH0w3Y6MEDpvfvEwP8G4Jwl762s=;\n\th=From:To:CC:Subject:Date;\n\tb=ouPe8ug8wlkKKdOITvlyiMwe2PnHpJ91OVTvOi659VuHtoXV1QyFwdf2w0egizOps\n\tr+O9SEIZDv4AXovvv8EujGAKRLn3JJWFZIhfaQOMMQJO0A/zeFdqtfzI+O6A/icMnD\n\tAGi43iGac+KzmcycA7NxZbzbh8jknM3uVoUrthow=","From":"Kishon Vijay Abraham I <kishon@ti.com>","To":"Ulf Hansson <ulf.hansson@linaro.org>,\n\tAdrian Hunter <adrian.hunter@intel.com>,\n\tRob Herring <robh+dt@kernel.org>, \n\tMark Rutland <mark.rutland@arm.com>, Tony Lindgren <tony@atomide.com>,\n\tLiam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>","CC":"Sekhar Nori <nsekhar@ti.com>, Russell King <linux@armlinux.org.uk>,\n\tRavikumar Kattekola <rk@ti.com>, <linux-mmc@vger.kernel.org>,\n\t<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,\n\t<linux-omap@vger.kernel.org>,\n\t<linux-arm-kernel@lists.infradead.org>, <kishon@ti.com>","Subject":"[PATCH v3 0/3] mmc: Add OMAP SDHCI driver","Date":"Wed, 6 Sep 2017 17:15:53 +0530","Message-ID":"<20170906114556.32532-1-kishon@ti.com>","X-Mailer":"git-send-email 2.11.0","MIME-Version":"1.0","Content-Type":"text/plain","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"This is the first step in deprecating omap_hsmmc driver completely\nand moving to sdhci-omap driver which uses the sdhci library.\n\nThis patch that adds a new SDHCI quirk \"MMC_RSP_136\" has already been\nmerged and hence removed it in this revision.\n\nApart from the quirk, sdhci-omap has it's own callbacks\nto set_clock (clock divider programming is different from generic sdhci)\n, set_power, set_bus_width, set_bus_mode and platform_send_init_74_clocks.\nThese callback functions are implemented based on omap_hsmmc driver.\nSince sdhci-omap driver requires pbias regulator fixes to be present, I've\nsent them as part of this series.\n\nThe sdhci-omap driver supports only the high speed mode and UHS/HS200\nmode will be added in a later series.\n\nIt has been tested only in boards having DRA7 SoCs like dra7-evm, dra72-evm,\nam571x-idk, am572x-idk, am57xx-evm. (Tested only eMMC and SD.\nSDIO support will be added later). The plan is to fully convert DRA7\nSoC to use SDHCI driver and then convert other legacy platforms to use\nSDHCI.\n\nFor sdhci-omap to be functional, the following tag should be merged (There\nare no compilation dependencies).\ngit://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator\ntags/regulator-pbias-variants\n\nHowever the above regulator tag will impact omap_hsmmc driver. so [1]\nshould be merged before everything else is merged.\n\n[1] -> https://lkml.org/lkml/2017/8/31/300\n\nThe patch to add config and dts changes to use sdhci-omap will be sent\nseparately.\n\nNext Steps:\n*) Add UHS support to sdhci-omap\n*) Add SDIO support\n*) Add support for older TI platforms\n\nChanges from v3:\n*) removed omap_hsmmc and pbias-regulator patches from the series\n*) Fixed dt-binding documentation (remove '0x' in node name)\n*) stop clock if MMC core sends '0' in frequency\n\nChanges from v2:\n*) Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next\n*) Included a couple of patches from Ravikumar to fix pbias-regulator driver\n   to support max-voltage of 3.3V. This is required for sdhci-omap driver.\n*) Create sdhci-omap as a new driver with MMC generic bindings and hence doesn't\n   have bindings like ti,dual-volt added for omap-hsmmc. (Instead of\n   ti,dual-volt, sdhci-omap driver uses the supported regulator voltage to\n   set controller IO voltage capabilities).\n   When omap-hsmmc driver is deprecated, support for these properties will\n   be added to sdhci-omap.\n*) Fixed minor comments from Adrian).\n\nChanges from v1:\n*) Remove the quirks and instead use sdhci_omap specific callbacks for\n   set_power, set_busmode etc.\n*) Add a patch from Adrian to tidy reading 136-bit responses\n\nI've also pushed the entire series along with dependent dt patches @\nhttps://github.com/kishon/linux-wip.git sdhci_v3 (in case someone\nwants to test)\n\nKishon Vijay Abraham I (3):\n  dt-bindings: sdhci-omap: Add bindings for the sdhci-omap controller\n  mmc: sdhci-omap: Add OMAP SDHCI driver\n  MAINTAINERS: Add TI OMAP SDHCI Maintainer\n\n .../devicetree/bindings/mmc/sdhci-omap.txt         |  16 +\n MAINTAINERS                                        |   6 +\n drivers/mmc/host/Kconfig                           |  12 +\n drivers/mmc/host/Makefile                          |   1 +\n drivers/mmc/host/sdhci-omap.c                      | 607 +++++++++++++++++++++\n 5 files changed, 642 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-omap.txt\n create mode 100644 drivers/mmc/host/sdhci-omap.c"}