From patchwork Thu Oct 12 08:42:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13418537 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 EAE4FCDB483 for ; Thu, 12 Oct 2023 08:42:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CCF388FB2; Thu, 12 Oct 2023 08:42:16 +0000 (UTC) Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id 118C810E45D for ; Thu, 12 Oct 2023 08:42:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1697100133; x=1728636133; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HD7jH7viAq//eqJGWBJ78WdMU/P/dhkuZ8Xm+g0owI4=; b=OFrBMfnpbnz1tQOuPptJI8lflACoZ8BDrg+CtLYmF9szY0TpM9FrVKXT 27/ao3n2s2LDML0DSPO6YAYjWgXM5XhwcFaDqjZd6AhBitKkMbb8V2RvN t1rh+SMmTV6AFNXqgU2lhTkYIWe3Z08HevN3hUXFWWmk3KzVSKwcrEG1Y 794azYiD4IhLw6/zWP5df+vg3mw5DnVqqcv/1eHLaiC4LLN1NzCjHtSvk KvtpM0/C/6C0FO/LRvysepcc0rmM7QUo00K0rg+lMZqdS+womMjr3PJ0q 3gWkxgpT6iRF/G7QZ4NtwOqFZP/PVBSeaa0QAp0ZcOaDW9BvvNJmG4JdW w==; X-IronPort-AV: E=Sophos;i="6.03,218,1694728800"; d="scan'208";a="33424448" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 12 Oct 2023 10:42:10 +0200 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id BDF9F280082; Thu, 12 Oct 2023 10:42:10 +0200 (CEST) From: Alexander Stein To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Subject: [PATCH v2 1/1] drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33] Date: Thu, 12 Oct 2023 10:42:08 +0200 Message-Id: <20231012084208.2731650-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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: Alexander Stein , Markus Niebel , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Markus Niebel The DE signal is active high on this display, fill in the missing bus_flags. This aligns panel_desc with its display_timing. Fixes: 9a2654c0f62a ("drm/panel: Add and fill drm_panel type field") Fixes: b3bfcdf8a3b6 ("drm/panel: simple: add Tianma TM070JVHG33") Signed-off-by: Markus Niebel Signed-off-by: Alexander Stein Reviewed-by: Sam Ravnborg --- Changes in v2: * Collected Sam's R-b 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 07c627de70534..b5b79f1789519 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3867,6 +3867,7 @@ static const struct panel_desc tianma_tm070jdhg30 = { }, .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, .connector_type = DRM_MODE_CONNECTOR_LVDS, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, }; static const struct panel_desc tianma_tm070jvhg33 = { @@ -3879,6 +3880,7 @@ static const struct panel_desc tianma_tm070jvhg33 = { }, .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, .connector_type = DRM_MODE_CONNECTOR_LVDS, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, }; static const struct display_timing tianma_tm070rvhg71_timing = {