From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796440852; b=R9IJQ6fAx7tAFmtMRaCSrFmKm9MyKurzI0its3iBGSwvlOGlqksvvouQX2vUjrpOMMUL JJ3yv+9BTkz16Pa+ulXvRMrz2uI4IPvao97TTsjBHLpPPNkjR1qi7C3T/ssDm/B57I2aY qjfcaNDNIFajStcs0AD4lGwp1ZsLKtmHSYZqM9Kjz0CTBe+FmZuCV5CgROmRUqZTu/Gu4 hnwB+Hau/BJcvvzmxvSj/76kencj9byhsqmaNJzQUBl3rMM4Rea3EDEBheFbt07rYs3P+ fghHSlQYgbHfE6SUxdDaXz4NhEieki0t6hj9Y+eAPY/XSgRDywa3PtHnBXI6IXe5Png== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796440852; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer; bh=aHjOhyehW68+TmmiAbBp9f7cJw17lTsZGHLDPcwHEa8=; b=RSSHFNLYuJ1zr2JtbFzR4gY6OgPFTBphNXJaiC2xc03NUW2ESbWMI8x4gZ6KOR9Qoj7y XLx+aTliodEgajH6nNk57oqyDLaFB/WJc1vsbi9oetYXfd/5H+fz3c2tiS3SoMseVESUy mMveJxFNfxKlxpRd1JWDXp5l4oruo//64JxpSlLXp4sI624ACOcxphLEwoEtdZ85sJjXm FSkM7WBQNWPOPLBP+GsnZuroc6H/Xf/PxL09PWTGbroketxLaAnq2bh/O//70iIUSbpaR /6U9cP7JHM5bHpqW+4HzVrNlRRFR1ty94bbmFBQ3/h9t0G+MCdm1qFOuLv5i9rZHBxQ== 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=jqF7epA8; arc=none smtp.remote-ip=209.85.218.53 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 CE1C8606A33E for ; Sat, 5 Dec 2026 03:20:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CE1C8606A33E 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=jqF7epA8 Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-c523a954b36so238623266b.3 for ; Fri, 04 Dec 2026 19:20:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796440850; x=1797045650; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=aHjOhyehW68+TmmiAbBp9f7cJw17lTsZGHLDPcwHEa8=; b=jqF7epA8hr13TuPGcZpxFQQtJhufOYUp7RFsrlRf28aaLskoHmAcUI+QU+XmgTQRGA UbGb2ICPH03n+jHPJ09QOgz5Tp/V8jLcstNLUSZ5hyLiQmHF9pxrvCdLPMIqaflhF141 jcYxOk52VbUV+JuXZ8YUX/3zeEddL3biorkykW4ie5YxVtHxDTmwoz8Q8WMtx/JsK9Po oQkXTTObr6V2/tqosyYHBFxmJyjZZBA/W1jG2QiHE5rzTVdhugBpx+an1Ad291UbRHvg 3Xe5wdBIGUQdGTFmLCvYNCQajrCsUDVl+Z9OL3QAhgDgXVYgo0EhOT1bAVnyrAWt/j0H CPVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796440850; x=1797045650; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=aHjOhyehW68+TmmiAbBp9f7cJw17lTsZGHLDPcwHEa8=; b=bQ/0v9wVRvC/XEec0Dw4UzDxxh4Klnkp6PaiWxrpgXCnDrx4OZmAe6KUczU+Uzo8rw 6LWQd8miJoJab8opReqztc3gW+Xm+ASeLdokSnm9DRQZPlQYAgJ0S4xfzpYVERuaHb2V xNzYJoWKignJl4bqWtkfimLxYG1lPli/A2o8ptOgbj8rde9qU4kgKSxiF8IJsVEZtOqm 5Fm4fCz18oZqhDaNd6TE5eV1jl935wrdeEKzFTrBtjpIyK9QoKBR1S4aTP1yFtQuwVDa JG/0EqYwexbyl8K75JuCEerNhT2ScPXnIeg+bxVQ7wTvaAyc2S+6Y3lrFDJrzGwrDJR7 R1FQ== X-Forwarded-Encrypted: i=1; AL+hErGQlmkgH3QXcwgvO18+ieN2AUqmlMgkxs31elrfChcDJZow0kCxXg91fhC93dQzb/MawZj/OzCrypA1zbc=@vger.kernel.org X-Gm-Message-State: APuU4Z9EC5qTnq+OA+RbinZd6xeFKnq3lTihsUUZ7X78T1LwbEHZaC9Z pn+uRzY11B9XI8js147OcTopQwi3h6esJGYkWvT1dOTnqTnmWut+4Agr X-Gm-Gg: AZFdTZeDhJ51x8KPDof2t5plXyCA+79Ev5I5a0RJuHdMzcDHeBDfA1Hq1AvW76r6NCu bDZza9rZUT5WFiRxFKPApXx2ZGhQ9BLfJHuvG33yjvQ02jaOt06QszQ98YfPj5b9TeLkoKz5o5N pXtjXKFKv80IP8lpmi8Bn+uFaDXEDc3ZAXQVTxHhTg46EFnHtAWt8Pi9WHAxAn/yoPq3Cp6YUl8 UHNib9rVHNVcp0Ze6njybpvUFyfzy+hE0YhgxxXHcubRQleAgvbyNotIM8SQREH8dpXGFf34G5p uU/CbF3kga5CtBjUWJMF7T8P/9e9FAbqGB5sGeCfzOyfUC9+Zfa60bWNoxyE5g2QBV+ZegP3B5p s8q0h5FLb65aJGQR+ftqXY9eL1OReWzwrZiCGk3Qi1Xb6RS8BnW495fjZko47v/18+jmErmi6cW 4jSsqQ7Q1y5Ylz19ytYH4SyU/VihU5kzP7ebG2zuPpbXTUENmtO3zZ0dXXwBeQwRbvJfbpS2bdo PCWyZW0VJ/jz4gblqMaEaNhgHzc4/ayyQgjJzOjfIeUN/Mw9f2XwNgtU/rllTncr9127IxRTR+r 9Xh1rJlEaEcjKfEJV4E7anAeofHBi15gjzRajiLKfZqi6aivilUvL1c= X-Received: by 2002:a17:907:96a9:b0:c52:4c65:589e with SMTP id a640c23a62f3a-c52625a9695mr272073566b.47.1796440850078; Fri, 04 Dec 2026 19:20:50 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 19:20:49 -0800 (PST) From: =?utf-8?q?Adil_H=C3=BCsrev_Tepe?= Date: Sat, 05 Dec 2026 06:20:43 +0300 Subject: [PATCH v5 1/2] dt-bindings: display: panel: novatek,nt36672a: Add NT36525 CSOT panel 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 Message-Id: <20261205-nt36525-v5-1-8c3f07ee3311@gmail.com> References: <20261205-nt36525-v5-0-8c3f07ee3311@gmail.com> In-Reply-To: <20261205-nt36525-v5-0-8c3f07ee3311@gmail.com> 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 The Samsung Galaxy XCover5 (SM-G525F) has a 720x1480 video mode DSI panel made by CSOT that is built around the Novatek NT36525. It is a single link panel with the same three supplies as the NT36672A panel described here, so add it to this binding. Its reset line is active low. The panel has no OF graph connection: it is only a child node of the DSI host, whose binding does not require an output port. So "port" is not required for this panel. The requirement is kept for the existing NT36672A panel so that its schema does not change. Signed-off-by: Adil Hüsrev Tepe --- Changes in v5: - drop the new file novatek,nt36525.yaml and add the panel to novatek,nt36672a.yaml - rename the compatible from novatek,nt36525-xcover5 to samsung,xcover5-csot-nt36525 - supplies follow this file: vddio, vddpos, vddneg (were vdd, vpos, vneg) - port is not required for this panel --- .../bindings/display/panel/novatek,nt36672a.yaml | 70 ++++++++++++++++------ 1 file changed, 52 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml index 5d16d851172..b7e077e0f48 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml @@ -4,30 +4,34 @@ $id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Novatek NT36672A based DSI display Panels +title: Novatek NT36672A and NT36525 based DSI display Panels maintainers: - Sumit Semwal description: | - The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi - panels. - Right now, support is added only for a Tianma FHD+ LCD display panel with a - resolution of 1080x2246. It is a video mode DSI panel. - -allOf: - - $ref: panel-common.yaml# + The nt36672a and nt36525 ICs from Novatek are generic DSI Panel ICs used to + drive dsi panels. The following video mode DSI panels are described here: + - Tianma FHD+ LCD display panel with a resolution of 1080x2246, based on + the nt36672a + - CSOT HD+ LCD display panel with a resolution of 720x1480, based on the + nt36525, used in the Samsung Galaxy XCover5 properties: compatible: - items: - - enum: - - tianma,fhd-video - - const: novatek,nt36672a - description: This indicates the panel manufacturer of the panel that is - in turn using the NT36672A panel driver. This compatible string - determines how the NT36672A panel driver is configured for the indicated - panel. The novatek,nt36672a compatible shall always be provided as a fallback. + oneOf: + - items: + - enum: + - tianma,fhd-video + - const: novatek,nt36672a + - items: + - enum: + - samsung,xcover5-csot-nt36525 + - const: novatek,nt36525 + description: The first compatible string identifies the panel, which + determines how the display controller has to be configured. The + compatible string of the Novatek IC that the panel is built around shall + always be provided as a fallback. reg: maxItems: 1 @@ -35,7 +39,8 @@ properties: reset-gpios: maxItems: 1 description: phandle of gpio for reset line - This should be 8mA, gpio - can be configured using mux, pinctrl, pinctrl-names (active high) + can be configured using mux, pinctrl, pinctrl-names. Active high for the + Tianma panel, active low for the Samsung Galaxy XCover5 panel. vddio-supply: description: phandle of the regulator that provides the supply voltage @@ -54,7 +59,17 @@ required: - vddpos-supply - vddneg-supply - reset-gpios - - port + +allOf: + - $ref: panel-common.yaml# + - if: + properties: + compatible: + contains: + const: novatek,nt36672a + then: + required: + - port unevaluatedProperties: false @@ -84,4 +99,23 @@ examples: }; }; + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "samsung,xcover5-csot-nt36525", "novatek,nt36525"; + reg = <0>; + vddio-supply = <&vdd_ldo28>; + vddpos-supply = <&lcd_vpos>; + vddneg-supply = <&lcd_vneg>; + + backlight = <&lcd_backlight>; + reset-gpios = <&gpg2 4 GPIO_ACTIVE_LOW>; + }; + }; + ... -- 2.53.0