From patchwork Sat Dec 2 08:11:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 750212 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="XhAXba3q" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6649DF4 for ; Sat, 2 Dec 2023 00:13:39 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id A8EF16036E; Sat, 2 Dec 2023 08:12:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701504818; bh=i0Qu86EoRhOUVg9WF10PoY0z73qE6Fd4XRJM8U2Gwnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XhAXba3q4As+JAWyfJ9V+Wtm3bNibIxJV1nk4dV+DzoM4D+BOg8qFmOKE7VNk5rUi duEpAjKZkBkEobwfoMa37I0oLF5bm5ErQwDCygwPxkrHlDGNtNnRJ5QGXagt9CoGdk hUtL56xuaFboTocC78Q91JGxdkKugfTsW0/qRO1w9FuysMoMLE8YLGzg3QzFg9oVxU SaT3zf8sCEI6TJ7zo+H9tGkGprElAfW/KnDCzszG7X8CSePYpoDCKCDS2HdInjZ0Mq StEragMxDY0ExNm0PCJVuSthhg/n7bNdNHf+qxOROEwQdXsJYbxl9GG12CVUaQNVnZ 5KzETygaMPpFg== From: Tony Lindgren To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding Cc: Carl Philipp Klemm , Ivaylo Dimitrov , Merlijn Wajer , Pavel Machek , Sebastian Reichel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] drm/panel: simple: Add BOE BP082WX1-100 8.2" panel Date: Sat, 2 Dec 2023 10:11:53 +0200 Message-ID: <20231202081157.47222-2-tony@atomide.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202081157.47222-1-tony@atomide.com> References: <20231202081157.47222-1-tony@atomide.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The BOE BP082WX1-100 is a 8.2" panel similar to the 10.1" panel BP101WX1-100. Both panels use the same timings. Signed-off-by: Tony Lindgren --- drivers/gpu/drm/panel/panel-simple.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1336,6 +1336,23 @@ static const struct drm_display_mode boe_bp101wx1_100_mode = { .vtotal = 800 + 6 + 8 + 2, }; +static const struct panel_desc boe_bp082wx1_100 = { + .modes = &boe_bp101wx1_100_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 180, + .height = 114, + }, + .delay = { + .enable = 50, + .disable = 50, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct panel_desc boe_bp101wx1_100 = { .modes = &boe_bp101wx1_100_mode, .num_modes = 1, @@ -4281,6 +4298,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "bananapi,s070wv20-ct16", .data = &bananapi_s070wv20_ct16, + }, { + .compatible = "boe,bp082wx1-100", + .data = &boe_bp082wx1_100, }, { .compatible = "boe,bp101wx1-100", .data = &boe_bp101wx1_100,