Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp100931rdh; Mon, 18 Dec 2023 05:40:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMz/8sMegBYixUbv4HrufuQL7TfOQFbpQZy7ikUpnAASqrmyn02F7myLYDkimiDTb2RIrU X-Received: by 2002:a17:907:b9c6:b0:a23:49d9:7e9e with SMTP id xa6-20020a170907b9c600b00a2349d97e9emr1054991ejc.12.1702906819428; Mon, 18 Dec 2023 05:40:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702906819; cv=none; d=google.com; s=arc-20160816; b=UFEtwtfLV5cv1bjhSVtLOWC3YCiTiHyw2wyiH0GRT+BLsxd3jwXtYf9ZQbfB/dmXf3 I4wXAB3J1/rtuw4mySABdJTDmKEazNmkvfl8j9yOqQYJyEGvgwih9z/d3r+M1oDfcZXk GFVIWqO5zk48RJZc5s9nxT8hbyy3YHWCBmjstB1VHBefcqJSi7Af+WkMkDB2c/ram1RQ ITSCbczh/tWLENddLEQsjKQ7oSNV+gzoIioDm8EX/goP7FnNqzbCNL3RjF4+mE9NRtIV WWmjS60QnhefuwrKWYERhNq9NFYcROICpkitoSE6l8ghhrD5x0GZUOeAZfum6XWKQvY5 xVFQ== ARC-Message-Signature: i=1; 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:feedback-id:message-id:subject:cc :from:to:date:dkim-signature; bh=oFxiJsLYp9oMwSWHBY7gyKETjQXSFfN8A+P1KnZ/vZI=; fh=2ECscP0eGkByHILw7BCJeUoc6XhSu6Hb+xPcafvFwQ8=; b=ISuEj3p5NPR7i3L/aEMjkKOWW8q/RQ9CUL+vDHxUOJjQM8IEEtb2ZOV5c4XojiRgq5 sISjLyN20OZH7vU2g2oqmlg5jndLSpTlqxNot9x3WI4zMPlssKpapPgnxeWFGszut4os wqz6yGs4AdgXM4y4laa4O8sIzBnLZPatRs7NZaWIhPi5S3BuPMkiMAdnFSV08GT1JefT DfTSN5RAEQAvyaiHcBBC8gcAcbwaBIqvlJ+p1R3DYIFCq3+wOtwvAsjOiC8tm+tlmLZb lanV4Aoh3+KakGTXlZJ29LH8DReRAr2lePMcBOzNIWek5k/2TSGHTtn56ufMdJTz1tCn PXzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=PC6JJ39J; spf=pass (google.com: domain of linux-kernel+bounces-3758-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ha10-20020a170906a88a00b00a2357304ed4si905757ejb.923.2023.12.18.05.40.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 05:40:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3758-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=PC6JJ39J; spf=pass (google.com: domain of linux-kernel+bounces-3758-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 25B001F2306A for ; Mon, 18 Dec 2023 13:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1122129EEA; Mon, 18 Dec 2023 13:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="PC6JJ39J" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71290129EC2 for ; Mon, 18 Dec 2023 13:40:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1702906789; x=1703165989; bh=oFxiJsLYp9oMwSWHBY7gyKETjQXSFfN8A+P1KnZ/vZI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=PC6JJ39JhDa6cJ6u4SaoAzug2jN0BUgwIF1DovUZLNPXNDVY/f42/FHiI+KsAu/Nn BIVOCG4MsnvTumx/MGrlexVwCaCobnkPRlz5Okpqfho6N3G9I9H7bkyUTWVGLkRXYU 3NwMHnnYX0GrwgiYzycnvDCzpSDexNSTOccIhwAiraEzOssfYP8SwhMtJoSNxjVY2D 4W6tJk9L+2pO3lmS0xoX0iHI90OLwxlUCAQx9cuTSPI2ZK6xTXhwzcOicdOtDHz6xq NwINVDY1n8nXAqKwTA3iP6F8RaIsjQ92eM1oL7TjwQfGuVRp3UFEveOnCwrXOxuoed lnzbi0e9BHJKw== Date: Mon, 18 Dec 2023 13:39:42 +0000 To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley From: Yassine Oudjana Cc: Yassine Oudjana , Yassine Oudjana , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: msm8996: Define UFS UniPro clock limits Message-ID: <20231218133917.78770-1-y.oudjana@protonmail.com> Feedback-ID: 6882736:user:proton Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable These limits were always defined as 0, but that didn't cause any issue since the driver had hardcoded limits. In commit b4e13e1ae95e ("scsi: ufs: qcom: Add multiple frequency support for MAX_CORE_CLK_1US_CYCLES") the hardcoded limits were removed and the driver started reading them from DT, causing UFS to stop working on MSM8996. Add real UniPro clock limits to fix UFS. Signed-off-by: Yassine Oudjana --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index 13667886f50a..4f9939b13c3c 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2064,7 +2064,7 @@ ufshc: ufshc@624000 { =09=09=09=09<0 0>, =09=09=09=09<0 0>, =09=09=09=09<150000000 300000000>, -=09=09=09=09<0 0>, +=09=09=09=09<75000000 150000000>, =09=09=09=09<0 0>, =09=09=09=09<0 0>, =09=09=09=09<0 0>, --=20 2.43.0