From patchwork Tue Jun 4 08:14:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 165708 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5522907ili; Tue, 4 Jun 2019 01:14:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBiRrTzuWyYuxbDdPnGEHG7krLe09181hFvNXMuZqJ36rh8h8AiAQKAhwjV05zTVBu1N3d X-Received: by 2002:a63:4d0b:: with SMTP id a11mr33050156pgb.74.1559636089887; Tue, 04 Jun 2019 01:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559636089; cv=none; d=google.com; s=arc-20160816; b=a1fAiXtJCnRWgweQp7ZIS9uCVYu6iWkJyzmKerxAzqX35i/RhJt5boB3CmJuxgaiFi ixu7hiCO8ZioDwP6ruI9G3UTrVvrV91ezaVGLehoKBZ+c0dKIsYFG5Ha5kfb4rfnTRtF G90G8+e+R3x7XIwnkJ4PaJvwKpG3wjyXzyuf3p+NbAQgIpegIAe9M41CiwhKc3pj1PP/ zB9mx4KaatLJwNwUJl2hz5LJlCekZs1U9WIWqi/kaa3Csh9PMQRoqGdLRbQHjy7cOoIX cugncIyQVRrmo2ygxG9WRfcItjVvOlIXh3R6UHxJBbxXDVFBWqHF+kMC9yQF5T2M2oQN MZ6g== 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; bh=jV8VCHbj6Lro7TEgyHmuW7nfZ6KFGO5pn05b2o6Dgbc=; b=SxK6TO2+sO67IhJBEmlG5pagFhhwmV6rAFkzKnXgHLVfZP9yn6c7ZfhM1AoYaMTwbl m5ovoLO/xmbBd/U3HoPKrC1rH5jno1HbpA1fSYUojIyI8e9iYKyosAhgpfKQVi+dmzx+ 9fyQ4MBrrCOiFanb8HtAFij3vJ4fKUUFNFF3VDIpyBMbvd+aTCNMasPjxqeMda363Qyr 9yYBQjEx+bWs3s/vqyY+H6PlogKhXJ8c0UN9Z2gbC98Mza2ffhHoq6ED+6rG1MOCLLWr RTWenqdTSLETpNE00OeSV5b+bKPkEyzpyeuH2p9p5HGUgNVXk9OC+dCpUTtyhmDltq9s aCvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pA4q1aPO; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d137si21640070pga.23.2019.06.04.01.14.49; Tue, 04 Jun 2019 01:14:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=pA4q1aPO; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726841AbfFDIOt (ORCPT + 7 others); Tue, 4 Jun 2019 04:14:49 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:41101 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbfFDIOs (ORCPT ); Tue, 4 Jun 2019 04:14:48 -0400 Received: by mail-pg1-f196.google.com with SMTP id 83so3076323pgg.8 for ; Tue, 04 Jun 2019 01:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jV8VCHbj6Lro7TEgyHmuW7nfZ6KFGO5pn05b2o6Dgbc=; b=pA4q1aPO8wMBceIMuXHnOPs76k27i1v3HVZe3OwTff0Uk2bwwhPFnu0KC3WuR8DbH/ 9w//GwDJeRxrS0rTh0SXzdvWeGVZ1VhgS2slFROTSH00X4uM9SQN0HX366tQlowjAHVC A0/bdTjSJnoKpFyEiixiNEVytwUWAO5WtmcOr9iUdqUMzKxZZQ42fSyB43Xp8mpZSa6C nbV9mcCGlv33QQrUS6I+IgCne11HKrnL+QzlMsefZlb++xKAZPYQvXfuAT71o6UbZiaA uE6c0QB8KkiK/pL4WV6phIA1mdodo8jgXn3ay2M5KnKla72LPKtnAXWsI5zVjRH3syqk 645g== 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=jV8VCHbj6Lro7TEgyHmuW7nfZ6KFGO5pn05b2o6Dgbc=; b=hg0MyGLTHjeSSz8bxMlmQ3Tk6rD8qVvta5txDexy4CtSy079//2nSGFIUrw39IIyuc IYSqropxQBm7ZTChKs9boastRl9tcRwWH6NYBOMV2OgPzYo//MX5DOlGaBIXwDlSuwpU UCy5OLSL8Kz50Na5GjEQ0ZfJHbN3hZniBxhh1vrXq7/ACdAHttvSOb1gisDhwlGxXlS0 4xsQZg3l8eyxQjuw58lieIBQ9R8xBeMiXKTI6MpZ4ct5eIlMdHo4LZEzDbSq3OGYN4Uo Niwc6K/QmFqxs+ggqsQUJ0AQ5A7fJZ5b0RTZX70KJiS4t33vcJzjkpnhZySMEr6E2Uwz y+yA== X-Gm-Message-State: APjAAAX7RMdOQKCG5/dj3VKAcFLVtOxtRRzL5eUXOTtNy16LOlrAH/mT EzhOna4/3mhYw2UwufAyZezz9w== X-Received: by 2002:a62:e303:: with SMTP id g3mr35873984pfh.220.1559636088227; Tue, 04 Jun 2019 01:14:48 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id j4sm14818804pgc.56.2019.06.04.01.14.43 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Jun 2019 01:14:47 -0700 (PDT) From: Baolin Wang To: adrian.hunter@intel.com, ulf.hansson@linaro.org, zhang.lyra@gmail.com, orsonzhai@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, olof@lixom.net Cc: baolin.wang@linaro.org, vincent.guittot@linaro.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/9] Add SD host controller support for SC9860 platform Date: Tue, 4 Jun 2019 16:14:20 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch set adds optional clock support, HS400 enhanced strobe mode support, PHY DLL configuration and other optimization to make the SD host controller can work well on the Spreadtrum SC9860 platform. Changes from v1: - Add acked-tags from Adrian. - Fix one mistake by changing MMC_TIMING_MMC_HS to MMC_TIMING_SD_HS in patch 8. Baolin Wang (9): mmc: sdhci-sprd: Check the enable clock's return value correctly dt-bindings: mmc: sprd: Add another optional clock documentation mmc: sdhci-sprd: Add optional gate clock support mmc: sdhci-sprd: Implement the get_max_timeout_count() interface mmc: sdhci-sprd: Add HS400 enhanced strobe mode mmc: sdhci-sprd: Enable PHY DLL to make clock stable dt-bindings: mmc: sprd: Add PHY DLL delay documentation mmc: sdhci-sprd: Add PHY DLL delay configuration arm64: dts: sprd: Add Spreadtrum SD host controller support .../devicetree/bindings/mmc/sdhci-sprd.txt | 19 +++ arch/arm64/boot/dts/sprd/whale2.dtsi | 35 ++++ drivers/mmc/host/sdhci-sprd.c | 171 +++++++++++++++++++- 3 files changed, 217 insertions(+), 8 deletions(-) -- 1.7.9.5