Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1489284rdb; Tue, 30 Jan 2024 23:13:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2sCshz3VfJWCGK2CqoLnYBBR8tQEEs/N7bYwVZqB9LSGOy7+0dDIVcourE8kx4pOzjcQo X-Received: by 2002:a54:4187:0:b0:3be:c69f:ec08 with SMTP id 7-20020a544187000000b003bec69fec08mr157465oiy.59.1706685213499; Tue, 30 Jan 2024 23:13:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685213; cv=pass; d=google.com; s=arc-20160816; b=sEFjLEHWcsVjkfBUM4TUwXKh7JuFcwNebG+ai1mRSOL0LZWDevdaE0YB8q2bLPz88M cBV6D44EOgsPFW6QNScIfazd0HtuIukPFSbtXmpVscTYVLLC2XTDl3MPRAcFrCpPLqrq 8MCY0W1dhK7bCaQ2Q76AIXLaH4afy5fwd3LyQ+w6fhUCf43kcW84r9059Suaz6uKpOoA K83gp6eyN41ZlmnLcsX18AEWkZ7q4unYyxxaKhg9iH2m/oNYZLc4cJmnJLUpFP+cNLKk TeURkmBj9GhMJ2T7oxpZsVC2tx0fkQYuVKDURpJr22zIsgvM7anUBOlM+k8xpuRGFH9f GOww== 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=lWsO+esC0d2AYKWWl4iIuis67padS7ySZZsjP3PTjQQ=; fh=UfInIW1SmryXpYZ2HcQlV41JctoNE+uTSz3Jr5zNvX8=; b=Yzp+EcyMy7zI9SXSu1z2wuMWwg5RuhNJz46Kg1cvIdQxUFndPEwjchORDMFY2dUqM+ CTVLdqepFzdFHDGEEAj+rDkhHWYDCI01hGNW2YYQy1kQQmJAu8u+BQ288TQRK/lg4n6s 2GA1XaPPTdadccXrDCbXO0AGfPS3Gzmd88OUZOpx+2hecJOCjwhjXqHGpq9tqD3EGsNA kysqz1p6qe+FDxetK2Oqfdrmd4284t98ENnnfaKwxhHScNjnDEJTlCj+o6YYYjPdNWVU fAno5CcfjpYy4hYC/u7fXh3OOa/Y/lN+Y0TpxHKMfdMkeHa2mTqND9Xj2B1gvhg9hctr cuwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Po1/UOcF"; 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-45874-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45874-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; AJvYcCWtCg4q+m/7XBhnC6C5jW28dcrKl7B7h4xFTkDFr4k3Qdr+79KmpQ/IILGKMEaIbimnEteRbnfUJkpKU8czgJqbUao+niZRlcsL2UhMuQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id it16-20020a056a00459000b006d9927778d4si8578948pfb.405.2024.01.30.23.13.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:13:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45874-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Po1/UOcF"; 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-45874-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45874-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 36AE8288072 for ; Wed, 31 Jan 2024 07:13:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 827674EB3A; Wed, 31 Jan 2024 07:09:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Po1/UOcF" Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (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 31AFA4E1A8 for ; Wed, 31 Jan 2024 07:09:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684973; cv=none; b=R9BIrenPhJFPfgpr50gjEurYJBg/g3B8sCvHC6ZUZu5Cn3M9+5wp58z08LmUBrarOnVCiO2paRTliI/TOpqNMXVCfJsoMNIa543BFYpsscTF1bAtv8rExqj/hXSOillC7Zcx+xdEDofrkStxMDRK1mXhCFKD3+zj2omxaxIJNfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684973; c=relaxed/simple; bh=VvvbKDQ1v37NesUwZ4Ka5npjjk3GwT+dettCywR4LiA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EYNi3gtEQ/F2s1in3Xs+1FZ1iGL4qSduh8YU/A44a4wL1RGXUIIu0s3XQFvDKTM3l9bY173vuyZWMN1bcOw3cvIQV3RZvQRLUax/6uE9SqFP48Oy/al7wwUxfK37DBKhjfb/WW6Mp7RHkjLPrrPR2P9IQBMPY19fZP/f2pC+LfM= 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=Po1/UOcF; arc=none smtp.client-ip=209.85.210.50 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-ot1-f50.google.com with SMTP id 46e09a7af769-6e1196dc31bso2270057a34.3 for ; Tue, 30 Jan 2024 23:09:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684971; x=1707289771; 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=lWsO+esC0d2AYKWWl4iIuis67padS7ySZZsjP3PTjQQ=; b=Po1/UOcFqUB69jOTINgZXGImyU+565kXS6v55kUBEiCMZZGX8waWz58suugqgS++e9 EkTARhik5BPDoawbeZdlROt8MVdYQm4V+Xax1a5VM9gFi2ZeMSyo3pXqs1zdBOMrEOrR gHGOqeXfIAn/bUrBn4DlIUTOc51rtv29wbGepla2oz+T9ZBJvoFurkSy3MTJ1MzICpUN HdE7Sk4GtQs4a6NCAVb32qfDHM7K2+RjSfeMU7OR+REwXvSy3yeHfdwg72rnAIfk2aT0 cdckJtDmOhbU0W88oNf9ykeUAG/P8mhq+ripKdTf9nn8DyeDUySwapZzN3MmG04wn5Th 0QYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684971; x=1707289771; 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=lWsO+esC0d2AYKWWl4iIuis67padS7ySZZsjP3PTjQQ=; b=J4mUw3a4D3bsfJrbu88uJL65Q+NLphcxdC+r5ILl4yWDX7JtBJgK5RKSd6Wrm8RtDW DCjYp1Ne/B6VdfiKgYB/BjmhshBAsKSpXebqrmWsEEJGNeIaUflwCBGAHgaTXj393O5O EkJgYtFgPzD+9/z9H5B74zMJ349qOkVqw+qtqu0xqMccc1xKq//XoZxBaTdtmlIo6Edn LDMPmPCjhQ/IuTqulUpB6cSnyCt23SUwOkxSzs4w0xolpk4FFft2my2HHB8xhWNKZmN5 sOplU/+LJK1zSnRN+DRO6dksL/6zCUoyia8yDrBbdbVVPv7cagLvddFlLaps5W5a12+S sisA== X-Gm-Message-State: AOJu0Yx99WpWwnbHVd8j3mHMg3zOIk4tO9ZOn19ndZKxxeQ2wYHb+UoX fYcz9hsDibdIyyMT1mAfK/tZY7yHjM4TaHkkRxpJZgtKQmP5I4gEJUF/mINNlw== X-Received: by 2002:a05:6808:2f0a:b0:3bd:a866:124a with SMTP id gu10-20020a0568082f0a00b003bda866124amr1473409oib.9.1706684971390; Tue, 30 Jan 2024 23:09:31 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:09:31 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 31 Jan 2024 12:37:40 +0530 Subject: [PATCH v3 17/17] arm64: dts: qcom: sm8650: 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-17-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=1160; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=VvvbKDQ1v37NesUwZ4Ka5npjjk3GwT+dettCywR4LiA=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG/WVdKYwr5kNyolAW+hmSR6O4P1ei0YSKpH 3slSGtvb7yJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvwAKCRBVnxHm/pHO 9eXSCACPXL4Nd0gJ9qj4Vafm9PgyB4uU60lf4fyE480qMy0Mx3O5B4+qFlvym/AyZrSYeg9cj2z MVCQJigCXOIbQcpQy7FQaBY811D358xrbzjBgU1HdNI81CVsr6flwPbimmvGvTKJ6TvLUFYzDAq NS4JEvnZciye6ZeLn8xDWEQByqCgOfP5/Vg+fEotuUi219ldpkHwmIrPz6E7sQX9uzirKoX+ubn MFLH5iXTwLXvyE7LEFZ7sczDQdD5OHbK4rLbkxkvOAaat+CnK4TqpveCHpclEbIaWSF6DBG0y5u Zg1tguc7IQG5gmBhi3CTiyAHpElFCOmPCMZ/TzdX4P3Ap39C X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 QMP PHY used in SM8650 requires 3 clocks: * ref - 19.2MHz reference clock from RPMh * ref_aux - Auxiliary reference clock from GCC * qref - QREF clock from TCSR Fixes: 10e024671295 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index 942e602bfc97..464b871ebcb7 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -2476,10 +2476,12 @@ ufs_mem_phy: phy@1d80000 { compatible = "qcom,sm8650-qmp-ufs-phy"; reg = <0 0x01d80000 0 0x2000>; - clocks = <&tcsr TCSR_UFS_CLKREF_EN>, - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, + <&tcsr TCSR_UFS_CLKREF_EN>; clock-names = "ref", - "ref_aux"; + "ref_aux", + "qref"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.25.1