Message ID | 20240131-ufs-phy-clock-v3-12-58a49d2f4605@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45868-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1719022dyb; Tue, 30 Jan 2024 23:13:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJthXiW8HxFQyTi5qGiZWtne2gKcAdn+TgzgGOc5lNQQdF7LtlCwtrf1qnvgcypC8YwQ3Y X-Received: by 2002:a17:902:ebce:b0:1d7:17e6:44df with SMTP id p14-20020a170902ebce00b001d717e644dfmr1106091plg.14.1706685226835; Tue, 30 Jan 2024 23:13:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685226; cv=pass; d=google.com; s=arc-20160816; b=pKkxn4zyiv62TCSBHLBuH3Wv5e5QBpp27qohpojKLRkgq5ti204wzPh3j+EXkK997B VgQjcxsJJkCF+ya7ODtTwllOZRFHYgk74QEdO14yUSO6qdm3DMyIcBzzTOiRdKR6q0ki 3zHPLNQO7jnTtg5dtpWVBhPqJ6YS6IF/YVmLxBbxXhI0XUDsBOos9wgcUdnQvbgGd0Uz Bw3u6XKrWBIVOgpL0lqUbg3VMXzoIorvaxgNi9wiw6bLbHxTL3bBKv0GT9Ib2lsRdRul VFDsCd2Oph3dl25SFoep5qsQ2CjzxYVFDY/yAIVJnIfFCCPh5YJgU44F2cyYiwnPDAbB nmgg== 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=4daM6StIHLffxPabzj4NBe1EGGf6BbOQFvW1iFIjsg4=; fh=MBXDkzLTrIrf71TgewRe1+qSRvsssFGBfOlpiyShKBI=; b=0n5CXfRfN/pxyTIWACvFzjIP0gsC16CDDpXXUsSvNPr5OQInPRVMr4V7+xkdpL40co VUA8OhPdQVnxbxv1jrUCQSlmkCMf/8f7u9rZszJHDH2w5IwpW1tVaOHtc332+HRaYPZf aus7WzvmH5Al9oCUs0Fw3JZmHecSFHZOSWi8hzDK82Jp3zrb69ujvKGjhuGSY5o/bOf/ 9GypooQ67fgdil3V8/2lJRRgcRuprznd+MWIdNHq6QPnwFepAiKRuTrOZShKU/7X9fja n++F0gyP8wt7GJQJNBh0xHeL/2860hgJfx9s5qPQ2pdXJ6ksQ6BWSNAiBHjmPtHH4nwn uV+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cjgkkq0v; 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-45868-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45868-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVoBYZD2PeZg54jkNDxRljxbov4MMaVSgcIJf2AE+esW6xvNoBZ/w3NfrAYdQNPb5UrBqAVgZMZ8kWTKO15mx5z70MszA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h6-20020a170902ac8600b001d78fd4af34si5616218plr.533.2024.01.30.23.13.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:13:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45868-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cjgkkq0v; 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-45868-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45868-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E0D65B2500A for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 07:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 549606A019; Wed, 31 Jan 2024 07:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Cjgkkq0v" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 CDD9467752 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 07:09:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684951; cv=none; b=r3IP2eZkWN8PrGFFfjbS1IwPcKGrSo59OlwTWlFOWtTcWTjx1Zm+A0oSSosBoR5vtSsE2q6WQ78g3npVKXT5XXFANi2Q9oyCA5r01XPu7mIKCbilVKQkdmrZ40df2QIgQ2v6czg8AvCEuF/T34avEUTdQg+0x/p1ZTznTZJ/kwY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684951; c=relaxed/simple; bh=vk945dDdVUzTGdi+7n851w/PBwLOfA8sY2v1ArztxCQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W8wkckSCQWR2sbfNe3DuRxeGt3Q8YSrYlCk1lDaDp6mKLcR1R5pi9cm+x8WMJlrX0xQP7UHbDQE0ZSR6c0ZHbDzuFinDEQc8uRvJW8AW4geX+lcLJnGN+dRmirUvZ2CabRTEhi7li5dLLP996Zdde7n29ntTcfkXhikPN6wYsfw= 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=Cjgkkq0v; arc=none smtp.client-ip=209.85.210.176 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-pf1-f176.google.com with SMTP id d2e1a72fcca58-6ddc0c02665so2129817b3a.0 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 23:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684948; x=1707289748; 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=4daM6StIHLffxPabzj4NBe1EGGf6BbOQFvW1iFIjsg4=; b=Cjgkkq0v0FXdNtrvC2pc3l/VKG5CqRdQ5KqaITGb/TbKTwdVIrV9bL6/qh/B1PUZwz wFgHDwRQKet+GqQbqu/srwTqS693CXaNy7FAhSY30BJNeHVapO3zZxkRjpap3TCGfFU1 cW52ORjFrtDO7Nhis2s83HwpkqBcwV4Wdjs/7EIe3RbAcqleveQks80UJBOij812FLj1 CCirOGuC/xhd5XtmaD/1uxHaXYjB6hI98Cr7KKjvfQO/yuwgavvykvPi1VoeD0VakhbJ I4Oxmq3Ju4DOWEUZCiGGvSxhjkKw7PizqA6VcfwF3D3KiDgvXvMS90s3pGDLwyQXg7Q5 GMHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684948; x=1707289748; 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=4daM6StIHLffxPabzj4NBe1EGGf6BbOQFvW1iFIjsg4=; b=TavVXa7mqAyyNIuD+QjgYNro3Jwjj5SJ+lYW/4POE3idVld6ow5gqIEvDuNCTym9lk mapQtorqlwcPyz9xjHAS7n8P66qRsrDvCnX5jcsQoJG4dnXfLwhxFgBjiXaWcvpELLEt nb5rj7JZubn0q3IUZi+9MkBaH0SVTb7An81uzQBNFr0JFgBERxYCzXPiFf7qrfB2P3Ww m2DfwD37yi+gGUPcaefg/1cHmPUgBGCDVEyrEBVjwPADDJ8G/rtwrIfiiKKsn1Yt0Gnr 9CqzumrCzmQ8eTGoWbs1eFWvVvfvF2hACxhEVl0d+e9mLzJvec8sfB/CpvalNa9R162Y HM2g== X-Gm-Message-State: AOJu0Yx3vl4QGhSpwLLPQ7GntRE3/xADYvvRlIw+GxrFgYYiq1ue0EYI Z7bGUl1eAH92kGEMkTnTm2UlSvh9LSwCw1s8n/qwe3gUcxVTudmvCNOXab0S4g== X-Received: by 2002:a05:6a20:7aa1:b0:19c:a48b:300a with SMTP id u33-20020a056a207aa100b0019ca48b300amr695240pzh.37.1706684948230; Tue, 30 Jan 2024 23:09:08 -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.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:09:07 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Date: Wed, 31 Jan 2024 12:37:35 +0530 Subject: [PATCH v3 12/17] arm64: dts: qcom: sm8250: Fix UFS PHY clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240131-ufs-phy-clock-v3-12-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 <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> 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 <manivannan.sadhasivam@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1287; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=vk945dDdVUzTGdi+7n851w/PBwLOfA8sY2v1ArztxCQ=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG+wgcwrzJxDeTRdFX6AuE4Vs66xfmbrM42p aNa75sNok+JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvgAKCRBVnxHm/pHO 9RsSCACX2/uwx+GRGiGscSgdBleYMl0xwLBg/f+KX3XAijD5mocEDvnMkX+WYZeeYbk547w1yfP X0LZnVw1Ie5NEcKUCLivagHkhw3ID8GKDYjaVM9JGi+RkUQ2e/xIgRilbUs0wfFcPBGSMg+bOb0 cQ8dO1fhkM0nM21loeBfugZqvYnMAa7yafLVuJvQaUuVPD0SX/VJn4ji8eVdCCA2omTsPygGCaL 4q+afNgOL+9J9w1oAjk9iOuAy+1U7UY6hikaodsczVmFFBLYjvW/tu1xiPs3sHqsH5Gw7PcxWAh steq7FrdgL3FbHXxoNVQj+XlV1NQXJ6cDq11QVRIWtsYpVJj X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789589168176795522 X-GMAIL-MSGID: 1789589168176795522 |
Series |
Fix Qcom UFS PHY clocks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 31, 2024, 7:07 a.m. UTC
QMP PHY used in SM8250 requires 3 clocks: * ref - 19.2MHz reference clock from RPMh * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC While at it, let's move 'clocks' property before 'clock-names' to match the style used commonly. Fixes: b7e2fba06622 ("arm64: dts: qcom: sm8250: Add UFS controller and PHY") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 4d849e98bf9b..f3c70b87efad 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2540,10 +2540,12 @@ ufs_mem_phy: phy@1d87000 { compatible = "qcom,sm8250-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; - clock-names = "ref", - "ref_aux"; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_1X_CLKREF_EN>; + clock-names = "ref", + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";