Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1488616rdb; Tue, 30 Jan 2024 23:11:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHql1LNSQllNPulmcVxcz2gEwrxdkRVrT8Qts7fA3EkQr30f78l5QqAyupcK+U4TOv+hkVo X-Received: by 2002:a17:906:6857:b0:a35:5b6:1e0f with SMTP id a23-20020a170906685700b00a3505b61e0fmr445376ejs.71.1706685100794; Tue, 30 Jan 2024 23:11:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685100; cv=pass; d=google.com; s=arc-20160816; b=Kcx6yyWWzo2MVXctNOY31CNNjKnY7BRSfCgWJDCA6Vax+jotY3uHJoc4/4UcEfdDw/ TDAo9sk6vnEQGhiwNgAJa+ZgsJQHBXnqkjGZBTjx7udbrVyLsqOURWhJinDOZDoWsEIC BLhwSKaCLbhT8kOsX0fMkIkaY4pcm37EG+haalP6dmsBPKRPIngqZuY9YR/VV4bnQLLG 4rX3VnPcTjFiRVSXUVKbW1pbOA8DpFBS4MwNvJyU+ohgXOr+x87QSWjNPdHlmTdLe7Qq aS6zQ5lJUNIZZK/NQvjIGKCdS40qDOOTkJAk+UG/ut5FNu7JfrsgTb1ui1AgPcpEYjp/ CrQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=4daM6StIHLffxPabzj4NBe1EGGf6BbOQFvW1iFIjsg4=; fh=R7//qNsbTDGKQtsuLrMW5rV6nLPQEcrlhz/atYyh0rw=; b=ApQtAvAeGmHxfHj4zr3RxmPHXMxvMxg5vujbGUwq5cFt4HkPbXucw4DZI2c7MuC2Bj 83iMTw5hS0hCR6oVTl6aEC0LcJPxVAJ0emchGKIuoYhatrmwvkjkZuw/tXIVN7r6bXL6 i+1NUHWM3T/sX/+KrCdJpSXT8nXAyPsVAv/LOSXDBlkCdSoflvz1k1BIsxYd3QOupE8m 0Y6OIzvF1rjWUzZBofPCwHjRnAy0+R5fwSRDaNkXCjh1YwMh/nJfPBtX78VnKQbVeEFO nzG2BWGYSIIVY0i6HOQYM9EOI9Vb7hcBqkWPONaTW3ueuHDReF+owfa1HMrQuQa5fF/G 7tvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cjgkkq0v; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-45868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWkOqOfGIpQXag8nqGT6qLfqJS6k81zbmXNuOoHlVw3HWpgtzS7Rrge/p6jwl6XTthoFqG9kRto9qDW2SfcoeW9I4FGZ3D2vu+cOVpzsw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id zh17-20020a170906881100b00a34976db3e9si5260635ejb.1047.2024.01.30.23.11.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:11:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45868-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=Cjgkkq0v; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-45868-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45868-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 76E541F223F5 for ; Wed, 31 Jan 2024 07:11:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3701D67C51; Wed, 31 Jan 2024 07:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Cjgkkq0v" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 CDD9467752 for ; Wed, 31 Jan 2024 07:09:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684951; cv=none; b=r3IP2eZkWN8PrGFFfjbS1IwPcKGrSo59OlwTWlFOWtTcWTjx1Zm+A0oSSosBoR5vtSsE2q6WQ78g3npVKXT5XXFANi2Q9oyCA5r01XPu7mIKCbilVKQkdmrZ40df2QIgQ2v6czg8AvCEuF/T34avEUTdQg+0x/p1ZTznTZJ/kwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684951; c=relaxed/simple; bh=vk945dDdVUzTGdi+7n851w/PBwLOfA8sY2v1ArztxCQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W8wkckSCQWR2sbfNe3DuRxeGt3Q8YSrYlCk1lDaDp6mKLcR1R5pi9cm+x8WMJlrX0xQP7UHbDQE0ZSR6c0ZHbDzuFinDEQc8uRvJW8AW4geX+lcLJnGN+dRmirUvZ2CabRTEhi7li5dLLP996Zdde7n29ntTcfkXhikPN6wYsfw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Cjgkkq0v; arc=none smtp.client-ip=209.85.210.176 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-pf1-f176.google.com with SMTP id d2e1a72fcca58-6ddc0c02665so2129817b3a.0 for ; Tue, 30 Jan 2024 23:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684948; x=1707289748; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4daM6StIHLffxPabzj4NBe1EGGf6BbOQFvW1iFIjsg4=; b=Cjgkkq0v0FXdNtrvC2pc3l/VKG5CqRdQ5KqaITGb/TbKTwdVIrV9bL6/qh/B1PUZwz wFgHDwRQKet+GqQbqu/srwTqS693CXaNy7FAhSY30BJNeHVapO3zZxkRjpap3TCGfFU1 cW52ORjFrtDO7Nhis2s83HwpkqBcwV4Wdjs/7EIe3RbAcqleveQks80UJBOij812FLj1 CCirOGuC/xhd5XtmaD/1uxHaXYjB6hI98Cr7KKjvfQO/yuwgavvykvPi1VoeD0VakhbJ I4Oxmq3Ju4DOWEUZCiGGvSxhjkKw7PizqA6VcfwF3D3KiDgvXvMS90s3pGDLwyQXg7Q5 GMHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684948; x=1707289748; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4daM6StIHLffxPabzj4NBe1EGGf6BbOQFvW1iFIjsg4=; b=TavVXa7mqAyyNIuD+QjgYNro3Jwjj5SJ+lYW/4POE3idVld6ow5gqIEvDuNCTym9lk mapQtorqlwcPyz9xjHAS7n8P66qRsrDvCnX5jcsQoJG4dnXfLwhxFgBjiXaWcvpELLEt nb5rj7JZubn0q3IUZi+9MkBaH0SVTb7An81uzQBNFr0JFgBERxYCzXPiFf7qrfB2P3Ww m2DfwD37yi+gGUPcaefg/1cHmPUgBGCDVEyrEBVjwPADDJ8G/rtwrIfiiKKsn1Yt0Gnr 9CqzumrCzmQ8eTGoWbs1eFWvVvfvF2hACxhEVl0d+e9mLzJvec8sfB/CpvalNa9R162Y HM2g== X-Gm-Message-State: AOJu0Yx3vl4QGhSpwLLPQ7GntRE3/xADYvvRlIw+GxrFgYYiq1ue0EYI Z7bGUl1eAH92kGEMkTnTm2UlSvh9LSwCw1s8n/qwe3gUcxVTudmvCNOXab0S4g== X-Received: by 2002:a05:6a20:7aa1:b0:19c:a48b:300a with SMTP id u33-20020a056a207aa100b0019ca48b300amr695240pzh.37.1706684948230; Tue, 30 Jan 2024 23:09:08 -0800 (PST) Received: from [127.0.1.1] ([103.28.246.26]) by smtp.gmail.com with ESMTPSA id lp17-20020a056a003d5100b006ddd182bf1csm9087956pfb.46.2024.01.30.23.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:09:07 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 31 Jan 2024 12:37:35 +0530 Subject: [PATCH v3 12/17] arm64: dts: qcom: sm8250: Fix UFS PHY clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240131-ufs-phy-clock-v3-12-58a49d2f4605@linaro.org> References: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> In-Reply-To: <20240131-ufs-phy-clock-v3-0-58a49d2f4605@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, quic_cang@quicinc.com, Manivannan Sadhasivam X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1287; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=vk945dDdVUzTGdi+7n851w/PBwLOfA8sY2v1ArztxCQ=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG+wgcwrzJxDeTRdFX6AuE4Vs66xfmbrM42p aNa75sNok+JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvgAKCRBVnxHm/pHO 9RsSCACX2/uwx+GRGiGscSgdBleYMl0xwLBg/f+KX3XAijD5mocEDvnMkX+WYZeeYbk547w1yfP X0LZnVw1Ie5NEcKUCLivagHkhw3ID8GKDYjaVM9JGi+RkUQ2e/xIgRilbUs0wfFcPBGSMg+bOb0 cQ8dO1fhkM0nM21loeBfugZqvYnMAa7yafLVuJvQaUuVPD0SX/VJn4ji8eVdCCA2omTsPygGCaL 4q+afNgOL+9J9w1oAjk9iOuAy+1U7UY6hikaodsczVmFFBLYjvW/tu1xiPs3sHqsH5Gw7PcxWAh steq7FrdgL3FbHXxoNVQj+XlV1NQXJ6cDq11QVRIWtsYpVJj X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 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") Reviewed-by: Konrad Dybcio 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 4d849e98bf9b..f3c70b87efad 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2540,10 +2540,12 @@ ufs_mem_phy: phy@1d87000 { compatible = "qcom,sm8250-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; - 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