From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 6101738657D for ; Mon, 16 Mar 2026 09:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773653240; cv=none; b=Siy1aEXskeYks8h6xMxXHXmltYR1A1LQk3Rt+Ub+Knjz1pIwdCj7cATA6OMNlmrIfUi1nsQdePUnl16YWiMt9buXBm2ZczCtWtXDaGh6XM5V6rm4ty21YEdm9o27oeJfxZ5ztVlQ2b7tU0YeiMuQOV5yjl7eInKZ4sXxOstOmNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773653240; c=relaxed/simple; bh=m20NV7YPDGEPnyJy9guKx8ra6fkNvm2ZBvh8TyLifBU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VaSJ6rusEJjQBdPWhax21Fv0dgJyggc5nGK2TF50OwrhnR8ePENmXSBZP6zHrhAePEM2oprULv8+jRcghFcEyzS99ZcNTRsGWktpUwyQV7KVzwjXFeSiEoe9mBFHxFWxHA7Ou+IJ/TL61bV78O6KzxF+qfwwvdZDrzbkNXUlPIQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=War0LXQ2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=foGdJz9I; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="War0LXQ2"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="foGdJz9I" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62G64eHh2128495 for ; Mon, 16 Mar 2026 09:27:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Yea+5C9HO2jmK24J3rUgeOWtF9taHgrTpJT6HV5pjcA=; b=War0LXQ2OqmTETeK oQrDwMJd97kxbD3kyQrxIlvZE9o5Dw9buSyVBGDL3YuphUJ/5gT0VKLjllWG/Wzd 05eGYwiJMnSf/G7NyisFpo1rJAbG7dHvmXbS3fQDsFeEHDauDTqwbxI2FT9g/1aA J+PfXZTxkwATAE8hydHvIx21GZPTLhTRYuJX3ZouQzfoACtFddB1+lENaUOV+Uvo gQUxgCry8Rk4GqMQUccGOUQkEWFbOiqVx12nDslIdnX98TzS+7lul9Gc+SqlEmK4 zFus/YJ4nu2JwTP4GYO0gudC/YEw+XWAEHmYq2aRuCc4f7/eJJOV/PbAJlDi9lbA IpL/lA== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cw00an3d9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 16 Mar 2026 09:27:18 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-8cb485c686cso278111485a.1 for ; Mon, 16 Mar 2026 02:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773653237; x=1774258037; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Yea+5C9HO2jmK24J3rUgeOWtF9taHgrTpJT6HV5pjcA=; b=foGdJz9IhjZWbPp/5pFwAkJD93G4oJFCW6pupwCTybh0SzF9rR07rlbzLoUABuRT8l +LSI+idzpB8zAOfh8ItHx/rZkdzVNA5ZB4D9J5a0s7hSUl65xsyYlTKIVGi1Mj+BuGmb hQ81GrQAKEu8+7CJoPzinhJebSMISwmuTTthNZZLcYcDPKSFqQjsCRRZiSe1ejQV3BXE /38n+8lAX1ox5FsNU81wzWtv5NtwT2Qy+QyyiyrShwE7CYfoni/165K+w1yg/jtylwHM QUKyd2xzHZHY6Wp1VrAIZzYC4GBuz5aA6eg9QRllr5FLpE6J80e4QOqka5sQX7wBtX31 8VaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773653237; x=1774258037; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Yea+5C9HO2jmK24J3rUgeOWtF9taHgrTpJT6HV5pjcA=; b=O3j2P4uxKK4O7owRNuDidRgPytOOsWuFlB1ZORDIPu9h/B/0HTqeVjiAHl42/wzpig SIe6vYaJwPJzAP2g1PbybmiAwkmoklWgQV1XllD2q/FJTXkx0ZhY0ZYTf6bq3Gb8r42u urm43sQhH0rlQAXfifuUSiPjwWC97fce/0jWtCmCZ/qLce75xNk6mHd3wmqz+Po3kwiv xM1eW1xxPZQvXeUwZTYI71k4JUSyXZuJhBrUiE8CcBFaYdEzxPrUzjWM6+i3cSj0pqmN TiNCkz+lZ1Pr7WEbe0uwFG3APA0fltXzhfXqd3X1HsqjJHW5qRZS3ys6XizrUrS3Yk5m UcZg== X-Forwarded-Encrypted: i=1; AJvYcCWIoFFqB+DkKxHjdIPYhyd4gOj8UinRRjJa1cybGsPFLhEjv94PBMvNxYr4obxKC8SvSzly26zVXazYWVE=@vger.kernel.org X-Gm-Message-State: AOJu0YwEVYubhAJzmWRWXtjWVaq2A9YWCBBRBP2CYuRwxSnB+KGNHoOC LwRzHSpwjce+uy+PEnnxNMDroe+OjCJxFREhRmotJryMq5765CfVjPTA8Blerz/JyBjjIs8avYd CI0RsD7z17ScY+JpdTvPfhKclCOyj9f5QCKserhvQ1cI0t+r91kzw3Bx9CahmsLeX1Co= X-Gm-Gg: ATEYQzwvR13ExnDJvosKKONdxDN6w2iDQJfowHUb8TReDlU5nwsYPy/MLP5e088qUYx rqEt6YW/cianlW1EcFC9T8Am9N7ciXBUDAap6PPbihDy3fludqJ0nmmziRw1ZGXcJ6+Qpbs5viw YCfiDvkACebB1YfVfSgUDt8/5wxil2HTrdMhQkIbHNZKnqngii75mv3Sc6TZMhEjH65ylqPxRie R/gLoTu9d2OKjJNXUMEHrRIKrW0KthmvfH0BeGKkVCR7ne6yKw4KewI59kuhceNGDtkXVpwHtxU e4egJGYks+2nwOvGYPr5bQHXNWBDqYOVyD7pwMYNQ5oSzgsTywOGaC8I6CYd43G9l17mL4u++rr tmrjPyd2YLn1K9HQ1bhmVWN/5sun590wXCh7VgnyTRiU/kPu207GGMmPJe7+gQxHI0MA5d9dRx9 l4L1Q= X-Received: by 2002:a05:620a:4113:b0:8cd:9828:a7b4 with SMTP id af79cd13be357-8cdb5baac4amr1099345585a.9.1773653237641; Mon, 16 Mar 2026 02:27:17 -0700 (PDT) X-Received: by 2002:a05:620a:4113:b0:8cd:9828:a7b4 with SMTP id af79cd13be357-8cdb5baac4amr1099342785a.9.1773653237104; Mon, 16 Mar 2026 02:27:17 -0700 (PDT) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-66350d6fe24sm4815442a12.29.2026.03.16.02.27.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Mar 2026 02:27:15 -0700 (PDT) Message-ID: <7d8211c5-7b12-4349-a329-cfb51a918a1c@oss.qualcomm.com> Date: Mon, 16 Mar 2026 10:27:11 +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] arm64: dts: qcom: hamoa: Fix OPP tables for all DisplayPort controllers To: Dmitry Baryshkov Cc: Abel Vesa , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rajendra Nayak , Abel Vesa , Sibi Sankar , Jagadeesh Kona , Taniya Das , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20260309-hamoa-fix-dp3-opp-table-v1-1-1a8141d71f9f@oss.qualcomm.com> <2f4e4cc7-2600-482e-88d9-d4b20d328a72@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: e8fnWtM4x_D2pzcZQjVwjY9IINw2TeRm X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzE2MDA3MiBTYWx0ZWRfX7Hl9HtErOyU3 vdkVlffRHYv97pPyTJKo0sIL0XV1iaz8aJ9jojX+MxWdnGGy0MPtRq4j2E60vIDXcnFfAJkFrkq jMGsZwMTFDDNnHUyP/S39YO8adt0ltE0ecJMxRShFMoNHPG3ge0FiyXrl4KqhyH9yZCT8rg4fOd y7f/fMajgj2OZ4tB27BR+cmoL4OpZBPXhU/DBfNDF/5yWPPO6NLxfrUtnR/qDbK1bpkkDvdoAoZ 3hV5kHRrYxFZYdRHlxCMucQpx5N52OAhimWZDe8WO/1yr37mFL8Jw8eOFGTyFvYk4RjtJEwl8e9 KsKZjWCVaByD6VMahHBEAXOL8YFybQdsrR9Lnp3DP7mOayPStnDKQHMCow+oodJyBiUqb+i9Xm6 I9vc04Pb6sCIvUAucTraelC2/XfFlLxT2i/ImDeXOdefV6MPrFom/JYHTsZOHjRUJpwcym68wSy Jl1zCbO52flYm6SJOKw== X-Proofpoint-ORIG-GUID: e8fnWtM4x_D2pzcZQjVwjY9IINw2TeRm X-Authority-Analysis: v=2.4 cv=ebIwvrEH c=1 sm=1 tr=0 ts=69b7ccf6 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=i3U1ZhqbavsoaJQYhn0A:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-16_03,2026-03-13_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 suspectscore=0 spamscore=0 priorityscore=1501 clxscore=1015 phishscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603160072 On 3/13/26 6:39 PM, Dmitry Baryshkov wrote: > On Tue, Mar 10, 2026 at 11:36:26AM +0100, Konrad Dybcio wrote: >> On 3/9/26 3:44 PM, Abel Vesa wrote: >>> According to internal documentation, the corners specific for each rate >>> from the DP link clock are: >>> - LOWSVS_D1 -> 19.2 MHz >>> - LOWSVS -> 270 MHz >>> - SVS -> 540 MHz (594 MHz in case of DP3) >> >> This discrepancy sounds a little odd.. can we get some confirmation >> that it's intended and not an internal copypasta? (+Jagadeesh, Taniya) >> FWIW DP3 is not USB4- or MST-capable so it may as well be > > DP3 link_clock is sourced from the eDP PHY. I assume there might some > >> >>> - SVS_L1 -> 594 MHz >>> - NOM -> 810 MHz >>> - NOM_L1 -> 810 MHz >>> - TURBO -> 810 MHz >>> >>> So fix all tables for each of the four controllers according to the >>> documentation. >> >> It sounds like a good move to instead keep only a single table for >> DP012 and a separate one for DP3 if it's really different >> >>> The 19.2 @ LOWSVS_D1 isn't needed as the controller will select 162 MHz >>> for RBR, which falls under the 270 MHz and it will vote for that LOWSVS >>> in that case. >> >> Even though the Linux OPP framework agrees with that sentiment today (it >> will set the correct rate via clk APIs and the correct rpmh vote for a rate >> that's >= 162), I have mixed feelings about relying on that > > Why? 19.2 isn't an actual working frequency, as far as I can understand > anything. Or is it a working OPP for running "shared" clocks? No, I meant removing the 162 case and relying on OPP to pick up the required-opps value from the next entry Konrad