Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1489450rdb; Tue, 30 Jan 2024 23:13:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IESO5c3oihaHXrlsr6SRVkExRMexsGlPK2wsKvHvpkZMlL+PIgStwk3pgO4Ng/nQqdZiUVy X-Received: by 2002:a05:6830:25c3:b0:6dd:e1a4:17fb with SMTP id d3-20020a05683025c300b006dde1a417fbmr692747otu.38.1706685239300; Tue, 30 Jan 2024 23:13:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685239; cv=pass; d=google.com; s=arc-20160816; b=OHOVqIGJxYZCGIb3ca+r2O7vtynjnbENSz5z8X9NdDFp7N/rCL61TuTvRCPLbEowzW EyUWRp5NjND/tWjy3+MZrRg3+IROq/jMDcvxgfc9R6U6u/rOk1ieDVTO/QxtDBNqEDs+ uBSmXbHOCUqK8L3Txt+84+uvJ6+VHL5f/umu8vOfS+/zTqkYOCtDD6jDepsLiZu1yUs9 0KKz5kItl5soRk4X+r2VT7LVi3tGap3e+VDOYfDU4Q2es04DDs6gAvPbqeDEnLmt0OZf ra/e5nBTJu5IR+vh87TzU35+mHAN40f2s2HxDFFVqoQkaLAvqjG8LG/VdWV0AAxuFyM3 Tm4w== 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=uoBtgF8AszzKZqPgr5wI3VoHPZorGXgEGD2JHSy+6+M=; b=hLDbnqJ5/BNEFwoK1o/n5Fsei3ZWUhTpo6zm2qcno5h/RB/Fstzrh/c7yPHeG+OC87 0Hqw1eibBV1WDaMxPVgULirEtVoCGgGX7i3hTwcktV5M6hBseio83lg7ltq7Sm7xpEwt i9EMRJcGpsjK8H8K9hpwCxLMNApGV5xMFLr2di64AwyHcGUyMp6ABzwjt4w9LF+G+i6R G2QL5JDIKZfR8vO1S83215UYQvYnK3pyrLf9fOM8VtmcB5yvcOrCzw/ImKiXcNpk/Mgy HR7mUNRvRsplslXd8GE7avnfcW06N6DPY5h3yL0aNifKhPl4fnqPIPPWChXwlUp+mQnO RO8g==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWf12eJZi4X9Dyb4+pzg51KmxpuvvccpdooMjGs+FPIij6MM+BQgiPmV1my5jsN0iBl8nEZq6DzsoDvzAfNC3oPR7gmwQiTzlTEgJic5Q== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z29-20020a63191d000000b005cdfd4aa8b3si8771079pgl.193.2024.01.30.23.13.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:13:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45869-linux.lists.archive=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=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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45869-linux.lists.archive=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 514EFB266AB for ; Wed, 31 Jan 2024 07:11:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6E516A320; Wed, 31 Jan 2024 07:09:15 +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 ; 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 ; 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 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: List-Subscribe: List-Unsubscribe: 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 , 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=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 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 Signed-off-by: Manivannan Sadhasivam --- 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"; -- 2.25.1