Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp49950rdh; Mon, 18 Dec 2023 04:11:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtRvHf9ZGfrHJvStAAMCJN5y0tYRZFMYtoqrNCbedtiZ0KvdhKxwqTTplJdYX7ZB0N/OwI X-Received: by 2002:a05:6512:ad2:b0:50e:15b3:a820 with SMTP id n18-20020a0565120ad200b0050e15b3a820mr3529129lfu.54.1702901516354; Mon, 18 Dec 2023 04:11:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901516; cv=none; d=google.com; s=arc-20160816; b=cHrFh0If9Oyd1xOrYC9fcVhifLcK4lfaoZVRu9MfV1lGHgu1+VKa2NQzlWmK9Z82qd X50bn+1Q2tiM2yxjvFp4ptSUJcFDbXCHdL38BPlqu0kPj1hzq/yq7l2wvkqpJisZdr7Z OrnJdVPxIHZ7jJy7ThlFu6r0VW/roS9ApR6f94GQ6yDEFMNL/fCJvxlfUws/v1axIYiJ 1HThclDrIiLsYhktzZQmB20AvT6YGrEpbEYtaEgZNHwcNFjXFWx+IJ1Xbgh5pWfO4Jfk 3n3/VFmVppXHHBKw5a2cRnkrEMQZ9AN8GK+z4XmzH8ilqkBnKeD8h3gysLZwMs/hRxlE HSXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=gvNQvdCy0O2wlOymvN0iIUEpRjoZ42RcAo4vagPpclg=; fh=yBeMP5CYoaCt9QDq1YHTsHgWGX03r+xhx0TLcWIjRWQ=; b=ISWIpCLMge6XDdkY2i8Cv3gNrGm+NfHi2luPHtoPrCr1zdZ2bUYzjhY2p8teQxgEQC /FWxG62ehkWH2iPWic3hX68yQjDc/u7SA02S2HYWMR+80pVtcwgApgAr2ZA+vWK2vAMO N4Kt/eURqFyEOq0I+sUg9hfa/U+UJK05SAWlWk+agZRRhXV1ij7SuLj3OzC4d3r4ZW7J DaZOcJw8ZfmBV/WNnxPA6RUSsXRKgbVgVWoHv61WTZLKh0RiaS7ixWfCiW068E0rojRM BvtYwwlyLBeWVXarYjBqpzcyNC6oLdNYCJUocD7uVjM40OqKAeuiDlogq32tP4FrPSux WtYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OaeZBgGI; spf=pass (google.com: domain of linux-kernel+bounces-3541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3541-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bd20-20020a056402207400b0055369d5a2c0si361054edb.227.2023.12.18.04.11.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:11:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OaeZBgGI; spf=pass (google.com: domain of linux-kernel+bounces-3541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3541-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8E8131F2123B for ; Mon, 18 Dec 2023 12:11:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5C3550275; Mon, 18 Dec 2023 12:08:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OaeZBgGI" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.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 99EBC50278 for ; Mon, 18 Dec 2023 12:08:37 +0000 (UTC) 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-pl1-f174.google.com with SMTP id d9443c01a7336-1d39e2f1089so14204795ad.1 for ; Mon, 18 Dec 2023 04:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702901317; x=1703506117; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gvNQvdCy0O2wlOymvN0iIUEpRjoZ42RcAo4vagPpclg=; b=OaeZBgGId48TKNSt68mRweEao0G3RMcTDyEpl+QCMugxwzi8t6tusUauc/p3xkAoBS GJrdH/aax9MQE7DgFYRKJkAsHP4cNIYx3183Blg8/uvd4hJ2YCSZbczf83o/+Z6cadL/ N5Ic5YbPIrUVggaxTbE+gyBb6d3gmg5Qhrbjz764t8DLhxAy3BuJurowLR9vznFUp9iB Bdi/yWxlcNXEaz2sqR8TkcfdmS7qG3shAeknLUW16G0sme0zbvpAkWW6sLhV7pkEfgZa HfOiqpYIFZVIR7jONwCZcB0AzsgR22WurWk0FsWMMNE75TamxeNRjbbqn7mvu9yU3Wux hs1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702901317; x=1703506117; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gvNQvdCy0O2wlOymvN0iIUEpRjoZ42RcAo4vagPpclg=; b=J3eUqMRluNbfrG+KMABR9Ng7uKXzOeDSNHT6lkXxLgJ0mNF5YsinBUXGDZIQRLJ/3e TUgeiS/xO4JiT9uLq1Iph/ArQRJNAVHq5pQva/bePQHLmFBBKVsfj85ctlHlA7k3q2gE /SWIPvIU1fYjOMm7+rRZL+XhmuGaSw2XwrXYpngG1GiVLyE3/yl4CiZPJRTGqUtznIDz 2WaRMkfkTSlaWUs0wkuU83YG91oPMhQZGpDONmQmIfA4LxB9/p0FFHzRPU5CpCbWMr/3 EyVxr1V2DGwzou+C18MM3r2Q6dfTaO/90JZmsnIMVYhDxWk3Zjk8UQAcMgwmOXChQDmO Qpcg== X-Gm-Message-State: AOJu0YydRT5t4UgnNXofvSX3VaBylC7e86TOMsmuFEOgKbALPEEMWf8g lR30C3Lf7q+UzRLEvdoOqntZ X-Received: by 2002:a17:903:24c:b0:1d0:6ffd:9e1e with SMTP id j12-20020a170903024c00b001d06ffd9e1emr18461127plh.112.1702901316940; Mon, 18 Dec 2023 04:08:36 -0800 (PST) Received: from localhost.localdomain ([117.207.27.21]) by smtp.gmail.com with ESMTPSA id j18-20020a170902c3d200b001d368c778dasm1285709plj.235.2023.12.18.04.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:08:36 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, quic_cang@quicinc.com, Manivannan Sadhasivam Subject: [PATCH v2 12/16] arm64: dts: qcom: sm8250: Fix UFS PHY clocks Date: Mon, 18 Dec 2023 17:37:08 +0530 Message-Id: <20231218120712.16438-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231218120712.16438-1-manivannan.sadhasivam@linaro.org> References: <20231218120712.16438-1-manivannan.sadhasivam@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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") Signed-off-by: Manivannan Sadhasivam --- 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 c1b7f9620ec6..e47c515af6cf 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2486,10 +2486,12 @@ ufs_mem_phy: phy@1d87000 { #address-cells = <2>; #size-cells = <2>; ranges; - 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"; -- 2.25.1