From patchwork Mon Oct 2 12:27:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 114592 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp622141qgn; Mon, 2 Oct 2017 05:27:53 -0700 (PDT) X-Received: by 10.99.120.198 with SMTP id t189mr6001810pgc.153.1506947273527; Mon, 02 Oct 2017 05:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506947273; cv=none; d=google.com; s=arc-20160816; b=PKviR85JbDx/x1TfXMCkOVFTr4VlD9wHgtCmDpSgw1fM/Hmaf4cvKRS/7jGkQQF9yK 1SLQh55+gFIBAiQmiv8hJBcOeXcKRkdgq1Z8In8OQJOjxekJbR8mYs3h2ue1GDUHVAq+ c9zpnFHi4yK/8gGUgkvdebMYLgEhJ7N72kExHlyDBl+fBneDmAlABL9YGFkkINIi4tR7 xfUgCycxUtKJcT9wItfUbImMqsj5ZMhKLSi5K6+WbjmIzVcQP98qiA1X8LFSN6IJ8TEB PXXMcPAofgyiioCDk0Zql4Ivy1NPQmpUCww5h/FE94qMJ4Gsk2EpYwzXi8IeD9sNk2xF SrBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=UdtAy8p2yYV0BQ7e/ckl5plzJ0Vff59HqXnbhvRg+Hk=; b=pSvyac/etJfig4iZMhnlwRlYnTsF8nldOUFj2uiJ/aOh+zb9msbU8+RnbvPBr/6x4o bGOAE8E0JrAFbXaY4xuAyn8m+7Yxao7hGQPIPy4evUH0hPn4SI1j2ayKO92rCv6HzLJ8 HD0XnbXK7D9QGGenr5su66j13Ym7dxjnfbXrBhM1PGg4ysc3e4HPBWBa/X7Z4U+Cft2w UefKdWESKg2Zp8yFg2NxxL3x4SGGxRth+JYr2HQSTKDqweN+XdpPcuAxuHN/5D8XvKqY daXLrdc92b2OXgHeEtza738xn9GTa89kkKCRB0Ixtr4dY4V6E7ykJzb6uw/4/pgVhtvj E9cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dSiwg5JW; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j18si3719941pgn.485.2017.10.02.05.27.53; Mon, 02 Oct 2017 05:27:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dSiwg5JW; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751173AbdJBM1w (ORCPT + 6 others); Mon, 2 Oct 2017 08:27:52 -0400 Received: from mail-wr0-f175.google.com ([209.85.128.175]:49469 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978AbdJBM1v (ORCPT ); Mon, 2 Oct 2017 08:27:51 -0400 Received: by mail-wr0-f175.google.com with SMTP id p10so1967457wrc.6 for ; Mon, 02 Oct 2017 05:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=BFMmqaCxdpMC4hIW5cK1KgA5oC6WocukKJZBbzFXSvo=; b=dSiwg5JW9wlWkBm0Y2SxnZT87vJtVzvRzvqriV5twmKM4rnjKJLNQj107Q42rZeql8 wZp2V5NHJsgZ6JDTTf7gO8RAGO0GvD76r0lppArbFkJF8QVQpdLt1EEy6ZQfYrXHJv/Q a28PU3Gzb2l3CV7oCjeXBy2iA7qreREG+jCnd5NKfUmQRZKFkb7IObi4Tkv9WoWa+lXc nxbca0lUIA5RIHY4lNFXEardnVveFSCo6ycKrVXRResLwz8PeLspZw4k4HsbM9LC+knG +eJ2IShcmejVcfr5GfXkmBNP5r19Gj9YbxZvuLQH4gMlbAaT3f3VOqmPP8H4z5fkBnYH igyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BFMmqaCxdpMC4hIW5cK1KgA5oC6WocukKJZBbzFXSvo=; b=RAEfXiBGbF6zjZSr7prS6ceVz05TcG+P6Oh2oIHOAs17JbW3xD4LBu3Yu8bEGPybMO qBSyzPQpuXhLxsN3qNIPnsy7apgJGl8Z0RjLFydXzjVCOb10PnxGl6Kk+qVgla5N/SyU eIgZwTzLrRYFFjmmgZ0Nprt6Cc1c63gyjfTPoNN0gRuBPG0YZ4mNOk9dyy8i4rv9/H90 Kg5zrMGLV2DNPMy/FblfyhQu+Acbxb2fRa7rQRVxCUKFlrvXvTcwgpT7Kjljra+pCueX x+PilwVkRPm/5jwfaIsRuhAnCnqNCOCMgfPSgnXuFk1gTlX2OeqHTeIvF+RU/VOYBkkn eokA== X-Gm-Message-State: AMCzsaVShu96nPiqbXO9VCKq9HolCnKLBxskRa3+sZGwom6U30FTMHVc IngsN+vQkAtX1U1ES2gfBrooeQ== X-Google-Smtp-Source: AOwi7QAgSjgFp38q6u0AFfayg+tOUKYqzjLb4UPhB9J/cLgCCbDbR7GPw3OgJiNS16SDI5yrh0+8YA== X-Received: by 10.223.158.210 with SMTP id b18mr7755004wrf.99.1506947270103; Mon, 02 Oct 2017 05:27:50 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id u96sm14354287wrc.68.2017.10.02.05.27.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2017 05:27:49 -0700 (PDT) From: Jerome Brunet To: Ulf Hansson , Carlo Caione , Kevin Hilman Cc: Jerome Brunet , Heiner Kallweit , linux-mmc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] mmc: meson-gx: fixes for v4.14 Date: Mon, 2 Oct 2017 14:27:40 +0200 Message-Id: <20171002122743.32334-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.5 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This patchset fixes the issues reported by Heiner [0] with the odroid-c2. In a nutshell, this series does the following: * Make sure the mmc clock rate is not set higher than what is requested * Reset the tuning values on mmc power cycle instead of POWER_ON * Add tuning of the tx phase to the tuning function. This fixes the problem seen on the odroid-c2, both for hs200 and hs400. To check for regression, this series has also been tested on the gxl libretech-cc Ulf, could you please pick this as fixes for v4.14 ? [0]: https://lkml.kernel.org/r/e2171288-84ef-82db-2efc-300935e6c062@gmail.com Jerome Brunet (3): mmc: meson-gx: make sure the clock is rounded down mmc: meson-gx: fix rx phase reset mmc: meson-gx: include tx phase in the tuning process drivers/mmc/host/meson-gx-mmc.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) -- 2.13.5 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html