From patchwork Wed Jan 31 07:07:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 194521 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1717339dyb; Tue, 30 Jan 2024 23:09:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHoTx6WSS02scMUiL7MnQkbNJbxUkIXMJ3LNVq/gdaj2SpoODLZdqaOWMyMm9KIvJv0Yw2 X-Received: by 2002:a17:906:48ca:b0:a2c:e3dd:1bdb with SMTP id d10-20020a17090648ca00b00a2ce3dd1bdbmr564571ejt.59.1706684978520; Tue, 30 Jan 2024 23:09:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706684978; cv=pass; d=google.com; s=arc-20160816; b=et4bbp9Zhb7H26W47Rdo/bSgFdHo87K3EE4WMEwa+DVepco0WpUnpJhrttmk+nb5zp wP3Kc0uXTtP2XCMfEsnesXT5brO+DgAgoG9pmAHWQIh27M6Y3do/qkYCXfNawTGGL//3 JeiuCSAIW4WPqgVb8MdV5cgphRyhSmM1YsL1SMocCjGA6lpdJZHZtaAUaNjhMrIjkuXQ N6nkr1IruWQjsgdVlYa3OD30EXflySdH+ttXUMumo7fHE+LFnA6EGHYRNv9M2iKB892k qcUACOuo6BAeL/2OYl/k2YpXdfSdjHPhCPHhVdsbRGIgYa1+tGOuNYZZHfSFwgffuceq ZBTw== 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=tyYGcmgr/FD6KKIudjDlK03Fyx5XFO25ET2IahMSQwg=; b=Uf5RidkUiIrfYi2UCIfs0deHwkunM+0MRzCkegiuX2uRI4uTh/UHSsfoTOTkFFg6qo rGP0cHFx5tQ68gjYtdp51c8Fv18JUa3JQMcaD+JYPxUETPMj3z3S8gsrTN33IffydD75 ynWcrL/ED5cwCAVPiiQ7Tu8gq6yjhA7jAePqodVY0TLejgBK6nRJBabrie1BrXd3vbei fMxzQ1J5TzPig+al1twiukII+SkB48Qr86rPSSNxDsUEYLo7kYXT8BUcSOqRCvSpOlmL f2Kyuu/XXY+4yV0DDs20uhiEn/HNJbfk9FB2KO5MDpKcHuCW6EvmzYMPjqUl50l8cU7O Vaww==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45860-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXhzju8NfJOnzV27eJk6JaICDHbaMHNyofmZ4JnDWPbjMhaucRLBOerhaL06WYdYrTxy7CJRLP0TMcryD2hyA4V9LPCMQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gy26-20020a170906f25a00b00a35a0184878si2968489ejb.195.2024.01.30.23.09.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:09:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45860-ouuuleilei=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=@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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45860-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id EC7AA1F267B0 for ; Wed, 31 Jan 2024 07:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A95D5813B; Wed, 31 Jan 2024 07:08:36 +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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789588908122500386 X-GMAIL-MSGID: 1789588908122500386 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";