From patchwork Thu Apr 15 09:16:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 12204797 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEA48C433ED for ; Thu, 15 Apr 2021 09:31:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 783F3613A9 for ; Thu, 15 Apr 2021 09:31:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 783F3613A9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ECE346EA1D; Thu, 15 Apr 2021 09:31:24 +0000 (UTC) X-Greylist: delayed 901 seconds by postgrey-1.36 at gabe; Thu, 15 Apr 2021 09:31:23 UTC Received: from mickerik.phytec.de (mickerik.phytec.de [195.145.39.210]) by gabe.freedesktop.org (Postfix) with ESMTPS id A9D096EA1A for ; Thu, 15 Apr 2021 09:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1618478179; x=1621070179; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=17z95mcBltXt7s41OWVSnVP4aCtle9ny46vxPgGBZIM=; b=JaYYmAq1r6Zem68a14XexEwGuVN+u7tppMXNZQi7KDtQInOlSlkhBzwDNPB6Id17 AL8T+YTy9UzJQ4ONAaAJBvLzjGXA1mqDCoA637WjY05F+iWwCOQEE7QjjWySCfRw 6CVjmzgLHCGVitHa+F69TT04vS3SX6aL87pbfmdIaUg=; X-AuditID: c39127d2-324b870000001c53-3c-60780463c42e Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 5D.53.07251.36408706; Thu, 15 Apr 2021 11:16:19 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2021041511161871-136032 ; Thu, 15 Apr 2021 11:16:18 +0200 From: Stefan Riedmueller To: Thierry Reding , David Airlie , Daniel Vetter , Sam Ravnborg Subject: [PATCH 1/3] drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel Date: Thu, 15 Apr 2021 11:16:14 +0200 Message-Id: <20210415091616.53415-1-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:18, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 15.04.2021 11:16:19 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJLMWRmVeSWpSXmKPExsWyRoCBSzeZpSLBYNFjNovecyeZLP5vm8hs ceXrezaLy7vmsFms+LmV0eLnrnksDmwee78tYPHYOesuu8f2bw9YPe53H2fyWDLtKpvH501y AWxRXDYpqTmZZalF+nYJXBlnF2xjKrjLVtHW/pi9gfEOaxcjJ4eEgInE2f6/7F2MXBxCAtsY JZ7vvgjlXGOUWP74JCNIFZuAkcSCaY1MIAkRgQmMEtPufmUCSTAL5EvM7X3BDGILC0RLbL26 A2wsi4CqxOoljWDNvAI2Ent7ZjFCrJOXmHnpOztEXFDi5MwnLCBDJQSuMEqs3nKSHaJISOL0 4rPMEAu0JZYtfM08gZFvFpKeWUhSCxiZVjEK5WYmZ6cWZWbrFWRUlqQm66WkbmIEBufhieqX djD2zfE4xMjEwXiIUYKDWUmE121KSYIQb0piZVVqUX58UWlOavEhRmkOFiVx3g28JWFCAumJ JanZqakFqUUwWSYOTqkGxjDdjA+rm3qCbup+tipjmXbX1fyYeXpvTq6kX1u03bk/0duUJwlf 3WZ1acLOGY+jEnhsW1+vXGSp8oBXSuy09WoP1ndOaxR3bw44wvJacHHaXEEBV/ciX5m9s6b8 PN+hqBh4kzNk5furUvF7b99xjjlWuCzp09d7BT59gSv7582+GTexRHvPISWW4oxEQy3mouJE AJ27Ix08AgAA 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: Stefan Riedmueller , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The AUO G104SN02 V2 is an LVDS display which supports 6 and 8 bpc PSWG. Add the corresponding connector type and 8 bpc as default bus_format. Signed-off-by: Stefan Riedmueller Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/panel/panel-simple.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 4e2dad314c79..44583d0ed902 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1098,6 +1098,8 @@ static const struct panel_desc auo_g104sn02 = { .width = 211, .height = 158, }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, }; static const struct drm_display_mode auo_g121ean01_mode = {