From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796440850; b=VwS67A1xIbbN6X48+dhSx7nuiBnfPbKxAz25gHWDzDXG8bWB9c5Rm6D9k69Td1jRZKZu bDPGefdi2nxq1e0yRNM1QBDXCdAd6Cbmtlz6dzBAUu2sYRrGL1K3gpUH50j6mfZB0oRmX Y5VX5SaJQbWUgsrlY2xiBobib9o6u1kaxPt/bricIcIBlbXzQURg9IIMFfzfsVWJgJjH9 rX6ZJqN+aqYzmyuy73Wv/Icd43wv20Tl3tidJ71H1ySnNFo5XpIY0k5KMsOPKugm6rWwi t7aw7yIh4Q5IupR8Sj6tJXwpq6BiQYgD38vmQgoZ0zlxHelTeoD5FuhsarTAVQxFnOA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796440850; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer; bh=AMwe5tXnFbjmFle6+5eB241sIUkAm+TsoLJtJifeyvs=; b=si7lJxJ02CW+mPPH5mLnJj0VIcvPAKvnW2jqaNugqrIwhf1m+9rYA0DznARXcw32zzBh BseDW6BTXB2f1f2AcRUt3AxV/hg2fGdXJzOQ9j8fCdaDfyfEDOGf1Ci6fxNfJV7OSb0Q4 RRpt6E66kGww4/v1Eyl0L4NhZJs2imEcMJ/PYsqeJNbiD1gmHjsNBOty9h8eyr2MF7R9P jFI5ckIuRrY5YjFKWm8NzUeiH7pNEWfHvhK3EF9Bd/GG8swPZ/Tysa4Yp31oppxJ1oDQ0 ctvgDXjK7SRanWkFkIQxwdJ3DDQ6XWGG7X5hEIcO35wqArmbwbUZW5kDYfcSuC4/FKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=LgW1E2WZ; arc=none smtp.remote-ip=209.85.218.48 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98678606A322 for ; Sat, 5 Dec 2026 03:20:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 98678606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=LgW1E2WZ Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-c5198302d38so269947766b.0 for ; Fri, 04 Dec 2026 19:20:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796440848; x=1797045648; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=AMwe5tXnFbjmFle6+5eB241sIUkAm+TsoLJtJifeyvs=; b=LgW1E2WZaa++h+nmV22scvXsgKzHRwpD8sR8CcViFgEBWeJE8WHakhTnjiYbCxiD8q CbTjN0lL2fw3Xpgaq9ZNS8j6alWZKBXBedMj0vTQWqKw8HEdBhsDpz0edqSczmZ7oivD o6WT+HROiuDruJSzE0Hb4ppE1MxOq/36wxUkhuGP+EZuiTOr3QSo3GBsIdEhGC81HeKX mNGm44oLLB0e6tkTm2KA4KsrjRwx0OaAQ+ueB3Cwraz94t+7G/iikebdE8SKcnoCdylR 1O/E+Euvy7X6FYk2zRW0P6ExqKEy/v/4F6+8yCxsdfh+c1Y0qg8TjpkwLiBcbdESfre7 w7aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796440848; x=1797045648; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=AMwe5tXnFbjmFle6+5eB241sIUkAm+TsoLJtJifeyvs=; b=VUCKa6m7ETT5m5FM63ymrudGKdM7clV7DqyR/izALikNDp/wIXSv1O3YGLtIbPE0EX Dq3z6ptL9XR4X+tyqBfEpAUV0llqxGuqX8tu9mDScdNkU0xcE5w2BA78HNrLQfijLiHv 3EE2uVu9G479gVfWNRBfNNqnWCRLplI4T1WauGFX8XklArnaSTXXCuytyof/tgjymR7c M5cR2AAE1JJ7MNmhKCHLgXpaa6l9ywLFa4e3dNc+RZtz1cXiHibbbYCOX7bkHgzBLVRB X9HwdeD1WwJ9F1oEcRHaY7K48K1XGZDOD51iiMeuB/CMtWvHKsjP5aq7Np+NhNF/mimD A9Og== X-Forwarded-Encrypted: i=1; AL+hErGU7WXS757UVSkCP1mIs1X8JnPNFbfhCKzGSy2B124smlRgWCJbYz2mVuCp+oUgx9rHj+vFYbu3hbdm9aA=@vger.kernel.org X-Gm-Message-State: APuU4Z/NUIOh22mTzOu8XtY5IoRcK8kVHd/2Dd4UrUbKM+PcodbIrdC4 BfUSHM1cIjEXAVTMC31yMPQtRibKGVafhJy+MS7RHilApgVw313f6lTi X-Gm-Gg: AZFdTZfZbTjwHv/2WkPjbqaVeJldTHJIwUlDm3dpazUDPM4bMgeOXkCx6Hm1KKWR5l4 W3CDl6J7/nHTGqmnBP+RovO45NrnStt3V+KnpA8eV0QUEaxPXIN4KQyKL/JWbo8TG5NV3PyyE/M cSyXeck06Bjbdc3d5yoKuODhEF3AXv8Q3hdCIc6d7IlZU+Qd7qr9l3e7+Vhqn5WNLFp2PaQNxu6 pka0PCGdeXpAMhKs5XYelm2QDBuI8TAg6VBTxExiDvKWt7nCKS1QJXdaOIiyzwmukf/yjIc26/m xODkrUR4/wDimsegElo48IgMJoKard3emeiGX68osK0Ced6QUa+fhEew4KBe73z8vJacPPR2pqb ivjqcGEQQ1cfLl/z4/wVPD7mUSJO9fzWUeomJ472umnd2e99EJQGBQNU8Exu+u41j0aojopmiyF 1HZ1fdRjHxGZbuCsGPFdtsErj2stJQmPVDnE4WMn3J0TFF2XiB+bUTeZk8/SJ7t5J9oYuzSDoXU zaeSIliXNshUwOgizVYNKWo6/osrO/v8sjotFaPZYRKmR3B2vfjMCHRv/KZQQeujOMlsFLpds+h /eh59Shl04qsyX81v/GiWaXXEDpqMzZZag== X-Received: by 2002:a17:907:e8f:b0:c31:8cfe:9a25 with SMTP id a640c23a62f3a-c52624e5516mr277071066b.9.1796440847895; Fri, 04 Dec 2026 19:20:47 -0800 (PST) Received: from [127.0.1.1] ([195.155.168.196]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c525b3b71c2sm201581466b.41.2026.12.04.19.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 19:20:45 -0800 (PST) From: =?utf-8?q?Adil_H=C3=BCsrev_Tepe?= Subject: [PATCH v5 0/2] drm/panel: Add Novatek NT36525 (Samsung Galaxy XCover5) Date: Sat, 05 Dec 2026 06:20:42 +0300 Message-Id: <20261205-nt36525-v5-0-8c3f07ee3311@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/02Oyw6CMBBFf4XM2pJOKc+V/2FcFBhgDBTTFmNC+ HeLblye5NyTu4Mnx+ShSXZw9GLPq42QXxLoJmNHEtxHBiVVgahqYUNW5CoXWmNWtiVW0rQQ7ae jgd/f0u3+Y7+1D+rCOT+Nwa2LCJMj81+UiBqlTOuyQl0JFMH0PE+bj2+u42J4Trt1geP4APYvx W6rAAAA X-Change-ID: 20261129-nt36525-44137b7180ab To: Sumit Semwal , Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Krzysztof Kozlowski , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Michael McAllister , phone-devel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Adil_H=C3=BCsrev_Tepe?= X-Mailer: b4 0.16.0 Add a driver for DSI panels built around the Novatek NT36525 display controller, and describe the first such panel in the bindings: the 720x1480 video mode panel of the Samsung Galaxy XCover5 (SM-G525F, Exynos850), made by CSOT. The board DTS of this phone is not in mainline yet. Three points need a maintainer's decision. I will rename or move whatever you prefer: - Compatible "samsung,xcover5-csot-nt36525" with the fallback "novatek,nt36525". I do not know the CSOT part number: Samsung's kernel only has the vendor "CSO" and the model "CSO_5_31_inch". I read "CSO" as CSOT. The module label was not read (that needs disassembly of the phone), and no part number is available from Samsung's kernel (only "CSO" / "CSO_5_31_inch"), the vendor firmware, or market listings, so the compatible keeps samsung,xcover5-csot-nt36525. The name follows xiaomi,elish-csot-nt36523 in novatek,nt36523.yaml. - The panel is added to novatek,nt36672a.yaml and not to novatek,nt36536.yaml, which I named in my reply to the v4 review. nt36536.yaml uses panel-common-dual.yaml, which requires port or ports. nt36672a.yaml is single link and has the same three supplies. - port is not required for this panel: it has no OF graph connection, it is only a child node of the DSI host. I read "Drop port" as "do not require it"; the property is still allowed through panel-common.yaml. port stays required for the existing NT36672A panel so that its schema does not change. If you meant to drop the requirement for both panels, I will remove the if. Michael, the driver is now built around per-panel data, so the Moto G10 DJN NT36525B panel can be a second entry. DCS backlight and your reset timing are left to your patch because I cannot test them here. v5 is sent with b4 as a new thread, as asked. Tested on one Samsung Galaxy XCover5 (SM-G525F, Exynos850) with this exact code: the driver probes and the DSI panel is brought up. The vddio, vddpos and vddneg supplies resolve to the board's regulators (1.8 V, and the +/-5.9 V LCD bias) with no dummy-regulator fallback and are enabled on power-on, the DSI connector reports connected, a backlight device registers, and the display pipeline enables and scans out without error. The Moto G10 NT36525B path is untested (no hardware). An AI coding assistant (Claude Code) helped convert the vendor init sequence and draft these patches. I reviewed and tested them on the device. Changes in v5: - binding: no new file, the panel is added to novatek,nt36672a.yaml - binding: compatible renamed to samsung,xcover5-csot-nt36525 - binding: supplies are vddio, vddpos, vddneg; port is not required - driver: per-panel data selected by the compatible - driver: devm_drm_panel_add() and devm_mipi_dsi_attach(), no remove() - driver: include , drop