From patchwork Fri Jun 28 17:51:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 11023113 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E514D1609 for ; Fri, 28 Jun 2019 18:30:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B66828A9D for ; Fri, 28 Jun 2019 17:52:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D02328AB7; Fri, 28 Jun 2019 17:52:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B22C28A9D for ; Fri, 28 Jun 2019 17:52:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726660AbfF1RwB (ORCPT ); Fri, 28 Jun 2019 13:52:01 -0400 Received: from sauhun.de ([88.99.104.3]:52960 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbfF1RwB (ORCPT ); Fri, 28 Jun 2019 13:52:01 -0400 Received: from localhost (p54B332FA.dip0.t-ipconnect.de [84.179.50.250]) by pokefinder.org (Postfix) with ESMTPSA id C14152C35BF; Fri, 28 Jun 2019 19:51:59 +0200 (CEST) Date: Fri, 28 Jun 2019 19:51:56 +0200 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Geert Uytterhoeven , Wolfram Sang Subject: [PULL REQUEST] renesas/topic/sdhi-manual-calib for renesas drivers Message-ID: <20190628175144.GA1043@ninjato> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Geert, here is a topic branch for renesas-drivers. It was developed against mmc/next because there were some patches in there I needed. I know that -next branches are not good for renesas-drivers, so rebased to v5.2-rc6 and cherry-picked what I needed. Further comments from the cover-letter: === The patches were developed against mmc/next. However, the above branch is based on v5.2-rc6 with some cherry-picked patches from mmc/next, so Geert can consume it easier for his renesas-drivers branch. There are two more patches in that branch worth mentioning. A clk driver WIP patch which I needed to get HS400 on my M3-N working at all. We are discussing this patch internally right now and its upstreaming is a seperate issue. Also, there is a debug patch on top. I can't test that the manual fixup values improve HS400 because the actual issue only shows with temperatures I can't (and don't want to) provide here in my office. So, the debug patches add some trace_printk to demonstrate the functions are called and the outputs match the intended state machine. === Please let me know if you can pull this branch or if adjustments are needed. Kind regards, Wolfram The following changes since commit 4b972a01a7da614b4796475f933094751a295a2f: Linux 5.2-rc6 (2019-06-22 16:01:36 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/sdhi-manual-calib for you to fetch changes up to a0b577d9d1154c48757da9a09c18056946832bd7: DEBUG: mmc: renesas_sdhi: add debug to verify manual calibration fix (2019-06-28 13:44:45 +0200) ---------------------------------------------------------------- Niklas S??derlund (1): mmc: tmio: move runtime PM enablement to the driver implementations Wolfram Sang (8): mmc: sdhi: improve quirk descriptions mmc: sdhi: remove unneeded initialization WIP: clk: renesas: rcar-gen3: enable SDnH clk for HS modes mmc: renesas_sdhi: keep sorting mmc: tmio: add generic hook to fixup after a completed request mmc: renesas_sdhi: make quirks info accessible outside probe() mmc: renesas_sdhi: support manual calibration DEBUG: mmc: renesas_sdhi: add debug to verify manual calibration fix Yoshihiro Shimoda (1): mmc: tmio: Use dma_max_mapping_size() instead of a workaround drivers/clk/renesas/rcar-gen3-cpg.c | 2 +- drivers/mmc/host/renesas_sdhi.h | 9 +++ drivers/mmc/host/renesas_sdhi_core.c | 151 ++++++++++++++++++++++++++++++++--- drivers/mmc/host/tmio_mmc.c | 5 ++ drivers/mmc/host/tmio_mmc.h | 1 + drivers/mmc/host/tmio_mmc_core.c | 32 ++++---- drivers/mmc/host/uniphier-sd.c | 3 + 7 files changed, 173 insertions(+), 30 deletions(-)