From nobody Wed Apr 1 10:24:36 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 76DBC37F744 for ; Wed, 1 Apr 2026 03:39:08 +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=1775014749; cv=none; b=Q3mgp8AcZ/SYOkIcZ4pv0GOl3ZwGbUxBD2X0Twc6wrGi+mnFJMpAUIKzhMbWtYWXfU2Rlu8EyZGZ5d1/ff8AABsFwu4g1YLfWp6AJgXmGCAdD42TVGORVi10z6gcTmrAd/yQO8As3pl1CW1u5KtSAmOQkoe45aJWLNJXdTWq2mo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775014749; c=relaxed/simple; bh=RRdFiNjgnPzCRkH1+W1J54NjjzrWTLFzh8czz6UBnnY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W+e9nIXaU7daG7Kc1DdA1uvsYYrsZKWYnNn57yftb9HjdBRLcXmYqmtLxJEcExCD0D2Y9h+z+WRRe9VRZeCW6tztruDWxyZUOydfUHZo0UGgPIUmtWbnunfHDWC2KF67m1TOtyDU0ze+I4A8z4eJx3wfFxk4GMdK8yOvnd1oSCk= 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=kWyMSHBX; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=RMX2eX1f; 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="kWyMSHBX"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="RMX2eX1f" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6313VTxP1459610 for ; Wed, 1 Apr 2026 03:39:08 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=kWyMSHBXruavV91s r4KBfh3/2zQYc3tYcuA/aXXFlELxdSDQdKEPyzYpA2uWm9pg3DDpjNRnMLMZmUps Y3jv0h3proTQYSFpRQ8measxcesyFKqTqMXIE19XTGeD19mk/xfYL3wPp3aPlOXL UzQrC3ZCmZuLJAXWfVimoGLjAwTbKNV9lzzsWhaBPNHxSWy10Dp2aiQSAbhSAcY+ xckn5WR+lVZkoJTFgwTsWHJBKI9i4ooMkAMuqzdBEAc1Wl+HZ/P0xk1w6KSzQBL8 pG+tk6Xepa5aBRGvQwoDi5psr8nX/Rf2BOgU7LbPcxpOVZkuvtvszct8axI5JqZZ EA+BaQ== 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 4d8uhg00uc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 01 Apr 2026 03:39:07 +0000 (GMT) Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-50b2cbe7223so209544361cf.2 for ; Tue, 31 Mar 2026 20:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1775014747; x=1775619547; 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=RMX2eX1fVh4FzaM6VLdi63heIt0lwnK3w46CgLgppgHOjFuie0y0QWutRQpFCn5LRp BDuUlmUaNvmunncNPw1wjORp2shTEvMd97IWJdvqh8Ni5DOkk1ZX08ZRSf3PeQJ5Q6Kz 2T4jORYRsW+mIkJaDCM3B10SAecDWH2qtlkyPUjvNv5Hk9gdLbG8o0ccnfE9ELdw2Vdj SrpaRXVenQokWtkU77hpHD/ZWR4mKfVNbyl0Vg0FojGcwsqOtcGlmtwfSN4bspXuRfxS GQSL/ZzJ+dBeII98qNxK3OKNXABlP7laGxMH+Qd8SrHuaPPVb7nIYObOs2RIgZuOnFTd 6xfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775014747; x=1775619547; 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=azQIMbYWtZL2CLW6WlKt0Rmue+MHGk5rlRR6ueSEyhVG60ugZrM/cRhsDsHUX20vmN hL6k1x3B2E/fGLT3Gf2NDcYdoJs2FAjt9KIo503DyEBr9mMQcJJgcdg+69+RsY6UCjxo 8pSGhTlt41tPndoXwDSEBpmvjZ3I+mCAnxaOawUZ8AkWtYkJyxy0Q95aOZTBi/glmK2v wK26yj/QGbRqghP4LQapjU/RR4vSyk3JQG3BPgulYE3rIslqDTXvjfxzbRPExX7hsxzL lR+5o1KA/kqCa6SfucH/XC/MM3BpYPr9ee8OBakRdTLYSEapdLaLR8Ugl+9p6VZVqY8v dSyg== X-Gm-Message-State: AOJu0YyxLhS1UCpDgCjuzVgbVpBVZsLnV/XzCrANoa5yGrfbIVNLYiiL LJpjMzEZ5Y3A4gxLv1QBAuhbtUCVIwsQLlSnSZQ7iG0+I72eKuxktj/LmdDc1n0UyJC5RFSsc6H vI3Ldo9Q4ExLNfVqbYqs+sHBu3i+oxp3vE39x+mLlOF0VdGQ2WLk69do+hvaomTqGhoY= X-Gm-Gg: ATEYQzwOL+hDWGACuvb2j5GuJbamtHB11dhI2vYW8ZkYo7Ty5HZYNedVOcoAzI+JtiB ky/m8xeYbHd6ARloVV+7X5LLPqtaZBgj3RA5mccZVCX8ZWd0UbE/u+5aqbaJY2DvWO54fDd1THX GoyY0ALaAAbk0i7xDpbaE0TPFBwODVdkhHtM5YJCfaMdGcTDAz+E/6i2epOJsxdzMY92VPVxYMT +Z+yxtCTbiQYPHBbTAIcAtDAJ9vOPVJE8ET5zBFG16IVlSTS/lJb4B71LUQHV2Vaw6Xkog9ko2w 6FpphnSqqoP12hwc36hCSNjaohkbYf1w99URDRO9Z3Jq6Nj5fgpKl5TQB5XLvbAafbpXUofGwE/ TGWm4q3rjgL6TnRNojsJv1od5rjUYwrKzQiJmmwiWr7+Sj3wbH5JRBXuyprUxLesemN5LFU81x/ IVW/UEbPDNVbB7+t/O7OlcfWtf5M3z6kxsniI= X-Received: by 2002:a05:622a:a13:b0:50b:3b54:d78c with SMTP id d75a77b69052e-50d3bd78c0amr32199621cf.52.1775014746739; Tue, 31 Mar 2026 20:39:06 -0700 (PDT) X-Received: by 2002:a05:622a:a13:b0:50b:3b54:d78c with SMTP id d75a77b69052e-50d3bd78c0amr32199311cf.52.1775014746284; Tue, 31 Mar 2026 20:39:06 -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 38308e7fff4ca-38c83730f7csm24404851fa.16.2026.03.31.20.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2026 20:39:05 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 Apr 2026 06:38:48 +0300 Subject: [PATCH v8 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: <20260401-fd-hdmi-phy-v8-3-51b0e98edf6c@oss.qualcomm.com> References: <20260401-fd-hdmi-phy-v8-0-51b0e98edf6c@oss.qualcomm.com> In-Reply-To: <20260401-fd-hdmi-phy-v8-0-51b0e98edf6c@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.1 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/pANAwAKAYs8ij4CKSjVAcsmYgBpzJNL5iRXqp1OJirSlIM8YMCd0J2GckN/Wf64w 2wMeVZ3OgOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCacyTSwAKCRCLPIo+Aiko 1fJ7CACbeqEUhDFAb4uFedgJ/xy0En4l0uW2mMQAwEyXkpazQdH3Kwe1d4IjF66qerc3o+mv1vy JyMuGdrTEljp3Jz+MF9L6MWLIDlf/xO1BYyUl0k/g3v//fAXD/pJ8rUr+o3LfY1Sqx0w9bC85Ea FR/z+rMWgZNfZWHM+x0z6YUkilODx25BcC8PQc/B38yfXpAjQNJcmz1NoMxlO5xE/aYw7xKHfWT uKlCPpb9jBL3k3AysVZCmoSwBUXlEfkzQwv6x0gjd4cavJX+KrtaRVB4J7PgsQGyr/yIjTZutH6 qKD4wp5b/gg7PK3uMZZVD7Ige9qteLlOvz+HjGUVbO06fSnq X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDAxMDAyNiBTYWx0ZWRfX5bG9qiQJdaIy YxLQ+WpWMm4qnaL5UTuMRM6cqSpAsQV8PSaZi7JKbZgOGKjnKI+MhRsZzlI0munavsOoIG09fhK yerakSUTMpqbGVvfHAfhA12tQ3NMTtXC2/pU5CyIGntJoS3y+DimPZn5q4NTJEmcIL/iiQs9s6J 8hGpXU3t9KjoJaEnkFzVMjTm8uVqgbwViVDxQAb9B9FN+nWYjZ8whEBYRH9tVMPBRpi+/++nmrK 4DcWNek3UpY7+5PB4zviyjdqcn4IYMjTOv7ERUXW0O/8s/HIwkrbR51jLpB5tdA+JItmTBPw6Mi YJq6hLdPzU7GvUvKsiYjuw3+LC+m7mLiC821ohJlU+2iPsXRv62IMEibFHNQplJYBJWunL8c0Bv FnlpSrJgVIXCNLsOhnvf5U1r/E4DHPZlsVIE5cjMEXbLSjUAyztGU5zlXEuU4Sy2spkpUaapk4v mvGbFNmIZx44ryR2cMQ== X-Authority-Analysis: v=2.4 cv=YcawJgRf c=1 sm=1 tr=0 ts=69cc935b cx=c_pps a=JbAStetqSzwMeJznSMzCyw==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=NWzoLV28igjY6Ppe7YgA:9 a=QEXdDO2ut3YA:10 a=uxP6HrT_eTzRwkO_Te1X:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-GUID: 2V_KucFWAzHIogqoli9aMzZXYyFLK14t X-Proofpoint-ORIG-GUID: 2V_KucFWAzHIogqoli9aMzZXYyFLK14t 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-04-01_01,2026-03-31_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 suspectscore=0 malwarescore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2604010026 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