From patchwork Mon Oct 23 04:54:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 829128 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="unknown key hash" (0-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="PSHVhLYB"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yL3wj4Phlz9sNr for ; Mon, 23 Oct 2017 15:54:45 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 4D1F9C22024; Mon, 23 Oct 2017 04:54:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 54213C21C40; Mon, 23 Oct 2017 04:54:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8A147C21C40; Mon, 23 Oct 2017 04:54:39 +0000 (UTC) Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lists.denx.de (Postfix) with ESMTPS id 92D62C21C29 for ; Mon, 23 Oct 2017 04:54:37 +0000 (UTC) Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20171023045433epoutp04572806e1f9d70e16a9ca7932793abf9d~wGgKKRANS1803318033epoutp04k; Mon, 23 Oct 2017 04:54:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20171023045433epoutp04572806e1f9d70e16a9ca7932793abf9d~wGgKKRANS1803318033epoutp04k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1508734473; bh=jhWMnTN1y3AyxXQSmOTDwW9t0utzcj9dJG6/IlurRoA=; h=To:Cc:From:Subject:Date:References:From; b=PSHVhLYBMrABO82o2BFODFy5998ZU96tUJiNmW8l4LDFrE5aY6Ak1Ul5AzbwSScGb bsXaqaFFT63R7A20tgmuupZ9K17M6udCAuMglno6tC5kJoZp0qyb0TxENcWorcWaV9 P5/suUezKQI0Vqw36XzS9NSqAd2vABSEgk+q8c4Y= Received: from epsmges2p2.samsung.com (unknown [182.195.40.67]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20171023045433epcas1p24e09eec80090e66bf11802c6a3dc39b0~wGgJ_jJxv2101421014epcas1p2d; Mon, 23 Oct 2017 04:54:33 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 1A.4F.04298.9067DE95; Mon, 23 Oct 2017 13:54:33 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20171023045432epcas2p37d83600c293491c657180667df894ae6~wGgJuToVq3041830418epcas2p3y; Mon, 23 Oct 2017 04:54:32 +0000 (GMT) X-AuditID: b6c32a46-455ff700000010ca-ab-59ed7609940f Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 9A.10.03859.8067DE95; Mon, 23 Oct 2017 13:54:32 +0900 (KST) Received: from [10.113.62.216] by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OY900L8REYWMIA0@mmp1.samsung.com>; Mon, 23 Oct 2017 13:54:32 +0900 (KST) To: U-Boot Mailing List From: Jaehoon Chung Message-id: Date: Mon, 23 Oct 2017 13:54:32 +0900 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-version: 1.0 Content-language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHKsWRmVeSWpSXmKPExsWy7bCmqS5n2dtIg4XTOSxaTk5isrjwtIfN 4vr1XkaLqZM2s1u83dvJ7sDq8erAKnaPs3d2MHp8+nmF2eP4je1MASxRqTYZqYkpqUUKqXnJ +SmZeem2St7B8c7xpmYGhrqGlhbmSgp5ibmptkouPgG6bpk5QIuVFMoSc0qBQgGJxcVK+nY2 RfmlJakKGfnFJbZK0YaGRnqGBuZ6RkZGeibGsVZGpkAlCakZO2ZfYS7YI1Zxu6WJvYHxrkAX IyeHhICJxOv7N5lAbCGBHYwSC7eXdTFyAdnfGSXeTv7K2MXIAVbUdi4ZIr6bUeLBv99MEM49 RonvkxaygnSLCOhJPD57lBUkwSwwA2jSjlNgCTYBHYnt346DrRAWMJR4fPMEK8hUXgE7icY+ EZAwi4CqxL9HE8DKRQXCJFb+esUIYvMKCEr8mHyPBcRmFtCUePFlEpQtLtHcehPKlpfYvOYt M8heCYElbBJvNu5khHjNRWLTlE0sELawxKvjW9ghbGmJZ6s2MkI0tDNK3Pqxjw3C6WCUOPhz LytElbHEqa5GJogVfBIdh/+yQ8KCV6KjTQiixEPi1cHpUEMdJTo7j0DDMVbi1pKHLBMYZWch eWIWkidmIXliFpInFjCyrGIUSy0ozk1PLTYqMNIrTswtLs1L10vOz93ECE5rWm47GJec8znE KMDBqMTDy2D4NlKINbGsuDL3EKMEB7OSCO8cC6AQb0piZVVqUX58UWlOavEhRlNgIE9klhJN zgem3LySeEMTSwMTMzMjczMLYAoT563bdi1CSCA9sSQ1OzW1ILUIpo+Jg1OqgZFP1+BcHO+t ZwVRevouykGB7hutPn3KrzWsaNhQ4ryXb0LjK3ZdS5PGR8Zz5vlU2+cmlcTf+HXv3cdW5fPG FYLpeltCXDVMPz2VerTnkvC0Cr/zyrmP+H4wXbavvZOqsWL2kluVL4/JTbK24nnB17r+1Ru/ w39O3zzzYuqSadpH9ilWB3lf61BiKc5INNRiLipOBABh4C19gQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsVy+t9jAV2OsreRBmsemlq0nJzEZHHhaQ+b xfXrvYwWUydtZrd4u7eT3YHV49WBVeweZ+/sYPT49PMKs8fxG9uZAliiuGxSUnMyy1KL9O0S uDJ2zL7CXLBHrOJ2SxN7A+NdgS5GDg4JAROJtnPJXYxcHEICOxkljqzrZ4dwHjBK7Lv4n7mL kZNDREBP4vHZo6wgCWaBGYwSzQcnsYMk2AR0JLZ/O84EYgsLGEo8vnmCFWQqr4CdRGOfCEiY RUBV4t+jCawgtqhAmER/81+wmbwCghI/Jt9jASlnFlCXmDIlFyTMLCAu0dx6kwXClpfYvOYt 8wRGvllIOmYhdMxC0jELSccCRpZVjJKpBcW56bnFRgVGeanlesWJucWleel6yfm5mxiBQbvt sFb/DsbHS+IPMQpwMCrx8DIYvo0UYk0sK67MPcQowcGsJMI7xwIoxJuSWFmVWpQfX1Sak1p8 iFGag0VJnJc//1ikkEB6YklqdmpqQWoRTJaJg1OqgbEwbo+1xYUPKlXTRJOamuZv8a357hjf 0VGt8jh08qaKaKGwb9KnV1jJJQRYaCnxst9t5Jfcr+lpmqdSINmRlnqqfB2zl/iewhdfLzPH f7O41FksLPN8fsWT0hd6qrtu8KUG1PJkyTSn23/b0i5W9ElSzf9bCdNH0ydhn9zOm9bcuaHV NyVViaU4I9FQi7moOBEAYmpU7lYCAAA= X-CMS-MailID: 20171023045432epcas2p37d83600c293491c657180667df894ae6 X-Msg-Generator: CA CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20171023045432epcas2p37d83600c293491c657180667df894ae6 X-RootMTR: 20171023045432epcas2p37d83600c293491c657180667df894ae6 References: Cc: Tom Rini , Kishon Vijay Abraham I , Suniel Mahesh Subject: [U-Boot] [GIT PULL] Please pull u-boot-mmc master X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Dear Tom, Could you pull these patches to u-boot/master? To develop the supporting HS200 mode, each host driver also needs to implement something. First step is the applying JJ's patches. If there is a problem, let me know, plz. The following changes since commit 0def58f7fd26a237bb08cfbd58ec53372b1ad06b: Merge git://git.denx.de/u-boot-x86 (2017-10-19 11:19:38 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to f58da60cfdbe896d62a0ec61cd41a52cfc82c526: mmc: replace the printf() instead of error() (2017-10-23 13:48:39 +0900) ---------------------------------------------------------------- Jaehoon Chung (1): mmc: replace the printf() instead of error() Jean-Jacques Hiblot (17): mmc: dm: get the IO-line and main voltage regulators from the dts mmc: split mmc_startup() mmc: move the MMC startup for version above v4.0 in a separate function mmc: make ext_csd part of struct mmc mmc: add a function to read and test the ext csd (mmc >= 4) mmc: introduce mmc modes mmc: Add a function to dump the mmc capabilities mmc: use mmc modes to select the correct bus speed cmd: mmc: display the mode name and current bus speed in the mmc info mmc: refactor SD startup to make it easier to support new modes mmc: refactor MMC startup to make it easier to support new modes mmc: Add a new callback function to perform the 74 clocks cycle sequence mmc: Add support for UHS modes mmc: disable UHS modes if Vcc cannot be switched on and off mmc: Change mode when switching to a boot partition mmc: use the right voltage level for MMC DDR and HS200 modes mmc: add a library function to send tuning command Kishon Vijay Abraham I (9): mmc: make mmc_set_ios() return status mmc: Enable signal voltage to be selected from mmc core mmc: add power cyle support in mmc core mmc: add a new mmc parameter to disable mmc clock mmc: disable the mmc clock during power off mmc: Add a execute_tuning() callback to the mmc operations. mmc: add HS200 support in MMC core mmc: Retry some MMC cmds on failure dm: mmc: Add a library function to parse generic dt binding Suniel Mahesh (2): drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro drivers: mmc: Avoid memory leak in case of failure cmd/mmc.c | 3 +- drivers/mmc/Kconfig | 23 + drivers/mmc/exynos_dw_mmc.c | 3 + drivers/mmc/fsl_esdhc.c | 2 +- drivers/mmc/mmc-uclass.c | 87 +++ drivers/mmc/mmc.c | 1517 ++++++++++++++++++++++++++++++++----------- include/mmc.h | 176 ++++- 7 files changed, 1423 insertions(+), 388 deletions(-)