From nobody Wed Dec 17 12:17:43 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 9F72284A36 for ; Mon, 29 Jul 2024 07:03:10 +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=1722236592; cv=none; b=Uex+CT8nKWCpPsy3gzNqrBTd0qQ5ZRlwIGbm4gk8KDit79fawERkzmNh9OgoXJkduy/bJqBz+oNpmwbzMSAtK1+uD0VXwG8788KaXSahd5HArTJfMiirfG/8xZF/x+C+OpDO7K5mD/M7CrkWVD+C2bP1QclZQnNIhcMXwXapMwI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722236592; c=relaxed/simple; bh=Z9X75EpJBnQUF+ecvzyLU5RTqQNhVQ+oAUONH1D66ps=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ge9rz1Rk93Un/5j5MjNDE3cBkXP2JShHpYwxViV4yOSUtcIFTpfsNK6EGrt1giMe8nrclMWgGBhtVazAYxoE37Ps4BdvexYVGIASLeOT2Sd8VNJyn9OO5EbQhK0ljlYz2aaEkj/VGJc11bd3j3USUc3GZB3k9rKUOozVcsHzPKc= 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 1sYKP4-0003xR-9C; Mon, 29 Jul 2024 09:02:42 +0200 From: Steffen Trumtrar Date: Mon, 29 Jul 2024 09:02:39 +0200 Subject: [PATCH v2 2/2] drm/panel: simple: add Innolux G070ACE-LH3 LVDS display support 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: <20240729-b4-v6-10-topic-innolux-v2-2-27d32c766ce5@pengutronix.de> References: <20240729-b4-v6-10-topic-innolux-v2-0-27d32c766ce5@pengutronix.de> In-Reply-To: <20240729-b4-v6-10-topic-innolux-v2-0-27d32c766ce5@pengutronix.de> To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Steffen Trumtrar , kernel@pengutronix.de X-Mailer: b4 0.14.0 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 The G070ACE-LH3 is a 7" TFT Color LCD module with WLED backlight. https://www.data-modul.com/sites/default/files/products/G070ACE-LH3-specifi= cation-12058417.pdf Signed-off-by: Steffen Trumtrar Reviewed-by: Neil Armstrong --- 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 dcb6d0b6ced06..d3200dd035662 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2509,6 +2509,38 @@ static const struct panel_desc innolux_g070y2_l01 = =3D { .connector_type =3D DRM_MODE_CONNECTOR_LVDS, }; =20 +static const struct display_timing innolux_g070ace_lh3_timing =3D { + .pixelclock =3D { 25200000, 25400000, 35700000 }, + .hactive =3D { 800, 800, 800 }, + .hfront_porch =3D { 30, 32, 87 }, + .hback_porch =3D { 29, 31, 86 }, + .hsync_len =3D { 1, 1, 1 }, + .vactive =3D { 480, 480, 480 }, + .vfront_porch =3D { 4, 5, 65 }, + .vback_porch =3D { 3, 4, 65 }, + .vsync_len =3D { 1, 1, 1 }, + .flags =3D DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc innolux_g070ace_lh3 =3D { + .timings =3D &innolux_g070ace_lh3_timing, + .num_timings =3D 1, + .bpc =3D 8, + .size =3D { + .width =3D 152, + .height =3D 91, + }, + .delay =3D { + .prepare =3D 10, + .enable =3D 450, + .disable =3D 200, + .unprepare =3D 510, + }, + .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 drm_display_mode innolux_g070y2_t02_mode =3D { .clock =3D 33333, .hdisplay =3D 800, @@ -4599,6 +4631,9 @@ static const struct of_device_id platform_of_match[] = =3D { }, { .compatible =3D "innolux,g070ace-l01", .data =3D &innolux_g070ace_l01, + }, { + .compatible =3D "innolux,g070ace-lh3", + .data =3D &innolux_g070ace_lh3, }, { .compatible =3D "innolux,g070y2-l01", .data =3D &innolux_g070y2_l01, --=20 2.45.1