From nobody Sun Jun 14 02:25:58 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 43693421A12 for ; Wed, 10 Jun 2026 21:15:15 +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=1781126116; cv=none; b=fNiyZ9loAPQF7L/HBtwVnaZp1ANs3Zj6QbdenTv3BcEIUwBhZsR7Gbrx031CCdRKHIik2xNtVkyyrGCPHErfhYRiHRAMl8Ih9qVTuNneEAtpKyJCFVadzza84zR6ii+IN8nQlaW0Bj8VGYM4foVNYS0HmBEdP4dYTiNl202Gc4k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781126116; c=relaxed/simple; bh=+3kjodppXc1X4IP7oeoSIR4jJZKI/v7VmoJ0d/Vymzw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uK+aLVlKG8OuPLJPO9GNwYsbB63llNyLJ93g4vHbAyVPj4v7BoQ/qnd1y2MFk4ctL7aq9lf/Yy3Zn1/lbreTmntqSvukXW+KeEa38DUd7elFjUbWql+7HZhwydUQJRL6mGHso8H6yei900Jbvl9ewR+rq4mbfoq7VkdPpB//AQM= 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=IBsiYPpk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DwUEXCdl; 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="IBsiYPpk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DwUEXCdl" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65AJZVDv1003514 for ; Wed, 10 Jun 2026 21:15:14 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= glU2Zdl+5BB7aU0+/FquWdehxVMdTHFFprBfn6zocTo=; b=IBsiYPpkEZwZ+rOY Do1J8o9pnk2OlrCyjHJSYl+R53TXzWXNWLRtpH0/Tld0+WFiEkIE6HJ95ieikDTy lZcqU8OJcNaWPqjqS49rwu735T4aqU3ESCghHLFwD5b3OFluX0X2SaSI8cIZi2Hd 9FCipzGfE6lg/KsbFXrPimy/pLsXmsVAMCGZ4iOaqCMzmKZVuv+eipE0vQQPtzGu jIvHqNZfTwL+xeofHuarj2HBr2WX/aWra3/yzPkfZmw8hICibWpV20r/HKwwaKn6 ngEHd13dutET/uzy2UzlRLKtaC2PRj8nJGD0XThh6QTYuVlCpI1COQPVvn4A8KNM AlmFdQ== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe79gbep-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 21:15:14 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3772b6b31b4so210653a91.3 for ; Wed, 10 Jun 2026 14:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781126114; x=1781730914; 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=glU2Zdl+5BB7aU0+/FquWdehxVMdTHFFprBfn6zocTo=; b=DwUEXCdlFoh9GAbc5NNMFGDA6g6AGcQrxVDHLDks/1AkWGRq8x+VoSjSqo8SPk36x8 NeRIghBdPF7xDoO0bY3ZWJYvFAottSjKS4FkM4/MjbHsPsSn8JxicuP89bIvtYp+A1XU K7J6H5NVjlGOT2HOEsLusOqZh7FI/hKH1fXCRtpKVK09ysUEwAwGGgGmyMZaoaEDX2EN NYWz6jrKhmEgrAnQ4Efx03CVbW+fSnRbo5EZp2QB5rb8mGEV/aqupGPbMpPliKuYavfB DHYZ+z4YlIbME8zaqclABlsyRX6cNNJeSCK6Mvx2hEUUXuPVtJy/039z4gfhPLTcXgyF Komw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781126114; x=1781730914; 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=glU2Zdl+5BB7aU0+/FquWdehxVMdTHFFprBfn6zocTo=; b=b0rXqxtpMGE9IZO8eX6P66jYGtFie7OmJxYrGY/V2wgYllZ5rt0pmnUxDBWT+sh8zt yx/anDUn3322La6DvjoL47e5SeRkUprknHoN4Hh6cCJxSM1SC4pQyhhj3EvaGk48R4Xx BnsQoCHTrGXNBpRu8EFd12/g6OO2aEmgDzGq1jFCQbp1aNSozJt5ABUcbx7BtYcpfgBt v4WltHYBSbciC8oA0yS0dWkLFL9E6y7pz2lNE0TQ4mclRPumYo+/KJjOPbg7DIqheR/D awRh0rp9kCvsDZhUvj6YQWJ4OY8sfPeltTw4OAT1XLwxLMWMPgNPIIvETbin44w6rzJu 34XQ== X-Forwarded-Encrypted: i=1; AFNElJ959tT3PoA8HH7PSVtylmA4StnN7uBFwHk03k5nwh8H0VV4KTkHfsHnfMgJaOTrDmfyG0cDYzRcP4JFl6E=@vger.kernel.org X-Gm-Message-State: AOJu0Yyse+q/Rh9cx/2ALUGQVIn1qQRDAYSo2zzmestMAxvRek77ClAA +kycPhOtjdq4ICEs53FmAAC2sX53BP7xiXZoCs7pIffVeMh4mV+d/X/un9+Ah2Rp//sC+x7LMvN 06fNG/1QiQ7186wfMVpEhcSWfZ8YtWWlzr8vz2j5qg3jF8MX+9TSRALbb2JhMOoEZXw0= X-Gm-Gg: Acq92OE8NffLmry4sLQ4wYhZFqX+qesa+p1obSFO/OIJq9j6j8TfANqfOA7iCqJmGfG Nbsj3aNVqpdJbIJ3jHFJ73NONDO91F58iLKR0FUwT4tsxBAoq1RVkBt1ZqJAulAkipm6n8n+cXL PlDsIDrpcnRRI/mck7mp9f7JkmnFMTM3xuKG8hLSuPxp6kPZvhnmbag8c//rPOguS/aODV2p7Hr GVKLBXKWiXKgSbAx9d+JxySbpC8+mk5LI3MZ0DpP2Nyp3EroZg+qjWkn/hEHa45Dq5x7IVyA3rU c7se0hcLrNRKaW24M5NcDORe5cTueZ75doNziNOSM0jTkNVliLkGVt0cUDmLxQDLPg4KZUA3BD/ Z4JTLSpfFLpkJGdHSf4frvhRYz1CtHtIkkpDLrc95KKDtMjJfXBm6CZW73A== X-Received: by 2002:a17:90b:2e08:b0:36d:a510:f908 with SMTP id 98e67ed59e1d1-3751f35bddbmr10020888a91.5.1781126113598; Wed, 10 Jun 2026 14:15:13 -0700 (PDT) X-Received: by 2002:a17:90b:2e08:b0:36d:a510:f908 with SMTP id 98e67ed59e1d1-3751f35bddbmr10020848a91.5.1781126113068; Wed, 10 Jun 2026 14:15:13 -0700 (PDT) Received: from hu-mdsor-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-37753d01cc6sm309490a91.11.2026.06.10.14.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 14:15:12 -0700 (PDT) From: Mohit Dsor Date: Thu, 11 Jun 2026 02:44:56 +0530 Subject: [PATCH 1/4] dt-bindings: brige: lt9611c: add port-select property for LT9611C 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: <20260611-lt9611-b4-send-v1-1-42abbcd3bb1e@oss.qualcomm.com> References: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> In-Reply-To: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mohit Dsor , boss@oss.qualcomm.com, qc-display-maintainer@oss.qualcomm.com X-Mailer: b4 0.15.2 X-Proofpoint-ORIG-GUID: GXrELsp0BLL6fDkSIVEc7wBXLokoeiPs X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfX0FWP7WTYxpXy 0xJDpYt6KyapYCCJNFWa3CcXCaULhVKlay1TYClfZ5J2aCZ+N/KHj5KYkGVa7e26KFUmm47fH3y 8+9Yp4YlBbRkAONvT7eFm3wqP8YTM+rBd2puE9IvelFtm/WsMBguYQ3AVCNLFmGA4DiQxU2SXvQ AzPGLVra+9fz9u71YP/Uzd2MIVe3V7M7vyyqHdbRUvQxZ4/H7imWgPRVMEk5XNPmzz/ALy7E1po dyun7EPa7gER4Y00rzWkN+WxuCi3WkqIFTSZ0bPxd+rpTzjB8XDixfzf0QOp5F4egsuJNUd7pV0 OLvFuJz3weQkPOSDNCh1RF9h2lTy/FDI7iKG6gmo2ioQ3q4oZyYiM0hIznQtH9RAi7MuvR7UlCl R+jNPdxpPfRr9/ZEQJt2qU/ZJ/8G+G5KlTKtBTb1Dr2+gaP0MJy56uQF7v2XEyfg40pnxybjUf2 edgvGWPk78JE9yI1qTA== X-Proofpoint-GUID: GXrELsp0BLL6fDkSIVEc7wBXLokoeiPs X-Authority-Analysis: v=2.4 cv=fbydDUQF c=1 sm=1 tr=0 ts=6a29d3e2 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=SIeAQ9iB8I19DNjXgjYA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfXwcqbM7DccUi+ 6kqZnSPrDtDJa1ctnQ0F98M0e1bMzrLONBVTPR/dRIFcxhyCgUBHdew4m8vtqRCjnBaLDIepRVp yZwtD7YITzaCq2bmFAXbsHBCGx5MLNc= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_04,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 suspectscore=0 spamscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606100204 Add a new optional `lontium,port-select` property to describe the DSI input port configuration for the LT9611C variant, which supports single-port (A or B) and dual-port (A+B) operation. This property allows explicitly selecting the active DSI input port(s): 0 =3D port A (default) 1 =3D port B 2 =3D ports A and B (dual-port) Signed-off-by: Mohit Dsor --- .../devicetree/bindings/display/bridge/lontium,lt9611.yaml | 13 +++++++++= ++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/lontium,lt961= 1.yaml b/Documentation/devicetree/bindings/display/bridge/lontium,lt9611.ya= ml index e0821a63d9d7..77220f893bf8 100644 --- a/Documentation/devicetree/bindings/display/bridge/lontium,lt9611.yaml +++ b/Documentation/devicetree/bindings/display/bridge/lontium,lt9611.yaml @@ -41,6 +41,17 @@ properties: vcc-supply: description: Regulator for 3.3V IO power. =20 + lontium,port-select: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1, 2] + default: 0 + description: | + Selects which DSI input port(s) the bridge uses. Only relevant for + the lontium,lt9611c compatible. + 0 =3D PORT_SELECT_A - single DSI port A (default) + 1 =3D PORT_SELECT_B - single DSI port B + 2 =3D PORT_SELECT_AB - dual DSI ports A and B + ports: $ref: /schemas/graph.yaml#/properties/ports =20 @@ -104,6 +115,8 @@ examples: vdd-supply =3D <<9611_1v8>; vcc-supply =3D <<9611_3v3>; =20 + lontium,port-select =3D <1>; + ports { #address-cells =3D <1>; #size-cells =3D <0>; --=20 2.34.1 From nobody Sun Jun 14 02:25:58 2026 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 2D03829BD95 for ; Wed, 10 Jun 2026 21:15:26 +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=1781126128; cv=none; b=Tc9FliaG0A0fkNr6yCWqA4bc094GA0YbROqqQGpQV7IZoOmRHhLnOdHnyMldOz8doQFNEnYq+bBJFGi4uhDOZIsgaDc2JU75WhqchjP4ZEgI/VGb/caEQK7PfuziCk4dsnjRfiA2EZ5DflsLL1zYUEmZ4DpgRBMn70JodU30M0k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781126128; c=relaxed/simple; bh=rPLKs8fd2WeLpmZetPhd0Bu2ZR8mcdS7VvN0GDYA8Dc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T+IfL4plDBh/XTim2CaKuVU10AjCHU5zIUcPUlDbHPIikU5YZQ45KXADy2tLQnQR2+oQtuNZBTjwlBstHu08ff2jtKa2lBW/SRhWg9zcD5s8S9n2y871nIu4NrISPOUeg+A6PTC2QplDASYzUGW3BgXhSlELiLnueFV74xh/0S4= 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=g8smhcYR; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Eua4GrLI; 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="g8smhcYR"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Eua4GrLI" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65AJYUNC2471531 for ; Wed, 10 Jun 2026 21:15:26 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= xaHWtK7eO2a/H2LXqc+Cs2jlO+QiA3eArtK5Kd7RsE4=; b=g8smhcYRoEvl6jJy bTNTujRYDljlYroPNYy7uYfwKbYO/GCi7OdOzpBAu9mnIfF/OcidtbosaZS5P+hX /IDC31esepve7rfjrmMkw/DAfLr1gamkEGQb8XYJQEuo8jUje8MnubKNYduTCh5l vWx68Fv3HGqa00XJAiIXAFVC4fNMIaw8dbfF9CohPxla6XrYMAPlg5am1kp/tP50 1c0N5tpGHpo3wbas7u88rW/a2sEZEMYWhmi3L3SUY36zoEt5/jVtzetZCCkuzC9s qoh4hgtl4ckJ46Vbz8rndthtwki00JaPaj5rBM8Cv9Exv02PpshA3PVy2F7IITv2 muNQ1g== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe6u8c5q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 21:15:25 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-c85a366b61fso4120799a12.3 for ; Wed, 10 Jun 2026 14:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781126125; x=1781730925; 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=xaHWtK7eO2a/H2LXqc+Cs2jlO+QiA3eArtK5Kd7RsE4=; b=Eua4GrLIQFfx78woktECl5ezekG597V3ZmkudXPq4L9itTzBb7dw1+FYdaepDHwf65 eXqx7tokUs8ImP/Nxaftdi3frt4naBLpvCArgmZBkCH5BmYRcv5LeTjIeg2Gl1gau0O8 sU7bs7mhQy4Mlc+iFqCtCUds9s+qx5E9/dLeNfXMYmAVE/gjHfrWfkepNmoAOOvbAz+v ccmc/kbSrx1YTHbUyAw70yypfha4HSpHK8gFSHQoXBrWH0JUzrzaBmU6nKEuLmFl/YqD mhzGiYnAp29mWhgYnn5AcmXissnm593OnXDHzT10wDfkIv4xuWwtLUQXY/mfkARVMJgx wQqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781126125; x=1781730925; 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=xaHWtK7eO2a/H2LXqc+Cs2jlO+QiA3eArtK5Kd7RsE4=; b=LaQJGhfCyCq3m5cI6kPiv3rTxGJq9xu6E5Ox6bs/Kn4EE4ON6sC3WjL6clpYK8fofe eT8sgISHM6tW4l8mnI18YHdQtNQ40z8HskzFmIBpz2B9Touc/82/p1jgcMVaKl28aum5 YXeKZ8g918ip3kWHpYDNYQNty2XAiczJZIW+sRCZUFGIavW6+Abd80/OKfz9I47+p7bs +4CQm9Di3F0kzlBLffFKI69JBoUQQOX3ao4P2bTTwdbNsI3pOzXw6DaTquZtU3tIfRtx pF6uVEyMIOtGkVSkSsEjS1rXVtSCQzqsdT5OYtSwgLWUkiZN8T5R/nAQmC9N5fld9tqD yRKA== X-Forwarded-Encrypted: i=1; AFNElJ9VsT4J8bNHxSCCHGOgzIYYsGXvPZbNjK1mXIbSQ3u24C2GreCKaW1FRM0JsoTEnthy0q824cRSsnuekjo=@vger.kernel.org X-Gm-Message-State: AOJu0YywL+ZoQXGfjg+s46itMC2Nildn70DPnIlaVI4rR7h0cTKvNrDI MRwRUN6ysvf/EO8H4ERq6dzfzUHqh8qM9OYxUV79ZJla0nFLUwQ6Lz7T04sq7E8IheQ628xkqjt o8HoUCOWU0PGLrfumK+Spi1+teh762Wu/opt0fHeiml5S9daQKJgtr6Zh4mqlI1ZaxIw= X-Gm-Gg: Acq92OHI0bigBVu0WYLVD+0oC7UQ/n+DQe/e0tfblZnxq0Dz2nl3OKNIp36naCQ9vNc VZw2L7TwgiIu5+Jk+wA/rcbqdr128LScoVZ+h3SZo0ByQQVPzV8fUnwjRqMtSqFawSlAmG0S1Fp ZaEWpSYm3ParPrB5V1lQqXmHCLGPQo1wccb3qha11Mu+o46qCfzE5aHgWAP6kAjFc8+3/9AieLJ vOumlXJM+PXW8FXgBmfdgvXv6G8Pt5yosUckWcs1HwuxO+ggmb9a41MqVWHXa42kR8EP7tT2VcP eoL/QvPp3YnDGu+fYY4A6fo/8dlU1iwlFCymF4xBOxNmCtPGzhaFNjWmnn9k0ivhc412r5vXJdp bjv9+eYF9Swh8JPVqSgr5SzViz08Rsf0QdjbOpEuVYTs/3tgp0xPj7y14LQ== X-Received: by 2002:a17:90b:390e:b0:368:a297:bd3d with SMTP id 98e67ed59e1d1-370ee82f93cmr27505782a91.3.1781126124721; Wed, 10 Jun 2026 14:15:24 -0700 (PDT) X-Received: by 2002:a17:90b:390e:b0:368:a297:bd3d with SMTP id 98e67ed59e1d1-370ee82f93cmr27505437a91.3.1781126119471; Wed, 10 Jun 2026 14:15:19 -0700 (PDT) Received: from hu-mdsor-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-37753d01cc6sm309490a91.11.2026.06.10.14.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 14:15:19 -0700 (PDT) From: Mohit Dsor Date: Thu, 11 Jun 2026 02:44:57 +0530 Subject: [PATCH 2/4] drm/bridge: lontium-lt9611c: Increase MCU poll timeout to 200ms 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: <20260611-lt9611-b4-send-v1-2-42abbcd3bb1e@oss.qualcomm.com> References: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> In-Reply-To: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mohit Dsor , boss@oss.qualcomm.com, qc-display-maintainer@oss.qualcomm.com X-Mailer: b4 0.15.2 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfX7X32msduj849 G8noiRj12Fne8Ju+19ttyHTTTctMs+SejyX7sdYbvuI88okHqaZ7pMHXNSbB2LdKsFT8IZbFYUr dWxnzNMWPmQa28N8qvf6cF0h+6qJlts= X-Authority-Analysis: v=2.4 cv=atOCzyZV c=1 sm=1 tr=0 ts=6a29d3ed cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=EUspDBNiAAAA:8 a=kk0fxjKgInd3OyqQQRkA:9 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfXzKfprEfCDUqN /zGMcytaP/njiZK+T/s9bJwSDWNH75I/0XGUR/fm+yrlm+bHUx7qAs6e+wffiVNGlGXFnXe+0So iEQH9zPAUGQ3V6P+UZsFsROIchS2Vzm7cD/F2MQEY2zK7BtS2lG3bchEJOzEa1c9LLpcP3Uwpq7 bD8M7qpJT6HHpdexKeCCDswfbU8+Zsm98hq3RbBZVp9L6o7EcR99CSwSAAXGTJc5cHjmFk70UNX vuIUN5QZ5PZPM4jBG2nTMp3+3Apb0El3AR4WRW++OjyYcWzZw2RW+G13zxsX1MKTS3hosu2/yon 2OAMoK0aA0Ly2O6+cFIkWMmasC1wkdXthhUDMsxRYEIQUx0RjIz+noRn24sz3jTuWW9daocImOw aOu3RhxsqY/OyvrmqB8A3C8dW/BIfHtPBTBnqp/wLp/nkwjDp7UaMWp9Rqy8V6RQSkXmE2ktB8W 8ePyeoMZl2/l0EGgpHA== X-Proofpoint-GUID: NPzbog3bqPKcHkkeqFt4wKLDGhEFTuKq X-Proofpoint-ORIG-GUID: NPzbog3bqPKcHkkeqFt4wKLDGhEFTuKq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_04,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 bulkscore=0 clxscore=1015 spamscore=0 malwarescore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606100204 The on-chip MCU may take longer than 100ms to respond on some hardware variants or slower I2C buses, causing spurious -ETIMEDOUT errors during normal operation. Double the poll timeout from 100ms to 200ms to improve reliability without changing the poll interval. Signed-off-by: Mohit Dsor --- drivers/gpu/drm/bridge/lontium-lt9611c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611c.c b/drivers/gpu/drm/bri= dge/lontium-lt9611c.c index cb584855fd8f..b0402726367e 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611c.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611c.c @@ -97,7 +97,7 @@ static int lt9611c_read_write_flow(struct lt9611c *lt9611= c, u8 *params, regmap_write(lt9611c->regmap, 0xe0de, 0x01); =20 ret =3D regmap_read_poll_timeout(lt9611c->regmap, 0xe0ae, temp, - temp =3D=3D 0x01, 1000, 100 * 1000); + temp =3D=3D 0x01, 1000, 200 * 1000); if (ret) return -ETIMEDOUT; =20 @@ -107,7 +107,7 @@ static int lt9611c_read_write_flow(struct lt9611c *lt96= 11c, u8 *params, regmap_write(lt9611c->regmap, 0xe0de, 0x02); =20 ret =3D regmap_read_poll_timeout(lt9611c->regmap, 0xe0ae, temp, - temp =3D=3D 0x02, 1000, 100 * 1000); + temp =3D=3D 0x02, 1000, 200 * 1000); if (ret) return -ETIMEDOUT; =20 --=20 2.34.1 From nobody Sun Jun 14 02:25:58 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 84D3A3D8918 for ; Wed, 10 Jun 2026 21:15:28 +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=1781126129; cv=none; b=c9H/EYj+OE1TXbOs6EeqjuC4uAKf7UCR9K34+dmxBxgef73A57yNdEHdoMD7XTUZgJ2JGToQX5Vs2PrzE1IzNOViYFnITCRkmb+iLPhSulNQeoCvREUBUSKh0zDqMevFcGGFh6B106yVeTTY1JOx0JvgulgZs8U7ezBuWNFJiQw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781126129; c=relaxed/simple; bh=jlB10Y7sudGp3PpWQriXrpxKxIF6l4euPfqwrk5OUS4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nsbwADYNjPCm5dHasr0YCt56QG7NE6gng00e/YLaz/NCLfVFM8XIf6u7gajngRrJwXHhlzf7wxyuSarheLXuDtY4U8YhTavazUAPsae8rPNyocd7gWfpHl81euyOKt4wwfapkZccrbr7YxQRoQv6sBI9mJXEG8In753CmUsZtgA= 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=DU9wx6Pr; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=LAJGgs0q; 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="DU9wx6Pr"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="LAJGgs0q" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65AJYXPu2472985 for ; Wed, 10 Jun 2026 21:15:28 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= 0WiNIoHn0tPoQszF7OPT5fMxwm/uPz62m9J+Xlh/PCo=; b=DU9wx6PrSxuJQAFd Pwdq5CLTdkcy0tq710HkqJYRm8Wz3WwuffLj0Vm0us6+NAe7QI4JkCIn7g77rU5+ s/Iw4Bz95Qa/bziW0P7ucKr1+/hk/ndRIdzIleU//wWu/c7WT2XnvzTm2hqHeFIr 99GyIrxPYyhpLwKMEOKa95kWVmrC5yGeSrVsbJ83q24ciFrNo+iYFJqB+PC67F17 NxrloUr5uqGnxqECOoNi8GdRXfeccE1WsAt4GDecRf9c5PK/+2xNh3prfeMz0owW wl5BQiiqBkAz28Wk5bQYge/eO/2OnK+PXLvelOHTsy7QIDOZUJSDJo0GTXwoPC+y i0PCRw== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe6v8bmc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 21:15:27 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-36d99629fd6so11666526a91.1 for ; Wed, 10 Jun 2026 14:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781126127; x=1781730927; 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=0WiNIoHn0tPoQszF7OPT5fMxwm/uPz62m9J+Xlh/PCo=; b=LAJGgs0q8CgFGoBMoBbCDvKneIcku+gjy2F6OXupnIDUjvt0EegN/o6xpuRkU0xIc9 QvKy/5iX+Bw0JCbhHzMtVpqRXXUB8vGPndjRILHQ8qWL8xJv3wmuALGJ6Uz1h1LeuTW7 jfJ9vzDBSktTkdKR7WEnaqXVz5C84S9FxHeHQwNt8RccuW/S0/IxS/iPqMZBKBtw0HvV zGKqZwfP9oobCQsBeHae40AIkonRJS/74Gr9rkYRjZKbjGE4kYRh3TOFPFOHXWRVMRIe MP4KeBvJrCNLDa+iirtlPhHqoSkING38QTcQUU7tnmFpVQPSehGhaFMOiltnFDKywV6s oKTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781126127; x=1781730927; 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=0WiNIoHn0tPoQszF7OPT5fMxwm/uPz62m9J+Xlh/PCo=; b=BNnduZFT3jnBIcX9viBQ3KlTZjk0cjMTLn2tMdwkNNe+Cseo8XUvXfHwTNVl+GYPVE X5v7ofwSsW5JYfW3RH7WFJZdzc0d6SvzpEPgcRguHfW9xQg5xqSZy3qR9cZXNiLSfF9Z yW1P4JmcS4XOHj1eXudGq+h3BSjsxtU7OyQSrwSrtM+OeejYw7e/T+4ZA+I+Vbw+e5Sk HkZnPU++nkOXXMJjXRn9IlxyPuK4aTzWfAL3BzWzbVzaCh+WqSxrzeMuvOWYgI6UOwMR UlrZqkBHczRL0kruTZj5/aayvbZvpdSA0lR42uUzZ14y/+rbdN5sni0HSUIZuJVrItKP PDRQ== X-Forwarded-Encrypted: i=1; AFNElJ9oI4XusQdU9RYpQsIFNAk2ofi0Nx/QbxUJ/u04KJ1UHBS74Bn7ZyzJMOQKV0oHRmlG84prkIS6V/dfzAE=@vger.kernel.org X-Gm-Message-State: AOJu0Yy2BCr16uzstoPG0cxFU7Fcrzh5olvUfEmKNaNHxsaBWbF2XiZC too4xvHOpj+ew6wQDMeToVjfqkhwDJekXkzAY9jc7WA9VLbjU0fLN4p53qk/HALEL5ste+KQw11 VDsNuwE0Eo+RyP3to8LDtLy58jf9dDRP61doxHEo/O9pNNuX4CLakbKPWGRAWYd4K8lM= X-Gm-Gg: Acq92OEz8UXPRbtilOscOjQO8BEqeKKZD6nJ8jU1hRO46pLL8U51+QSdprOJoIhPcsv b/8/Ym7jv34scZysSDeDu+LjlfMTLZ3Fz7iH0aLQv/jj8csj2H7zMHgTsN5fx/+pcRySTLDF+dr RGDrnqx8lM2G9FynzCfFNhIzYfLylyZocxX821kUjflAXD0Z4jD5au544PHAHKtdJV77vfBBlpI 5jgmkfW3I+i78T4ngQ7ap8PmEq4JX29W2T8zjMOlDWgQ85aBWoac/Nzp4k/eJKKwOeZzXQ0F6bF dKTTrQzY8wxvjeYIyT33SHPUli1lm2P1kP9M5XO2TFpOvWvZC0cR2iCI7SebgYmbUv0NaWWC34/ /Z6AcRqJBahXbkdsu4GIw02alcLXlOXNVlOZXHLsPbJMO88MykbR+i8/bUg== X-Received: by 2002:a17:90b:4c41:b0:36d:b12f:613c with SMTP id 98e67ed59e1d1-37746e0873fmr847521a91.10.1781126127037; Wed, 10 Jun 2026 14:15:27 -0700 (PDT) X-Received: by 2002:a17:90b:4c41:b0:36d:b12f:613c with SMTP id 98e67ed59e1d1-37746e0873fmr847448a91.10.1781126126014; Wed, 10 Jun 2026 14:15:26 -0700 (PDT) Received: from hu-mdsor-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-37753d01cc6sm309490a91.11.2026.06.10.14.15.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 14:15:25 -0700 (PDT) From: Mohit Dsor Date: Thu, 11 Jun 2026 02:44:58 +0530 Subject: [PATCH 3/4] drm-bridge: lontium lt9611c: fixes and improvements 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: <20260611-lt9611-b4-send-v1-3-42abbcd3bb1e@oss.qualcomm.com> References: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> In-Reply-To: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mohit Dsor , boss@oss.qualcomm.com, qc-display-maintainer@oss.qualcomm.com X-Mailer: b4 0.15.2 X-Proofpoint-ORIG-GUID: 5FFAeBpdLBNCIzANyDWpCflqZnrzX0LA X-Proofpoint-Spam-Info: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfX16b0c/LMdwJ4 nwtpkBNuA5YqoZhI6SdgywqVqbNUTa0m5IkLDydy7TCsWw2/DBPNtuMVKRgCYST/aDWmDk82M2N 1Q1+ag34zCGdqiXdVXDedBc6TaTMQdU= X-Proofpoint-GUID: 5FFAeBpdLBNCIzANyDWpCflqZnrzX0LA X-Authority-Analysis: v=2.4 cv=UsRT8ewB c=1 sm=1 tr=0 ts=6a29d3ef cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=wg3Ek5SRs51OoikjvKEA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfXxTG7Q+ktJ5Gg z4K1/dzqUjFsgnG0LFrbUdRv6nnO16lHE0BrkPu5+uXyU1BomwsrFrK7Wua9u9aMSkKpLqhhaN+ 1ozVLrCyaGlSqLN42BRhvYci5M3oR0HH64MdIYLlq9tKNZ/nwBp0Nlk1iJyOhsmoZ6b3WWTcK64 ljGvfo4KfACPAg8d0x83QMVB4jvlUr0PVk0FWTKDl9GreINDH4GGCfIRnELsX/CCG4GOLEz0eQm VqteecYIj8A7NZMYcAnuISac3MvKFgGCTx4J7jd2WhdwfWlLMZJlebB5Oer8vgrhUgQEo2AW7Yo EAZqPue46fbUCL+Yda1YH4BXGVhgDtSTiwF5d1heRPs2ctiwhsgHt9YEOUCQPFFvsUsirq/9zeZ xXjgvMgFE2rpufGwqw6DdcxcqwlENC1V/3Fi0Gy3k6n0/Gx3Oxs+xCG+62/HB/VbnSeVI8gHr9f wuX1iWABojEXAua2I5w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_04,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606100204 Remove two redundant lt9611c_reset() calls: 1. In lt9611c_bridge_atomic_pre_enable(): a reset is already performed during probe and resume; calling it again on every display enable adds ~440ms of unnecessary latency. 2. At the end of lt9611c_probe(): a reset was already performed earlier in probe before lt9611c_lock(). The second reset is redundant. Also, the DRM HDMI bridge framework requires hdmi_write_hdmi_infoframe and hdmi_clear_hdmi_infoframe callbacks for HDMI vendor-specific infoframe (VSI) support, used for features such as HDR metadata signalling. This patch add stub implementations that return success. Wire them into the= bridge function table. Also, Store the chip variant enum value in the of_match_table .data field a= nd retrieve it via of_device_get_match_data() when probing from a DT node. Fall back to i2c_device_id.driver_data for non-DT (e.g. ACPI) probe paths. This is the standard kernel pattern for passing per-compatible data through the OF match table, and avoids relying solely on the I2C device ID table for chip type detection when DT is available. Populate bridge.vendor and bridge.product so the DRM HDMI framework can report the correct manufacturer and product name in the HDMI connector properties (visible via xrandr --prop and related sysfs entries). Signed-off-by: Mohit Dsor --- drivers/gpu/drm/bridge/lontium-lt9611c.c | 31 ++++++++++++++++++++++++++--= --- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611c.c b/drivers/gpu/drm/bri= dge/lontium-lt9611c.c index b0402726367e..fe51f4978546 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611c.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611c.c @@ -622,7 +622,6 @@ static void lt9611c_bridge_atomic_pre_enable(struct drm= _bridge *bridge, ret =3D regulator_bulk_enable(ARRAY_SIZE(lt9611c->supplies), lt9611c->sup= plies); if (ret) dev_err(lt9611c->dev, "regulator bulk enable failed.\n"); - lt9611c_reset(lt9611c); } =20 static void lt9611c_bridge_atomic_enable(struct drm_bridge *bridge, @@ -777,6 +776,17 @@ static int lt9611c_hdmi_clear_avi_infoframe(struct drm= _bridge *bridge) return 0; } =20 +static int lt9611c_hdmi_write_hdmi_infoframe(struct drm_bridge *bridge, + const u8 *buffer, size_t len) +{ + return 0; +} + +static int lt9611c_hdmi_clear_hdmi_infoframe(struct drm_bridge *bridge) +{ + return 0; +} + static int lt9611c_hdmi_write_audio_infoframe(struct drm_bridge *bridge, const u8 *buffer, size_t len) { @@ -895,6 +905,8 @@ static const struct drm_bridge_funcs lt9611c_bridge_fun= cs =3D { .hdmi_tmds_char_rate_valid =3D lt9611c_hdmi_tmds_char_rate_valid, .hdmi_write_avi_infoframe =3D lt9611c_hdmi_write_avi_infoframe, .hdmi_clear_avi_infoframe =3D lt9611c_hdmi_clear_avi_infoframe, + .hdmi_write_hdmi_infoframe =3D lt9611c_hdmi_write_hdmi_infoframe, + .hdmi_clear_hdmi_infoframe =3D lt9611c_hdmi_clear_hdmi_infoframe, .hdmi_write_audio_infoframe =3D lt9611c_hdmi_write_audio_infoframe, .hdmi_clear_audio_infoframe =3D lt9611c_hdmi_clear_audio_infoframe, =20 @@ -1025,6 +1037,13 @@ static int lt9611c_probe(struct i2c_client *client) lt9611c->dev =3D dev; lt9611c->client =3D client; lt9611c->chip_type =3D id->driver_data; + + if (dev->of_node) { + lt9611c->chip_type =3D (uintptr_t)of_device_get_match_data(dev); + } else { + lt9611c->chip_type =3D id->driver_data; + } + ret =3D devm_mutex_init(dev, <9611c->ocm_lock); if (ret) return dev_err_probe(dev, ret, "failed to init mutex\n"); @@ -1111,6 +1130,9 @@ static int lt9611c_probe(struct i2c_client *client) DRM_BRIDGE_OP_HDMI_AUDIO; lt9611c->bridge.type =3D DRM_MODE_CONNECTOR_HDMIA; =20 + lt9611c->bridge.vendor =3D "Lontium"; + lt9611c->bridge.product =3D "LT9611C"; + lt9611c->bridge.hdmi_audio_dev =3D dev; lt9611c->bridge.hdmi_audio_max_i2s_playback_channels =3D 8; lt9611c->bridge.hdmi_audio_dai_port =3D 2; @@ -1136,7 +1158,6 @@ static int lt9611c_probe(struct i2c_client *client) lt9611c->hdmi_connected =3D false; i2c_set_clientdata(client, lt9611c); enable_irq(client->irq); - lt9611c_reset(lt9611c); =20 return 0; =20 @@ -1214,9 +1235,9 @@ static struct i2c_device_id lt9611c_id[] =3D { }; =20 static const struct of_device_id lt9611c_match_table[] =3D { - { .compatible =3D "lontium,lt9611c" }, - { .compatible =3D "lontium,lt9611ex" }, - { .compatible =3D "lontium,lt9611uxd" }, + { .compatible =3D "lontium,lt9611c", .data =3D (void *)CHIP_LT9611C }, + { .compatible =3D "lontium,lt9611ex", .data =3D (void *)CHIP_LT9611EX }, + { .compatible =3D "lontium,lt9611uxd", .data =3D (void *)CHIP_LT9611UXD }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, lt9611c_match_table); --=20 2.34.1 From nobody Sun Jun 14 02:25:58 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 6EBE63D8918 for ; Wed, 10 Jun 2026 21:15:34 +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=1781126135; cv=none; b=ulWdzS5F1e6RSU6zkEdmc+EkgOReUw+WkOhR2+69eSVWxx/RuTh9fpH2yVsfCVFRgbXm1Yp3r0JU+I2jiPvn96bsdx7D6Ib23Ji4quMsmZSzM3/J9aTbjhepGxNbVzuQYJvecQCdIz8ip+PKFMVaJ5HrxS1UfFA4WMvABQ9u7/0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781126135; c=relaxed/simple; bh=TZkwQKKqCZk3U8kl+d9mczM+m16/GBJEcUQmtDmKhLw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m5RgsoOatYVCWEjcif0PVPa2RcXzYWWfPeCOUO4mk4xAPacDn1mol6jKIvUxJnUIMmlKoBn6PX/8ggvSZRxsc6Zght73MWbKP5Ml6BGq8T46ptyT09AZruMQMevxXJ3O7eqeJzz2eKvuNieumLRvvERyGoe9uY40K/+pCyvo+G0= 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=DFjI0D3Y; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Pz3EzTym; 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="DFjI0D3Y"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Pz3EzTym" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65AJaOZb1005627 for ; Wed, 10 Jun 2026 21:15:34 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= CK4Klk07/k4jSgiSHXB7ww53KV5gcUSDtrYkPkbQJw8=; b=DFjI0D3YeJCzsyuV YDJ/oScxBxVsKNCeSqlVvYtmQ+rt+tdPDz8RpeU6TSfQBG+mVbttxjgOF4y2MBo8 9YSzZmhR4tP/g+Pwhsd+Uq2AVQsfK+k8yB15R9mGz3NVdBybXHSCTi50BVoe4/uK DbvGAHXWIPO6EFeQ+aEqBN5MAm0w7RSYmaW3UkwpoNHvOBMrUXQvd7fa0htfzpLB iU6cmAT/TLaRl3k6oOO56DwA68fjJjWU98pDcC/40Pr72cuk27ZvqM3G8TjWkdm9 0yhu1Cfvidcu7AtMbZJLPwiKPDHdl3sKKOUESmfn/EWJ0gBdpLBNnYg2e9ZPQXO8 fmUb1w== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eqe79gbfm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Jun 2026 21:15:33 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-36b9106b0fbso154297a91.0 for ; Wed, 10 Jun 2026 14:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781126133; x=1781730933; 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=CK4Klk07/k4jSgiSHXB7ww53KV5gcUSDtrYkPkbQJw8=; b=Pz3EzTymz3/Ry2vZhbRn5/yw+ioEpU0iNhQop7vZLgozZzImVv8ROAiSRIFtJJcMRF x6JHmpqwimUm1WP1adUA4uDnTRJfn0CYJBB7nKnLLmakDCFxEoCoYdxdDtsDMkBbkRJ5 YqEIsPQNb5bO2OrlglBcPyf5bffBhktgoQqK5myqIUdXDWktP5qD1zvlDKPVr6MJjIvh +9Ml6CoUB1AMCih9rpGN1pXBaDl0suAyb4yui48DuDEGet6EgRxg7zdw1rJxyPNIutFv S5+W9LOL696rJ9q37O9ZDzjgJqmMsLeCupiaMOnRc7C4zTip3MXseDcuHFhTB0nqucAg YyBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781126133; x=1781730933; 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=CK4Klk07/k4jSgiSHXB7ww53KV5gcUSDtrYkPkbQJw8=; b=ffMQeSlw6N/qH65uQi39FTDvLc8KIXCD/4iijHKziTerpFE6mu87Wtz0pUHBR7RTbP Wl9XA3O17jpCiC614tO8jFd0/qfYeIkDXiyWrhoRjtB/fiIRU5e4RsdI3MgVwxAueRYq v8+rSlW00FzDI7GWIOihx+b9oYrGkaUuiNoUBgGn/S6NiUNY62o9hVUmtBBuejX88Lm7 pbyqxbpj1Q56TznugntSkq7c//KsceKnrR81/vs0guxKYhMJkd69yC59/hp7Nqgaa4o1 Yr0N97pZBu8RGvXVAjryYprh4T02Ealt+/UuUK21Z068yQS5NbVPzs3FtHk+kPhSrk17 S8dw== X-Forwarded-Encrypted: i=1; AFNElJ850/nQbSsmZA/dqof7nunklV+6nZ+Vj93NYNaww5gIffHhQzfSNPiAwpH6LF0bvu0rVbJ+zXTQv0saKNA=@vger.kernel.org X-Gm-Message-State: AOJu0YxWSGqi0E1CQIU5171kuqO2gIDywQDVR/qA7n/gr4tYGt87O9Ym aEuSUKeFxCDwRt11JYawjG+UjJ4Vpxnzv0Cbh7Qo8x0tYAdEKzoDhtx3F6TR0/b1cD+IaT03LOr YArPo94E3ew2R4u9pE4rnXXJSTVc2zWz/yKc7DS8swhKnpzIVu0BlTrcxIOMIAnhrMb0= X-Gm-Gg: Acq92OFFfN0BoXlyMgTK6Il4QS7xoKHiivdHw18coXbGI3mAfDe7WL8Kk0JVasoCfK8 rFTwBZZLY1T1E2/Nmlx3eEvsEjSWwdZLwfuZRkPuRPeONQpsSbAD/dWWNJwNUT5E4i8fO/JLhOq uVAKkBPNRKy8B+6tEj8NdPfL2JoL/XWi+uXxyGnWFOtHqtemZ8/6Q2oKKIR3F8fhqRcR7EhM4v7 TfyiIIxqqHJ/dtH7+ME3Njj4GM6nouW424QXx2o/3WxOyEnYjr1iU6P04KlRmoBgnmTIxSEd3d5 DAhs+rpXBJfIZR5eRCmMIJghrItofePbSvsxdUNEG8Fha+U/524G0Aa/u3DXuJUqo4gbgKRkP4w YnD8GHT/pXHFYYuIMJY0tbr70p6L9PFcAWhReawU2Evx7mb/DpbsQYglLLA== X-Received: by 2002:a17:90b:3804:b0:373:302d:3ce6 with SMTP id 98e67ed59e1d1-3776a6cc810mr315531a91.8.1781126133079; Wed, 10 Jun 2026 14:15:33 -0700 (PDT) X-Received: by 2002:a17:90b:3804:b0:373:302d:3ce6 with SMTP id 98e67ed59e1d1-3776a6cc810mr315503a91.8.1781126132511; Wed, 10 Jun 2026 14:15:32 -0700 (PDT) Received: from hu-mdsor-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-37753d01cc6sm309490a91.11.2026.06.10.14.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 14:15:32 -0700 (PDT) From: Mohit Dsor Date: Thu, 11 Jun 2026 02:44:59 +0530 Subject: [PATCH 4/4] drm/bridge: lontium-lt9611c: Add DSI port selection via DT property 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: <20260611-lt9611-b4-send-v1-4-42abbcd3bb1e@oss.qualcomm.com> References: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> In-Reply-To: <20260611-lt9611-b4-send-v1-0-42abbcd3bb1e@oss.qualcomm.com> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mohit Dsor , boss@oss.qualcomm.com, qc-display-maintainer@oss.qualcomm.com X-Mailer: b4 0.15.2 X-Proofpoint-ORIG-GUID: eKEtqaNNGOOUxlgq0EyBcAknXh1udQcX X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfX1Zw+4gm/x/LC je2yyUn3TEvrhDmYWoCEWeGNsE+3mwkcD9PUMzlDm24eA/gRlEy3AZze9LOSYfctcQgk0tHHaX+ e9Xzykj40ersUMqwgVq8CogJkI/51X5UfqGams5TqqKw7/7P1EjgBYKhju/Q6CyQzk84jTMv/jL 9JV8dLNb6jxAD0uMDoTBHvS0yUZN/cEmyrhwUcWozkAh6EUJN/8/F1+EIJKHnTvzK4CcFm6tpQF RxJNzvFy4mVyWwuUt7goN1zoSkLl6aS8ZQrDoFoBOkyHqg2LPp6U29zljqoFpaQP7VZe8uwJPX/ Qa7yTHiQ+aiz+T6tKb9uJwt0qzN20ikOcWVdwSb8yHNas0UhbsExS3FOIpmbrbpcTcLFQ0Vo2Nf CNw9IvVDUaD3eEJvVJgiVKbnl60g5BQhpfL6vAycBlBYC/tksAAnM4QN+i1H6Ih6cEs3hqYKwkh bUIqJbCe+3EGrNR9ldw== X-Proofpoint-GUID: eKEtqaNNGOOUxlgq0EyBcAknXh1udQcX X-Authority-Analysis: v=2.4 cv=fbydDUQF c=1 sm=1 tr=0 ts=6a29d3f5 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=Xheu9sz8Ka-PZ7GlfuwA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjEwMDIwNCBTYWx0ZWRfXywJ/wqFekMl4 Alp/URLOzAZtS+FU3IgjurzJYmWuytFz9pWHvryvUwMr68HB4GasUtkgYApoyzBSvtRRB8g2hUI AnXS/1gkyEK3FRLBafDR4SvBLIidVeM= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-10_04,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 suspectscore=0 spamscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 malwarescore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606100204 Some board designs connect only DSI port B, or both DSI ports A and B, to the LT9611C. Add support for a 'lontium,port-select' DT property that allows the board DTS to specify which DSI port(s) the chip should use: 0 =3D PORT_SELECT_A (default, single DSI port A) 1 =3D PORT_SELECT_B (single DSI port B) 2 =3D PORT_SELECT_AB (dual DSI ports A+B) When the property is absent the driver defaults to PORT_SELECT_A (0), preserving backward compatibility with existing DTS files. The selected port is programmed into the chip via lt9611c_select_port() during probe, after the chip ID has been verified. Signed-off-by: Mohit Dsor --- drivers/gpu/drm/bridge/lontium-lt9611c.c | 44 ++++++++++++++++++++++++++++= ++++ 1 file changed, 44 insertions(+) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611c.c b/drivers/gpu/drm/bri= dge/lontium-lt9611c.c index fe51f4978546..5d67bb7391fb 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611c.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611c.c @@ -41,6 +41,12 @@ enum lt9611_chip_type { CHIP_LT9611UXD, }; =20 +enum lt9611c_PORT_SELECT { + PORT_SELECT_A =3D 0, + PORT_SELECT_B =3D 1, + PORT_SELECT_AB =3D 2, +}; + struct lt9611c { struct device *dev; struct i2c_client *client; @@ -60,6 +66,8 @@ struct lt9611c { enum lt9611_chip_type chip_type; /* HDMI cable connection status */ bool hdmi_connected; + /* Selected DSI port configuration */ + int selected_port; }; =20 DECLARE_CRC8_TABLE(lt9611c_crc8_table); @@ -115,6 +123,34 @@ static int lt9611c_read_write_flow(struct lt9611c *lt9= 611c, u8 *params, return_count); } =20 +static int lt9611c_select_port(struct lt9611c *lt9611c, int port_select) +{ + int ret; + u8 set_port_select_cmd[6] =3D {0x57, 0x4d, 0x31, 0x3a, 0x01, 0xc0}; + u8 set_port_select_ret[5]; + + if (port_select =3D=3D PORT_SELECT_B) { + set_port_select_cmd[5] =3D 0x40; + } else if (port_select =3D=3D PORT_SELECT_AB) { + set_port_select_cmd[4] =3D 0x02; + set_port_select_cmd[5] =3D 0xd0; + } else if (port_select !=3D PORT_SELECT_A) { + return -EINVAL; + } + + /* MCU must be running (0xe0ee=3D0x00) for lt9611c_read_write_flow */ + guard(mutex)(<9611c->ocm_lock); + + ret =3D lt9611c_read_write_flow(lt9611c, set_port_select_cmd, + ARRAY_SIZE(set_port_select_cmd), + set_port_select_ret, + ARRAY_SIZE(set_port_select_ret)); + if (ret < 0 || set_port_select_ret[4] =3D=3D 0) + return ret < 0 ? ret : -EIO; + + return 0; +} + static void lt9611c_config_parameters(struct lt9611c *lt9611c) { const struct reg_sequence seq_write_paras[] =3D { @@ -924,6 +960,10 @@ static int lt9611c_parse_dt(struct device *dev, =20 lt9611c->dsi1_node =3D of_graph_get_remote_node(dev->of_node, 1, -1); =20 + if (of_property_read_u32(dev->of_node, "lontium,port-select", + <9611c->selected_port)) + lt9611c->selected_port =3D 0; + return drm_of_find_panel_or_bridge(dev->of_node, 2, -1, NULL, <9611c->b= ridge.next_bridge); } =20 @@ -1070,6 +1110,10 @@ static int lt9611c_probe(struct i2c_client *client) =20 lt9611c_reset(lt9611c); =20 + ret =3D lt9611c_select_port(lt9611c, lt9611c->selected_port); + if (ret < 0) + dev_err(lt9611c->dev, "failed to select port %d\n", lt9611c->selected_po= rt); + lt9611c_lock(lt9611c); =20 ret =3D lt9611c_read_chipid(lt9611c); --=20 2.34.1