From patchwork Sat Dec 2 08:11:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 749560 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="shxOKLUS" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80B4F134 for ; Sat, 2 Dec 2023 00:12:46 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 84D6460406; Sat, 2 Dec 2023 08:12:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701504766; bh=9g2L4EqFg5IbhJLlgMfCzKCv8DY9nzLJn0sBO9KAzQM=; h=From:To:Cc:Subject:Date:From; b=shxOKLUSr4uhSwcY38cKmsUNni7SJnFkKsfQ8WxPCq4s9zZFBl9bIEkFzA7qnxlAd W0+Dz81S4iWhGqq06sMW/PBhKhNbCoW800kgYGkwjskM2FJ1xl73WfE6XFgzIOycde sdZrrEaT/suEL65AOaFuwMEMWKTJV0vJbh7ujH6rVkQiOCcIUbJPPWCLHidq28kQMj RPsM/JUgRbjJOt1MJ7c3lCsuJMMNLgSaqZn2qB4d4G8EWZ3s4/p/1qsoW6AjBgJ+6c 233gXRp79EJnBcY+khXyQ4N7FMXy6dEE9IXoFu/1SE4xj6qjQUGlBg39eWAw5lhKjz IHoe8I66cDFlA== From: Tony Lindgren 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: Carl Philipp Klemm , Ivaylo Dimitrov , Merlijn Wajer , Pavel Machek , Sebastian Reichel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: display: simple: Add boe,bp082wx1-100 8.2" panel Date: Sat, 2 Dec 2023 10:11:52 +0200 Message-ID: <20231202081157.47222-1-tony@atomide.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This panel is found on Motorola mapphone tablets mz607 to mz609. Signed-off-by: Tony Lindgren Acked-by: Conor Dooley Reviewed-by: Dmitry Baryshkov --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -73,6 +73,8 @@ properties: - auo,t215hvn01 # Shanghai AVIC Optoelectronics 7" 1024x600 color TFT-LCD panel - avic,tm070ddh03 + # BOE BP082WX1-100 8.2" WXGA (1280x800) LVDS panel + - boe,bp082wx1-100 # BOE BP101WX1-100 10.1" WXGA (1280x800) LVDS panel - boe,bp101wx1-100 # BOE EV121WXM-N10-1850 12.1" WXGA (1280x800) TFT LCD panel 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,