Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3202721lqo; Wed, 15 May 2024 02:53:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZRrmffTvCVktopIunpmg3AzXZOTWErXYlWr6ZctifgX3ucziepvdXbu6iH4VyetDRB86kZT6/68w0J3Yfp04MW6jV+tnU5TYQS8IGsA== X-Google-Smtp-Source: AGHT+IEHZoQFDyZK9ditkdxgu/Vchqp1ofhrkdw+mKZyJPmWAh/6yPD2pRv+t8mJvoiDQDoqGBsE X-Received: by 2002:aca:1218:0:b0:3c9:94ab:e8e8 with SMTP id 5614622812f47-3c99706999cmr15371993b6e.33.1715766781641; Wed, 15 May 2024 02:53:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715766781; cv=pass; d=google.com; s=arc-20160816; b=YiPRpWBMOc4uISq0F2V4y/LelRxqBseUhuPoJ9qmUBYHuPvpnTCg5PaJs6PX/3sFco vJD+Jlxd8/2orGZwaRTU+w3uzzMzlIV+pZ+nguMVIZtd2Jj76ndgyqkfKoRaIwI5CMSy PH3ybmhnhaJ6/x78MCNHBvJkdVJHG6176pK4L9eVWTB1r65wOkxmlfY2VvQrNM2pAxom 1WOsb/ShTU9jbDGWsICcX684PeMJY3CPxO8ok2oXgVh0l0p/GL/8QLPpIQBSKGqri+4m vHmuCTNbc/hMlg6tlK4WkJEm3xJgnYkMIZDqzwEGey0hdEdACh/2JnBW6zMCCwP+G9mh QRcw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+Im48V8StjmmVMV/wSC1fpPAJfkvp4PeLDmO6kGm1C0=; fh=Us8kwokoi1FApzT+FtwZnmWTh2BXobcndUc/WcGWKag=; b=xXpcHZwLarpdYYM37iGbUL51AV1CNCWwe1jo306NhSwpB62HkI7I1ffn3h8WJ8Cnr1 KPJLIQ/5RmSeeJUbIIt/fLqkLKHdxYv58RtcBvhhDhxB+tAykApi5NvqRBe5GMVAoU0/ rZ+eqQMGoA3OnnnbyAxVDT6u0FGQZ0Gx/9iJNNjK90KCAoxQ0PMdPcGPRFBtESEknIEY 0djD/LUKo7K1WTEk5vLT6Bcwwuhk+ufUZO3wCx3cjv1G0I1mfxwjWc7Zf0PU9ZwB7GHA YN6zhvAgcZRmbOxhA8BwVToAsCsKwJlIPvkV8WJyySBqatSLUYzMQ/llfcSQXRQoawuR c0sg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DkoCiYvF; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-179731-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b41cf9si13159285b3a.348.2024.05.15.02.53.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 02:53:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179731-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DkoCiYvF; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-179731-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0E060283912 for ; Wed, 15 May 2024 09:53:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05AD763CAC; Wed, 15 May 2024 09:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DkoCiYvF" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 824F65CDD0; Wed, 15 May 2024 09:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715766723; cv=none; b=qaE9VOmHQAyefNZFGMNfb0CTPW1Uw0BVmyPxXCl27dMyX+uaiMUqG7DtquXjM3vyAKMAAp/0WfISi6Uv95Soirz1jVPCNsVGP1uPt4fSoSxqXUaOMTkShMVmTp3GMDIhp4vBULU2kIXdckxx9/b+qGKCjEBQB20/X8HWmrLlUa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715766723; c=relaxed/simple; bh=FqsP7HuwkMh4tdTQQe70uJSrEuVaCFV4t/iCknOg63o=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FrMwqz+T//Ho1m3nUlHmiufhR5U5r5bCuplIKPgsE6Ra6DDlq0BUvlf/y23SckT8erPjOUxAI/W8Aye3inh5Dla9R9oYa8HeT4HGWEpuBFfmPgLl1IFUsgmnj8Puiiy4xeDwwLHYwl3fvqvGuNYCMhIvmfxG60HCRVqpAOLf7ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=DkoCiYvF; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44F9pja9021145; Wed, 15 May 2024 04:51:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715766705; bh=+Im48V8StjmmVMV/wSC1fpPAJfkvp4PeLDmO6kGm1C0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DkoCiYvFrBJmSrDmcEjzUgKjr9K3T6j1ni75K7rNFbnWXtNh/JDnEYfBUmakUO6u2 foThoTMopqZbs8oHiiCYAAnJESxCyV9JsO3FG5CJkZlmI9TlCvFzi//NtB6Pze2Qtp 5WeyzPlJh+kPb9vQ3hKA5Dq0FvJbhGkU5/pXcWxM= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44F9pjVZ121595 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 May 2024 04:51:45 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 15 May 2024 04:51:45 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 15 May 2024 04:51:45 -0500 Received: from localhost (uda0496377.dhcp.ti.com [172.24.227.31]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44F9piRD125507; Wed, 15 May 2024 04:51:45 -0500 From: Aradhya Bhatia To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liu Ying , Thierry Reding , Maarten Lankhorst , Tomi Valkeinen , Laurent Pinchart CC: DRI Development List , Devicetree List , Linux Kernel List , Nishanth Menon , Vignesh Raghavendra , Praneeth Bajjuri , Udit Kumar , Devarsh Thakkar , Jai Luthra , Aradhya Bhatia Subject: [PATCH v3 6/6] drm/panel: simple: Add Microtips Technology MF-103HIEB0GA0 panel Date: Wed, 15 May 2024 15:21:33 +0530 Message-ID: <20240515095133.745492-7-a-bhatia1@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240515095133.745492-1-a-bhatia1@ti.com> References: <20240515095133.745492-1-a-bhatia1@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Add support for Microtips Technology USA MF-103HIEB0GA0 10.25"[0], 1920x720, 8-bit TFT LCD with LVDS interface. Its a Dual-LVDS Panel and does not support touch. [0]: Panel Datasheet https://simplespec.microtipsusa.com/uploads/spec/datasheetFile/2660/13-103HIEB0GA0-S_V1.0_20211206.pdf Signed-off-by: Aradhya Bhatia --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 3a0d8f0ff267..1b0a6b4e034c 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3084,6 +3084,35 @@ static const struct panel_desc microtips_mf_101hiebcaf0_c = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct drm_display_mode microtips_mf_103hieb0ga0_mode = { + .clock = 93301, + .hdisplay = 1920, + .hsync_start = 1920 + 72, + .hsync_end = 1920 + 72 + 72, + .htotal = 1920 + 72 + 72 + 72, + .vdisplay = 720, + .vsync_start = 720 + 3, + .vsync_end = 720 + 3 + 3, + .vtotal = 720 + 3 + 3 + 2, +}; + +static const struct panel_desc microtips_mf_103hieb0ga0 = { + .modes = µtips_mf_103hieb0ga0_mode, + .bpc = 8, + .num_modes = 1, + .size = { + .width = 244, + .height = 92, + }, + .delay = { + .prepare = 50, + .disable = 50, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode mitsubishi_aa070mc01_mode = { .clock = 30400, .hdisplay = 800, @@ -4726,6 +4755,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "microtips,mf-101hiebcaf0", .data = µtips_mf_101hiebcaf0_c, + }, { + .compatible = "microtips,mf-103hieb0ga0", + .data = µtips_mf_103hieb0ga0, }, { .compatible = "mitsubishi,aa070mc01-ca1", .data = &mitsubishi_aa070mc01, -- 2.34.1