Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7132614rdb; Wed, 3 Jan 2024 05:50:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IE07XUjcy5WKRjfzxarBL1JF0pUKMHe+Agq243925KYAFKLyH2Iic3odX1CbkJj3bQ/B2tl X-Received: by 2002:a17:90a:ba17:b0:286:9ff9:ab9a with SMTP id s23-20020a17090aba1700b002869ff9ab9amr6149968pjr.66.1704289818976; Wed, 03 Jan 2024 05:50:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704289818; cv=none; d=google.com; s=arc-20160816; b=Qp+bIG+hbwLb3m7zHCy8suKOGaDcRfJYN84WPizuXraWgHiqiuSo6ilnDLwFTOQL3m 1cNIRWlm84PrgxuMEhjUD2fLpbIrafpSRoyTF/qi4iryLqTG6PWmvek3nGcHPjTQXWXu 2TRtn2pdWAarYrNpfb78UlgJZbs4RHSYXs0ug41P+YZYd2ggcZ/rK9X4IzmLwyDmm2oo oQaNx2Y6b/aohlYcPj+zgpwQUhhxtmo5TXqchZGDwU1Q+MMMdU0QDIzJN70iTG+jpjIH Vwm5hTQL4FTmjcZXZPb8xS1512xEofr+BQ2xg8/PR2Qm5WsgkgzVcXFmygHhVSebcHKe D5KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=f1dvuFHKe4j17EX4txcAT9Lw2KXFp4kBJ6tMYnn9PJw=; fh=u/KpEYnjjrxsjHw97+dI5DpdkFujU+LmRPnEY3+OhbM=; b=sEFdLENGYwE3wa7OgnRgcbTVQZbY81Ovj/C1AWWqXrzezoL6Tx507OTxM0RLBctUDn f8S9OLb5fRalUsA3+t6hxu+hfdphqtvWa+5A7aAnjTpeoC6MRUeMjBILacprhOEgF4au u8vqEDi+xzmTE2YcBfWwgV/6AvFupehY0ojzhcU1af1jYJkcCMfmIWmd0uHewDaKIkOW 7VQkVzzo7xV0emi9YUIZXIZzwRRHTJFSjmryelD+A/WOm9+6JZSBXbw6JxyLVQioVqm1 GKl6+8YEK4IB8YHVjmfgs/4V+oh/bdpM53A6EGhycGcVANqxqIxQJkptaBgORrW5FyCT 95kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vd1kB+fw; spf=pass (google.com: domain of linux-kernel+bounces-15619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15619-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. [139.178.88.99]) by mx.google.com with ESMTPS id fs24-20020a17090af29800b0028c2cdaca2fsi1212313pjb.16.2024.01.03.05.50.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:50:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15619-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=Vd1kB+fw; spf=pass (google.com: domain of linux-kernel+bounces-15619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15619-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 A068F28596D for ; Wed, 3 Jan 2024 13:50:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A91A21A282; Wed, 3 Jan 2024 13:50:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Vd1kB+fw" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.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 6336719BCF for ; Wed, 3 Jan 2024 13:50:08 +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-lf1-f51.google.com with SMTP id 2adb3069b0e04-50e7dff3e9fso7657742e87.2 for ; Wed, 03 Jan 2024 05:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704289806; x=1704894606; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=f1dvuFHKe4j17EX4txcAT9Lw2KXFp4kBJ6tMYnn9PJw=; b=Vd1kB+fwqMnU3QXvnkHQmAtVz/PSr+7wtqZzL/Dv/Ne7RNPqVhQzCbe3hZWdKMur5B CkuK0dR03IJ9NcdO1SNPGZ89tu6gIWAiCIR99glpAY1VUyKfPNheqcEDrh5G63YG0/yE 1L9QZwnaTWu3lyVg+9sbJ2RG+XT8Z0/GdBEriayY4gx8TWK1a7s1MnovjDSBuBidYWmp xI7kyQ9SHQEWBqCsy/aBQRXERzDalaHfo9P7c0uFQFbXcLmHvVV5wBf+RhdkKXiyAStC EmBqguRzUszOVbWUUXnq7VePiG1MP0LrA21l+V5eY4yDbupjYdHN1MrxQHG0lhAo+O8+ ObvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704289806; x=1704894606; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f1dvuFHKe4j17EX4txcAT9Lw2KXFp4kBJ6tMYnn9PJw=; b=OHrS5vZtx6Nuvd7c1EEEl6c1ru4lrS4gDZjl2vj/9IhOi3o4h2g5bRLh6QAHnpNUtJ UcPXt787RwftblGdM9i15Dqyd3e1pVJ3aHgzfZF2PcetdFOm2azaZqKIDFgZ/NHnSxDn QY/f3RU3tuNF7FWo95WwUlCOf5sPZu/N8ji3wHP4JyGplbpJdH1AtCZROwxYliKDdsAq RiHyqOs2LydAY7l3I9yvK3Zz+4FnkXnFIPavv5VlOLPZlvrG0hCv/UNz0wUadShLZ/ls s8x35jAqH8twiCS6Jvj2xs+ctl5L9gJyySuBU5Vq04bpqk8Z7L3u5Pe4ZUXF61w0i2pq 8Wyw== X-Gm-Message-State: AOJu0YxGXLDaWnmruHEuuDk9rdRCMHWkqJELbTOGRc1yaLuSiwDChbBh B4uRCBWnBYSx05OZtvVnKBVOWf+oq22VDg== X-Received: by 2002:a05:6512:3451:b0:50b:ea8e:b42c with SMTP id j17-20020a056512345100b0050bea8eb42cmr7027914lfr.97.1704289806350; Wed, 03 Jan 2024 05:50:06 -0800 (PST) Received: from [192.168.199.125] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id r9-20020aa7cb89000000b005550844cd1dsm11312288edt.30.2024.01.03.05.50.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Jan 2024 05:50:06 -0800 (PST) Message-ID: Date: Wed, 3 Jan 2024 14:50:04 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 14/16] arm64: dts: qcom: sc8280xp: Fix UFS PHY clocks Content-Language: en-US To: Manivannan Sadhasivam 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 References: <20231218120712.16438-1-manivannan.sadhasivam@linaro.org> <20231218120712.16438-15-manivannan.sadhasivam@linaro.org> <20231220083014.GB3544@thinkpad> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP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1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231220083014.GB3544@thinkpad> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20.12.2023 09:30, Manivannan Sadhasivam wrote: > 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. I am quite sure everything *UFS_CARD_* refers to the other UFS host.. Konrad