From nobody Fri Dec 19 13:10:11 2025 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 E598E288C3B for ; Tue, 20 May 2025 20:45:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747773902; cv=none; b=Vu13xkXPiWOo9J7zF1rjlUBurIywjUeuuilLWAeyGdp9qMkWnDP6Uf6ZKYp61yuBd+l8fhaiiLuhmtRmdQHzDCgboOj6EYC1dvi0hawRpeeFYkwyvEbHdOqaly+FcoDMYFAQALWnbn+3hpEWk1WySAoxSz3tPCowZS/7Ir/CnwY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747773902; c=relaxed/simple; bh=Xmg1LtYxJaJI2EQ0Va4Q2f9jN887//vucqiSmZrGx6E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G5QMI8SehuGoYA6QIomEoq8SxYxzX5z3s5qFWULoPzvkmd304Pu8vRueIKcC8KhxzNXpGrpnkWz3sYqRmvaekPyZvt5ngeSCk8TWEk8B1nbckvEDz0YXcMNnPoiosacblk4AHX6WXCRGfENBjREAw1BNYBLfmDBI1lZgtslgfvs= 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=YYhnnGI/; arc=none smtp.client-ip=205.220.168.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="YYhnnGI/" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54KGdm3O024656 for ; Tue, 20 May 2025 20:45:00 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= tanQOqYw0Cihj8lfa4clmi+xNJuQzns3UjTESaZfuxI=; b=YYhnnGI/6urAaUJt SIQ1bUssucmm9QNEHgHjq2IDhtaxgRuCNEtwhRGFy4mfaZ7n0b6qo4/RgQmxqj3T H/N5w3OcP44YEtf+GFyFkQzHiHYiXDx+h+SIFCfTEhKR7ja7rgKWPcZRMGCCvqAw rpZl9HjVPm5/25bh0d+e5CaQPpkq0ctlgffAIaO1a0Ht4+fhuhpYN5X29PA5bFIP mvgTnar1Xf4UK+65i1kxxZEN5G4bQl69K1ZpOGmRzk49RGTXvQROtWCnC6tSnn2H M/TKLER9Ja9cGB179eP96RSUYic+9Kx5CWstt2zW+3nqXKPvM4b7SgsAlszEzwUO gsWNbw== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46rwf30k2v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 20 May 2025 20:44:59 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6f8bdefcb39so74176586d6.0 for ; Tue, 20 May 2025 13:44:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747773898; x=1748378698; 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=tanQOqYw0Cihj8lfa4clmi+xNJuQzns3UjTESaZfuxI=; b=NNiQw5DYCa8mVHXLL140Bfn43x1e1xGLDhSDRVgIvFbej7ntk1aE3X7ug/7akQOGXt Amo1hQNHLI3Yky4u9buUlcwxepoxD022XBsNsKxJO1Dy6qKM/njSWWUrFFWkSHC6mExB CRNFOETrL+Y14VxHKjGD7Ayg14Z5esESmsSilQI/gGKJMuqDfcZvBznPhmIFrJva/SmZ w/ilK/yk7pOB84LnHfh2mW9JpxCgNzz/nBV6+gICQLT7oaxZWwMqrm7XwOeupt68o1uB gVmunD9Jm2nCHN0e4QQDShsDJogrMj0eWk9lrvi28AfswJ/aR4zjEMasdvkM+X1SVo1x 7+8Q== X-Gm-Message-State: AOJu0YxHonhLxG/TEoBQ6mGhg3PMqMrr12aPr19+j2E9klGPaAhp0476 WlYn2RaEXlS9xInNbaA0ROb9rLMgdJJnQCZuid9pVge3vZolLJJiV1wCiFNE7SxcftG6+q5Bsgz AyDT/9EiExD8gVPWCbwEs01tafI+4rIxnBTXKOG47q8RLbyYmT3y79xKCTpvBqg8RKjA= X-Gm-Gg: ASbGncufcAOJ1yWqhN+65PxQ7nUsnlvMGxI43rQKfGlTynUvYVum7pg6aoWrrp1d3Un niXOMJ+juL0OnxNPruBZGKNxx3RcZhEBDHpetjbytkC6WEuLB9qb0GqO/OI2aXIYEjNYB6BjaEU AvQRvm+cto+9NNKM6tWxtuJNJH7qXU1hqt/AfeAzSJ6J22Xr2SfFa5w7Oo58+oWme9ebks37RRT pc93y3ynNe1x96L/jGlhLIWMWsAoYUXPxuGpld/sbdKNl7lulu++r9tr6Y5Dz94WjU2PZgBJFtr 5mbLrTRjqFbUiRuzwsyy9m6u6uim5v0kB1i5f/sL7QarzttZd8r8hsUQmDzyP/P0weuJfy3bbsP nn6YQPhE+oesN21xX6AVm8pS5 X-Received: by 2002:a05:6214:2481:b0:6f8:e208:2ff3 with SMTP id 6a1803df08f44-6f8e2083315mr84783866d6.3.1747773898573; Tue, 20 May 2025 13:44:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsmwNxdG/HYMxqSROppvUBzj8rzZOT8nKj3cJAd2Y9WI6WTWrLs2D6LA3ZQ5SDaLunJEwAYQ== X-Received: by 2002:a05:6214:2481:b0:6f8:e208:2ff3 with SMTP id 6a1803df08f44-6f8e2083315mr84783476d6.3.1747773898221; Tue, 20 May 2025 13:44:58 -0700 (PDT) Received: from umbar.lan (2001-14ba-a0c3-3a00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a0c3:3a00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-550e6f163ccsm2497950e87.39.2025.05.20.13.44.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 May 2025 13:44:56 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 20 May 2025 23:44:45 +0300 Subject: [PATCH v4 3/5] phy: qcom-uniphy: add more registers from display PHYs 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: quoted-printable Message-Id: <20250520-fd-hdmi-phy-v4-3-fcbaa652ad75@oss.qualcomm.com> References: <20250520-fd-hdmi-phy-v4-0-fcbaa652ad75@oss.qualcomm.com> In-Reply-To: <20250520-fd-hdmi-phy-v4-0-fcbaa652ad75@oss.qualcomm.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Vinod Koul , Kishon Vijay Abraham I Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-phy@lists.infradead.org, Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2529; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=Dgc1ExVnp711AdXhWA9ncnFbHeGjGDWinEG7f2MOuNE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBoLOnAVhF+aEhT/5ZT81bqALxrU41/0xO1XWmyf RZ0clayhAuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaCzpwAAKCRCLPIo+Aiko 1aqlB/wP43HCfQCLGS9i7ddYdAIIbjlSbr5UDLEkG3+Kk3jWOsbmMt3q5BY/ALb3NaTatSpTklk T6FqUtNTOP8ZBbL6ls1eecOO03aY9Q+bA085G1Z0KsRTxGLsjWvluDGqzvpogHCDV7fB1hBukoP 9ZYARb32vhuLXccFhoGMWJxfeR6+luUc0rGeQqDaj3tKV1Q7s2FcWRiRHpmEWvSxEzIlY51sqbw fPhYxUYKHlYziwUryEzNZsRStghA2Z91DbHB/u5N7QSyzeF21RGPeEqJjbwbarP2bwVEH4mrG4M ClWUCoxcZrWDEf8ObBzsu515WhCClUqzM2jB+cR/yu0N2jd9 X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-ORIG-GUID: ZaL_kRrf2LrtEaQVnuuX1J6OqknLpal1 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTIwMDE2OCBTYWx0ZWRfX4Jcau33TrflY MgFsLbVWFBBdOn9ybzKG4/SLm3GHHT5LZzVZYjv79S1pSV17UuvY03hIkCtuVMzG6pfCO+j/IT6 qet4JCsM6VMYAn9VrM0swETSwMjdaIlAOojAZcqoAjPpuGb5gFR3hpcI5/kyWS++QdRfH7iTTEr MXqp2kK24VpZqDSN21jqAdu1ozNltNDZPkva2R3puAAkGjHO8M/rfi8uQj2KmKldm3JZUlK8kzf bVud/aTWOSZsuQdFaaqKHmcpbVPjc56pcpCKStwbVn2hT9PpQMPnwEvdrfPaDyukRe5BUtgiVP5 TkdGNusNylGRAn+MftaL1RZTW9ZCZlfwsoEB+gO6mZWZl2yOydWU5ANQCzlokbId72mM55yIcbj PvsXCZ3kSmMf6iaOkcis1t+J30/rPyowuTIrinOEDgV55MS6XaqFwoki9uLT7J3mREJN+Pl5 X-Proofpoint-GUID: ZaL_kRrf2LrtEaQVnuuX1J6OqknLpal1 X-Authority-Analysis: v=2.4 cv=a9kw9VSF c=1 sm=1 tr=0 ts=682ce9cb cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=UZIV0CQzuhujAGWTQQkA:9 a=QEXdDO2ut3YA:10 a=1HOtulTD9v-eNWfpl4qZ:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-20_09,2025-05-20_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 priorityscore=1501 phishscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=849 bulkscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505160000 definitions=main-2505200168 From: Dmitry Baryshkov Import register definitions from 28nm DSI and HDMI PHYs, adding more UNI PHY registers. Signed-off-by: Dmitry Baryshkov Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong --- drivers/phy/qualcomm/phy-qcom-uniphy.h | 33 ++++++++++++++++++++++++++++++= +++ 1 file changed, 33 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-uniphy.h b/drivers/phy/qualcomm/= phy-qcom-uniphy.h index e5b79a4dc270f25d8979f51bf4acd6c76998032e..ce782018124b5431ee647575289= c963d8fd0de1f 100644 --- a/drivers/phy/qualcomm/phy-qcom-uniphy.h +++ b/drivers/phy/qualcomm/phy-qcom-uniphy.h @@ -8,8 +8,19 @@ =20 /* PHY registers */ #define UNIPHY_PLL_REFCLK_CFG 0x000 +#define UNIPHY_PLL_POSTDIV1_CFG 0x004 +#define UNIPHY_PLL_CHGPUMP_CFG 0x008 +#define UNIPHY_PLL_VCOLPF_CFG 0x00c +#define UNIPHY_PLL_VREG_CFG 0x010 #define UNIPHY_PLL_PWRGEN_CFG 0x014 +#define UNIPHY_PLL_DMUX_CFG 0x018 +#define UNIPHY_PLL_AMUX_CFG 0x01c #define UNIPHY_PLL_GLB_CFG 0x020 +#define UNIPHY_PLL_POSTDIV2_CFG 0x024 +#define UNIPHY_PLL_POSTDIV3_CFG 0x028 +#define UNIPHY_PLL_LPFR_CFG 0x02c +#define UNIPHY_PLL_LPFC1_CFG 0x030 +#define UNIPHY_PLL_LPFC2_CFG 0x034 #define UNIPHY_PLL_SDM_CFG0 0x038 #define UNIPHY_PLL_SDM_CFG1 0x03c #define UNIPHY_PLL_SDM_CFG2 0x040 @@ -22,11 +33,33 @@ #define UNIPHY_PLL_LKDET_CFG0 0x05c #define UNIPHY_PLL_LKDET_CFG1 0x060 #define UNIPHY_PLL_LKDET_CFG2 0x064 +#define UNIPHY_PLL_TEST_CFG 0x068 #define UNIPHY_PLL_CAL_CFG0 0x06c +#define UNIPHY_PLL_CAL_CFG1 0x070 +#define UNIPHY_PLL_CAL_CFG2 0x074 +#define UNIPHY_PLL_CAL_CFG3 0x078 +#define UNIPHY_PLL_CAL_CFG4 0x07c +#define UNIPHY_PLL_CAL_CFG5 0x080 +#define UNIPHY_PLL_CAL_CFG6 0x084 +#define UNIPHY_PLL_CAL_CFG7 0x088 #define UNIPHY_PLL_CAL_CFG8 0x08c #define UNIPHY_PLL_CAL_CFG9 0x090 #define UNIPHY_PLL_CAL_CFG10 0x094 #define UNIPHY_PLL_CAL_CFG11 0x098 +#define UNIPHY_PLL_EFUSE_CFG 0x09c +#define UNIPHY_PLL_DEBUG_BUS_SEL 0x0a0 +#define UNIPHY_PLL_CTRL_42 0x0a4 +#define UNIPHY_PLL_CTRL_43 0x0a8 +#define UNIPHY_PLL_CTRL_44 0x0ac +#define UNIPHY_PLL_CTRL_45 0x0b0 +#define UNIPHY_PLL_CTRL_46 0x0b4 +#define UNIPHY_PLL_CTRL_47 0x0b8 +#define UNIPHY_PLL_CTRL_48 0x0bc #define UNIPHY_PLL_STATUS 0x0c0 +#define UNIPHY_PLL_DEBUG_BUS0 0x0c4 +#define UNIPHY_PLL_DEBUG_BUS1 0x0c8 +#define UNIPHY_PLL_DEBUG_BUS2 0x0cc +#define UNIPHY_PLL_DEBUG_BUS3 0x0d0 +#define UNIPHY_PLL_CTRL_54 0x0d4 =20 #endif --=20 2.39.5