From nobody Wed Dec 17 06:04:01 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 280EB329C48 for ; Mon, 15 Dec 2025 08:40:47 +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=1765788049; cv=none; b=T214QQBKvVKT3Whkjb+Dxlwo/MkYYOie3eBszzWzJd7pepaJ6e3GOaxCTAP8KvqLPjEXkIbQl4fnFUzDqW5DnoOMsXQpxXOK1W1Z4mMVQSpFsFXq4S2SQemMjJNomrWzpvyWovO1eEKw+S1LhV9hqKA4hvqdjkIox6m0Vpmsc88= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765788049; c=relaxed/simple; bh=eYqbCgFTx7pO2+x0Rgwk8N2aIIU8O+9nShTeQC9NPWs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VShuBdivS64/w+4D9+tkRY5L66XSW87+UsX5b3C4tUugXY/EmYqaOzdYVpsrKovJ4DG96uYcHwO2xzPz7y+TmPLJOAoeM7FXF1dAUNVkM8w3MtAwmbYG5mSoL2EkBbgXTQkIb9dtrMMIXMSshRjXWZwv8q7blk3gLJCqpK2QlEE= 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=cdLNK5jD; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=iVUV53sE; 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="cdLNK5jD"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="iVUV53sE" 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 5BENPlIj2884898 for ; Mon, 15 Dec 2025 08:40:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=AlSWjXvP89D 8APUnrnCOFRXps/W1frFHw3Bcs+wBdn0=; b=cdLNK5jDp8TBB7djLkAZ6HtFZoW WTej2mBmm7t8tW9Je6HRuT8zUzvjjl/E1dCsS+jz1SL8gSIVj+LBa2gF/tFSzOnn gnKYLsH7/g+1ybTm/TQyHPdboHESWBt3nz+LVX2rh+yJXq9lCscolQxx+Rus6neD 4GQ/HItzF9rWj+WdhnLzSHXZmyiIfe6vXtpoSmOUR3QQJIX1nPgIk7tmvPTE3SPq iBXBCRec+Cr7zO56HMJHb6pBYnHiVh3DYmaDCnDnJkPHS5APwMbzxjGEiarLw3ua QCWXir820zTOKa0IHrdXwJKQzq/T3QDgYULHlDUvFaRi6SKCxO3ZuUl68+Q== Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b119t3swq-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 15 Dec 2025 08:40:46 +0000 (GMT) Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4ed7591799eso73735891cf.0 for ; Mon, 15 Dec 2025 00:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765788046; x=1766392846; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AlSWjXvP89D8APUnrnCOFRXps/W1frFHw3Bcs+wBdn0=; b=iVUV53sEeI3gf18cay1Ao3WixaBEBu4r4sxQT0OwUFkmSD0Qne9aqEspQaqSCDvbz4 My+MOcZlEEv6ZRhJ1b7TX00AK4Hr1ConYFt6z9WAFv0tOfMDCuqwscebZmttDEBu907F R5G2zZAerTI6kh0T+u9ESN19F6cqnrb63Orh7UmcDYPlCEmYW54BGBE5BMNcB096tEsQ AlK1kGP7IBa45Fe1pGThEtsCR1RiDlq7fERcLb/m/PAVzX3qiOLZTWvo+mft6YHIWLFq qMrxwGugFHFYCitz3ix4PcgurcUK+RSprCjBsYsWznle0+i2EXqz/ibiveu0ZUEXb6+R xq+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765788046; x=1766392846; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=AlSWjXvP89D8APUnrnCOFRXps/W1frFHw3Bcs+wBdn0=; b=GJ66uuwcCTDI8h/ATqoIVWMxsSaIuxQAqdEYJ3Ld+bOAX+xoyKTJPXKaihF1fV9tlB sUsiYWK3xhOOt3M81O8zjdIsjdmOSg5n6KKVozGfPxrVnRJK6a/VswmbeUaEV0azFHP/ PvrlScYpeS7MHqGH/u3Q6Vz0wLyAh6eCoV82RTGTIUepPed86oLsjkYq/Ctmm9EKOSvo AhwvdVWIaerSGjj/825sfXJrwruWNFxcYgmAzHq5U6ZLaY2Jpw//+HTEMUzPh+bvBjxZ Sdw+EOHjKWHV8n9/fPsKrg+f/ap6/cZsAWioyjLvq4UcWM6azaB2XFlf6yIVg3UJFv/c zaoQ== X-Forwarded-Encrypted: i=1; AJvYcCVqEap9DiFD2em0aYISj3lICcTayc1tWU6MLnFXJDb5P8FWUB86k+XcdLniRzl/czZ4jrGSeylhCGHmttA=@vger.kernel.org X-Gm-Message-State: AOJu0YxtaIPbsLMeN05CJhZ+JVNfThD2WNwpeNvPPBa0nUCb+r6wCyot 7zaPG1HD+WHyi0tqdpBdl0HsYQQ0KTsWT5HjCx3OLforYPeKnoGmVpxj5qb4PPrAWJeAXstlnVN Rv+n2uyBdfzc7f7DYPb5eAwEnFkMXoSN+biFK3X/WSu/n0wKNm/J1U7G8rsqlV+WORgM= X-Gm-Gg: AY/fxX4MVW7/azIN/SfrclBCQi0Iyx30T0uj5K61XCSkaNVueS0ouY4F5IBooO0pTSW jsZPX3HjenOyIAvtUFY03iXFgaiBe8EJ4+VUTsluiGzxW5XpqYrV9HC248zuBrDNST5iVz56zfi wsmNF3gr8vrMDRnGZTc4RvT1vEcXWjYuQeLwriY+m//ETa0/gyvPl2uYrZdazY6EabRCgMBStRe 8bY26XzeUEBXZUanOw0KHRGRc25lYI85+OYDNbYOMn75ytL5XlL+N0KkHKxW5FesVaokXOnEE67 qfGecP7oPF3MMMlSi4U72Jh0PfZeSFHNuIBgGXZGVbkq3Sk/ejc1kXnOo6aOgmIBfgbOIxXD+iQ ivjDpbBruywyKMUMAvGwVoWh71XIC2QzAknsyoqIQdquF+sOIxnMFvsV5lhvnq2RyeZk= X-Received: by 2002:a05:622a:1791:b0:4e6:ebe3:9403 with SMTP id d75a77b69052e-4f1d059d261mr122345681cf.41.1765788045665; Mon, 15 Dec 2025 00:40:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkrFIAQoibBowZ+hZ+Nx8U5gIQEDXi5Q9OFXQj88z4ksCGjc3LaNGlfwA9GNy8uOY0+1Glhg== X-Received: by 2002:a05:622a:1791:b0:4e6:ebe3:9403 with SMTP id d75a77b69052e-4f1d059d261mr122345531cf.41.1765788045177; Mon, 15 Dec 2025 00:40:45 -0800 (PST) Received: from yuanjiey.qualcomm.com (Global_NAT1_IAD_FW.qualcomm.com. [129.46.232.65]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4f1bd6b50afsm90557971cf.21.2025.12.15.00.40.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 00:40:44 -0800 (PST) From: yuanjie yang To: robin.clark@oss.qualcomm.com, lumag@kernel.org, abhinav.kumar@linux.dev, jesszhan0024@gmail.com, sean@poorly.run, marijn.suijten@somainline.org, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, neil.armstrong@linaro.org, yongxing.mou@oss.qualcomm.com, konrad.dybcio@oss.qualcomm.com Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tingwei.zhang@oss.qualcomm.com, aiqun.yu@oss.qualcomm.com, Dmitry Baryshkov Subject: [PATCH v3 07/11] drm/msm/dsi: Add support for Kaanapali Date: Mon, 15 Dec 2025 16:38:50 +0800 Message-Id: <20251215083854.577-8-yuanjie.yang@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251215083854.577-1-yuanjie.yang@oss.qualcomm.com> References: <20251215083854.577-1-yuanjie.yang@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjE1MDA3MiBTYWx0ZWRfX21yKXs2oBHHn DHOGSNysCkdzAetGnTOpXry0YPkR2gBGzvOorAkHHucIq1bSLj0gZNE/18N39JimO2eAMaw1v0j 4iIxCSJaiFTSoiHS9AImd4mfktmYu7wt8pYqq8IM38tJiaqs11LLBx8tDE0RrPn1LAMJEZ0VBsi 2+g6NhGPUVI+bgdGr0YlYRsxfqo6ww9hHwR2BvAqDhTfnHmofbDdy2SWqFx9QVEJQtlA9EmpR6Y 8ilb3XTXT6OmLSs4h9uXArYjZCVHlV3MYIUW9R2phfOZDAIHqG5YWtkS+1irKyTDLcTovwFKZB+ h+sxFGxUEA7KI0lNg9GfENJNPGEfNtsFELhgxExKziHdePcdijH2E2CzwnDaHZQDL3H+AJrflwE nEFqva8SpNzmAJQP0nvEqoURNSB1nQ== X-Proofpoint-GUID: IwResjmKPuhd9cW8aDkmRc5HDlE2EyFz X-Authority-Analysis: v=2.4 cv=E6nAZKdl c=1 sm=1 tr=0 ts=693fc98e cx=c_pps a=WeENfcodrlLV9YRTxbY/uA==:117 a=C3Dk8TwHQYyIj7nOf9RCJw==:17 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=EGddA7oXPexY6v9tJfMA:9 a=kacYvNCVWA4VmyqE58fU:22 X-Proofpoint-ORIG-GUID: IwResjmKPuhd9cW8aDkmRc5HDlE2EyFz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-15_01,2025-12-15_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 adultscore=0 clxscore=1015 spamscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512150072 Content-Type: text/plain; charset="utf-8" From: Yuanjie Yang Add DSI Controller version 2.10.0 support for DSI on Qualcomm Kaanapali SoC. Co-developed-by: Yongxing Mou Signed-off-by: Yongxing Mou Reviewed-by: Dmitry Baryshkov Signed-off-by: Yuanjie Yang --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 13 +++++++++++++ drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + 2 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/ds= i_cfg.c index fed8e9b67011..bd3c51c350e7 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_cfg.c +++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.c @@ -205,6 +205,17 @@ static const struct msm_dsi_config sm8650_dsi_cfg =3D { }, }; =20 +static const struct msm_dsi_config kaanapali_dsi_cfg =3D { + .io_offset =3D DSI_6G_REG_SHIFT, + .regulator_data =3D sm8650_dsi_regulators, + .num_regulators =3D ARRAY_SIZE(sm8650_dsi_regulators), + .bus_clk_names =3D dsi_v2_4_clk_names, + .num_bus_clks =3D ARRAY_SIZE(dsi_v2_4_clk_names), + .io_start =3D { + { 0x9ac0000, 0x9ac3000 }, + }, +}; + static const struct regulator_bulk_data sc7280_dsi_regulators[] =3D { { .supply =3D "vdda", .init_load_uA =3D 8350 }, /* 1.2 V */ { .supply =3D "refgen" }, @@ -332,6 +343,8 @@ static const struct msm_dsi_cfg_handler dsi_cfg_handler= s[] =3D { &sm8650_dsi_cfg, &msm_dsi_6g_v2_host_ops}, {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_9_0, &sm8650_dsi_cfg, &msm_dsi_6g_v2_9_host_ops}, + {MSM_DSI_VER_MAJOR_6G, MSM_DSI_6G_VER_MINOR_V2_10_0, + &kaanapali_dsi_cfg, &msm_dsi_6g_v2_9_host_ops}, }; =20 const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor) diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.h b/drivers/gpu/drm/msm/dsi/ds= i_cfg.h index 38f303f2ed04..5dc812028bd5 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_cfg.h +++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.h @@ -32,6 +32,7 @@ #define MSM_DSI_6G_VER_MINOR_V2_7_0 0x20070000 #define MSM_DSI_6G_VER_MINOR_V2_8_0 0x20080000 #define MSM_DSI_6G_VER_MINOR_V2_9_0 0x20090000 +#define MSM_DSI_6G_VER_MINOR_V2_10_0 0x200a0000 =20 #define MSM_DSI_V2_VER_MINOR_8064 0x0 =20 --=20 2.34.1