Message ID | 20240131-ufs-phy-clock-v3-8-58a49d2f4605@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45863-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1717828dyb; Tue, 30 Jan 2024 23:10:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDTaspAi4FD2EjO+hzBaQcfBCgCD32oKDaAXBFljjf6ZJ5ZcqW3DQh0ilBz6qyYO5D7r2v X-Received: by 2002:a05:622a:1116:b0:42a:a71c:c881 with SMTP id e22-20020a05622a111600b0042aa71cc881mr1032347qty.18.1706685049931; Tue, 30 Jan 2024 23:10:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685049; cv=pass; d=google.com; s=arc-20160816; b=qlk9IJEjHtD1Pgo7iU+MFzc0azZu6ogCfwAzF/FiPFG7QwFC3OPqBt0owwYLLdInyq 9X2tqEHR045logaxkLF6jtolZhYVy6XqQFs3IJjgnZKOq7cODnk12e7dE8PEaP+kGrpL PCQd/5XmHZDsKV+JGKWcExms+zELYMM89ZtqUPKUju0yjcgsarW0mR7Bm1cTltX+6Noc uB7ibqbt1k+j3gK0hWrO1ctcCkj1e2jqtRHJmTtps1lPLGnAAOsCRPfRK1q0JG9jcFPv Ic7zPmJpT4+P64Ckm0N+EgVimgO0zEZxSjyyVJuqaXgy4axjLUswZTJy1muOSl59YnMR UZhg== 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=7oNmgtgCElW74VgkhCqruhhIpDueOdHK2RkVOvuNPn0=; fh=Ky6JGzA4wOY5/7TyArSalq5NIo+5Fr3Y+5Dg9g2qBCE=; b=BTkPHnnZBKf2WdQAz1okry2l3NUMjYw6Pn9KmnvBA2WxaokAJyi/SM++CqDNCg2iUf 29WECEiAx3RdV/LwMLTbFFjqIf6sbcdd5mPbrkP3rijolDcFJhvhsBeflPzxaxXu09z8 phw5XKILoTW2OlUX+zlPZcQA4jTaV6t+eYtyzK4ZHt+Sy61PVFDpAM5b6AGqfeL5+KDQ k5lAMYkET/tsFgSwxiHIIRZxOZWMkbKRBKDkUTRX9paKM48gAhL4c0QzMUmVbDynwLCY MfHnu8X1g9upm4wzu+eIuNhODeVIYdQ1clA9z3o9tYqq22ZGrdpUVM6tRUpdisZ/K2nJ dJnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2XlTFFD; 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-45863-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45863-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCU8JO9wRkNkK3yeas6h27Go2p1lZdWAJsSdgWr+gfclyQf8I6u6rldsq4PHg9id1QL9APV2oAwr201LueJmExKcAClTbw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f41-20020a05622a1a2900b0042aaa58fd44si5154558qtb.261.2024.01.30.23.10.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:10:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45863-ouuuleilei=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=m2XlTFFD; 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-45863-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45863-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id ACBE21C25BD1 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 07:10:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DAD95FDBF; Wed, 31 Jan 2024 07:08:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m2XlTFFD" Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (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 D8F875D910 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 07:08:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684931; cv=none; b=WnVGnSHkobfMf/ejrB074z5HA8VlkeD/5qZMfHWE1bRjyskL/hlRP2ZhTmIc6QQTlqn5lMVncAVYpFkBZ5WqnShhwCpizHYnZ664sM9y7IxOtNfi/+8GzSFP4d4NcDp3sWHVhxTblwFuYMMRnTkVaiW+a+ejt1bzsyj2GR9niFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684931; c=relaxed/simple; bh=ntzdDmf4FOP4JYl7D86W3Hb9BDqaLc8AljqlYstG++U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fwrwogr214R/kMvIjs+SOr6Bc/sfPcCzzC36C7uKeHya/aHOParVljLW5ZVAbWlARdXBlrMU3YCNz0Czy2vLQO9iNSso1GW1PuDj6g4sE09Sb76DBCm+AJHlMUa7EBEELeNuHzmVzg5fVTPyqehuh5J+l2PG6fM42NvPyfUmfi0= 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=m2XlTFFD; arc=none smtp.client-ip=209.85.210.49 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-ot1-f49.google.com with SMTP id 46e09a7af769-6e141ee9c14so558537a34.3 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 23:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684928; x=1707289728; 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=7oNmgtgCElW74VgkhCqruhhIpDueOdHK2RkVOvuNPn0=; b=m2XlTFFDFfgz2mvje7zsjxRJaIBQ7BsQKuVN7AQihYVW5dLuXzn6hHOi8XEDh8FZgY V0y0HqJNsQZbfSkcHlBnAZwgc5FIYvpcLU7/B8usr4AWJG+xidmH5AQMNG1Lv0AiqV/a PU8Cr+YgeZceKBdaPaWrcLkoxwMBKuzmhRwPCLvTPYAUhkxaEnZFY/a4DUZRzu+631sj 3spBrzgnaRpT0k2dWVK9yQSmrCm6GfN3PIWvd39991TOjyUqEtU0LOAJlkiFr2yvXxi/ Ib5CnSLmsyDvyACson7LA1OhsOZC38+ieHw0HF7nJmvD8VQIBha7PGe3msa14BW4BC1b 87aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684928; x=1707289728; 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=7oNmgtgCElW74VgkhCqruhhIpDueOdHK2RkVOvuNPn0=; b=JGZuholgiEd9yirqq8FXizNsLZ6TBlpeIGpDAK6mPJvrUX1TIlmllQbibc/GLtEFOP Fo6lRKlR77ssH2qpSn7EQdksS9yDpWT5kkNApSkTlll0GHDM7iJvntV2YJBjtROAlYeH Bi5gqQwQ7Ii5P6dHohvDXeGMA/l2R0tZjNpIudIJQSrQOTNOzoAYFXIvfVPJaFf9oyaQ XSW0YGLM7znQ8Ezg4R0buTEBfxKRzZTASuF9A1QEezQktJ8BZuZsfBpj8qrhdvBzvkdA sCLAjSzzC/YEx4pTX/E4UUqSbeey4Z7i/1hsoezHFHD7vYhFLEzmFMkcz02jAM+iG6CL I5ew== X-Gm-Message-State: AOJu0YyQaPSBzByZmplgmVzDuNL1zVMJduXv1wSmF78P7GevvsrphRgY ybWk5SMxH0RtFi2CC6+DST5545o2AGq1Vnip3xlK1X1unjeCS6lX9zxMGKuXyw== X-Received: by 2002:a05:6830:1bd7:b0:6dc:224:21ca with SMTP id v23-20020a0568301bd700b006dc022421camr522371ota.73.1706684928074; Tue, 30 Jan 2024 23:08:48 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:08:47 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Date: Wed, 31 Jan 2024 12:37:31 +0530 Subject: [PATCH v3 08/17] arm64: dts: qcom: sm6115: 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-8-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=1205; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=ntzdDmf4FOP4JYl7D86W3Hb9BDqaLc8AljqlYstG++U=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG8NNFnEdD6AWOhi0T1MZrEuBjXyTANfkvyf kU/dOw3owuJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvAAKCRBVnxHm/pHO 9bPQB/wK5qsLJdCyrzYKQmXRamB47fq/4jsJAe5EM2dfZoEhQTbOugH9qvJtG1AEQ6HwxgqrZkk 5Oef+iz0pbpqFOKFp0Hv66+Ek5yk4CxydWFb8yWvhknXbsk9rNHfD+y8JBilNL+DTSmY1EVkJiA N7loSSlaC0/48acL5ye9kbUHREf4CGCFyARKOd1CF+itad/9VIYyUvtgVHHO3Nw8k8YqhqfC6qx Xe6RTo0ZaDYhbVWZj8PvOLgE9Kx/TxQ4RXau9OujMCEcHB31nylKtCo3FP2jaFiPBCtzCyerAHI aYFG+eJNxWDLG6lnoHRKCkWHpQzjHiX0MrX0xEEHNkf+1C9g X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789588982930751533 X-GMAIL-MSGID: 1789588982930751533 |
Series |
Fix Qcom UFS PHY clocks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 31, 2024, 7:07 a.m. UTC
QMP PHY used in SM6115 requires 3 clocks: * ref - 19.2MHz reference clock from RPM * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index e71cbdef7784..261349c148b6 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -1195,8 +1195,12 @@ ufs_mem_phy: phy@4807000 { compatible = "qcom,sm6115-qmp-ufs-phy"; reg = <0x0 0x04807000 0x0 0x1000>; - clocks = <&gcc GCC_UFS_CLKREF_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; - clock-names = "ref", "ref_aux"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_CLKREF_CLK>; + clock-names = "ref", + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";