Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1487718rdb; Tue, 30 Jan 2024 23:09:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxn/obBYKMFa5folIUU/qHP3rw6JwRkEi5wwKjqNNa/KCLCY9R0W0YbldHD4EpuY90peGW X-Received: by 2002:a62:e705:0:b0:6de:352c:c2c2 with SMTP id s5-20020a62e705000000b006de352cc2c2mr818754pfh.30.1706684968997; Tue, 30 Jan 2024 23:09:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706684968; cv=pass; d=google.com; s=arc-20160816; b=MoGEVI0SUgifKJu4iMr6pjkGaS39ufENI/LX5WcOmzP3kpV2ueapod0SKvG6NQR3uv yT1HdYQ5ziOMXOlIu3CGvyCwIaG3/bZUq+ZpnZEuVBPC4FLCtrOFHRYjHGFCJP0Mbk6k KioUEzbYPsR2RAiQFiPNg9cqLLDKqjkFFIU1STThiluaU2YaxOwkgGobGjFhuBblA5J6 GiHa6o8+GbM+bQZtLhSbyuLOpL1QWGrunkW1EizyhTKYM+/ShvUhk489ktPklWHBNT9b ysn/330QmlWKF4X2LfON/SB+kZJ/9HyWUA5HJFoxucozsC9awMhDMGolnx3AOCyfGyWf AilA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=nwWXxX8bA04iBCBG5C5m4XA22SN5zaTxttTpsff3W6s=; fh=e/pgT5hXiGxP71ATgnKJmrCtOR85KDhpOwKg5jWV/pI=; b=DavrrFMEnNo/VQC8AMCpDWkGIjEO21UjD+4gi7V8CaKb1TURp3orFI7Hpmut4OSolK k4AndjmOJWlprw9wz04NiCHB5MAVHglOp0jrfVqMbZaUu8x/WDUmwND6G1wpdLAlaqsK IvfNcYTOntew4rhe4UYTFxWbGq+1nztl5Z2JFRz8zV4QAFeWBav1vjivjTe58v0O1AAG fWlQPnCenRYebDpQGEkP49cETL15XHk4HDzW0jp51GELXtisn856lv6qVNab4VeRavvm B8rMsIoeeySoC/5L2fepS9mR8b7hqPezu3WxIzOz5wQ+KIzYlU/G908c5js/ZemCmCrr 3eSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDD0J6b7; 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-45860-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVwtkjCIY3JRS11GIa9ma/NH/elda96XQ1N/yANinzbkRInK8M0TbocmKW83rGqepcQVWXgzbFh/XGmtYiVp0iDZK79qBDILRDyywbmbQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y22-20020a056a00181600b006ddaa41302dsi9111630pfa.307.2024.01.30.23.09.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:09:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45860-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDD0J6b7; 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-45860-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45860-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 93E752868FB for ; Wed, 31 Jan 2024 07:09:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 004B755E56; Wed, 31 Jan 2024 07:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LDD0J6b7" Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (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 C00DC58138 for ; Wed, 31 Jan 2024 07:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684913; cv=none; b=ekHrzPV8IdW6nP/lH+3hq6PpCKss58MhN3w7yzBhwLwdWOa5KNAxyfzpMTFq51JLLW06kCQXhmHcBwqifUBSF+WUqfvt9jL+NylQX/mPBm51c/ofSUeo/PTNW3mSlLu7UGzxZOIeVysqLH3UBHZon8/o1KV1lJ2CFPJjZsk9L+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684913; c=relaxed/simple; bh=6gFdtbR7kUCe62mAXevdADnV4rqouNX7oyE3b+Q5pV8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mdsZN3UCc5ChPRdJkZY2fcKcd9tY3bOvD5w/Ify2Qic2UgxnFYmTrdmZGNsbN+pHN/wG9TzZY9esoj1cLCJFDvDNk5RSmfigCvPjf7VXAw4PPsEBGUXIj76dg4PXVgwt8K5iEaoOilVmPhT6rLT8OYu37YD1Qtn769+DnRN06Po= 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=LDD0J6b7; arc=none smtp.client-ip=209.85.167.174 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-oi1-f174.google.com with SMTP id 5614622812f47-3be6ff4f660so1443758b6e.3 for ; Tue, 30 Jan 2024 23:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684910; x=1707289710; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nwWXxX8bA04iBCBG5C5m4XA22SN5zaTxttTpsff3W6s=; b=LDD0J6b7BoC0dwLS+m8kqFEtqC0Cl/VNnchkfSncjDuHrzGHLtMBEOHjBOo/M+fOE4 DbAApASnxL1PsUuAUfTIkTto+2v5Kx1f84lhbzwkP5TNVf1xCpIMGlmGl1y9Q62Z5jO4 SPubyrzndNfrxuf50AgiR6rMpg7xBJtJK0Bw0KiHXaOH2xK60WT1zpRH5vKpZHj7+ASb Ht7vCEmSJnJOWY/90/rmpC5LlNAFHHvYzN6i2NJkvOmbPAKaa4hxMeGDB1ahki+9a6rO TkiGMRdZho1mfASgcyTH4ZCU7nVhBUnUQ/TGDnRkdytzyepMt3pTZn0wz+NhqopmlpcC FQ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684910; x=1707289710; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nwWXxX8bA04iBCBG5C5m4XA22SN5zaTxttTpsff3W6s=; b=hptTNGXYXZCu8lLXKF+oZ/X8XGl2H+SIWzPhQVdfZ5sqL+5yGgGtPPVKJPcPQyRZ+C Ta3hnITWMBO0Uo9QMwiHknvu8co2pFVJf6KrB5aQJDL+XlNlIwpKCwTFESi9ff6BbkGX +PkjrKHiuQWRjjVWx38//+gCUvLhbw1/hRr1JMFzwnY1oONE29k/kyb12pLcfUaR2gFX ASrSSqU+hBgep3HQVR2Sk693pSotHX/28X+dzp1CspuyVNxgliYZWr0WtIOiiWMFMMHQ EyZNEovKwVjrRbBwCmuMOdRVM95RlQtnP5XZQcmmP+EhK9BgG0bQhH6mRkvYRyeLSvp5 T/hg== X-Gm-Message-State: AOJu0Yy7gDRiLL/r8JYaOYy9WdavftmWx/EfSmbRJ99ky4aR5wXR9KVY olhNGJvyJ+SX2oP3Z8AJgtKmMEC8V3UWf0Sykqaz04e9eOJvwYXCan+dAIxnUQ== X-Received: by 2002:a05:6808:1596:b0:3be:bbdd:ea85 with SMTP id t22-20020a056808159600b003bebbddea85mr946862oiw.27.1706684909883; Tue, 30 Jan 2024 23:08:29 -0800 (PST) Received: from [127.0.1.1] ([103.28.246.26]) by smtp.gmail.com with ESMTPSA id lp17-20020a056a003d5100b006ddd182bf1csm9087956pfb.46.2024.01.30.23.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:08:29 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 31 Jan 2024 12:37:28 +0530 Subject: [PATCH v3 05/17] arm64: dts: qcom: msm8996: Fix UFS PHY clocks 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: 7bit Message-Id: <20240131-ufs-phy-clock-v3-5-58a49d2f4605@linaro.org> References: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> In-Reply-To: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, quic_cang@quicinc.com, Manivannan Sadhasivam X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1028; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=6gFdtbR7kUCe62mAXevdADnV4rqouNX7oyE3b+Q5pV8=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG8vJFABRz1FHK0xn1RjAK3AuoAgTnI5cRQs 7Zoa0NbAaiJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvAAKCRBVnxHm/pHO 9XK0CACANThkimoq3YF2AFIuFUn9WSXWyiTZ0i9Gpgzq+V/u8XlW38VpaxToMJA/wXC5uIYualx l5168bi4i8EGniCq3ZuxepF9kHhN5C2mW7ZZt0puujh8lkp2fzDzd2RAR86iT9x332mL1Ypz2p5 QJpZxm1eOuT7TaFxqovq1uiqZdKh7x1gXTHJu1fTJ1tWuWolyVPscNj4MkhVjh7pu/cYmatdOgi WyzeYzLZcNjrsCmWBgoz3x3kJYrbHiQSet/RgCG47OlWGVUbmn3IY9HfVE5S3ZZVUS8vBmQXmwb cVxE7C3knU9+RUqvo3tOqn0BLqW/kkjcwWglFN4YZGFu/+ZQ X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 QMP PHY used in MSM8996 requires 2 clocks: * ref - 19.2MHz reference clock from RPM * qref - QREF clock from GCC Fixes: 27520210e881 ("arm64: dts: qcom: msm8996: Use generic QMP driver for UFS") Reviewed-by: Konrad Dybcio Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 600720d3a8f5..a691913b78a0 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2123,8 +2123,8 @@ ufsphy: phy@627000 { compatible = "qcom,msm8996-qmp-ufs-phy"; reg = <0x00627000 0x1000>; - clocks = <&gcc GCC_UFS_CLKREF_CLK>; - clock-names = "ref"; + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, <&gcc GCC_UFS_CLKREF_CLK>; + clock-names = "ref", "qref"; resets = <&ufshc 0>; reset-names = "ufsphy"; -- 2.25.1