From patchwork Mon Oct 26 11:43:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1387696 X-Patchwork-Delegate: monstr@monstr.eu 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=qmHXOIkY; 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 4CKY0r3JNzz9sSC for ; Mon, 26 Oct 2020 22:45:00 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 34A25824C4; Mon, 26 Oct 2020 12:43:23 +0100 (CET) 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="qmHXOIkY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C314F8249C; Mon, 26 Oct 2020 12:43:17 +0100 (CET) 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-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (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 47FBE823E3 for ; Mon, 26 Oct 2020 12:43:15 +0100 (CET) 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-ej1-x641.google.com with SMTP id w27so12939262ejb.3 for ; Mon, 26 Oct 2020 04:43:15 -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=WuCcvjwcTsb7FQ5Y8no2/zKtyRryVXMV4sRt74w0bj4=; b=qmHXOIkYyzc5byYAcfDrXoj5FMvm1I13x1k1biDBdp+7ehIN1aYOJP5fdsEjAVYNa9 5JkaVmpfxXD89/Po6clRUu3oqSMt1K2CTPICY20YWG4JJID0lNjoceIR9922efRfGpkY sOh5nXbEQxvb6szaYkTn2W1+70sVrPRW0CYmcdrHHmUw1j4QWNfMGyxNXaIJM0tnqmL3 rhEdiI4bWETFI22UPsLuL5oAwvM/7DDpNJvo5EM2q1Mww9P8Y+MTj1RtLlQUJykYXw7V ObX725XavEwJrsg68A1G5U8zaXuwm2Q6jo6cK5PGHx0cQlEVLEuSSVrelNDsDKODs9m3 mqPg== 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=WuCcvjwcTsb7FQ5Y8no2/zKtyRryVXMV4sRt74w0bj4=; b=ldf+YpkcryLfLFQXjvsa/7/e3sFVY9vmWAFIqq9AgjTnzjDd7ihUaljTNyJNM6Nruc tyubAnxvNO/A49gzzfPEEbdcpJXwJlj6kfBXDq5yQLKzungCjTI+g/HkzRGtyeCA8+ch 1ilWZgYDKDiAT+vjtUKav7231V3dha3SKyBJJG7lSFsT+ihnDK84sR9yQoQA0bF1LL0J XeVggCTr3R5hWqRap6qFhngARefeWUhiP7kwtCE79h0sV5PbQTqMdcd2yDkvA5NprtFj 0MmrGNI4cX4+Wo/rkcJzfcMAVwrj9pMr0/HTJgNVpEvy5r3gzDvf6+GvXzhtwY9nlsUg e3TQ== X-Gm-Message-State: AOAM532Y7F32QoCnxUeJ3Umw7zbj66rTadCCcNWzCPqV7eDCf4ceZum5 33N/Bu+QINAS8shZSo5OlYnkkjTxOvSlIHhi X-Google-Smtp-Source: ABdhPJwrYkP1wVUU1MJVLrFif/lrXJ24nhUpiJDovoowaKNP33zwdFZKBP3Gu5jrh0NFvabjvXp0gw== X-Received: by 2002:a17:906:b150:: with SMTP id bt16mr15789922ejb.257.1603712594778; Mon, 26 Oct 2020 04:43:14 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id p16sm5014218edu.74.2020.10.26.04.43.14 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Oct 2020 04:43:14 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Ashok Reddy Soma , Peng Fan Subject: [PATCH v3 7/8] mmc: zynq_sdhci: Extend UHS timings till hs200 Date: Mon, 26 Oct 2020 12:43:00 +0100 Message-Id: <94bdcf1ccde46609297d14df10c2341e840e8e65.1603712577.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.3 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 Reviewed-by: Peng Fan Reviewed-by: Jaehoon Chung --- (no changes since v1) 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 d55ba74b2c38..147ecc0d708d 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); }