Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1504673lqt; Wed, 20 Mar 2024 06:13:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSoq0Tp9zYLKQcYOR5n6ETBBmt6NIRQHv9ESXc9qeYl+S20YI4YSEz+r6U0EZgdwmTu4MBhnWLXd9m1BZKi+V2etwAoFu/yvsVXP0zMg== X-Google-Smtp-Source: AGHT+IGBFCgELa0Ta+IxQNwSmDqCFCCtcuwO0dt2gY2EIq2gOzhiPZpe8/qSE704BWTUcLO8NF9D X-Received: by 2002:a05:6a00:8b0c:b0:6e7:11f:1d5 with SMTP id if12-20020a056a008b0c00b006e7011f01d5mr11156361pfb.15.1710940406839; Wed, 20 Mar 2024 06:13:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710940406; cv=pass; d=google.com; s=arc-20160816; b=SyiWcO6SkQFtaYUV7NzV7Zz0OT1jBU7dUMN+kU0FCSk5k2hUyq0mtVee7x2XII+hJ8 ghzL6AZnTz6if9i6u2a7COtGPKMz6a8O2PLmP9ajxRjlIewCp2sMmRtCFUjdT+zCWLfX N16lljmmSrH4+NiHU0zY+8IvL0TF9uucqcmmuPfc35G3kBYLC06QnURAyId+i1kS+5kR GbNzC20XG0W8+bKnTQrXMZwoZKLs25ZdBENZD59CDSguSFX8w0/vkU9PzIu68ZAZhsLD TcKqVgnpZsMGSPNYoLWZlSp50cX3F5buWdW6HxQFYGxrQCqr6qSqRN+PgxVeQ+4tO3ir VKKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=dH8Ma2tlko58HQ5GxfXthjXcCjfosZ/M3vhthCtafzk=; fh=NR3W0QXI4SR5MwWzhRSylg4idWu5lOMRHn9m0sXfRiE=; b=qHUJdmHRKpPjzgPThBKiOVrRePxJklfM8HQ0CiTIiHBCfQR4cEXuQ7t77p/DRB8V8E AtLYZ6rg5xXsLnaYhxsmG8IGG0/O2Ms5SmPGp2jgzsEfvqAuR98nTQMDN74HuXi4XlzS rDEB8rjR83zwJ3fyNtwJc3kZZKdZ5SC/j5QCLq8uUoEsbcrcpz7ViO+SrX8BOUBbYZ/x iZMmAbxJwaHpnvdUAMZHhIU/rjp0UxkVwWRjd0mEOEZuOTEv/ua0DIW76YeTw/IVsur0 uUkKP2Rs5u1m3A0H1PHFvk0ab49MUx9qBPYZSTzgdMIw5WORJQ9KWQq6pL1dY+FdULkT Uj8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-108928-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v24-20020aa78518000000b006e613ec716dsi13036498pfn.143.2024.03.20.06.13.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 06:13:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108928-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-108928-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108928-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B24D7B21BC2 for ; Wed, 20 Mar 2024 13:13:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99546446B3; Wed, 20 Mar 2024 13:13:05 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 602ED41C93 for ; Wed, 20 Mar 2024 13:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710940385; cv=none; b=Eh1sOawW2C2N7L5uuuPC8jlNKebfH6EZTzKtlWejCxl1yIfEf55qQkIXLzpIlRNqPveg07N1QlHHSToyomZovP5c4YyfQDVM1xXcMG2GIqlnQoNcSB25lVioHmo3nU/svBAQ6AATM30iI319GrWGxW8Eg7pGPsfgaRZ4qyfk6NI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710940385; c=relaxed/simple; bh=wL+k2OP7ETsdiy+7aOWTaXP+awLCKPX6VEzfPjiZ/2k=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=f+SyxVMkk5JAkdTmCWC/uCuN3Q8BxnxLqUhNTWqRUI65PWwzhbPYiugXM2xGODON5ZWT6v76v7ZemsK+qVpd6Z2007f4BuUKPxL/y5jmctbChTAci2S9Wr7k3OIg3r+FyX+FT1SvGpdlpfDMJtbWuyCbGvI2RBkFLvGAAcp1wfI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from [194.95.143.137] (helo=phil.dip.tu-dresden.de) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmvkA-0001W6-Ny; Wed, 20 Mar 2024 14:12:34 +0100 From: Heiko Stuebner To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, quentin.schulz@theobroma-systems.com, klaus.goger@theobroma-systems.com, heiko@sntech.de, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Heiko Stuebner Subject: [PATCH 1/2] drm/panel: ltk050h3146w: add MIPI_DSI_MODE_VIDEO to LTK050H3148W flags Date: Wed, 20 Mar 2024 14:12:31 +0100 Message-Id: <20240320131232.327196-1-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Heiko Stuebner Similar to other variants, the LTK050H3148W wants to run in video mode when displaying data. So far only the Synopsis DSI driver was using this panel and it is always switching to video mode, independent of this flag being set. Other DSI drivers might handle this differently, so add the flag. Fixes: e5f9d543419c ("drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant") Signed-off-by: Heiko Stuebner --- drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c b/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c index 30919c872ac8..a50f5330a661 100644 --- a/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c +++ b/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c @@ -326,7 +326,8 @@ static const struct drm_display_mode ltk050h3148w_mode = { static const struct ltk050h3146w_desc ltk050h3148w_data = { .mode = <k050h3148w_mode, .init = ltk050h3148w_init_sequence, - .mode_flags = MIPI_DSI_MODE_VIDEO_SYNC_PULSE | MIPI_DSI_MODE_VIDEO_BURST, + .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | + MIPI_DSI_MODE_VIDEO_BURST, }; static int ltk050h3146w_init_sequence(struct ltk050h3146w *ctx) -- 2.39.2