Message ID | 20200423122448.8099-1-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=Q/yj=6H=vger.kernel.org=linux-mmc-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D1A6992A for <patchwork-linux-mmc@patchwork.kernel.org>; Thu, 23 Apr 2020 12:24:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C47D32074F for <patchwork-linux-mmc@patchwork.kernel.org>; Thu, 23 Apr 2020 12:24:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726426AbgDWMYz (ORCPT <rfc822;patchwork-linux-mmc@patchwork.kernel.org>); Thu, 23 Apr 2020 08:24:55 -0400 Received: from sauhun.de ([88.99.104.3]:33832 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbgDWMYz (ORCPT <rfc822;linux-mmc@vger.kernel.org>); Thu, 23 Apr 2020 08:24:55 -0400 Received: from localhost (p5486CE55.dip0.t-ipconnect.de [84.134.206.85]) by pokefinder.org (Postfix) with ESMTPSA id 34A382C1F65; Thu, 23 Apr 2020 14:24:53 +0200 (CEST) From: Wolfram Sang <wsa+renesas@sang-engineering.com> To: linux-mmc@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>, Wolfram Sang <wsa@the-dreams.de> Subject: [PATCH v2 0/2] mmc: renesas_sdhi: avoid bad TAPs for Gen3 Date: Thu, 23 Apr 2020 14:24:46 +0200 Message-Id: <20200423122448.8099-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
mmc: renesas_sdhi: avoid bad TAPs for Gen3
|
expand
|
From: Wolfram Sang <wsa@the-dreams.de> Here is a series which avoids using TAPs on R-Car Gen3 SoCs which are bad to use according to HW engineers. The patch was originally for the BSP (Thanks, Saito-san) and has been upported for the upstream driver. Before we can apply this, we need to add some mising information for R-Car M3-W ES1.[23]. Patches have been tested on Renesas Salvator-XS boards with R-Car H3 ES2.0 (changing from TAP3 to TAP4 here) and R-Car M3-N (changing from TAP7 to TAP0 here). A branch can be found here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/sdhi/new_manual_calib It is based on current mmc/next + "[PATCH] mmc: renesas_sdhi: shorten types after refactorization" One implementation detail: For now, I kept using a generic naming for the quirks, e.g. "sdhi_quirks_bad_taps2367". It is possible that we need to rename/add ones later which are SoC bound, e.g. "sdhi_quirks_m3w_30". Especially when we add manual calibration somewhen. But for now, the generic approach seems better to me, so I sticked to it. Looking forward to further comments and/or testing. Happy hacking, Wolfram Takeshi Saito (1): mmc: renesas_sdhi: Avoid bad TAP in HS400 Wolfram Sang (1): mmc: renesas_sdhi: handle M3-N ES1.2 and 1.3 revisions drivers/mmc/host/renesas_sdhi.h | 1 + drivers/mmc/host/renesas_sdhi_core.c | 61 ++++++++++++++++++++++++---- 2 files changed, 54 insertions(+), 8 deletions(-)