Message ID | 20240131-ufs-phy-clock-v3-9-58a49d2f4605@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45864-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1718440dyb; Tue, 30 Jan 2024 23:12:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDA1OQ3+KACWa5ASy09iP9zg20GxBuPErnigiVZnsXNWAJJndgCSGVhq2m+RcTKH8/1cun X-Received: by 2002:a17:90a:c901:b0:295:c894:2708 with SMTP id v1-20020a17090ac90100b00295c8942708mr699049pjt.37.1706685136768; Tue, 30 Jan 2024 23:12:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685136; cv=pass; d=google.com; s=arc-20160816; b=wsulPkrWNuvVjE7mGsXQ0OCWycgFSzdb/T+Udp8AYhBEWCSJpMi7yxKJs0R5Q51Z/b 2ZApW2NPbbG2koGCN/K6hix0PtoC/gkEjbhlpbJR7XdhSSvQvv80UnDzsA7f8KRDGxpG HqLSL7J+JmkIZS8MkKt7fEcUhzcTBG3BQz8Uj4wuDoeyCsUjcjwRZI6qJA9h27ponrT1 ylC58BQt8sU8Gc453/iBVoMM3NshrB36BzK8LsBXRO5y+vjRSS0/mlX7YIbvusfmHL5T FwJ6X0Bmy+uO7E4kCg8+FB4+/b2eEMcFU2gCaHx8EtwcTyoykbOBgx0T5xz9HyFgidcn jroA== 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=lfqgfEY/9zrFocieEsFvG+BaeQL3QtvBSTTkm6Oh0/M=; fh=u3bzPHaYZ3vDDzqi+i3JJ4TqCMOoG1GBhy+RiH0xmzQ=; b=DA1rJkpluiYbO0SmUzo3Za/3fxdMOTGTynGUU+mfiEXEdJJZDpBhFuJfGItjD0JE+c w5/XyDVhB+C/QLnrrAePcX6qqZ+wqRQiCddye0Ftc82418+fi2tsf7ICYUelZbX4TrDc 9kZWiT5Ct4/Q1JrBgJwc3GON5xsyur6XJxzU936UAYYRE5xFYC2OEiT3fixMthW/75tj IAWT2pgXYk+tlny1cK59B/dkybTL7ncNqbWqts+u3JYbb7/b7q71AY4EUtX+lToJLd1w 6zG6IqnSCQN0msCrSuZzJb09OYKlnOHWLFMu9r6VkcCRKgV6fVpfts6xSKGRYM4qgFNr V9xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rq/a45zr"; 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-45864-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45864-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVhaAIPSPLY/yBz0wspvQZaQFl51mvMan8g0yhnC/t0yOTu/B6GfLkH9FdEfVB7lm7AM29QMcF2zBKzAW5JEGC9xByeTQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y8-20020a17090aa40800b00290b369b456si601756pjp.155.2024.01.30.23.12.16 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:12:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45864-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="rq/a45zr"; 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-45864-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45864-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 6E208B25FF6 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 07:10:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FA415577C; Wed, 31 Jan 2024 07:08:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rq/a45zr" Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 D4E6C5FEF0 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 07:08:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684936; cv=none; b=dLUxfQdwe6ptTZLnuR+bTkXO+pOw4gtzBykhi7tLGWGp86QeTWZukzTmz63Nj/Z35oiMdiO4+D97X0tW9ZkGvo0gbOZOQQsKCz70hsas+wTItrzKzUSNfZWiR77Nxutl5CYaNxJqhI21AkdhmfZ43prohmHyWjevzgWNYrLlJ+s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684936; c=relaxed/simple; bh=K932Sg5/cnLt0pSLtpFRZiy3/pbY2ft7JGRey0Tz5go=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FqdIC9T/evu23rt4KyNorHt5akd07g83cs09wOqqn6vQbRBDJ/U3xo9NKbo5QcYqVDeBcux68daSqoJEb7aZJRwnknzynYVcRjxnm5ncBAvsKk9xNaEVWMmXmkitQaRwpBACZA+7xBn09J/b+lC/w0UYxonrYNhRcq/9OVGLs2M= 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=rq/a45zr; arc=none smtp.client-ip=209.85.210.177 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-f177.google.com with SMTP id d2e1a72fcca58-6ddc268ce2bso2851516b3a.0 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 23:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684934; x=1707289734; 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=lfqgfEY/9zrFocieEsFvG+BaeQL3QtvBSTTkm6Oh0/M=; b=rq/a45zrV/1AyQ06xvCDlrsiHr21f+y9IfDQTRpNJHQoh9aVOcwr3MwesDHylqf6Kc ls8Tcmt2fJWbLdsa+pDvBNkgzs7E6tDD4+2KqgktlZO63Aut+SlzQs7Cmb/8mnSY++hs BdTGPuPHiC3ZkrfGmzMTzUAo4KBb7ber6OccLPYU1jYKfGHZRD281Q4hHADJfpVHQ/XC rrEwbrz4M4NQ+PIG1nRmIfMhuQyaTign4xAWJHU1CJuYLUf80lQ5P3WQQ/zOkOsSWbN6 H5+hQVC+XMC3EkY9LQTuShQ1UletGYKLyJOcY7ZPJ7p4uQTMmH3K8yqfkFFM27HI+K0k mZdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684934; x=1707289734; 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=lfqgfEY/9zrFocieEsFvG+BaeQL3QtvBSTTkm6Oh0/M=; b=AGL0e9yVwQ33vN/2WkT7FJfeMSi2U0HNLzihKnNAtdh3HyNAhmSX5A5MXwOcrRLbov dH1M3F1u89/sODR/XCDPm7whMalrdkvAQ+qnyOlpZnOlAoEYafc9uUNH+w9X1XwiRgQg 6qyYQ6+zKkvtUvUznCPIulpuxysim7nHU0AwTOjAgezUxxEvP0Opfwf28I+gT+qVtEUY q/ujmkkJxOGIaV9prxCOPg03O/aeXtMTmAUuFSc3lCjwAfzUBR2E/cGVSiYGKpRCnkQQ 1rIr9/9T78a+pJOSZJ+r9l+w225L3QPYy8UUjRH7z4Oe/YtOlfbeIODRz1EyoIx+nwfP wPEg== X-Gm-Message-State: AOJu0YxCru4uCWzPOdf1dwUUSKzCfso+ajaopHme8CahF10NAsu69Pbm vwp7zGNjKG2tk8DnVym4U5zG2OjaLhGBi3Ypt0AtEuqpwc2M2qMeenXfVLMETw== X-Received: by 2002:aa7:9909:0:b0:6de:1d17:f554 with SMTP id z9-20020aa79909000000b006de1d17f554mr668851pff.31.1706684934040; Tue, 30 Jan 2024 23:08:54 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:08:53 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Date: Wed, 31 Jan 2024 12:37:32 +0530 Subject: [PATCH v3 09/17] arm64: dts: qcom: sm6125: 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-9-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=1191; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=K932Sg5/cnLt0pSLtpFRZiy3/pbY2ft7JGRey0Tz5go=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG9rAlbxLZ1YRxZjQkn+XueNJgJv1TDILi5c HHslYkwMqKJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvQAKCRBVnxHm/pHO 9XQVB/9lvk7C413OiitfjIvmwPhhsaehwY0HT8cMBf62Rd3UR9apdvaXiZrjPZbOuGFIQ+MgRse lCPJdh/c/2AcSAK4msr+ANHA/Vb4IhJsct6GVCzx6TlAEoEc51DFxJSxCX6RJtDidsRXwqRtfp1 ee7oCVrzneUIywk74pynD2nDlMeLEvWM7Bo+pS5HwJvtiX16RrDEtJz0Y484w43UZd4TB7m2yGy kAO8olIfCOskFev9+iDmtFb7K5IBOld/p2E5/eU3t7BOAU0FlEN0uVjZlfDvWTj+eMRs3YjJlcK Kq/0lUDrBjDvTTgQtmSORJ+iIizqa2cJSJR+rralqFRNzBxM X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789589073615184587 X-GMAIL-MSGID: 1789589073615184587 |
Series |
Fix Qcom UFS PHY clocks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 31, 2024, 7:07 a.m. UTC
QMP PHY used in SM6125 requires 3 clocks: * ref - 19.2MHz reference clock from RPM * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: f8399e8a2f80 ("arm64: dts: qcom: sm6125: Add UFS nodes") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index 00a2e0980163..98ab08356088 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -812,10 +812,12 @@ ufs_mem_phy: phy@4807000 { compatible = "qcom,sm6125-qmp-ufs-phy"; reg = <0x04807000 0xdb8>; - clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_CLK>; clock-names = "ref", - "ref_aux"; + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";