Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp419046rdb; Wed, 20 Dec 2023 00:31:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFP68HteCUBUyfcxm0fKwDK+VcQa27WnmhnVyDtlmOiiPNoejQOcXeKMjTm4ATKB+sBJn3/ X-Received: by 2002:a17:902:e80e:b0:1d0:acd4:e711 with SMTP id u14-20020a170902e80e00b001d0acd4e711mr3280333plg.15.1703061064584; Wed, 20 Dec 2023 00:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703061064; cv=none; d=google.com; s=arc-20160816; b=0my6yMBd7OIbUUjoUY5h30WffBMX6vZj7Cp5rahv4n/YA6Zty3vuBZCxYB1f1YT6t1 qARcb3EYxc9XGmOYAzzabk6CqnVoehUJ1MHUA3Yf3ba3Mf0GAtS5GD62+OJIk4EquTh4 RxP/cQozA38Ks4ZFuhG1c07EqOGjE0A2FDFRx59a0aqPoCKQZy6X+UTojzNwzkBIccxq PYNs0rBrg9mtJFcLtwGbofszMa4fBb+lch5g5+JjAw74VKR80db1LNCEaApV7KQNEgZE H+36WvTMeyqxyfhnQdAb7HWj++QxdSmrlA4yp4KoEqsCX3UY0EwbyMQOrUI48LETAtjU KNdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1Hp6hDzkalXVHzwngj1E6hzkyPfyrhHPSKm/09FW//U=; fh=U2tsV2UOMAiOJEOVZ4dxhg1ZBwQJBBYxP944QQINLSk=; b=R6OM1osXyberHyyEOx9Zz9WYDDqdHQUYH8hx6i0cB0wjDFg1PEnkdq/9miSY37enCv mkrnC9Fc4eSDR41g6tPzjNY+w+1VXTtvOK37yOiOEHw9jel5ll+Xd7cbNkEzkRBj5+B1 trkKJ+U/xDyR8fvaKXg4A2ySBggYSD1J/7kDdeuMywJ93QlEz5TaPgIe8LB+XvVRCiiw EABJ2P5z6pbPN+ecUNKcVubq2rC5ZQFvdScjwoJuzZc977hOwua5pq8rPXsCvvcevNYc 2O8OItpl5lOZgil73GeEy6zMlZm5aSdtE9gk7r/Oot+mHTBQ/On0GyF6CPtwjPTByx+S Q1cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xpg6flGd; spf=pass (google.com: domain of linux-kernel+bounces-6574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d6-20020a170902cec600b001d00a92b9d4si22234725plg.575.2023.12.20.00.31.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 00:31:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xpg6flGd; spf=pass (google.com: domain of linux-kernel+bounces-6574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6574-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 41D1328464D for ; Wed, 20 Dec 2023 08:31:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 265CA1D550; Wed, 20 Dec 2023 08:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xpg6flGd" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) (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 3016D1DA30 for ; Wed, 20 Dec 2023 08:30:26 +0000 (UTC) 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-qv1-f51.google.com with SMTP id 6a1803df08f44-67f6729a57fso3922106d6.1 for ; Wed, 20 Dec 2023 00:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703061025; x=1703665825; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=1Hp6hDzkalXVHzwngj1E6hzkyPfyrhHPSKm/09FW//U=; b=xpg6flGdC6L6KsRJO5OnDssAeTK3ZU4VlSq3/jHTELFuPXXQwo3d7PcJOWYeD4pgbV eOwoTODwiCZj7d1e850z+3XBq12Mhnw2xd+zosfPzmlUq9jXgs602VDPvoeXmKdoBFBj NbdJyxGl2bZJCbEUFL0lITcdXelj96bHftBs3uTJxCUByPgju7HezzVSORe6BvwQ9Njc ApvMAEjSS44Iw3Ml/ypywmmyvi1lYSCppMFclKB3FdXpPJRVq7vHnXCD+bZnGQLzwSMC BN3bBaPgEAfDQpYVe5vzKfV70qWUIMUpc7b5Ud2GvGAJfO9gO5m/EDiTuujMPws9+0pw Bk9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703061025; x=1703665825; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1Hp6hDzkalXVHzwngj1E6hzkyPfyrhHPSKm/09FW//U=; b=WhWJChcUq4jcBBtXkHGQLnPA2saEr4B9VeDf1yk3y5otp+tArPZSVYxbL9AMuWdMwp hr0LcO8rDVeZdrpuppigTKSZjrbBH46gQzVhUG7tOh0vpeHhRJ14XHWl3dY6UK0wxGUf MfbaI3kVKhIrzZO/mJu9n4pCXUcBgPcp2R8NPGgCF6ZtJPR4K0khXHgfbDdg5zA5Nmpg KGZU9QApfnSrmxq7NRJOGHhNS4g6RGRauIK9zN0F8Bfq9KSALtCzOHu4275fqwWHd6vW 2BFQPZUBVBWLocUSg11T3uLQ2rU6mC+huHHY0BtpmRHXn3HNJUa9A+CwwKz8Wm5u71ck JsSA== X-Gm-Message-State: AOJu0YyG46f6kG1rbP+W9EElvUhsiCQ4pVsyoXJBFpPR8hhk33G6IwSH nF5N18qleE019ZVyP6KrbIF0 X-Received: by 2002:ad4:5aac:0:b0:67f:1ba0:5be8 with SMTP id u12-20020ad45aac000000b0067f1ba05be8mr4253954qvg.55.1703061025183; Wed, 20 Dec 2023 00:30:25 -0800 (PST) Received: from thinkpad ([117.217.177.154]) by smtp.gmail.com with ESMTPSA id p12-20020ad45f4c000000b0067f19dce377sm4759432qvg.30.2023.12.20.00.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 00:30:24 -0800 (PST) Date: Wed, 20 Dec 2023 14:00:14 +0530 From: Manivannan Sadhasivam To: Konrad Dybcio Cc: andersson@kernel.org, vkoul@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, quic_cang@quicinc.com Subject: Re: [PATCH v2 14/16] arm64: dts: qcom: sc8280xp: Fix UFS PHY clocks Message-ID: <20231220083014.GB3544@thinkpad> References: <20231218120712.16438-1-manivannan.sadhasivam@linaro.org> <20231218120712.16438-15-manivannan.sadhasivam@linaro.org> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Dec 20, 2023 at 01:35:27AM +0100, Konrad Dybcio wrote: > On 18.12.2023 13:07, Manivannan Sadhasivam wrote: > > QMP PHY used in SC8280XP requires 3 clocks: > > > > * ref - 19.2MHz reference clock from RPMh > > * ref_aux - Auxiliary reference clock from GCC > > * qref - QREF clock from GCC > > > > Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") > > Signed-off-by: Manivannan Sadhasivam > > --- > > arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 18 ++++++++++++------ > > 1 file changed, 12 insertions(+), 6 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > > index cad59af7ccef..37344abbe8bf 100644 > > --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > > @@ -2256,9 +2256,12 @@ ufs_mem_phy: phy@1d87000 { > > compatible = "qcom,sc8280xp-qmp-ufs-phy"; > > reg = <0 0x01d87000 0 0x1000>; > > > > - clocks = <&gcc GCC_UFS_CARD_CLKREF_CLK>, > > - <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; > > - clock-names = "ref", "ref_aux"; > > + clocks = <&rpmhcc RPMH_CXO_CLK>, > > + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, > > + <&gcc GCC_UFS_CARD_CLKREF_CLK>; > GCC_UFS_REF_CLKREF_CLK I'm not sure about this CLK. So I kept it as it is until I verify it. - Mani > > ? > > Konrad -- மணிவண்ணன் சதாசிவம்