Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2369399lqp; Sun, 24 Mar 2024 16:11:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7JoX50SZyMN5yYKHLj5sKq6GBYaxQTpQTXs/Sfw/LdztfEvU6BrHlTtru8eNzfHQucQr+47apMMMvRtpBQDVOkFe+sToHwmIJanWILg== X-Google-Smtp-Source: AGHT+IGeOlMCV6XC+wfM581wSaxS3MFtz5HxcOtoTIIlPmYou7WJ9+okIdyZb7/sPcfTAzeuiGys X-Received: by 2002:a05:620a:1924:b0:789:fa4d:eebb with SMTP id bj36-20020a05620a192400b00789fa4deebbmr6338283qkb.69.1711321863962; Sun, 24 Mar 2024 16:11:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321863; cv=pass; d=google.com; s=arc-20160816; b=j6lWUODNAXSuLZlII0sGZ83+nJDG/qGrpqaF5CElWgJbTIE9utFw1h4A/8bv0E/PL9 hwGGmnniCWehqdMvguj+iW5RXsDGfjq2Gi2vuDzMHAgUCVXgy6GL0QXUID4N45BKNlvC ilG42Vh1CcGLhjyto4pMHa2rGDMyVx6zxvAwJHMw3KY0drrRyawGm+tRVDemmqc/Ksx2 mQqmYj6nONfSMlrAEhhG44jNw6NX35C3ocgDz6tgOK0hjSUIS1GFn0lg5GSF1w93QecA uY8DYqao7eKIwRRN00X7DhDal/H0AgNHFDR72YbNH7YcJsgP+e3djEOajvjrE0a9856u LCLw== ARC-Message-Signature: i=2; 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=gsLktcav8RCMMjVzgGn1bq1viP9CjCLGdkKy+kvi2IM=; fh=YfqA6MC5CdqNMZ0MF6Lmf9t1acbaI/rQAKo9qSp69KE=; b=XCU2wibOFFJxA1nfs8k2FXX6FjT/g+kyESWd2BBsauA53BSmYD8shOxX9RGP5Id/QR o1bscFqhC5qSyZyxyBDzhwVqoF9JMobVtGMQKTnRzVwV1hep3ed0r0Qdb/GtQ07Fn6LE t/RYx3VneLclv8RXgPCFWa44i6SShiK7zDlKoqauf/KgUMhEDrXqoiAHAIt6rUc5sOQS J9mM3BP2Irh4ncadNTBq3i4mIgHxbzC2/icNZdACEoQ0P4+0SkZ2pZ/hn4kMOclwnICI 8vdCxbWlpogwTWd3H77FlFVIioUYnTNjEWHtls+KbmfcZ5YC/PZjoALKyUB1gFkrl4JO cfZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K3jHMzxh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d7-20020a05620a136700b0078a1cb7a382si4364534qkl.495.2024.03.24.16.11.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113044-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=@kernel.org header.s=k20201202 header.b=K3jHMzxh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113044-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113044-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 8A10C1C2145D for ; Sun, 24 Mar 2024 23:11:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 392F113F456; Sun, 24 Mar 2024 22:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K3jHMzxh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46EAC140E58; Sun, 24 Mar 2024 22:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319854; cv=none; b=GZ3qKwcFIGpZFCJT3jXxXp6bKGfQ/kjiZ2NU7bRJykmavskA8WOZS+3BuQVstf+DwRUoT4tgEj8hY+27Xj/9k9KhFxTAmvn1xfiSSZU5GWLcL2055d8Lt6HuqWhWoUgccksKzeKaY+kX1Wybd7UyFLST9lWxo5vUxU4DezChX+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319854; c=relaxed/simple; bh=3dyTJT4nnoaVRgAZyeo0M/RmlnJNy3l+FyeWtIk1zoM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=auw24PSA4XITlpnsjlWf2lDmAIiyzAhkfoTs1QmpakLuLqyQVSNddilN/IAEVlulCWLaZnKxnww2A5fqNu/zr/cNYfwht/fwEQ/qve8FLvgyGgFhzSfqAYXedRfD0s4EBgNRS6DNFnEsbJVy8Id6pDlIcJrquRMIKAlpncPCif4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K3jHMzxh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DBF2C43399; Sun, 24 Mar 2024 22:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319854; bh=3dyTJT4nnoaVRgAZyeo0M/RmlnJNy3l+FyeWtIk1zoM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K3jHMzxh6q6/wP4x9N+XEr1ux1ke74uhS7Wo35hAQuE81gP0VRXALwHDEeVU50Ggp OaLrsYrtiWecb/2aqN2IArnOy5b40R2BCU8bHUHNgcXQFliqVK9OxEnNIrP9vuFwQP Ly40pD5FaV7TVUYumdsb6FbiFTw/vwgpx71W7Xorxc9X48ygKp5pPMA3JovYA/B5cE wGCEbt+IRW9XFxiWQIMFUlpCoA8R8qCZXQiH6RT110ZsmXhIIjo6heo5pfb0VCb4Mk ug5G1LoxPFLR5XFnGCyzUfbm3lQO1Olt5RxWq/XCf4v0R/1LIF6wwma6yeT6WUMVJr ut6b+lmwO1qjA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Manivannan Sadhasivam , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 157/715] arm64: dts: qcom: sm8650: Fix UFS PHY clocks Date: Sun, 24 Mar 2024 18:25:36 -0400 Message-ID: <20240324223455.1342824-158-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Manivannan Sadhasivam [ Upstream commit 0f9b8054bb4abd7b4686cc66b85f71fec9160136 ] 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 Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20240131-ufs-phy-clock-v3-17-58a49d2f4605@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- 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 2df77123a8c7b..bad0eb84549fe 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -2448,10 +2448,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.43.0