From patchwork Sun Jul 9 13:49:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13305827 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 224C6EB64DD for ; Sun, 9 Jul 2023 13:49:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1795B10E0D1; Sun, 9 Jul 2023 13:49:27 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9076210E0D1 for ; Sun, 9 Jul 2023 13:49:24 +0000 (UTC) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 018488063E; Sun, 9 Jul 2023 15:49:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1688910563; bh=xm0aEO4xiynPwkRh+AFoLuQRsLrMNzmPa31LRuQU00A=; h=From:To:Cc:Subject:Date:From; b=Qzr9Qqm+40UzcUUWYsPvpJYi8cMhzB5AYmoOes3I7P/GcGNv6SFC30j3fNWGzULa6 2himHJXIIBrZjYCJH5zi2LfV1T/NoHyzDxOPC/B0yzKUVcGFTOTKFZR0OT9/qEV6XM 3Z7iw3snKZpPzXyu4oqiYuu8QoAAW1XW9iPd5qkPLGrsoYYBUFtkdPM0xQKaLtBucJ IMj5t5p/jDvHcHm3MyLMmo2nrgrBy7RTegMUuLNmZ+e8j/uEmcWwmT2hwfgbwE/A9c 2rV779624sHLBkI8M8z+bSI7ksiZc37rW03+iJiu2JHIocJSaWyi2I17riB7KdCT+L STeVQfXvd36Dw== From: Marek Vasut To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01 Date: Sun, 9 Jul 2023 15:49:14 +0200 Message-Id: <20230709134914.449328-1-marex@denx.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Neil Armstrong , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The connector type and pixel format are missing for this panel, add them to prevent various drivers from failing to determine either of those parameters. Fixes: 7ee933a1d5c4 ("drm/panel: simple: Add support for AUO T215HVN01") Signed-off-by: Marek Vasut Reviewed-by: Sam Ravnborg --- Cc: Daniel Vetter Cc: David Airlie Cc: Neil Armstrong Cc: Sam Ravnborg Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/panel-simple.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index b2e58ee46c7b5..b33d830d48373 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1190,7 +1190,9 @@ static const struct panel_desc auo_t215hvn01 = { .delay = { .disable = 5, .unprepare = 1000, - } + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, }; static const struct drm_display_mode avic_tm070ddh03_mode = {