Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp49812rdh; Mon, 18 Dec 2023 04:11:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFm4EKJA/wwIxgoC1djelaQ9uWvDXMM/gq1TBVssqnPga2TD7Lst3ny3enQPQgITYSOkoe0 X-Received: by 2002:a50:99dd:0:b0:54b:1a4c:8711 with SMTP id n29-20020a5099dd000000b0054b1a4c8711mr7970006edb.2.1702901497790; Mon, 18 Dec 2023 04:11:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901497; cv=none; d=google.com; s=arc-20160816; b=Nm8W5iKIMq5d0oWmi3jNaIwawiFQMixmzrQRCAmR//mzeBJnnrUA46TyBckCXvJk5j z/kylhvoq0ZzAqRBwmJ2sWrUftmIwQ5v1R03DUnbK6SxxLdQbkEfx8w0YXbhUUpHAE0A SZHLtv/xfFJQ5uKWe8ztv9aYzYEJ0qto1Auf+J3eNK5tmKzW73UpjszQrA5+EB2jAXXA IA9DnHCu8oaN43XMdnJgWIb/1lFvGMecQV43MY/Mr0unZxh/inlCL1YhiLSmcqkeJqAV Ft09Q5kxzXaCwoKxvQbjI+IT93w5DUuy8aUGUX8FIsY6ev4f3gR+jGlFK49V5JhsLG3h RoOA== 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=h2DCBxer6HmgtNkGKJ5qBuor3JmQBFkVeksd4AY7uXs=; fh=yBeMP5CYoaCt9QDq1YHTsHgWGX03r+xhx0TLcWIjRWQ=; b=MogB8AN5V+zJUNk3f53mAK/0dI0UpS0FDRJcW86dsyZqMnTVO8BQALDHxsYK3fqaSi jMovEEVmUW0CIRDW+TjcNwxD/RNf2pglGW/YTMfBDLAdyO1lE3fOSDgeSwoA39KQFa1k 5ip2oA/leUFkh0Tsqb/axCqeqvkIoGoXr/uE7AxfH9vKLK3A09qUgYYq+yvjSbrCHxVP TLXalCuK+dmLeIKQMBxMBj8Ei8YgxkbCo9w0oktgSLhUSbzjQlZdYlytrxVXmngGbxNn gJ98N4Yt5vqcDLq9YR6afGlbHEiyMOmuSy4ZWJP437ZrJafg5Era5WLtvl0x0gN9GOrD sQOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TORj6iqH; spf=pass (google.com: domain of linux-kernel+bounces-3539-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3539-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. [147.75.80.249]) by mx.google.com with ESMTPS id z20-20020a05640235d400b0054cc9a483easi9985768edc.328.2023.12.18.04.11.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:11:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3539-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TORj6iqH; spf=pass (google.com: domain of linux-kernel+bounces-3539-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3539-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 F0AFB1F21E52 for ; Mon, 18 Dec 2023 12:11:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F78B4F892; Mon, 18 Dec 2023 12:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TORj6iqH" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 D7C104F8B3 for ; Mon, 18 Dec 2023 12:08:25 +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-f178.google.com with SMTP id d9443c01a7336-1d3470496e2so26074235ad.1 for ; Mon, 18 Dec 2023 04:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702901305; x=1703506105; 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=h2DCBxer6HmgtNkGKJ5qBuor3JmQBFkVeksd4AY7uXs=; b=TORj6iqHjowvWTbMxOXQqm23F5FFOK/u6GV7FIPtvfvGmBt31kMVLw618P3euYNBXg icfRLs/rFUd7T3cg6Bezkc++0EvWHy6xG1Ci+NTRr4RX3itL+c7vRUnoUVvt/ZC+LZrI bgPu9dYYtmGnsKfxOcN8/WY7LNUzCb4hKOEXlg45m445YwCZ+D8NLvFEuMv1zidh1FuP D1pnnNfnbus7g6e/pud82/kJA65/T5UJT6XgbGGn0g21NumQiUvtoIn0xzz7l2nM3j2G +WsOwOLyrlfFbOhdegJnByfjAqRmeysFcXEuXIJlvxO8+0KxI1xCc30vjPb//gJ8XhLy vMOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702901305; x=1703506105; 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=h2DCBxer6HmgtNkGKJ5qBuor3JmQBFkVeksd4AY7uXs=; b=sFi/hdJj0iC+JiWVanCooK4F5nzad1+DXvloRUBLWZmAeKBdQK2UKrT/1AqZMYv/XY Z9uLKinzb+mRqtc+7Ms4ClXXifGsN8AKAL34BF5OVOd+6tlQ32Gq+93MDoGDN05c1X58 ZMu0bQSQnHIE4Graqbop1eSaQQsx96GGuJ/vpkaPeQZAlZYrf6Lkpf0TYskCLzbVfBZP vLYYBX2mazUy7qa2YZDObuxWpc7oniKRFlg8sbsWKXyyuanU3Xkg5y1+svzFE9EEYbN9 KHBtE04ObpAw6qLnagSaG0G9GLbPbOfoge9La7zJcr+NKcqBWaoHD4pCySCaEkBvsI52 EckQ== X-Gm-Message-State: AOJu0Yxaf3QMI9Zt/aoUIj7BX6hItrmPWHIKc438M1Cdrp/toy4O3rTM xMGDXkOeoyHqcUysnCL6r4ol X-Received: by 2002:a17:903:189:b0:1cf:d644:f3ad with SMTP id z9-20020a170903018900b001cfd644f3admr20702728plg.3.1702901305096; Mon, 18 Dec 2023 04:08:25 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:08:24 -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 10/16] arm64: dts: qcom: sm6350: Fix UFS PHY clocks Date: Mon, 18 Dec 2023 17:37:06 +0530 Message-Id: <20231218120712.16438-11-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 SM6350 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: 5a814af5fc22 ("arm64: dts: qcom: sm6350: Add UFS nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 8fd6f4d03490..ef793d48316d 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1192,10 +1192,12 @@ ufs_mem_phy: phy@1d87000 { #size-cells = <2>; ranges; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&gcc GCC_UFS_MEM_CLKREF_CLK>; clock-names = "ref", - "ref_aux"; - clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1