Message ID | 20240131-ufs-phy-clock-v3-13-58a49d2f4605@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45869-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1718348dyb; Tue, 30 Jan 2024 23:12:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHm0zdCJmQOsprQSxm3b0KTGzez42FEaKvOPwyfhbwFLAuSYZDvHuagKUJZQ9Fi1NzMu07R X-Received: by 2002:a05:6a20:6608:b0:19c:7f7c:25f4 with SMTP id n8-20020a056a20660800b0019c7f7c25f4mr755707pzh.2.1706685124542; Tue, 30 Jan 2024 23:12:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685124; cv=pass; d=google.com; s=arc-20160816; b=w1xEky7qV374m7/43kvVat7uP1cnzMT8g4rGcvw8J96mSMxpoWBuBnP9f1MEz+kstV XJHvXsGx+lvGTlciPjstylZ63iOfHJOjvy8n2wQXnBIW8bsOPXcsv/zhGJzd+Gbr0QtT qL6UHIWinQAfhaUXICJvXvaSsktsgYS2WlqEAhM3f+esAx98YEC3bXaXJ5Smpku4USiO JG+qP0VVqG60k+kl5yW45b4Z227clL6/UHemv2W2Sp3eXC4vLEhfQOWbb5MKQFUx9sl1 NamFM3J66NchV/UwAq3OmM84K1HwWIySxu4yyj4gEcjhd1y14IVYE3dhJAAr14Mkivpr 6O+g== 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=cb96/441ndpPUn21lCcgixKHWXNQ9RDVKXguXeEmJJE=; fh=2A79y/k6BOjbWJ09/RnAqDwjJYVu37nkKVVrTB7UNDU=; b=nwEJhto1Jb6oMTYj0tiyuvJyI3xEQ/svMiNlxTs3tShHpJGKet8eH0koieMFSZG26O ZiIOj4r4lns8GvprZZi8ABVkaW5253mY74Px//3AQYYB4NynjTXuauznmpyMLHlZDI2f WNCr57UPOG+aVouCSHULQiG5iLCybiauqML3a6qv6Nyrc5gUdLkcdyj0gXQqH5YPDz0g NP43B6gHG0KxuPsmNssd4yhoRFuxrDuv+HeTJaH+C+VAfdESgOWRyTiaRgn/ap8D5O9D zjEcR5Muqm5nv+wVQj/MPnWt0EGhcXPP2gZHB7QEkI4Uuk9CdNJCk3j1XgT7Ob1hZykN +kPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cHL7pueX; 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-45869-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45869-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXjlkxTCec/0o21SxACb1juFDIHsc50gmRnp65Kuq59in4wDwAAiEmgx8QDH8j+AZLyIU7LUVKmYRVoRqG9cMBlPSSJGA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j6-20020a170902690600b001d908d23398si2695605plk.516.2024.01.30.23.12.04 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:12:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45869-ouuuleilei=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=cHL7pueX; 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-45869-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45869-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2936628529B for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 07:12:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CECB56D1BE; Wed, 31 Jan 2024 07:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cHL7pueX" Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.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 7B5F867E8E for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 07:09:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684955; cv=none; b=BAW5rV4AsENhEBeNXP6B3M8EV0cnbvqG7MSiTuArX2Jxg2YgPzziz6nVlgTDmZYFxuCanA3I5yuWoKnlABi8RbwA5zmS9or4biICxP6KTw785n82iIQ5nNp/zpUEDSAbz3HtHM0SIA3nQQ62zEl6Q1hrS2KPuW1MbMhFWrbGCDQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684955; c=relaxed/simple; bh=wK5tqh64wjjHKC01oRXS3I38BrjvpCIIBSIYFkTgDwo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SbY9DrpTIfSnX6DFhh8ie+DeNpHvS57lei0Q/jin1X8yAgNYI2CE16lCAcbLZz4K2cw3dWxYzZK2YtXXQROjRjcZx/pOemhrIVBWsH0wJkQ12r8AyIdAT51aqGXMAWPv7NhCrNZ5uQAcRaUJ/cf3K4RwYkfIW/do0lR1tRYFU7U= 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=cHL7pueX; arc=none smtp.client-ip=209.85.210.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-pf1-f174.google.com with SMTP id d2e1a72fcca58-6ddb1115e82so3142005b3a.0 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 23:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684953; x=1707289753; 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=cb96/441ndpPUn21lCcgixKHWXNQ9RDVKXguXeEmJJE=; b=cHL7pueXPn+x1GDXOFd4vy0XJXF4TtN63tvbSVkRSBbzkNGwxDe3desm4XvqGktKQI cfJxY257TNO1bw1shwzCOmQb4ssvlqviLsrr39qILiyPryTFpHGNn5uO7hNt6oyACmX7 gbgSkTJMGwOEN+6kbtj166Stj/EStL+9KGCmONAGyZkiW/2zkMgX8M3rNP/aAnf4cnU4 2V2IKSKAMdDmwQr8lyuSM4Gmlt3j/U384tQ2ygTY75xiMOaMlQlBAx1iXY04XUm8/rjE zj6gQafsJYSICFWRcm5KHx2o9kFneqw1deISQ4SWIh0aU+cPZcuVld7riZTduKpgRKJa UzdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684953; x=1707289753; 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=cb96/441ndpPUn21lCcgixKHWXNQ9RDVKXguXeEmJJE=; b=VzagUoDlNTEz9VAogQeK9aenBO6O0RIrO/oeP5Nlast3wis6qCiL5u03Zr0who7BTd sukpC+b9UWgeuiwenpMxQVsWNWi5ucgYuri2ZWIN9l9m4IhRwa810lYFc4mzFrHNxqeq EndalgDHRB7Wya9mRVRnbf269Jz669wSi15G4lflPerKspOqbyIVC1gr03LlhZju6roc nkwFg1edWCoeRjTQUIjVLHtkhcfnTS7+5cL67U2a4RO5ektkP31dOHQ34XUxb2Ta2NwX bkRCPpiguuTNUMW5xc7efR5mvlVvQxbA8iDpa7wXybcvmJi14eQfMgYTyIwTL6sOctWy mQsw== X-Gm-Message-State: AOJu0YxUvDxqksP9ggRLxS8+AvKhcEnwv84BeSCdDPbLsXFPOPX8Ns5L UUV/mY7Ja7Mk/qZ18/FappmBumUP8bfHnjGUKzE++N0Kr7tMterzzWyHM9iEug== X-Received: by 2002:a05:6a20:47ce:b0:19c:9219:f3eb with SMTP id ey14-20020a056a2047ce00b0019c9219f3ebmr720400pzb.37.1706684952909; Tue, 30 Jan 2024 23:09:12 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:09:12 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Date: Wed, 31 Jan 2024 12:37:36 +0530 Subject: [PATCH v3 13/17] arm64: dts: qcom: sc8180x: 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-13-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=1123; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=wK5tqh64wjjHKC01oRXS3I38BrjvpCIIBSIYFkTgDwo=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG+pb5oFirLIkRag4f9F9BpfPO1+LpFuO1p3 PRwRvgLcHWJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvgAKCRBVnxHm/pHO 9Tm5B/4iM2TOXXMQNHax1JAPT4o8H7oYOeV1YgRiWZyzGV2NzMJlegipoZaFPuAjiwEFJxwcF01 xpsD5b6ca2EAiKbyINLFqLylGn27COU+9eNgmCN3covcFXrIyj5vNQWDo0XR5cpYXyCUwgyb7Ga X7gGWVQkBHvwZ01KeE68ZD95y4biicfoqc5yzPsrTcMH0R173tTvIMKCZQddJEDuyOg9+JaVtUD VA4KYJf6lke9GJpG7VI09J4Xs4qwJCmJhsUZjubKUfwal7Nfo+WX4Vo64u3XY1NnnY7CtoR9/fk +6SNY00kwnwqS4EmK5TY8UbjWOGb7ZwzjDZL9gLAUnlRPcot X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789589060929941692 X-GMAIL-MSGID: 1789589060929941692 |
Series |
Fix Qcom UFS PHY clocks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 31, 2024, 7:07 a.m. UTC
QMP PHY used in SC8180X requires 3 clocks: * ref - 19.2MHz reference clock from RPMh * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from GCC Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index c64625619a65..45d39762fb27 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -2140,9 +2140,11 @@ ufs_mem_phy: phy-wrapper@1d87000 { reg = <0 0x01d87000 0 0x1000>; clocks = <&rpmhcc RPMH_CXO_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_EN>; clock-names = "ref", - "ref_aux"; + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";