From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.54 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796440852; b=um8cBN2c/uVvMqCGHj02qQ3RLawIYhqisHczoowe3E+htF2H3GAevns7x41lqXJCbzQ9 kmWx1egAjIdjNN8R5l8VfoM/hdEwSlcqlnvzhZjCwHdQethAOu9UOleg3GO2ls7EFcBA/ gcm0QhRxXDPIbu0KL+CY8Q87/wt+7acmwYUjPYS7fUeMrBr57QtEtX6bcnn772ADDaj/Z KSUaG0SZ5AwWmw0uH13aVrfc5+mXUwXNN/4cT8OxZQ3XTzNTZ/obwoOkoB4Y0my6RNzO/ Uk4R/nkrF0IxIVucQt/CFWZq7n0LtBR+O+CBs4MyJVi1cHGkOo36kB2b9EKWAS48G+Q== 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=KvKX2JygoaayY/z2en6LHDkGp5ULtobuTPZvpPAPOhfVKLgjaNNioNChSbxbwSxJR9yZ Y8qoOtI/3z7uZNn3Hma7Zb+xKoiGeKHZxGBRJsxSFunn3fbaL1DuHWxafq0IWS1w3GH3p byoX3wAXrsV3WWYcbfsJWyKUCqd3KAD3UvNBACa8qzLJsqShi/5GCF73zofe4fz+pUtOr Chc0VeWfjC8DrwRIUS3d4sZISmR3qL1VRKkF5bsF3DMU4Bxstp23GXR+/Q/dAERnUszAJ q07ss55jeqXtcRQ56JQDCe6xXS/IHBZsAKQJ0R1xb4lDkSQ6mEs22kdskQLLHxbot8w== 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.54 Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 BE87D606A335 for ; Sat, 5 Dec 2026 03:20:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BE87D606A335 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-f54.google.com with SMTP id a640c23a62f3a-c5235be7be9so247763466b.2 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=q5XoA/qnIxlXE0XPTKkvcCffSHj6j3I3Qh3qGOpRx/0mkc3Yp3pp1vcIKUK2Sdbzla AEWxpX458UKbva4+86IWGwKfHP3VmuC/wLhmejEVyVE28hvNtpB3Fw81OA3O9a+grhTd G4wMSgc2ttoRa6SWGVErUhLkprL+ptXt0hpX9qSrOWOp+LgMZ/W82upMd8rN+7UKjAH3 KMigRDCKJ1zVv07YFmvssbUMZY17UnB4zzzka37ERQMng4Jmy/q3lI0vEtzEW4cL81w4 qrbWec8Uq0TWKmHl+YxAmrvKr6mDVyte0FiuuPym0dPrGs+sXb1Z0oaiRA+4k93DHq10 v/aA== X-Forwarded-Encrypted: i=1; AL+hErFnS/tQt6SxdhXv28kPOihXvmQabzCklpwNWiHyHRlr67ZZtg8UD5h5TGmyEF3RbVS0PbPHwivIQwI1@vger.kernel.org X-Gm-Message-State: APuU4Z/b6u/CIPgu9ax1S3yYDrSS6PZ5oNDoFoCcJIYAXfKBPsL2xboe j5YAZkVq0Q4jje2ovp0tfOslNF/pW8B3434XE2Ulk2lT8kswBAwpJkDx X-Gm-Gg: AZFdTZc9fM4sWoLd1M3dEhQPJb6F+RGmHREWtDGTQJpalnd1nivXZr4UfoxmzkNEoD/ vwT6PHS92prT6oFCoM8KqUnb9JJkvKzVEhBFkbHCES/lUNUAWKYKWWYyGR8xRkyS1DS9L+21AE4 tskKNLVZgY4Jkwi1Qc6bDqrfYWJ6DO9ThKlvANS/QdteCAyPkts02Vu7INjl01zdh7eJa6pZu8a YCzQjCCdfgevP9AdUadjWOdBVDhd48pNy2l5m/E8iGzMfP5rvToTnFBncRQHOMrnZbG5hSZuEpx wZZfm0bIuEy7xmc3uli3QiCAr+wR5Hso07iL38tjOXwVZahymkihFi0/WqVlVPaqNGFCS/x8FQX Z/bn+FIdmP3zsz+ARtnTjbL+b/IcmuJoTE8XBW2YBk8iKOv3DRBdgt9kE2+ibAnummAdNvfTyat PIV+pnWdf7FAZ5PxR6TJna+QcfexHmZIhCyeWkqcndYdB5G/kkUfXGiPneAmwGXOi7xtv/AW8Jz zp+l8Ha79EOO3bJwPIdWoaPmT/1XNjO0bMV6r3ZU9rmJ2KEnY4vjICgcPn8Nabax7nWqBliPwz4 cO2vb5eK+o8bSeDtSyXsCBJNjaBCcUoCiw8yfixPL/CvBbRkJev8GwE= 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: 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 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