From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) (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 A2E3D5A79C for ; Sun, 11 Feb 2024 11:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.50.62.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707650311; cv=none; b=qD9EgWLxo3XYtSm1yqmloyKDdyD4ia55NeBT5LmDLM6VnfrEvEWxtOcsGuLSFnKbXP6AO2o9EHLHVKzkrppkQzazFszv4i8tDNafPdgmZODv78Dt9gxdGHWm1i1FNg/Gnu0c83AZvEPlH+lGJ9UHqul9hQ82vax1KJLPDNntSik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707650311; c=relaxed/simple; bh=y3V35ER3Ilcu2aNMexJjIxdCPyQR6xRTWRwiX3tpK34=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SBDxRiGh9CgkDG7vtibV2I0WmkYZfTWBUV0r4g/4yAxe3jWox4LJ0QkAxhbMkf+Dlwckzg0l09dRDrxrrBysQquTdJgtGIaF2/IB4GulG+dxG0/XUw5YIUIWZ7aOj2drQ4ro1WSwNSJyYYDt5byZBMNkYqDJl8qcOhNNAvo9/lA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com; spf=fail smtp.mailfrom=atomide.com; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b=S4VHzaJw; arc=none smtp.client-ip=74.50.62.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=atomide.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="S4VHzaJw" Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id ABE38604E8; Sun, 11 Feb 2024 11:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1707650308; bh=y3V35ER3Ilcu2aNMexJjIxdCPyQR6xRTWRwiX3tpK34=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S4VHzaJwkBtpb0wUV0eH7YHUTKWHPpVyeVmkIXTc7BD2SD48iEtZhb7/7NsA3K5pv fYddUA9B2eCxye1E9+PcWmrN+VtuG7sOPhKCaTl6p1UlEjOxxA5vT5wmX/xjIJ/Jfj YSo22xkt0HnXqRgmt2iiBPZEKj/X+cKFoQCOBXUssQd1/J+s8rWctdLTf3SIHqZf69 +YnMHxMCVpZdobhHLKPA/kud14O1jh/Oeozq7S60zHPTqhLLr05801j7M065h09ZJf Q1Q/lwlWDimKyMF05HDViZm9AcM7UXFN8ply2qYmQSjIqsYhwSAB8X4dqnKFwKIrNX NiUPqXHvFJJ1A== 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: Conor Dooley , Dmitry Baryshkov , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/2] drm/panel: simple: Add BOE BP082WX1-100 8.2" panel Date: Sun, 11 Feb 2024 13:16:59 +0200 Message-ID: <20240211111703.7567-2-tony@atomide.com> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240211111703.7567-1-tony@atomide.com> References: <20240211111703.7567-1-tony@atomide.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The BOE BP082WX1-100 is a 8.2" panel similar to the 10.1" panel BP101WX1-100. Both panels use the same timings. Acked-by: Conor Dooley Reviewed-by: Dmitry Baryshkov Signed-off-by: Tony Lindgren --- Changes since v1: - Update viewport dimensions based on panelook values asa suggested by Dmitry --- 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 @@ -1367,6 +1367,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 = 177, + .height = 110, + }, + .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, @@ -4343,6 +4360,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, -- 2.43.1