Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp49809rdh; Mon, 18 Dec 2023 04:11:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IE948H4wBukOIlQNQS+CuoDzybSN+qrxRGyFE/dM2KBTsC0Yo8PDDD/WmRFLJ90JTh1J61C X-Received: by 2002:a17:90b:1d04:b0:28b:790e:dd52 with SMTP id on4-20020a17090b1d0400b0028b790edd52mr411759pjb.23.1702901497427; 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=ftRt5l6118umVXLWGncMl4MBrsleQn9QengAUE0/vLqAaedZitH56BBYOZkpgFlZNX UUP/1whmk/fUT4HlQmPTjU1cvnokPjQoyeRKp/90g36wsIr960vktwTaRN5TjZPUS16J 1eGlLWp9BJSE9pX+ljDD1NXWoJME3IvM7Ud4hhZRMaTOZDV/wcMsmrAoFjFUaWFyZhpC oE+QL+M79uPlwdh6Ym1DMlSxQDU4C6xUZxL9kulPy13FhcPEpQkrR12lpeej74uhfRK7 D96Z9wRP9tehj0c8+EI8Kh7kK80XyeqoJCjTP+belBMMndNg8QycFxMtv3+1EnijcY66 yHdg== 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=+NpBpw87ancReoayxiYNLEpdh+qbLyvkQJUBfcAOaoQ=; fh=yBeMP5CYoaCt9QDq1YHTsHgWGX03r+xhx0TLcWIjRWQ=; b=ExiStAkTho+p4bbhf5NOAC28uiyR+NtH3acjMZwx1EyBcCXhIfIX8k4/k8/VK3Qudd FE8zJi1hUgxHldDEkJnx0Lz6AFEaYmUBNhvyzDzZWe6osMqBgUEIWH1Ii5Mpwok8SRf9 rWFvHXrbtINDEIzITaCbp/qX99kumvnQmet/ePzZkAvoQkeojaB4IV4DNo5cz48Gx7h0 zXLECVPYBgNxSOBH1yE/1Wva30u0Kk/9s2bGarTvCCBMUQ+TI8qzte6W9pgAXWR8FPot oZKaS7KbMY7JZ6AHbdlFjAd0w6HBj14HK8pKHEsCpSHPvi+/85GX2l2jslq0g4dB0Q1u nYQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sHwZmpec; spf=pass (google.com: domain of linux-kernel+bounces-3540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id me8-20020a17090b17c800b002888396d22esi9887761pjb.6.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-3540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sHwZmpec; spf=pass (google.com: domain of linux-kernel+bounces-3540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3540-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D137283C4C for ; Mon, 18 Dec 2023 12:11:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECBB64F61D; Mon, 18 Dec 2023 12:08:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sHwZmpec" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 85D694F8A2 for ; Mon, 18 Dec 2023 12:08:31 +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-f180.google.com with SMTP id d9443c01a7336-1d045097b4cso9776765ad.0 for ; Mon, 18 Dec 2023 04:08:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702901311; x=1703506111; 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=+NpBpw87ancReoayxiYNLEpdh+qbLyvkQJUBfcAOaoQ=; b=sHwZmpeco/gTdT87jm1yr3TGjh2hS48sfxvc++zpJ7ghQlVNZIGELUijwlisT42vCd zLmeUQWbzVWiy92b9XS7CAGG7tyNceeWGEO0C6LYA6GjPKCsZik4nTzEVCZaPOtB1XjN Dgh2Ngxzhl7A/Yc+w9qegYozV7nuSSzULKaSTDS3x8aRxhnOyK2ZMbhA/k1zvDUS18vh 98Kza6Gr0mrn7gkESuRaV0Xbvm/EN7kxr6aYB+xoSk9UpCI55Nw9LeSoAWOzJNGQm29F ZFQNyOnOZLUwFBmAZ7w+BzbSAPmHpEkgMxagJsduwC+k57f33jRCOpMnfXbalYEgqj5W 5svg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702901311; x=1703506111; 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=+NpBpw87ancReoayxiYNLEpdh+qbLyvkQJUBfcAOaoQ=; b=LVgngJOaiRrpoRCcm3qBJ/SP0ifqSRdkzs0miOj3qWH+xaH2rVeQek5niEocStQulO 4lSOlyCsudZiKq7tqTLOxR+kqkxGdykzUNBS8+53njjDYxxK7Y70GAnmu+BbJUGmLcKq L0Ud7bBTRW57R7+NdZyDft9dt+xGjzc1VNUzqWAae3dY5XWFpwQZ1N3GdDbMdudREig7 1P/MoQnXI2tqgmEXK/xyX9Y8nPgm0MvUARnqlEOgSPqZC6yHR5qxAYnIcio9+8uSv3vo 6Ur+dzLYMBED5wGW7CeMKvs98agjMHvWXsBk1iChaCi1oqx9MIZ0BnioFx3eYhR49l5U tCNA== X-Gm-Message-State: AOJu0YzWQmmYcJcUF1Iqki/h8pIAiz1klEpYLJPwyh7dPiG42Bqx8E0u +pJ1kpzDBckz2R6lVpp0RQMw X-Received: by 2002:a17:903:1106:b0:1d3:aab1:6273 with SMTP id n6-20020a170903110600b001d3aab16273mr870341plh.118.1702901310948; Mon, 18 Dec 2023 04:08:30 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:08:30 -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 11/16] arm64: dts: qcom: sm8150: Fix UFS PHY clocks Date: Mon, 18 Dec 2023 17:37:07 +0530 Message-Id: <20231218120712.16438-12-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 SM8150 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: 3834a2e92229 ("arm64: dts: qcom: sm8150: Add ufs nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 43d56968a382..18af94852974 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2065,10 +2065,12 @@ ufs_mem_phy: phy@1d87000 { #address-cells = <2>; #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"; power-domains = <&gcc UFS_PHY_GDSC>; -- 2.25.1