From patchwork Fri Aug 4 17:43:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 109440 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2473863qge; Fri, 4 Aug 2017 10:44:03 -0700 (PDT) X-Received: by 10.99.147.19 with SMTP id b19mr3159732pge.67.1501868643868; Fri, 04 Aug 2017 10:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501868643; cv=none; d=google.com; s=arc-20160816; b=uh5V6NFNCeoTEOwzYXv/OaHBqmEXKhalzSODLaC6xbPR6lCpu/tMAZmPNw/XKrTs4J GoK8VJrDEA6SLtFS9BfxC53fhwhPr4x4qpjU0PfAzeQ0qiacnl/Bc3smB0zh9ucTt8Qj TigqoQs8Vi4VO8bWddlNlj9d6zJllhw3uj5gZPSfSVr7H8BPIaG5ZM32iliYMPR1v1cW kbBrp1y7LISYgKuMu4I49q/DB1wfRxffNLlJAUd85+0CCHIozmU/QeX3TfNreDRfcv6g ANynHiukhqdlxjFBJwZoTwokLF9nUbefuFWCCaInOHRzHiDiu9IJsAQCTW/VzJGU6J6C nwyw== 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=h3zJ7dsK9t92lZI3F8GWYF8bwIu4ajfQCshxGWWJa5U=; b=dC17C4z3Nhx7R65M9X0UU9bwxgjILm60mKubOwvhlIM1b7+gbOmfpSSQjeV65f7IRD ZFvtF+n0vZr6+IO3paKF32olnMEMRpwObqM4pOhGLGGRGxFu+8JDW8HBGEECAHwOjAa2 97AStBythm+YFcMoTq2TItxQqh+2UaFhAMWMfT+ds6mHXk56pKg5fwzgck5AJq7MXXxZ LmprZPFIR1u49yyJCWlf6mfZK5GsARlGX5vdEPNtJ8h58vCDniuT+0r4qvI1IyYLOUCy kzcZfZpXjay+Ov+bs+hM07k4SmrbR0qausGfF2Z3SN8+0o2hPwJFqfCMWUoSNv2GJLV1 ArBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.b=V6Uak07Q; 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 a73si1229414pge.603.2017.08.04.10.44.03; Fri, 04 Aug 2017 10:44:03 -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.b=V6Uak07Q; 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 S1752565AbdHDRoC (ORCPT + 6 others); Fri, 4 Aug 2017 13:44:02 -0400 Received: from mail-wr0-f176.google.com ([209.85.128.176]:37826 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbdHDRoB (ORCPT ); Fri, 4 Aug 2017 13:44:01 -0400 Received: by mail-wr0-f176.google.com with SMTP id 33so19261386wrz.4 for ; Fri, 04 Aug 2017 10:44:00 -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=qaI0zgs99nLCMARtWZJ/6jzrrsT+ejEnYQyzPb+DGSs=; b=V6Uak07QmU9EQw7mfbQ/zLUq+Y4RHiNH2wjBMOpcYdGK8kz/g/kX8XJ2DA0tlhi0g3 hWLP/hWBJ6r8O9GpEge/gi10cKhLuKMsvguPFNo3IK/ozavVR/OE8ldmj3d+MfGru23+ O9H76NqdojEK62KS7vvJyDYJwaVyrLFHlkPCb6ilzHUEmQcjgxn765nSMLrxiw3J/B9d WB6m6dLzlbnG3TyqaGn3Bvmt8XV6n1KLpEtv8Mlm2QQAHJJtdoctaRkOafzw6AszpHgM Y8PZ/HJ2ajmZ/hLSVMChv0zKKvtokA3wmkT16Il0oJ/fH3PasCPGavkac8l1ZPHoBhyH LY3w== 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=qaI0zgs99nLCMARtWZJ/6jzrrsT+ejEnYQyzPb+DGSs=; b=QQq27fH1bIS95jDbZlfqI56zG3gYh5KQaGNQAZXdAjJr7340CmDp4/1e9M0Qx224rJ HwSvDvFmQWv1E1w7MrtwESEbDq8J5qPDoOyzsYOmEffrd9NOksk078cfM4mNT5vAgqyV 4N67hb3K6EYm8fZTRo2Sa1PjZ8NPMnXy3b1NUQ5cAeNjbwPI3lEyZGnIwMNx2KO+jP1W 5bO6ijugniW2Um9UnPW5R5A6azafjzSjfiEn8YmjYqB48e+pHpyJ8lfOJGIw9xkcVp7R EepWBGkNahNUZKPjlq/eojG0U+GnGpjjvhvWqP8zknR3EZ8ZA9CH3ZkE2/4clhY9wLSh ekWg== X-Gm-Message-State: AIVw112xoaABpmsKDS7/p9+DmpDLmRuc4h66offU2Pz4Vo2Dbu/Z0uSo U3/wnBj0kqfh1d0k X-Received: by 10.223.139.216 with SMTP id w24mr2254597wra.206.1501868639923; Fri, 04 Aug 2017 10:43:59 -0700 (PDT) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id p17sm996082wma.45.2017.08.04.10.43.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 10:43:59 -0700 (PDT) From: Jerome Brunet To: Ulf Hansson , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-mmc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/14] mmc: meson-gx: driver fixups and upgrade Date: Fri, 4 Aug 2017 19:43:39 +0200 Message-Id: <20170804174353.16486-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The patchset features several bugfixes, rework and upgrade for the meson-gx MMC driver. The main goal is to improve readability and enable new high speed modes, such as eMMC DDR52 and sdcard UHS modes up to SDR50 (100Mhz) While full speed SDR104 is stable with most cards, a few seems to require an even more precise tuning. For this, we'll probably have to implement per-line delay calibration. This series has been tested on gxbb-p200, gxbb-nanopi-k2 and gxl-s905x-libretech Jerome Brunet (14): mmc: meson-gx: fix mux mask definition mmc: meson-gx: remove CLK_DIVIDER_ALLOW_ZERO clock flag mmc: meson-gx: clean up some constants mmc: meson-gx: use _irqsave variant of spinlock mmc: meson-gx: cfg init overwrite values mmc: meson-gx: rework set_ios function mmc: meson-gx: rework clk_set function mmc: meson-gx: rework clock init function mmc: meson-gx: simplify interrupt handler mmc: meson-gx: implement card_busy callback mmc: meson-gx: rework tuning function mmc: meson-gx: fix dual data rate mode frequencies mmc: meson-gx: work around clk-stop issue mmc: meson-gx: implement voltage switch callback drivers/mmc/host/meson-gx-mmc.c | 611 ++++++++++++++++++++++++++-------------- 1 file changed, 396 insertions(+), 215 deletions(-) -- 2.9.4 -- 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 Reviewed-by: Kevin Hilman Reviewed-by: Kevin Hilman Reviewed-by: Kevin Hilman Reviewed-by: Kevin Hilman