From nobody Mon Feb 9 15:45:24 2026 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 4EE157F7CE; Fri, 23 Feb 2024 13:45:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708695929; cv=none; b=A6az1PLosr1pyg2SRieeGiVB7N0GdUrF080C1A2o5m4wXmJTKaWQ7LHc+62GoUf/laHa3D/YuszidxCad1GuRBMf5k09Ys4kJ+xEXU+B7fOtTo7f/+cowGe3dI+UghcHqQUKwwLeUj3nIvkKuE4nIbdbVtw1qDt+k6WyUN76AaY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708695929; c=relaxed/simple; bh=UqrS3L3ZfbwmChhjl8azT4mTToB0ZPmTuVA//e4Tm3c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=N0qVDWwCwoRsYNf57mpcfj2bU5qYJb/Pv+C7hf/qvw8AKj1ixFtkFfG8ezCVTRV5ss1aE2JNPld0LMEYtfHze7FinFv80qDQxoyfwGRNJ/dPrUvgqoVF9TPBEdMy59iYKBVaNgalCBr6+KGlzBDLxRtHoW4SqOZVxXUOD5yQf7I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=H8HuPFVF; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="H8HuPFVF" Received: by mail.gandi.net (Postfix) with ESMTPSA id EE26724000E; Fri, 23 Feb 2024 13:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708695924; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=02ddm9Xy6N7z/+neL8gzCb13I4/NT+KuYhzJAZBmiP4=; b=H8HuPFVFjlTSb6rpaiXXgs5bRaL0zt7HcTIQ9cusb5bvcuJk9zcO0BldPrYHbrN9D3KiFQ u+2yGHH3pVxZA0GGmSGe0fjQ0aprlD5dfJYQG/sKXRtq+DAlXBNO5NZpwP01jNpJDe01tP oBrgGicgs4gym0SCDZqY+FdmMZJt3FZxU1+sr6/DYWAWH/aRT0YYEMB/An4Y29qXyq+OEB SdqbDBckYhAtpvgGvmm2mhEAD+7/xF7/JdMWBYJyZvIwxGbC19y4Fm1wBuI3mrk1wuTtGX XBQe1s4wrfq9ax0PBfvKRW3ohgTYYXQcWNyOvo5dd+djCCLjxKgHBfaSO/Drgg== From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Dautheribes?= 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, Thomas Petazzoni , Yen-Mei Goh , =?UTF-8?q?J=C3=A9r=C3=A9mie=20Dautheribes?= Subject: [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support Date: Fri, 23 Feb 2024 14:45:17 +0100 Message-Id: <20240223134517.728568-4-jeremie.dautheribes@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240223134517.728568-1-jeremie.dautheribes@bootlin.com> References: <20240223134517.728568-1-jeremie.dautheribes@bootlin.com> 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 X-GND-Sasl: jeremie.dautheribes@bootlin.com Add support for Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel. Signed-off-by: J=C3=A9r=C3=A9mie Dautheribes Reviewed-by: Jessica Zhang Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/p= anel-simple.c index 20e3df1c59d4..b940220f56e2 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1457,6 +1457,32 @@ static const struct panel_desc boe_hv070wsa =3D { .connector_type =3D DRM_MODE_CONNECTOR_LVDS, }; =20 +static const struct drm_display_mode cct_cmt430b19n00_mode =3D { + .clock =3D 9000, + .hdisplay =3D 480, + .hsync_start =3D 480 + 43, + .hsync_end =3D 480 + 43 + 8, + .htotal =3D 480 + 43 + 8 + 4, + .vdisplay =3D 272, + .vsync_start =3D 272 + 12, + .vsync_end =3D 272 + 12 + 8, + .vtotal =3D 272 + 12 + 8 + 4, + .flags =3D DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc cct_cmt430b19n00 =3D { + .modes =3D &cct_cmt430b19n00_mode, + .num_modes =3D 1, + .bpc =3D 8, + .size =3D { + .width =3D 95, + .height =3D 53, + }, + .bus_format =3D MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags =3D DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, + .connector_type =3D DRM_MODE_CONNECTOR_DPI, +}; + static const struct drm_display_mode cdtech_s043wq26h_ct7_mode =3D { .clock =3D 9000, .hdisplay =3D 480, @@ -4402,6 +4428,9 @@ static const struct of_device_id platform_of_match[] = =3D { }, { .compatible =3D "boe,hv070wsa-100", .data =3D &boe_hv070wsa + }, { + .compatible =3D "cct,cmt430b19n00", + .data =3D &cct_cmt430b19n00, }, { .compatible =3D "cdtech,s043wq26h-ct7", .data =3D &cdtech_s043wq26h_ct7, --=20 2.34.1