From nobody Fri Apr 3 19:29:55 2026 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 C57D638423C for ; Mon, 23 Mar 2026 22:56:55 +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=1774306618; cv=none; b=vCwhkYSspDT8cmybJUTvDikX+gWN4xI4V7xT+ls3qigJH3+9vFWOg95hPO1oTU3lkdcRnjNuKgfDbDlyP6bEZitdNx7cJD1f3XBO+YyJbgb+0JlRvLQZwK8ldfC0peGO/WogBhzmUj+iH79omD98Iz8Ch5mEvaN6TTYo4CBMBDo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774306618; c=relaxed/simple; bh=RRdFiNjgnPzCRkH1+W1J54NjjzrWTLFzh8czz6UBnnY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WQ2k4310X8f9s/LiqDoK7Jmy4EcCteuemyyi1bK1nJVWWDLg/2KcLJs5nqA1iGWkoINnuq1U/Eyr8m7dlTfc/FJApE74jDwKmCxGhPjbaVCymyUVj+0IHw7sfQ8rZOju8ucdBTKTu7KQiSEreSIMreJhkD4eOoJvwDpR6VyT55U= 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=WXc4F6jC; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=iLlCfqAT; 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="WXc4F6jC"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="iLlCfqAT" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62NHr9Jn2833932 for ; Mon, 23 Mar 2026 22:56:55 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= c58/Sfeclx1N64rZvnt6VYgoyb1/qdvgxUAhY/kc9dc=; b=WXc4F6jCyeX50i2q 9vQZrUqXSHHdr1oyMCXOobR9IQplNrsd6ZBJU12Klp1jO6N9I9AzUkpSoOV2C9KY pC1M1QdM3EwwJsm4L21aFVIjPfkmyMn6mTIlPKWQfg4b2fOp1IBzvWMVw441NCa0 +HYg2LNipTJ6lbEEVMnx2ji4t1/9RKjJ7O05Vgrhb/4VKKRZZ2gO/Lssz3+M+lXA zkYhdcIUgBY/KTA2hfsgMsIisG9i/Qx/q/RZ5l0gFgK2YI3yeOaan3Yrk2Gh2deb UhL2Et9VCmeBspLpoKFc1qs8mCjMkUJNaTVi26T/H/jYXROPrdPE9Mm95D0+TvWT vgnu4g== Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d364jsxh1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 23 Mar 2026 22:56:55 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-50911c94db1so35970691cf.0 for ; Mon, 23 Mar 2026 15:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1774306614; x=1774911414; 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=c58/Sfeclx1N64rZvnt6VYgoyb1/qdvgxUAhY/kc9dc=; b=iLlCfqATX+0rj5bOnBIU8pwQuv1HiYsirXGzX/rShucCTGJCr8BD9eJirOTOoFEMxM htwST4szuYx2ItliE8Ebjo0QriubZIsRL8YEU2737yIaIwn0ieTHtFps9nVxbN7YVX3a thio9VjiRYny6e+8YGHs3PwutoVVFeKbVCs6+QROql0JD1927fHgmBOrysMaduQYL0jU k542ELuV+hI1qH38PyvnjAjnXKSRTjRpch/8y3O1eZ2vdq6ZqxYPQppgYGtm1ZI+LfFv ZVpkkvyIe8MXza68yBDG/sUUr6P1wWyQdCZq3euhV6Eoxgicnk2M1JsSbfv5QfJA+Jgu DZAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774306614; x=1774911414; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=c58/Sfeclx1N64rZvnt6VYgoyb1/qdvgxUAhY/kc9dc=; b=UpjsVRolxfPZdBnjG07rRou3QIQdfsGE0Z1UAr/7Yd3yGoXIuog4aTo7BU6pzzyJi+ eD+NtEtDZp3RjrsgH00VZOjz900CeM+MbKcftI8eVYOWbdVfdmou10lJ7jbvlmAIlRQr YGHsy+ec5LMgDQ88mBoPb2YYxPdE/Z4L1Ir9EsEw8YqJjnfi3x6W0GsE+u/P+FXTqmYi ExG93FZNpquPB/mHc+FxVcE9CMA7xC1FxUADYoDGwUxqe/fA5CLxAr3xESpePAFDF5l/ xl9gU5tc63W2GSxdaK87vISNeofMvDCwwU+U4GlGb5Is5EKnbszKlJDohKio4BE8RFiP Ks0w== X-Gm-Message-State: AOJu0YyZ58228JD+3P/p++ilnkD3rn4CpdFKrk99bdLVJsqoXvNzWyvM wAT4z6hNZVqbx5OAB4pRq1IwCA2P2W+t4MgpgAqWyq91qE8n7rUt/W4I2f8AynHgxDmeOD3aIgD MZ1C97RVzqV527L3Q+TIwH0M+bnk/QizsVCGLkhUaU9Wh3h+Ljl7EGjVVHfubIEwE7bA= X-Gm-Gg: ATEYQzymeGP4r8DRxmZKiyFp9oItMaxL4Rus/4sYMIyeiolHhrM3iiuadWbIAH5w6s6 zxbMKh+fmizp5RBQkhfjCUxRPGlt7IP6waFnqY2w/yq5cx89PLIA8KIk4bCyUiWCv0tT8hKEdrg hAGhDW+Di5e11RwxV4Dd/AlD0c4qIxaGJDUJATjoDsGRVIkGLwIgv8SXDupilxzzvB120XjnTgM +tTmbI4GjhiacrKFtWcZdwHm7y6gJScfwmhfW2BGkOyV/2dtVN92cdwsnND6hGPjc9VZErs1lMK hOS8ZSt6TSv2lntJm5iSh845ZH1998OBGXh5dsuV4CNJ9LL0glqZxsvDowuy+C38MGd2AaVvyqn auH3tslDAgHeyNuWT/QPd3Xn7I/LVEb2vRXvB8sD2uDX7+Q2jb/C9h3f31JkWwmidQNxkDDq2bG HiyERNHYwErimRUcOz1dMSQWm+Kq6Xv5b3/co= X-Received: by 2002:a05:622a:20d:b0:50b:4eb9:a97c with SMTP id d75a77b69052e-50b4eb9ade8mr133914011cf.15.1774306614030; Mon, 23 Mar 2026 15:56:54 -0700 (PDT) X-Received: by 2002:a05:622a:20d:b0:50b:4eb9:a97c with SMTP id d75a77b69052e-50b4eb9ade8mr133913741cf.15.1774306613584; Mon, 23 Mar 2026 15:56:53 -0700 (PDT) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a2963fa304sm156489e87.27.2026.03.23.15.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 15:56:51 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 24 Mar 2026 00:56:36 +0200 Subject: [PATCH v7 3/4] 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: <20260324-fd-hdmi-phy-v7-3-b41dde8d83b8@oss.qualcomm.com> References: <20260324-fd-hdmi-phy-v7-0-b41dde8d83b8@oss.qualcomm.com> In-Reply-To: <20260324-fd-hdmi-phy-v7-0-b41dde8d83b8@oss.qualcomm.com> To: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter , Vinod Koul , Neil Armstrong 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.15.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2885; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=A0KQeSlhmmB1eMUUohCWtmSPla+2ZySmmRe5s7HDmyc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpwcUmGLIzcnXBqY37D0iMQAO5l7qaw0cK45eJc 860JogvHIeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCacHFJgAKCRCLPIo+Aiko 1VbnB/4laU/pBpznNLavxzW1loPsnZHQsmSaicyVWUApoMv9SBYQnLRsgj89AuuxLwqxkf3dgnx Lxa1m6BoU32InHZ9A7rbvXDfgXv07vuVmqo8/pGh7GI2CUbxxVUF8Y/MjFkPYscIRI5kewNj+cE HGmS4RLGVBLQiE2Eu/gJH6BWJoCHfM8sG6ZcoBR/YvbhsGudI+gNFZ846Ui7ixbE81iAKbLad4V bkNw9sO1o0L6QvtismtTrxirwUTcLJH5ZDqcWq1M/S0fCLFLMm0iZvW55uSQm+GV9KLpA76LMN4 s1kbyu7R0pfMeWzzVHws2EDbuGw1RTIXf42SMWmyWe57zDFs X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-GUID: Th7INyuiA2wYG1y_eGuhhOHLSJ_nD76H X-Proofpoint-ORIG-GUID: Th7INyuiA2wYG1y_eGuhhOHLSJ_nD76H X-Authority-Analysis: v=2.4 cv=JcaxbEKV c=1 sm=1 tr=0 ts=69c1c537 cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=NWzoLV28igjY6Ppe7YgA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzIzMDE2OSBTYWx0ZWRfX8oUB9lqsF09y fXNlc2XPamyZKlonYZOSTEHkqGE1xYsHa3qk1e+Td94dgpfZNK0xyanu1Uuda2ttBWoqJe1L8Kc ryDzpiXL9GxRxhafXiyZZUtElKmOwtpQEmMxblZzIqwICCbk/Yrgue4tiQGs/tgTbqEgAmKD1fL NwVY+jxtJ35xCJwvCgpJmrjlHD1Y9tq8/TCHobTy66n0ul6tId0g838odmiy7tOzmsfm5ca4Gj+ 4XKdMcuCrv2zHcXNIorvQFg2MwTmA8i0/38pAw4msPcX4ZxIFEAjPRy2xuxB0LJj/d6CBSk0jJk Cz3neVqTJ15iapnL9dtUNqujwoB0o2zMnwUTB/gt6jEPYqv6E31NlMeFy9gQYhSuJfHsV67JQJd TVSVFsAFsaCHdwR/T8gZzRgPeh7q5RpQL+5t2sUoZnrchcm+0151q42SOaO2im5QZM+YbhtMEGo GEHo3NZ0ugfHiuSw0rQ== 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-23_06,2026-03-23_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 phishscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603230169 From: Dmitry Baryshkov Import register definitions from 28nm DSI and HDMI PHYs, adding more UNI PHY registers. Signed-off-by: Dmitry Baryshkov Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-uniphy.h | 42 ++++++++++++++++++++++++++++++= ++++ 1 file changed, 42 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-uniphy.h b/drivers/phy/qualcomm/= phy-qcom-uniphy.h index e5b79a4dc270..ba9d14aae682 100644 --- a/drivers/phy/qualcomm/phy-qcom-uniphy.h +++ b/drivers/phy/qualcomm/phy-qcom-uniphy.h @@ -8,10 +8,30 @@ =20 /* PHY registers */ #define UNIPHY_PLL_REFCLK_CFG 0x000 +#define UNIPHY_PLL_REFCLK_DBLR BIT(0) +#define UNIPHY_PLL_REFCLK_DIV GENMASK(3, 2) + +#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_BYP BIT(6) +#define UNIPHY_PLL_SDM_BYP_DIV GENMASK(5, 0) + #define UNIPHY_PLL_SDM_CFG1 0x03c +#define UNIPHY_PLL_SDM_DITHER_EN BIT(6) +#define UNIPHY_PLL_SDM_DC_OFFSET GENMASK(5, 0) + #define UNIPHY_PLL_SDM_CFG2 0x040 #define UNIPHY_PLL_SDM_CFG3 0x044 #define UNIPHY_PLL_SDM_CFG4 0x048 @@ -22,11 +42,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.47.3