Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp49078rdh; Mon, 18 Dec 2023 04:10:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+xe3u8GCDT3JCq0BpA9yDfOwlfBj533eTrBs+gsfF9OjGbWlN91I4/CKwcw3CgakHgQi1 X-Received: by 2002:a05:6808:1294:b0:3b8:b063:a1cf with SMTP id a20-20020a056808129400b003b8b063a1cfmr21231877oiw.89.1702901426880; Mon, 18 Dec 2023 04:10:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901426; cv=none; d=google.com; s=arc-20160816; b=hXBVrApfKjwq53rE0aad7EEieKuzrjkZe7pgEoTVdWnO7uv2MYlEyL8dPPfC6JNjJn J2uzOX4XiCJzg4HK1T/KfCJO/r4eThCHRL7RtJNItOdCUhZdXrhSPMNCdM/yjzZxlDtS 79JLWOve+AyMGbfBlcjJ9rOlJXImVqtNdwXjsoDp0aFCOA2bUwIMn8ggyacm5RYPkUF5 bjfofHL+cLSB2iiU3FX4pvZ6mICd3HExIJq56G+blVQHf7PXhOcuWP/MbKu7WDWZ0jXo nkcZ7g+hpqqFGyPRS/HTrX/P5azUdJ0ksXJgubEdwqFuLrtXMMyAfUqLXRDjoulSjMFb SkfA== 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=bQdElwhJNkunjNkKmQMPCEqC6kOTfOJsifUeDg9TJE0=; fh=yBeMP5CYoaCt9QDq1YHTsHgWGX03r+xhx0TLcWIjRWQ=; b=i7G7uT1mEa08Uv96FnhJwaSlBlatNcqxAImnJNFpiJHpyZuVKBamXtWMhSQGyVIe7C 5nzD0hvOUUMsf6lAv7ybhoGuYvw7xb6+ccmSxYaCaCDx9JPuIgLUM4htdeYOhFTB6RrI nM3wvktlrQf352ZCxW94iXckdrCnTN+h3bpLYJ4BnA6u20DKVunIz5pg/Z0zOYkAf9l3 yaW4fwygyfY/G0QDM4gf0wXQvp1Dvg8VA95ySJsTBM2TrgNIfofiBnlGr7e/pwaHHh3C ZxlNDTScJNDFzRStks05uFz4DLIJ/bwasxptjlzGsJcFls3Q5HuYR70gTPIsTcsU/9ip 5meg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vmQS0kNP; spf=pass (google.com: domain of linux-kernel+bounces-3535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3535-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y10-20020a05610230aa00b0046690f2a9c2si168361vsd.601.2023.12.18.04.10.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:10:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vmQS0kNP; spf=pass (google.com: domain of linux-kernel+bounces-3535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3535-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 E23BC1C2399F for ; Mon, 18 Dec 2023 12:10:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51DBE49F8E; Mon, 18 Dec 2023 12:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vmQS0kNP" 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 CC35A4F600 for ; Mon, 18 Dec 2023 12:08:07 +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-1d38bedd799so24104685ad.0 for ; Mon, 18 Dec 2023 04:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702901287; x=1703506087; 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=bQdElwhJNkunjNkKmQMPCEqC6kOTfOJsifUeDg9TJE0=; b=vmQS0kNPYf/uSwTrjjmt50O0wy4qZ2MjCi+cNhpCeyB1AlZmN9XmK5ub+nO+9hECtF TiVV9KINraluoWkl+p1zSv1u5L4JM+lLSZFjDSQbH5aJmC4oFa+28Bg02jBN5CW0iG1m urboom/uvGQ8mG34vIC+4vYKlb+RvJ++bCsuNRH+qPFTRkHzy8JLOfQXVTU+pZDV9J5y WIlcfNhgljXzM6o/M9amQXosMXOhly0+fInQCfMzXD0+L9TvUyiCBtvlk0/blucYhKJT kuydy2V8BIhDV6Je3GWms5QPVdv/0N+pIVeDEtADTHR8kkM1Te4NaKlDP61zypNUhLMq CQ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702901287; x=1703506087; 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=bQdElwhJNkunjNkKmQMPCEqC6kOTfOJsifUeDg9TJE0=; b=BiFRIr+AvRX4sDJ84ZOI7xAHKAtK5vvVMylBrvG/L8OkwzwVTt3ZdRi655as19PGZr RxEJUgfxoKE+ZsKqfc65borlda9LsvON6RV8nZhsIobt5q9C9xYpVDiokWZP3hv7t3+5 bFzvDwV5jOMU6Q6LxWKHIqQ1S34qGR0v+Np5d1185VYqPqlm/F7RA7/v4TLLc3PoP+O1 +pWm4YYpIvqpR8hbsPDG54nv+EIbB8Cx/yxDzsSoAcl608fpP6rjFQ4MZP7VYuOY5ork FUaiQjrYJiTa5wkoyL0H62QbF0iOMc0yd9yKtWvu6jtHzvpoYN7Z78CCiaDCpW0BFssS v5IA== X-Gm-Message-State: AOJu0YyNStF/SBil5aRycWf2700Y0snK4WoFZMkNRgRFMD5yp74wCc2o 2QV7/Y9rpxt0LKTtfQLLtR2d X-Received: by 2002:a17:902:f68b:b0:1d0:6ffe:9f7 with SMTP id l11-20020a170902f68b00b001d06ffe09f7mr20769460plg.85.1702901287157; Mon, 18 Dec 2023 04:08:07 -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.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:08:06 -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 07/16] arm64: dts: qcom: sdm845: Fix UFS PHY clocks Date: Mon, 18 Dec 2023 17:37:03 +0530 Message-Id: <20231218120712.16438-8-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 SDM845 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: cc16687fbd74 ("arm64: dts: qcom: sdm845: add UFS controller") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cb3bfd262851..a7529af5bc6d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2619,10 +2619,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"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1