Message ID | 20240131-ufs-phy-clock-v3-7-58a49d2f4605@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-45862-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1717587dyb; Tue, 30 Jan 2024 23:10:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkf2W7RBiVzsRzUNrivBqnsr6V+CWQFApzctVVQpXuU7hkYoXugInomGOmMNNVPr0OcrSe X-Received: by 2002:a05:6a00:d48:b0:6db:af73:bd9a with SMTP id n8-20020a056a000d4800b006dbaf73bd9amr812350pfv.30.1706685009977; Tue, 30 Jan 2024 23:10:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685009; cv=pass; d=google.com; s=arc-20160816; b=S2N61/sWjzOqZ0sKqD/uS+J3KrF5eKrTFYbq1BjO9pScraUka9xpoIU4/VnJ2kB5Ga cxuRNa4KKUYRc69bTzrF/DkYWvd8pLmjZx9YDSdG/fEi4BQYqVah2asUaCW9howRzGPx xFxyW0GWBP6pqRzXeUxpR2xfsPyRdZUrm//elOQYnLDJAUXX/SZ/xzREL48mmoHtNgWz NWH2iykUzVtrG/cayrSmEp8VzNrqicymFxdOzICJoOaWbmDobf2EbU3CLQZT32Nid8Lh K53D3a35SOU+YpHt/6tFJFZdkEajC8NWqxGmtL/MMvAPNO2bHOXHtXStKoctYQrXYHuV uHCw== 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=njP+OEDQkKn1TrRnppMAcE9vyBEaso10MbSWJKOkprY=; fh=H4VF+Ua6LAZlTUPcQKaIDu0tJk39vKh4s7uPYgk2LQk=; b=VLKBdeEPOEPoL+JCOKGJbV+RX9JhdAaDtYFhRwbMMHmXJIBe4HXpez+FcvnVpkNlSg LVFvfTBhqMoGtcnkj4jSv2s7k1a2eKfMh7/wcBRmv5jx6aAoErYUwrY09m35rRhgZfqY 3Z1YuZRGcA0GBXKp20NqQUgCqBlqpxreqwwdkoA0Kcx6neFK/7xxPMYQiy08ZQn14byo /1+g8ydkWKB0KY4R+IppzdDY2Mqp75y5C9f63nbe9Hb6ekySjGHONUB7FPrbfu0lgKWp RAWMJ7w5RzQZpPUh72poRPTMaOqyI3hfHbir60ObiPKuxKxYKEbOwEgUnGfCUw/yhhtn 7Gxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oUcZaHRv; 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-45862-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45862-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWR9oiKqd5QpZoiCp31a03FEPw46vIOKIhRmvuzmlLuOYcJB/xcVMHbN9ZHjJ5qtvToHo8rZP3JFKOC3BsMnFRsRT/toQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u69-20020a638548000000b005cdf7b74d05si8850186pgd.291.2024.01.30.23.10.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45862-ouuuleilei=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=oUcZaHRv; 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-45862-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45862-ouuuleilei=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 C03E9285236 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 07:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91C465C5E5; Wed, 31 Jan 2024 07:08:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oUcZaHRv" Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 D152B5BAF6 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 07:08:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684925; cv=none; b=r+zPurvajE/13rN3cpDUhc9AC7EzU/qYHM+UDH/wc/Cur2VyNCpweTRs1/IcvRaWZ+LFNugcymqTt//qBYiB0/j9pvlytjulPTJltfZDLpbBAfX9VlfHx1QzSVeVP6jjuKV185yF3XJMzUzbc/9nFyQ7X0yiJUP9lqUKo32ya1k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706684925; c=relaxed/simple; bh=tmSSLxlW22wzGNtyc8Ug8x3jS/9hAQL5kq/X5wSJIeQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SWAQHcNB2UHxCbkP+i/pQ7NPrDxOCHrtH1JWH38qUocBg4w7r/XMds+B2q1H8PiStj9t1GSkhZi9O8/U+W2YWe5e2Tt8Yc6YmR0716r3XFeUGEq7Ck5qd6inJAdz1vKko494asIpUcpn1GmtOya0spacMZ7Sc6XG2RfuvhQz9P0= 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=oUcZaHRv; arc=none smtp.client-ip=209.85.167.171 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-oi1-f171.google.com with SMTP id 5614622812f47-3bbbc6b4ed1so3483844b6e.2 for <linux-kernel@vger.kernel.org>; Tue, 30 Jan 2024 23:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706684923; x=1707289723; 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=njP+OEDQkKn1TrRnppMAcE9vyBEaso10MbSWJKOkprY=; b=oUcZaHRvPp2EjTwhlG779UUCAbE+QbVtmtCFESNR6FKhQc9QH9JzNQkzoAURVeVQBA AyILQJYMYtqQVYzMufPn7t9oUA86sC/HSoFcDXrd7j7HKFAlVe7oegQBqlb3nM/dLaK0 Xa8pYANkRnyWIaJdERPBsnukGPCVnblbBETxDZ9Xvj1wi16ZhUbyXB1E7RhNf+7eS3Lf HkUF7wYtgwyBB8ZkpT7GIv8DXqP3IInQQxiT8mGIT6Dj4ICPsjswM4xqsr62lETvecD6 28Vrx5rF6Qb8UBelCkzpBRpAUXFCqQynEA98TtJwZB6gZUPU4+PBXCWVkrtPWTWmr2sp CpVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706684923; x=1707289723; 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=njP+OEDQkKn1TrRnppMAcE9vyBEaso10MbSWJKOkprY=; b=mJ7Kifn72Ie8BWTlwPCAjNzANzYIINo2kXgtZLaBFQ4c/xNuOlulW9nvIlkdih/QGh 3niYzVTDp8eTvvXBE8KqXKfdBIhwCwyIkL0y5SejXRTl6BuZgLXcBHEQ16DwPniR+e9N MibV7PBHo6KB7ez6gaPz8SncMyCD3LiFZfLnr8jkIKq9O4/NKlVCc8LWLLxk+OlQYdCl eiFc/MMJT7pwqohRw4NF5T9ClJyqlkA5Uf765cCzid1QQH89d9/1CLlgi/SmUAf+4vUQ OVzI/BYnqBhx71ZOhJgAMm+sOR/ZPLGwK6jBxw6oxgx2Cb4XW8Y7cXeOxsJkIU79Q4Y1 g2Ew== X-Gm-Message-State: AOJu0Ywle95Sv8cHjsrnuCVhtmOCgSi+e1NwhOMzlXwKnsDdNkJBYFmr vFjSABFLyuSqlI/GQNn8MtljwCGgy9tfrIOgB29qUSZKiXdYbHNqdL2qjuwvQg== X-Received: by 2002:a05:6808:11c7:b0:3be:3326:bcd2 with SMTP id p7-20020a05680811c700b003be3326bcd2mr894825oiv.15.1706684922921; Tue, 30 Jan 2024 23:08:42 -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.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:08:42 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Date: Wed, 31 Jan 2024 12:37:30 +0530 Subject: [PATCH v3 07/17] arm64: dts: qcom: sdm845: Fix UFS PHY clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240131-ufs-phy-clock-v3-7-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 <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> 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 <manivannan.sadhasivam@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1300; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=tmSSLxlW22wzGNtyc8Ug8x3jS/9hAQL5kq/X5wSJIeQ=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlufG84WRIqpIT0t2XtB8cfw7v3F+Y9xNoMVn6L aZqb4BH0Y+JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZbnxvAAKCRBVnxHm/pHO 9dITCACPOuFykTh4yxQHhUpB8zFEvijkc/6n55tor3A3atlv4OC8Aaig39ca55pPDZTpRsdzOvS u3o2XfA3i5UIY2Pf5+YEA+54KOq1kcAKApv3LLJgcvPIAb15f7kYTqRYfPIAY+u6DZicjlHvl64 gDRON7nYBt+Luy5kZ+khEsMAi+aGgFWvPKjNzNOX1MCVHIj5IaLk8v3Flk0nmLAnSKCS+8OgG3F e+GSDlqX8F30iNDC8+XMZ8yJ1Rq0moaPTOl97Rd8pGaQvcKd4biXwAr0G/fHSXm6BzLnsk+W8iQ ZdlgtoFdkCQNmiCl6fW28VzXA/6HCDCJ4pxPdQVaRIcTYmfP X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789588941398693344 X-GMAIL-MSGID: 1789588941398693344 |
Series |
Fix Qcom UFS PHY clocks
|
|
Commit Message
Manivannan Sadhasivam
Jan. 31, 2024, 7:07 a.m. UTC
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") Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- 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 c20592fa7dc8..d655bf5bdb96 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2639,10 +2639,12 @@ ufs_mem_phy: phy@1d87000 { compatible = "qcom,sdm845-qmp-ufs-phy"; reg = <0 0x01d87000 0 0x1000>; + 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";