From nobody Thu Oct 2 06:34:33 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 8F79D2F90EA for ; Mon, 22 Sep 2025 11:11:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758539487; cv=none; b=QTlOZSrIK5Prn4mkO3fDBZjcMLxf4lpVJj7JdKYt1rRiAyRJkDTL8m75vGEyic5uWE3Nbbyfy8RwuZnUnkDiV17tC3t7kWfNoIgzxkxJCOWX+z/lRv4EaK1IFlmSgQyjmttx6Bz5brLxlPdq8uCyMQ0T+x3b5aM+yv9TK1b+VcU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758539487; c=relaxed/simple; bh=WQ7IQvAQ0uRE2rmIfgojq93oHHa2bXg/BQVixqwDiM4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QEHhTlBZcvUck+Dm/geEHo7oaCVUDat51l/ZZ4BJwTQN2yTWniLG28MdLiYiUwtqlbP2PuZfGo4GCb1xY82UH8PPzQDO2rn/M+Z7CgosZa3bc4CQjgrF7fpxl1NCTGMJJ5fnjoSLX3H+vWm/EjuZ2A+pJVDtDga53jJ+u6LZLPk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=ratatoskr.trumtrar.info) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1v0eRp-0002HM-8g; Mon, 22 Sep 2025 13:11:09 +0200 From: Steffen Trumtrar Date: Mon, 22 Sep 2025 13:10:54 +0200 Subject: [PATCH v2 3/5] drm/panel: simple: add JuTouch JT101TM023 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: <20250922-v6-17-topic-imx8mp-skov-dts-jutouch-10inch-v2-3-abbb759cf8ef@pengutronix.de> References: <20250922-v6-17-topic-imx8mp-skov-dts-jutouch-10inch-v2-0-abbb759cf8ef@pengutronix.de> In-Reply-To: <20250922-v6-17-topic-imx8mp-skov-dts-jutouch-10inch-v2-0-abbb759cf8ef@pengutronix.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Thierry Reding , Sam Ravnborg , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Steffen Trumtrar , Dmitry Baryshkov X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: s.trumtrar@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Add JuTouch Technology JT101TM023 10" 1280x800 LVDS panel support. Signed-off-by: Steffen Trumtrar Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/panel/panel-simple.c | 35 ++++++++++++++++++++++++++++++++= +++ 1 file changed, 35 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/p= anel-simple.c index 3333d4a0750468b058155bcdddc694a521d342d6..3bb52a557a193a3687bc5125ab0= 55ad6ff065d49 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2889,6 +2889,38 @@ static const struct panel_desc innolux_zj070na_01p = =3D { }, }; =20 +static const struct display_timing jutouch_jt101tm023_timing =3D { + .pixelclock =3D { 66300000, 72400000, 78900000 }, + .hactive =3D { 1280, 1280, 1280 }, + .hfront_porch =3D { 12, 72, 132 }, + .hback_porch =3D { 88, 88, 88 }, + .hsync_len =3D { 10, 10, 48 }, + .vactive =3D { 800, 800, 800 }, + .vfront_porch =3D { 1, 15, 49 }, + .vback_porch =3D { 23, 23, 23 }, + .vsync_len =3D { 5, 6, 13 }, + .flags =3D DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | + DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc jutouch_jt101tm023 =3D { + .timings =3D &jutouch_jt101tm023_timing, + .num_timings =3D 1, + .bpc =3D 8, + .size =3D { + .width =3D 217, + .height =3D 136, + }, + .delay =3D { + .enable =3D 50, + .disable =3D 50, + }, + .bus_format =3D MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .bus_flags =3D DRM_BUS_FLAG_DE_HIGH, + .connector_type =3D DRM_MODE_CONNECTOR_LVDS, +}; + + static const struct display_timing koe_tx14d24vm1bpa_timing =3D { .pixelclock =3D { 5580000, 5850000, 6200000 }, .hactive =3D { 320, 320, 320 }, @@ -5185,6 +5217,9 @@ static const struct of_device_id platform_of_match[] = =3D { }, { .compatible =3D "innolux,zj070na-01p", .data =3D &innolux_zj070na_01p, + }, { + .compatible =3D "jutouch,jt101tm023", + .data =3D &jutouch_jt101tm023, }, { .compatible =3D "koe,tx14d24vm1bpa", .data =3D &koe_tx14d24vm1bpa, --=20 2.49.0