From nobody Sat Apr 4 00:24:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82E96155C87; Sat, 21 Mar 2026 15:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774106591; cv=none; b=q2qMyxnjwdj1H5IVa8DR/AIeSGegO87UNN15qBM25UhgHdqupSTjXg3LFOxJvjQc5DOGHrYyP/fKMCWmVMt53s5DeXergTDY47qyhx4BWkTOfrQItpB6xsfhvn/rTR/7WK033FmET7Hky/EhzHTtPyHcSKJEsD9+UQ5r8So0Xm0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774106591; c=relaxed/simple; bh=RXilof1gAfb4sHzRQIGyoky1lk3TJShq5kSjMd7XO7k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FWHxB1WdZAtPVzYq3/rmjh3LbiGQVcEwPptPJlnDKnGA2gQySVVzaxA9n3tfa/zp3kmyx7ZgErT5dV/FDd76jg8mb2ge8GrZ7FQxC4Vi+as3JWIG+i7xe9jooUqIvSaDhElGCl5ql8p9iAkbFq82DGb48UqZ+fwtGub0POHra+U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tZcszYl+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tZcszYl+" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2B92CC2BCB0; Sat, 21 Mar 2026 15:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774106591; bh=RXilof1gAfb4sHzRQIGyoky1lk3TJShq5kSjMd7XO7k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=tZcszYl+KiIh9okNdYrXuWj30/YVPrrPL6hSEPK70wR4PUDtcCJvuOY95ePJyGiIg W+E36Ca+KRBsaV8eTt8AdtIatPNHAxkELse55mwitf/supVK+bER4+/sZkf3gBU2Z+ pSGIZNqdPNtOtXsA3xS2LvJrmaYN7Pi8CfR/a7z49jfP0LuwryC/7xXgrvPCfwGrS3 LyPs5B6rHxkzopITZ1BAKMXm+Pa88dzmnJAXyEsD75B/yEH1YSH2umFsgWTxJNDvz+ boDqai3phhj2kDC6OIQ00proPAP9TyakSt1vdxZUyUFcMQ7XrOA6hmCQLvhuBlEmDO SYadCaFckJXYA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A6E61094483; Sat, 21 Mar 2026 15:23:11 +0000 (UTC) From: Cristian Cozzolino via B4 Relay Date: Sat, 21 Mar 2026 17:23:20 +0100 Subject: [PATCH v3 1/6] dt-bindings: display: panel: Add Novatek NT35532 LCD DSI Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260321-rimob-new-features-v3-1-d4b8ee867de7@protonmail.com> References: <20260321-rimob-new-features-v3-0-d4b8ee867de7@protonmail.com> In-Reply-To: <20260321-rimob-new-features-v3-0-d4b8ee867de7@protonmail.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Cristian Cozzolino X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774110230; l=2947; i=cristian_ci@protonmail.com; s=20250620; h=from:subject:message-id; bh=PxFqeuqNj1VprUSP+bqkkKxxxmFjF1RLDaIlR7HIQTQ=; b=GDROwhLCa2Yuk8MyHRFlLqKznRGxgpl5vmEJjBb+x4hjGX4lNF19rHqIYtWXeSCLiNLc2xSdM hB6ukXIVg8JC9otKWwQZIYS8PEV8aZequ/glW78KqRDnx5zUlHF7IYl X-Developer-Key: i=cristian_ci@protonmail.com; a=ed25519; pk=xH5IvIPUNHV1Q8R0/pq2CfuVFR/wTiAyuyi6IwedjZY= X-Endpoint-Received: by B4 Relay for cristian_ci@protonmail.com/20250620 with auth_id=438 X-Original-From: Cristian Cozzolino Reply-To: cristian_ci@protonmail.com From: Cristian Cozzolino Document Novatek NT35532-based DSI display panel. Signed-off-by: Cristian Cozzolino --- .../bindings/display/panel/novatek,nt35532.yaml | 77 ++++++++++++++++++= ++++ MAINTAINERS | 5 ++ 2 files changed, 82 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt3553= 2.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35532.ya= ml new file mode 100644 index 000000000000..c7928553681a --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35532.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek,nt35532.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT35532-based DSI display panels + +maintainers: + - Cristian Cozzolino + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: novatek,nt35532 + + reg: + maxItems: 1 + + backlight: true + reset-gpios: true + + avdd-supply: + description: positive boost supply regulator + + avee-supply: + description: negative boost supply regulator + + vci-supply: + description: regulator that supplies the analog voltage + + vddam-supply: + description: power supply for MIPI interface + + vddi-supply: + description: regulator that supplies the I/O voltage + + port: true + +required: + - compatible + - reg + - reset-gpios + - vddi-supply + - port + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "novatek,nt35532"; + reg =3D <0>; + + backlight =3D <&pmi8950_wled>; + reset-gpios =3D <&tlmm 61 GPIO_ACTIVE_LOW>; + avdd-supply =3D <&lab>; + avee-supply =3D <&ibb>; + vci-supply =3D <&pm8953_l17>; + vddi-supply =3D <&pm8953_l6>; + + port { + panel_in: endpoint { + remote-endpoint =3D <&dsi0_out>; + }; + }; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index a626dee5c106..8ed2866bbd6e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8171,6 +8171,11 @@ T: git https://gitlab.freedesktop.org/drm/misc/kerne= l.git F: Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml F: drivers/gpu/drm/panel/panel-novatek-nt35510.c =20 +DRM DRIVER FOR NOVATEK NT35532 PANELS +M: Cristian Cozzolino +S: Maintained +F: Documentation/devicetree/bindings/display/panel/novatek,nt35532.yaml + DRM DRIVER FOR NOVATEK NT35560 PANELS M: Linus Walleij S: Maintained --=20 2.53.0 From nobody Sat Apr 4 00:24:55 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82F32301474; Sat, 21 Mar 2026 15:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774106591; cv=none; b=PK1kKJpxqyre4CzB1zXi8B7TtYmkdy8mN18UY9ANLgYtGkyK3HtqXVGxhVxYdbtihRbIMKvUQmICmCSd2b/+VPqotuugs8Rg6lSnDi8Q27hqL996mOGAURD+cL0PKH518cCmJj6U/8hk3iXbf4M/xfrogAAL2fPmXzcpBkU31k4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774106591; c=relaxed/simple; bh=ih5/T75k5QW4rYi4awNUY460lzerOiUBVsn+fUzWiw8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bL1dA1/ZQWEEeAj+LHIfTR+F3UmADoiHjaYtBZ+lZYxDARdLIV1wLxXRbSIxONvORWAPEtZNl/9cRnODNyAip6ybUlt9ekLSjGXVbPDJzr00WCD4VthWa+ZENIiiIzEe7MdFN/HLcnw1aTu0qOJYF0b+RsaKyr0bHyjlntdpc9M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c2XVlxhx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c2XVlxhx" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4C06AC2BCB6; Sat, 21 Mar 2026 15:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774106591; bh=ih5/T75k5QW4rYi4awNUY460lzerOiUBVsn+fUzWiw8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=c2XVlxhxBZO7lHOwIeJORhf/HxeBBHxx3PI/gr+Ap7ErbiYVJu1oVCoraC+1z/wmr sEz781dvVVptoa3ZBxRKYDbGVndrzuH/upCY3O0X6awmi405zYVlMxKzRuRWAFB/dN swzfeTjOnwFFUMynJh8bDYPBy8TjOlxCpM8KBstT7kFDZyx4Wi19LZ8RUnKsU1/adK PtbD23yvR0T5lVc3a5G/Pv8FvrfbWAGTGNk8C2Dr+++FPATProbCOWveBfDE9kkovQ UFGaQqEl+ep6jcmwtGsDj22E+0WWTUwZkLmIvPOY1lh3WfpOixnmevCqbU1jybZ5ky ztAbKTYlhhGng== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 429561094484; Sat, 21 Mar 2026 15:23:11 +0000 (UTC) From: Cristian Cozzolino via B4 Relay Date: Sat, 21 Mar 2026 17:23:21 +0100 Subject: [PATCH v3 2/6] drm/panel: Add driver for Novatek NT35532 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260321-rimob-new-features-v3-2-d4b8ee867de7@protonmail.com> References: <20260321-rimob-new-features-v3-0-d4b8ee867de7@protonmail.com> In-Reply-To: <20260321-rimob-new-features-v3-0-d4b8ee867de7@protonmail.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Cristian Cozzolino , Dmitry Baryshkov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774110230; l=41457; i=cristian_ci@protonmail.com; s=20250620; h=from:subject:message-id; bh=g65NHOmYE3E9mkdbYssGMoraRj41HAjPr0ILyheDFjU=; b=gFSAFIpEQmglJry+LYxs5KWy+djYTxmvPLHnYpq29h5OLCLBwLgrjcTKJc+AkIE4PXNlbhQ6y 44oibROHuneAPGX+pnXHsaNqVhqPzb0fikflMut8jozpeRu3Y8ldaqe X-Developer-Key: i=cristian_ci@protonmail.com; a=ed25519; pk=xH5IvIPUNHV1Q8R0/pq2CfuVFR/wTiAyuyi6IwedjZY= X-Endpoint-Received: by B4 Relay for cristian_ci@protonmail.com/20250620 with auth_id=438 X-Original-From: Cristian Cozzolino Reply-To: cristian_ci@protonmail.com From: Cristian Cozzolino Add support for Novatek NT35532-based 1080p video mode DSI panel. Reviewed-by: Dmitry Baryshkov Signed-off-by: Cristian Cozzolino --- MAINTAINERS | 1 + drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-novatek-nt35532.c | 779 ++++++++++++++++++++++= ++++ 4 files changed, 791 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8ed2866bbd6e..130745ecc3fc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8175,6 +8175,7 @@ DRM DRIVER FOR NOVATEK NT35532 PANELS M: Cristian Cozzolino S: Maintained F: Documentation/devicetree/bindings/display/panel/novatek,nt35532.yaml +F: drivers/gpu/drm/panel/panel-novatek-nt35532.c =20 DRM DRIVER FOR NOVATEK NT35560 PANELS M: Linus Walleij diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index a99f2e2a49fe..a4a64d7afe91 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -522,6 +522,16 @@ config DRM_PANEL_NOVATEK_NT35510 around the Novatek NT35510 display controller, such as some Hydis panels. =20 +config DRM_PANEL_NOVATEK_NT35532 + tristate "Novatek NT35532-based DSI video mode panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + select DRM_KMS_HELPER + help + Say Y or M here if you want to enable support for Novatek + NT35532-based 1080p video mode DSI panels. + config DRM_PANEL_NOVATEK_NT35560 tristate "Novatek NT35560 DSI command mode panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 3336a2c0cd86..dabf1201fe17 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -51,6 +51,7 @@ obj-$(CONFIG_DRM_PANEL_NEC_NL8048HL11) +=3D panel-nec-nl8= 048hl11.o obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3051D) +=3D panel-newvision-nv3051d.o obj-$(CONFIG_DRM_PANEL_NEWVISION_NV3052C) +=3D panel-newvision-nv3052c.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35510) +=3D panel-novatek-nt35510.o +obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35532) +=3D panel-novatek-nt35532.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35560) +=3D panel-novatek-nt35560.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35950) +=3D panel-novatek-nt35950.o obj-$(CONFIG_DRM_PANEL_NOVATEK_NT36523) +=3D panel-novatek-nt36523.o diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35532.c b/drivers/gpu/dr= m/panel/panel-novatek-nt35532.c new file mode 100644 index 000000000000..c57d7fdfddc5 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-novatek-nt35532.c @@ -0,0 +1,779 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Generated with linux-mdss-dsi-panel-driver-generator from vendor device= tree. + * Copyright (c) 2026 Cristian Cozzolino + */ + +#include +#include +#include +#include +#include + +#include