From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.45 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796440850; b=ZMClLrTxdkDWsXUlQkA/3NCxLnwBsyB1ekZWo/lgO4HmXU53+YqFwCnZ1B+jT4sRV2Ro xsLSmyytXJR7sqQbJ8hJqRMmmZOkMlEwBuv7kVFxRgfmN+w8FM8RKeQfTcLKG67Zo+o29 adNiHHeJGSBqAaujd0Nyfnc6QTlbFe5dHWK2uQigtt2ge+y7IyMHUjvNoSCWNPnjPKzg+ LKcz9y8XyzWNl7Xp7WTdC/Y4874Vd4vlPPKl46JYQC7Vs0LOPKcHmmUgnH23c27OxGFTS HwI02pH5jtoaSrTEAn4f/L54Dp93L7gMxk/jXnOtFzSs5Zmq1SoanOyOMUwUMin6HIw== 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=SaOsRcSq2s4cJQIiv/ieZI7pz+bBx4Bmt+AQfShEK4EXRXJCqW1yfsuPKt/0JWlKC1O2 Gtp1/bxq9MaRG43lzhB/l2Bl5fFUbSpwqeyC2jK0U0Q5TiUE+NDnct/nFaxXBhoAN+aN2 rNuf1vPgBHC0CVhAseWEz6u9LG2+m/cOlyDPYns8mGeAebNpptwjAZ+UHf0DqryLG5GmN U+I4IjjVqE2pFP8OQyyf9Yhh0oh8SVNSyHJMVoDIRoeUiw5FQcWC8FTv3gXz0227TV5NN 6uBFbcc2fVnDa7e1rG0dgz1ZpJLqfG5yRKBjl90thIfH0ReIPMSuo6jz7GFRnsbfo0w== 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.45 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 A3520606A32D for ; Sat, 5 Dec 2026 03:20:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A3520606A32D 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-f45.google.com with SMTP id a640c23a62f3a-c5127c7abd5so285684466b.3 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=RQZTPGU7VUqMgX+cDtG2rwV57rTdfUppmVX6ItsO0HPRNVVTs/gzaoaedasEAGGerT HXafJlpty0hFnu8zFfziZZzOYkUTP8VhnIwj+HbHM/C+bwvNf9cN5A+zitO3ElXExoWT H0GsB4ADKXrBODzui2lguMC+PDE40G0pTMdujf17aNiTVu4QZ4zIN4QsVANrICXV4klI IQBsKtamWUxzoylYkkGYaLhKUEhLTjOEe7fb1tD1B/26hp2txxMHxU+kpRYdY7kq2FgQ PH+EDWd0w4G0ry4Awkzhc2Y/Tfws8o/lEiVUTansVfWbi8cWzp6jWa1Jtt5rJycmrdY5 5VqQ== X-Forwarded-Encrypted: i=1; AL+hErEdM0tPS2ElooM4ezWvkNBsbbUzqllCA86BeW0lky51PcIP58netxCnCdJ0VbNhjvzhEyujlO3+aiJE@vger.kernel.org X-Gm-Message-State: APuU4Z+H3v6UqIk29CAagoKn7WCQ4hlERvw2LQ8hbT4eXb56AkjeaUBG 1b7/tKip1FZTt/YUlIOU4Q/c7cMVFW42uHJaGnWQ4DMqL5S0JT4NFwpF X-Gm-Gg: AZFdTZdll35iVzbn5hYegLX5wl0Lm4jjQnBn3ru8iUjDSnGLqtYwj5rRaEJwkj8aM/U cjXzq6HmSh4kogcpWq6myzTN5PAHPlizIxpETTQ67nr1V5MWK5gULUT/uqcw+fzihmrCHDhIktq 2VKK+VpXKl/3cW1xTqH3Ta+Kp4cm9AjbcRMlpT/iy0Lfn/eioN0mB88seaYsK7GXgnqBaPHXXWk xYR3YCRefU0pEKC8VDGjlEsr3lgLqxBD96t18e50/1utVz2EcdG4asTge7XEI+04XtlT9BDbGou GnALCvfdgrSl7cXxjm+TYYaU2cQrMPVoTEOurUihgKceBMs4+xbiaKlACPSiFA1nZeZWieMONpT D4uHxgdvepEy5WEB5PBtP8CHCdwnjeG2Fo3LEWagnYyoywnnCDAZo54Ys8YgR8kUX9qaTIMFU15 wU8sV22B5a3PVGIM/2ztjTlyymPg2Fp8AJe0iKwbbJUWdya00rftxuklbUC7sIkm5UM+9fZsg6q fpPTRKx9tMn07kZW8FLW3aB5SwShl7UobsAFgpcYjv1He/Izp6B7gEvssrnzvwrLB+g+wNkhF4+ Ry6N1gBsbop5OlVfEporCFl64TalgNIbXQ== 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: devicetree@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