From patchwork Fri May 22 10:44:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1296132 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=eOzlc9AG; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49T3762fbZz9sT1 for ; Fri, 22 May 2020 20:45:54 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 27BFC81817; Fri, 22 May 2020 12:44:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="eOzlc9AG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CD9E6815EB; Fri, 22 May 2020 12:44:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D5F0F81689 for ; Fri, 22 May 2020 12:44:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x542.google.com with SMTP id g9so8934489edw.10 for ; Fri, 22 May 2020 03:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vZj4LwG0bVURjlzkDVKKKD7UKoy29uBi5XizerF6y24=; b=eOzlc9AGd+UDcrjsACO6ykql6WU+0CzSRYd5/FVwzl/D4KvM6d4BmJTsWqKw2tgLxu ieUCdbsdGA4anpZyLsa2m1hYnBpbkoY7FVD2TZCQmbPpgBHXLIf/jVjZUDKXFEP9hAO6 E0PNBfqM+phF+M8/77ms0GrwnfibCgB9b/K5VIqgP6y+p8ZvrwhZt6O6fd9+XS9UC/ri 8JKAFhP0lSP+O8sSjCeJRS1AayKzim1VK7rJ6waZKOvlMtFD2tXOBt2UXN5nU39nLLbZ O6WRB4XexFiCqOd7vNOvxJL9MuOghc2PvTJwSQwtxq3TNWN4EsHWOGWnccaLGsOVvqJ0 DzYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=vZj4LwG0bVURjlzkDVKKKD7UKoy29uBi5XizerF6y24=; b=btSlZnofz1q4WT1EYijpUmC5r+h199T8io/k8a5BAx9qfPeloW3cpB7mR/cyAYkfiT WwjBhs6V5hRMAhn7Q4I+g4Doi7eWSn+e4/fL2qqsUqDP8lnJwgc0xoomNnM4ZwaL+sL5 Y1iVjBhaKAMY7VrPtQZuft/2TFRUj1USs1KoT/PBolxNtKeraD55v2NrMAD8jhwldgKo Zk4ZixnHmuq6CUV6s/rn4cisFwuinLXRQD4IJKET4jhJaX1985ay4A+D7huys0rO+WEP xFkVIjfWSZnMC/DFwe7x1Q6y7+wifMXi9864vvdizpFMRBpeBKUt5bUNC/LLCro7yo1/ OV/g== X-Gm-Message-State: AOAM533t3Zsls1bTTfpHhbtLogryENb/wptmlv3FmM1FrYva8SeagQ6/ J1G6BEw7zEjyFeKLFTd9E1Xa7Xk4stnoG5ng X-Google-Smtp-Source: ABdhPJz9CK0ecI7/fYQGXQcypMe3fykmshXO6HLhxNr8KFmHApZnh4qxX9cTzwMoaea+I/7lbY4i3g== X-Received: by 2002:a50:fc06:: with SMTP id i6mr2575971edr.40.1590144269251; Fri, 22 May 2020 03:44:29 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id lw27sm7790522ejb.80.2020.05.22.03.44.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 May 2020 03:44:28 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Ashok Reddy Soma , Peng Fan Subject: [PATCH 7/7] mmc: zynq_sdhci: Extend UHS timings till hs200 Date: Fri, 22 May 2020 12:44:11 +0200 Message-Id: <5602450996dc9c34fcd4458ac11cb5badbd39b68.1590144247.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean From: Ashok Reddy Soma Fix the condition to set UHS timings for speeds upto HS200. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- drivers/mmc/zynq_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 91ec552119d1..55762a13395c 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -539,7 +539,7 @@ static void arasan_sdhci_set_control_reg(struct sdhci_host *host) } if (mmc->selected_mode > SD_HS && - mmc->selected_mode <= UHS_DDR50) + mmc->selected_mode <= MMC_HS_200) sdhci_set_uhs_timing(host); }