Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1487924rdb; Tue, 30 Jan 2024 23:10:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEv9Ht9zuPylbc+GBl0CiMvL9OlvupyyxQpnwyGUkz9OSd389Cv5g4m7c5JnyTZjpDf6Gqh X-Received: by 2002:a17:906:48ca:b0:a35:85ea:344d with SMTP id d10-20020a17090648ca00b00a3585ea344dmr502341ejt.35.1706685001558; Tue, 30 Jan 2024 23:10:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706685001; cv=pass; d=google.com; s=arc-20160816; b=Ew1DCm5buKAR59J2bHoX2LMrbUFHRpj+OxDXvqC+N/LORAkWkQW+Lc8rxnkhNzktlP iLE5BEaD3aRcPK8OP+brjkUatVWcM8m84F/tRd4NyZMy4OWJaPAoXxMihj+DaMpta8q3 NrYlEPowa9O23mjrHRocFWnWgM0rs0bC7GotY1cS8816OigcrC6/fuZ6U6qK5q9RrfoN RGWd72sWIWYCkP203lPnIVuP92eW199WPW+KX8Nfhr4nXTDvpE5gY3xbBPWL5bjSXjcN 7z9gRvvgtfDqQL0v/4XROruff5REbJlgBpoHlDaIOaG9roUbt9kL9KTg3g2r2jFhUV2t v7Uw== 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=/x7VA2QrjODdrHgLhL4iZDP4NvRmQF2nBYubWgxcnX4=; b=rQzX60zNS4IIvpkFeEOq0VE6HY61xRKHo5Zg8EzrS1iUT5IFHtwaQp3qf/t5Sio6sQ S9LRE5XBp40lB8iI0onU0Ivg/AJ5NPX9txuZ2k9k0CmMmZUBOtAdWoEc29sI3unxrM0C B2i3kMR+A7DpbfJzGLIcnz8yAXyBW1R5mjSiR6zHl+LIZt8SnrnGRpWwcIzg+PK1pAYZ 4q/sd25HdQO1jbNbS7zXHPZ6T2gIIgO8dt6SMQUQQZwvbIKnmz0iFBf3xBnqh8bn2E8d LCHGOL3FqT6g672KQ7EDk8XGQoF8jQNqxkzuI7XkbAchV5cmAI2vvdnaXlkqlj7d6IKk wxLw==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45862-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; AJvYcCV9geTAsJo8swhhZaEr2+bQmbWcESCbcKuSD3OKgYLSGyg4IxZkg8cjSdt4W1PS7OjsbpAAxPaLvPVrre9bjEosIBbqls5q2JEosZIo1Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oy17-20020a170907105100b00a3496fabe16si5129115ejb.209.2024.01.30.23.10.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:10:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45862-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=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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45862-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 53ABB1F260F9 for ; Wed, 31 Jan 2024 07:10:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 575CA5B5DB; Wed, 31 Jan 2024 07:08:46 +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 ; 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 ; 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 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: 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-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 , 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=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 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 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 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"; -- 2.25.1