From nobody Mon Apr 6 15:50:53 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 036EF376BDC; Wed, 18 Mar 2026 21:28:54 +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=1773869335; cv=none; b=TDYeXm/c49IFkHHNsdrDN0gpnOKvVcOSOFAu4RSelC/IwMFKtWIjGE2YJ7FIPdDVjWofEbVlwHD0akmyrc6fdkJNL4bayAlmYlB0sdU9JaGbXh3wSW0Gt/4hTi34+yZ/Uc2jNOi+BK0AIPslgdlKWyc9z+Uj/m3BZHXIP4g9JUg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773869335; c=relaxed/simple; bh=wWtilU/X3reyCLR78Ax6NznM9Ajx7JyBJBZKN0HbcQ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ISUu2VbgM3z04qLTa+QfKiBHx6ANYnuxwh7eGar7bODXVtI9H3lAUhgw/YGBTCvS+leRK72qzN4wYtBlGxSt5v4/neV26H0F+47hqWkw93EIalPvUOELfblXBalwTEpN+7QWUndk9inLd0yLAOeADTddurlK4Irliv0BJuuKfZk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m3Cm5QOT; 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="m3Cm5QOT" Received: by smtp.kernel.org (Postfix) with ESMTPS id B15ACC2BCB1; Wed, 18 Mar 2026 21:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773869334; bh=wWtilU/X3reyCLR78Ax6NznM9Ajx7JyBJBZKN0HbcQ4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=m3Cm5QOT3eQk3liwQhuiMCJHrSCVolP36slofyeUQlDaniZ9wr98fyynDVZBbNRIw xahMWkdva6bZiinEk/jIGtQVJa27BCKpnwgCtEKR+EkVkU0ojulK5ukqzFANpdnPa2 4AT8oR2Nt3MVKEo4Cr6kwrfNSvQxeaIv0Oa2dKPjHLv2AVmMSuoFW5GjIgBdkQ4/mk ubDfXMY3aT0QtXgsvgO1hnZ8LA/iMy8gcCp/hhkPnCqrsgFiARC5YBu4kNuzvfuVy3 VERXu9fwL4lVpEv1ivp3DlZ4mtr/F8hWthJP/aSLgsQuW87g0qsUdVeK7E+lNABZxk OoOO0iYHZjTEA== 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 9F059107761D; Wed, 18 Mar 2026 21:28:54 +0000 (UTC) From: Cristian Cozzolino via B4 Relay Date: Wed, 18 Mar 2026 23:28:09 +0100 Subject: [PATCH v2 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: <20260318-rimob-new-features-v2-1-c1bf8917449e@protonmail.com> References: <20260318-rimob-new-features-v2-0-c1bf8917449e@protonmail.com> In-Reply-To: <20260318-rimob-new-features-v2-0-c1bf8917449e@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=1773872973; l=3000; i=cristian_ci@protonmail.com; s=20250620; h=from:subject:message-id; bh=ZXYXVn4QgLjX/qa4+Ou0IYFFUzOqCu0eyRDrCd6uy7w=; b=G31npIJtW1Y4ibMDsAxlbGGhdRNh/QNXXDtNXuJmLJou/11MwhxG35HETYpEHJ0pU9BF2Q7CN eB5+GZlFur8BU4C+QScXXi+mRD22RqhPghT0hyS4XMSGg9HoJ9Cinvw 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 | 80 ++++++++++++++++++= ++++ MAINTAINERS | 5 ++ 2 files changed, 85 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..c7491a93b5cd --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35532.yaml @@ -0,0 +1,80 @@ +# 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 + - avdd-supply + - avee-supply + - vci-supply + - 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 8d768ddae117..8afb94532a89 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8168,6 +8168,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 Mon Apr 6 15:50:53 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 0366A3101CD; Wed, 18 Mar 2026 21:28:54 +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=1773869335; cv=none; b=Gdclj9INVcqH4b8Z1E8RHvAAkhHaB58rzm0OJPmxNr/bXRRlCwDLvT8MgHhFrZ6KW5iZjv9ffb0PKGSVDo7VskAvsTVS1wCn860xAcycNfnjVwvG4xMXmK29HnC4aeZ+1Y51/N9OnQTws02OOoouQCjMbkuDRq47csB2nL+jrmA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773869335; c=relaxed/simple; bh=Aqh8DFFFnwMACcbw2dxJ/HDPkPB90P5jLA48aewGUzg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hpRID9sadioM+Y64qygKplDOg7RXtwx3YMNNJHpDI7MATdn7Y5ZbMMYBDHQDy2cBfhmQ1zvpYES4lrb+fgRnoCX/tCUbQLXVNmU9+l8X3nFRrgjLUEaVOTYf1r5CP4RYgmYzLVaevUsVECv2k/YxuOvC1REomr1DCyxMW0XsSsA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UnB2Tll+; 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="UnB2Tll+" Received: by smtp.kernel.org (Postfix) with ESMTPS id BF595C19424; Wed, 18 Mar 2026 21:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773869334; bh=Aqh8DFFFnwMACcbw2dxJ/HDPkPB90P5jLA48aewGUzg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=UnB2Tll+y4s/b2SDmH0dFkHgnqBX7Qj726m4UBu+QgIP8UddDR60PodBxDj5Ifo1R yBddFKT/11TrsIIieghs8QPL0+4DhQ8mrH+jF0mnWu0bM8sxXcj3G8hXuHPcHgteAA c6aj0/m0OJ1S1uLcpQi7ipeMGrB0veaD4nkzBqz5BgKbkbo2Lrn1dZIjIgxcrQoigT gcE1GMjkwGWHJHIk4d2LSFVqbBdqIh9sLY977Q59aABxCy8rhm7cPSjBjXe9ltl84x 5D2TbJTpxJNwDmWOpLxix3qrcPDvfdKZ/5JjB6zx9n+XPF8PT7R3SFj/lZ7gkI0L1Y WT5Se7nWsPZWg== 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 B2206107761E; Wed, 18 Mar 2026 21:28:54 +0000 (UTC) From: Cristian Cozzolino via B4 Relay Date: Wed, 18 Mar 2026 23:28:10 +0100 Subject: [PATCH v2 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: <20260318-rimob-new-features-v2-2-c1bf8917449e@protonmail.com> References: <20260318-rimob-new-features-v2-0-c1bf8917449e@protonmail.com> In-Reply-To: <20260318-rimob-new-features-v2-0-c1bf8917449e@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=1773872973; l=41418; i=cristian_ci@protonmail.com; s=20250620; h=from:subject:message-id; bh=J1sp1Fry46QUpvPtqBZAOJjjMBoUSgtWGr3j3SE257I=; b=pLeVttKTAsaVDcCmbyGVR02xniYZ4PG25b8y1ttfl0PlJaNXVoirb0W345cxWtdAaNF5SUSpo bvs/AwRhYukDCYY9kERULjGlObSPEdQ9vFAMZXsUqt7Op4xlRBVymZO 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. Signed-off-by: Cristian Cozzolino Reviewed-by: Dmitry Baryshkov --- MAINTAINERS | 1 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-novatek-nt35532.c | 779 ++++++++++++++++++++++= ++++ 4 files changed, 792 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8afb94532a89..6f4e40f65631 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8172,6 +8172,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..1397d80a6a0f 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -522,6 +522,17 @@ 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 VIDEOMODE_HELPERS + 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