Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp50542rdh; Mon, 18 Dec 2023 04:12:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IEA4fA5adrpRI2cUPT+N2JY5UizzsWWr56zAO1eqi50IssmPs0ulu+3SNR5Dt7X8QTk7IxQ X-Received: by 2002:a05:622a:18a8:b0:425:9a73:fae with SMTP id v40-20020a05622a18a800b004259a730faemr26849765qtc.83.1702901576344; Mon, 18 Dec 2023 04:12:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901576; cv=none; d=google.com; s=arc-20160816; b=b8Ht4xYMNEu9U3ESWEAOM9EqZgMnAu4eEPqeiXnVOT6+WWlhfko57b6hHFEPHsbApd zKg2JL39pyCnn4tsWGraJOVsmxYoa5mzuHiO49jjpSjYBXWuJXYCkA+wmEFxHLz8kH9T OdIX7IyTKnSnaUV3KOxJ6NYjcgevbFYladOUcO2xYXLbMlu4nEBlv0N7avFkpOpV+Fgo JgxmGD8Ot4QuysV0zUFgTKNXBfUFhjAOwErp3vs3JYEJaKCsSMz09e2PKvpb3xjH+McG 9G68Bpd1U5kMrk8rzYoEgx8t4ZD/ACdNnARgYRvmQ0Plu6CUgvTnTOYCYHd5nO8/fhdA 7iVg== 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=dnV4bcTFVg58y8kcgwcwL2c2t/omr5+/badatgzAJ70=; fh=yBeMP5CYoaCt9QDq1YHTsHgWGX03r+xhx0TLcWIjRWQ=; b=Pd27Z1B93a5hIuNqoWY3MijxyY8zknBVDfHFQO6R8vusADGdiT+5HEXUxF6S02Cj3k lua06/mP7/bOO1BnlG7ESxvXoNFU5O+80QN8fgB71S+MlxgsJOlzO+z/O89TMCZfu+7q Qf5kTZFMnQBlS8gCU/gwsuGTrOdZOEjRD+1Ocu1/FrbdPYbc4gmKrI9/UoxFNl+uk8c5 cusdatIE3iXPhyutqeBzKPExXopfg+ouz4fJE2gDOwkgHe4JScmR+2gs0+1h1w3EnQAD rM2x/IHUpx7GiQ20oiS/g6gGsvC4JjQa/61ubBxQQKG70jOwUk4j8Umxk4xbIVcd0MVY yAAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpAYqYoG; spf=pass (google.com: domain of linux-kernel+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fw6-20020a05622a4a8600b00423839bde26si25293137qtb.671.2023.12.18.04.12.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:12:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpAYqYoG; spf=pass (google.com: domain of linux-kernel+bounces-3545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3545-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1DA3E1C23B08 for ; Mon, 18 Dec 2023 12:12:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AA62956467; Mon, 18 Dec 2023 12:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZpAYqYoG" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 2D4475646A for ; Mon, 18 Dec 2023 12:08:55 +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-pj1-f44.google.com with SMTP id 98e67ed59e1d1-28ba05b28adso192827a91.3 for ; Mon, 18 Dec 2023 04:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702901334; x=1703506134; 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=dnV4bcTFVg58y8kcgwcwL2c2t/omr5+/badatgzAJ70=; b=ZpAYqYoGXTEnYHHoyRbRUFg2pSIbPxu3YMVzvirk75Zl7sL8YILWU9X8gAyiDCo5J0 wGbpcoKt1c4cUdKCH3qVJbYE4UUtHxvsgIRYoSSW3iq48CGxcqzdadpyUcUPUxRGMsZn UFlt9dYTfqhasvnBMUASVFdWtielw5oGrfxoy17osjdxbCLBeBC1y7EeuNFA4wh8rrVs kFT15pyyVpYWuY00j013u34Zb4c46/lobKb5pj8/Yn/07QJeqii1xF1wR2M8+zW9rkmG Pp9h9IauBVip3Nu4Nr9mPCasgPBNCzzIw/pgQDaaeGGkV5T8FaanNzAlGeKjG6F6MqqK VAYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702901334; x=1703506134; 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=dnV4bcTFVg58y8kcgwcwL2c2t/omr5+/badatgzAJ70=; b=mNAXR8ElP+RwX3u5Akf3ESoPEdTLOJr5zTOZXkr0VJp2UQIGCVmWNn5Vz7MEm3Li4B Yj+n0aG6aHQlK5EyMj39deTDYD4NUOj9mylixBCidHHc9UUCL1AIUE+fPFhLy2nvU7np +58B4PsdcObeKfPjUqMRF/MjC3OV5xEDn31Ci5gasnhDQX2oI5PAQH/wgfA1PEloXdxO pT6HcaZiw1p06WF7wzauJeMEvKE/7k90tG8U8Hbg+p7nC6ofU92Mg4vbAwqcyfqoDqjl AsQ0fzOzR3N23cLDjcOQJL1azZOz2eNUAm/8ElGHVhImYdWghu/1RBRYDyVaMgDQlNyQ fWZQ== X-Gm-Message-State: AOJu0YxY7bEigE73C2+s3hJ8ga6ilJflFxmfjsKc+nVt/WgMP/UJyAvh PyhHyGzOW18EEm994ybZdIrD X-Received: by 2002:a05:6a20:5603:b0:18f:97c:ba1d with SMTP id ir3-20020a056a20560300b0018f097cba1dmr7867193pzc.119.1702901334495; Mon, 18 Dec 2023 04:08:54 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:08:54 -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 15/16] arm64: dts: qcom: sm8350: Fix UFS PHY clocks Date: Mon, 18 Dec 2023 17:37:11 +0530 Message-Id: <20231218120712.16438-16-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 SM8350 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: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f4b8439200f5..38a09d71b3e9 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1727,10 +1727,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_1_CLKREF_EN>; + clock-names = "ref", + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1