Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp38922lqd; Tue, 23 Apr 2024 13:53:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVwJS7fyn0f+y+w19SMZSqEH99tjLePVAVFUZNLeMO7av+r/qXuo7YtJXuiQKcebddoAv34e6c3krRNF9GuR3Q5z2Q6+7y3IaQJ+tia2Q== X-Google-Smtp-Source: AGHT+IFROV3mGeVHy503Fyvpy8mS7FpzgpKRoPLVyjiq2iOzGErojzK66nED7zOiNBsDs4YF8XUa X-Received: by 2002:a05:620a:2894:b0:790:7883:fafc with SMTP id j20-20020a05620a289400b007907883fafcmr7054602qkp.16.1713905601565; Tue, 23 Apr 2024 13:53:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713905601; cv=pass; d=google.com; s=arc-20160816; b=t01qFhdh5SblaK9KamFo+/tFGXqCz8GsTMtcCR0uagYOmWrnnASkBwC7rKH1xAReCv JvaV1Yh1FUQzDCTgpn6m+l3bipNDOyA1DbXr469cmTXV8YOglFOBXqCqC2KX3DwSQqrF Ahgl+oLFcdond7hZC6Q5h2GKYXeA2/7Fs6LWCbnJ9jf+KmBrLNEwdkUVytJfQm6c/O9/ NQzdLOOnRBXJo5lmpgd8KanL0x0+Lvu6nSVtcrcPnykcpWYzGI3TLJKZ3cjJea2jQqWB +9VHv8Cub6VkNlGPnzNJEGCVjtfbR+jYXPyN4XoTJQekO8VxteCJ7J3fO5u75LF9mHT9 Ur6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=s/GoVzExBpe8QxX9A9OVe1Uavi5SgYLv/AxKVNUl0KE=; fh=Wb8lSWfHaFsztWId9/uf1xo2r50au0aHfK5Sq7JP6Eo=; b=hnhBegfYRdK+Jdqb7HIAHxu8lVa8PnQ3biuwpcUfWOed3XVEr3YOZrG7Tcr2Ogdbxa J7lf0Hqfa4NXGKJUtL0P6qYWko6OCTpvkfa+XxHY6z27BpUYt+KscKSb1myMXxT9uHIJ KI8OwezDy3YHxID729JZZiqP0RZkCVgSPNKUByohalKlfRfA4TwrrkTEgIbChfnqhO6g LdXvYqxHHJordGXxRkO3NvCKTThouIZi0HMhr7MSzi2wsldWyYmWUoAjpfwPQlesRI46 rxT8rGyZopRWrWOHWx4hOz7Jzz0zuJapTvtCxmCQhaAe0K1cM8Ig2zXmBEAA1NpfViX8 RSdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="D+ha/ERu"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155884-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155884-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id xx8-20020a05620a5d8800b0078eee67e40csi13382166qkn.281.2024.04.23.13.53.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:53:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155884-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="D+ha/ERu"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155884-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155884-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4CF951C22378 for ; Tue, 23 Apr 2024 20:53:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAC4D147C6C; Tue, 23 Apr 2024 20:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="D+ha/ERu" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C7D1146A94 for ; Tue, 23 Apr 2024 20:50:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905434; cv=none; b=EgttViPDBu4A65x8e8ICpOsQltuLRG3OlxauWH7oE5KlHi6SH+7ZAc2Vjjyeu7oecpNJ+YE9IK5VDl9HV/97yHxY1UnHTR2HrPPyFCGt7BECdGpSujTDt4nMjwTD5dm75cC4IQsdx1rHet5kDYiCY7Vccb4zrnsOOciC/ZO/cOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713905434; c=relaxed/simple; bh=PMGdNnxS+u6EuMG3EBK442Fl1ePQX3CaF6GlOMeIhVI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IedbQWBwG7TOl7Csfx2Hld35omByvai2LLa5m8BNsjd1W+zyxoN6wG01m7S/x3rytrBMmnk+S36N2x8w/AfCkPooJsXfztgQ3LplqcyWPMdb+gvQ7BmgjNRrd7M3isI3VAVJQ2uqmVtXLDoUM1jXihpYRD+VBErVKR5XHsmsVkw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=D+ha/ERu; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-41af6701806so863975e9.1 for ; Tue, 23 Apr 2024 13:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713905432; x=1714510232; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s/GoVzExBpe8QxX9A9OVe1Uavi5SgYLv/AxKVNUl0KE=; b=D+ha/ERuZPze70axK+sIkgjvR2RQnq886MFd5toHxCObFk5521BzLv3dedKHxmIBkJ 5o7Be0dzbDoIKoWL/mvrKwc4Hd9gsrnCmMTn29ossR1F6+TcvRx2w4KG5BGYB/rZRd3s +t2N2N2WB3IZpO2mOzIX7I92LUgSN6A/nJ1l7rW8FaEB8qGov03UbjZkpPEyy7q8OA63 AlVF/xLAuWThWIRtLJo6cCAtAsRGaJP0elhUEqOEvxcaylIPLLqDvKFn/cqUavU4ZF9V Zu6BNQam9ZHm8ZyaKA5h5g5XN8f5LB1/gqOJVeCvO0jTcau17xvgCMnQh7zE4+OrIZQT yuFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713905432; x=1714510232; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s/GoVzExBpe8QxX9A9OVe1Uavi5SgYLv/AxKVNUl0KE=; b=WEz4aOrnMr9JhJ0ep5xPai0PudOxG/QffPAN0iSD4hlh0Z+nJV20dIkBBHxLV9synJ dhk3AgrLiYeygTpc2Mq9ebxuqR30XhgIX9jSzDUJc6vkMXulphX7O2XyC8NmFCjcmkFX YQKe196DXTZQfxEYJTyTFSmude5Z3LCq6vbWC/lix/EVLd/p1mUxJmbK/RHuhJKfwUNb iNUr+r/fGBPnhRdZpAMryyeaKbULZFVi9yCEdCIK4/GiBuymMs3xPXrg+/zScV1wP4n7 OB2jM47VQh6xcQ/VOcHduv9TJNzZAQSXppcUOQGVT7M31humoSBYVvucgnzN26fRg2in cjng== X-Forwarded-Encrypted: i=1; AJvYcCWoyOUSLbIuJwEGFQ0R/MWQZFYMHyUDE6VUJdLHMkDD8fqSYTysAGuW9VktRgJhtAajTdugCzViapqttnGTa5ekwfTGYWz2zi3cmvvO X-Gm-Message-State: AOJu0Yzff8ln/whxatkECA57/uOFExlbfKUMjefUVfMJNRM+oXNvM0b6 bg6vGTLdkXys8Hp8pb67xeF/nMZmirv3U9MrC1+Xm2iUag9U81+9WCY5jvo6FCs= X-Received: by 2002:a05:600c:4590:b0:418:f991:713f with SMTP id r16-20020a05600c459000b00418f991713fmr263623wmo.23.1713905431899; Tue, 23 Apr 2024 13:50:31 -0700 (PDT) Received: from gpeter-l.lan ([2a0d:3344:2e8:8510:4269:2542:5a09:9ca1]) by smtp.gmail.com with ESMTPSA id bg5-20020a05600c3c8500b00419f419236fsm13065443wmb.41.2024.04.23.13.50.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:50:31 -0700 (PDT) From: Peter Griffin To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, kishon@kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, s.nawrocki@samsung.com, cw00.choi@samsung.com, jejb@linux.ibm.com, martin.petersen@oracle.com, James.Bottomley@HansenPartnership.com, ebiggers@kernel.org Cc: linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, Peter Griffin , Krzysztof Kozlowski Subject: [PATCH v2 10/14] scsi: ufs: host: ufs-exynos: allow max frequencies up to 267Mhz Date: Tue, 23 Apr 2024 21:50:02 +0100 Message-ID: <20240423205006.1785138-11-peter.griffin@linaro.org> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog In-Reply-To: <20240423205006.1785138-1-peter.griffin@linaro.org> References: <20240423205006.1785138-1-peter.griffin@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Platforms such as Tensor gs101 the pclk frequency is 267Mhz. Increase PCLK_AVAIL_MAX so we don't fail the frequency check. Signed-off-by: Peter Griffin Acked-by: Krzysztof Kozlowski Tested-by: Will McVicker --- drivers/ufs/host/ufs-exynos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ufs/host/ufs-exynos.h b/drivers/ufs/host/ufs-exynos.h index acf07cc54684..7acc13914100 100644 --- a/drivers/ufs/host/ufs-exynos.h +++ b/drivers/ufs/host/ufs-exynos.h @@ -116,7 +116,7 @@ struct exynos_ufs; #define PA_HIBERN8TIME_VAL 0x20 #define PCLK_AVAIL_MIN 70000000 -#define PCLK_AVAIL_MAX 167000000 +#define PCLK_AVAIL_MAX 267000000 struct exynos_ufs_uic_attr { /* TX Attributes */ -- 2.44.0.769.g3c40516874-goog