From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.46 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794936804; b=djuoZGl8WAjAH4qJixxgNP4jltuWazpdD9kWi9izvM4gwQ4Z2Rd5iA6MJy6aT1Z8yAFC JUhgR/6Z38sDfraxyZpCXvLSVQttdmZ9i2TFCOK1v8+N4tPHsCBPDDNO49UttuML/bk8S cKbLn0EzRndP+hGSBrVu9sSzfKh7TyZS0n2a74na0SQXfLo+22ElktJGjHJJI4kxyUiYj SkMny2850WCZG3nIKxBqJHg27rIE4RjCb9zRh++qnB7yKxKWeyU3z/ynQEdXbKZfnAIw4 oLUhOynTX4tG0Sz59mhLCXWCfR85kNrc1pVRcBr/Xtg8cY8AiTvL7bQVlmLRH6iucEQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794936804; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=awuFfcelAs0Wjf6OuNr2RgHXNyYZSy8TMqbcVt380gI=; b=1knQaaBuHFsG2XvH0lZKnno+inhunjRgFh0TfwxGUNvCIhMYGSz7XXIHWxuyn0+hSlPJ RSjyZfkINIguDB3Dx4tyAx/XhqaKz7UV4u7OrlkknBXY8SdRUNdwl6xXrfrOgZWNnRo/N WybbKt1IKPJkV80pFuictDXNuMzwPZxEscz2TMgN2DRh/NlsovO/U8vScY1PM4dRhlotz TH3vgw0SjNo4RIEJS9g3p1jBAKP70Qkmqvyv8NIg560ae0dAqRbjv4DVYPeokfLpTMbPg cnhhb3MUkJcReL+jpk3iymwBrM1jz7e3J/vlQXC7NhUjtoJElI3mFn7sbDxRjYo55Hg== 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="xxF5l/iZ"; arc=none smtp.remote-ip=209.85.128.46 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 F1D87606A31C for ; Tue, 17 Nov 2026 17:33:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F1D87606A31C 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=xxF5l/iZ Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4bb55cda775so9023705e9.0 for ; Tue, 17 Nov 2026 09:33:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794936802; x=1795541602; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=awuFfcelAs0Wjf6OuNr2RgHXNyYZSy8TMqbcVt380gI=; b=xxF5l/iZ4WWzXuzdIiuUHQ17Y91hemkI1btooq4TNrPXBDiAa3rv2N60i85Oc+1iZq dNATRBOVcp5xosWJpAexBevO4R00tb8qfUEMQsLYDYnnB5iTY8+f1lzjbFZHdnFgc16/ okI3C7frlcI/zCISXIZKbseumnm2qB6+dZiWjwZZB4qXd1cBGXrvjJ/WNm9+YQnqRiNw /wtzd4xBjsQRG1UKboQ/GULCfuiGc11yeg3uIIulKDsDB0Yn5YCo7GjUZNAQXO3cPJyN V9KxTB9HJuUZ85MAZNWqgeLNAwdreKm+Bk+ANqdLNyBzjhHnwZK98xMBCTtNnnXf8PF5 5tDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794936802; x=1795541602; h=content-transfer-encoding:content-type: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 :content-type; bh=awuFfcelAs0Wjf6OuNr2RgHXNyYZSy8TMqbcVt380gI=; b=UmtcnggHNqbyvTpXeMkupdgpaQHufTr8jQtlPkS/wAPyt2RxHC8rJ6c7XM3Lo5mYF5 /ev7c9SZso5prHF0sXQyPWuicYLT2ZDnPyyLHfkrlQWBEmd0l1suv+7euXhoDdVw3srK Bj/MB+2riEx5rk2cS9CeQdfQPXz6Y2ZngaKg+AcV5lrmo3Uhq7aD18haKJ30x/faWdAC M78VJQGDBxzY6REKpmvc1J0XJFVc65LZYsBYzMHYIV4+xNZEWaskAmR7FiF09wVv4RQc kzmA0WXC+UcgZhbA4Kd9NZ6KCGGh9ehr7wQXZYKqYZyi7tc9i2ayEfzdjamNGXztuv8r 1EXQ== X-Forwarded-Encrypted: i=1; AL+hErGJn87Bz8m/v1T9BMNOA4A1QayX62LV0JBbSQ6qNZu4qRFQhtvvWVhM1blM42BxvQkSDb1L8XpvKdAE@vger.kernel.org X-Gm-Message-State: APuU4Z+Ng6KUxstjgI+9fA2/cE3fGUgt1lryE9AQDFkgmUsBlDFkyHO0 kOAIHB23vNkl3Z9IWD1ImYsJi7W1fkYJSpf8ztIp8YUNSssd/2SdpmgN X-Gm-Gg: AYBFou00WWKYfpyQe2KS/uG8me8aM3fnb6Ox/wZxunse2CfOu2jh+bmipfud5uLnU94 qzvS5zL3Xum5q/OcvbEsY2Kj0KuVYpdYNdy7YpTKM0A0TqyYLRAuepZmqcrq4mxxIW/Q9WGUXmO A/bW9uYHzerKZkOV6qRjRFIj5qn5qxM/4CvLff4FjVaLPP2gTY4RcPrbuFbNks/Cepjei2B/vyz FvPa5xnvwGLuTqW/CCKGCNRkeR6/U8NJ654X2UZRQMn7hJVIuvMPD3eOR/g5u+x7xtIynFIq1O4 HynTpj17ROfwqG3SDH7EtvxCBDB5yN9kpPHeSghL9Fyh65kpFZ8LpBodvSoFDxTfUJrTVNzXdDY pedqy/Yt7TG5isSADW6i01In+hoqZdzk9qfDq/9jMObcpHa3wGJrpEUOn9k35v7xRLuniWUmtAD hRVSFD4fbXzGNFtEmRoooRV1F9ts96VVpPe8f5a0bg0tP4iPBDlODKJyJ8+60CkriOrGPdYLfRa cEH1QtAmJpGRf325q/OmRmzAWZBTymPeU2R79X5MslYh7yMvx9k0HTsVa0Jxt8ScmmxwW864zAc IydOteVFug== X-Received: by 2002:a05:600c:6746:b0:4a2:526b:d40f with SMTP id 5b1f17b1804b1-4bb78332fbfmr83538165e9.0.1794936802335; Tue, 17 Nov 2026 09:33:22 -0800 (PST) Received: from dl360p ([130.61.107.245]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb783f8220sm79269585e9.5.2026.11.17.09.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2026 09:33:21 -0800 (PST) From: =?UTF-8?q?Adil=20H=C3=BCsrev=20Tepe?= To: neil.armstrong@linaro.org, jesszhan0024@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Adil=20H=C3=BCsrev=20Tepe?= Subject: [PATCH v3 0/2] drm/panel: add Novatek NT36525 (Samsung Galaxy XCover5) Date: Tue, 17 Nov 2026 20:33:17 +0300 Message-ID: <20261117173319.1852638-1-tadilhusrev@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261116070212.314228-1-tadilhusrev@gmail.com> References: <20261116070212.314228-1-tadilhusrev@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 This series adds a DRM panel driver and its DT binding for MIPI-DSI video-mode panels based on the Novatek NT36525 controller, as fitted on the Samsung Galaxy XCover5 (SM-G525F, Exynos850). The panel is 720x1480, uses an active-low reset (RESX), and a DCS init sequence that mirrors the stock Samsung bring-up. Backlight goes through drm_panel_of_backlight(). Patch 1 dt-bindings (compatible: "novatek,nt36525-xcover5", "novatek,nt36525") Patch 2 the panel driver Apologies to Krzysztof for v2: I sent it as a diff on top of v1's own (unmerged) patch instead of a complete, standalone patch against mainline, which is exactly the git-management mistake you flagged. v3 resends both patches as full, self-contained patches that apply directly to v7.4-rc1, with the v1 -> v2 -> v3 changelog moved below each patch's "---" line instead of the commit message body (also flagged by Andy Shevchenko on the related grip-sensor series, and just as applicable here). No behavioural change from v2. Tested on a Samsung Galaxy XCover5 running 7.4-rc1 plus this series (re-confirmed 2026-11-17, kernel 7.4.0-rc1-00023-gdcb8b91fb779+ #30): the DSI panel connector probes and reports "connected", debugfs reports the reset gpio as ACTIVE LOW, and /sys/class/backlight/ is present. checkpatch.pl and dt_binding_check are clean (bar the usual new-file MAINTAINERS note; the files are covered by the DRM PANEL DRIVERS wildcards). Based on v7.4-rc1. Tool usage ---------- This series was developed during XCover5 mainline bring-up with the help of an AI coding assistant (Claude Code, Anthropic). The assistant converted the vendor init stream to mipi_dsi_dcs_write_seq_multi(), drafted the driver skeleton and the DT binding, and drafted these changelogs. I reviewed every line, validated the binding (dt_binding_check, yamllint), tested the driver on hardware, and take full responsibility for the contribution. Prompt summary: "convert the XCover5 NT36525 vendor panel init into a mainline drm_panel driver plus DT binding; keep it checkpatch- and dt_binding_check-clean; test on the device." Review comments are welcome and I will answer them myself. Adil Hüsrev Tepe (2): dt-bindings: display: panel: add Novatek NT36525 drm/panel: add Novatek NT36525 panel driver .../display/panel/novatek,nt36525.yaml | 83 +++ drivers/gpu/drm/panel/Kconfig | 13 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-novatek-nt36525.c | 491 ++++++++++++++++++ 4 files changed, 588 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt36525.yaml create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt36525.c -- 2.53.0