Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3202542lqo; Wed, 15 May 2024 02:52:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpvQ/kKbyPbpCLfRoj3QIyuQgBXJZnQAnAwYp5zuYUfpZbFCOmh4m9kjJydYDtlf9Q5tTrIEqb4A4lB9lBe6DMy5FqPGVdpOrK0DNDcA== X-Google-Smtp-Source: AGHT+IFIHQZgAVPRo5CBF/IXOhR4v6GuEG2KZh/29ZHoxdQ10t3PYY1AMXddAd8EEEni3QZqhOBe X-Received: by 2002:a05:6358:7f06:b0:183:e918:3a42 with SMTP id e5c5f4694b2df-193bb514508mr1195488555d.9.1715766760901; Wed, 15 May 2024 02:52:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715766760; cv=pass; d=google.com; s=arc-20160816; b=fyzRtPxHme3DaNY2TzewCGs8BRc0IurhnL803Z1QinBDk1vtS3opszCuxZM9SZL4sX 6/bGOPAM3b3I+zAJOKuDnXDfsYh2N3D6Q2hF4OYECEncqLEylQQD7s+9MvCG9o+5XYCp BpezGdegBcmyYji9WBnqvCqazTLT6OKA2HN3jGNk/y3TBBS08QvKeZPJG8+QCUdgLkal fDBpi4e/AHcDvxJffnlFc1h2yVo8JjmBXAuOWsVws/tN4wmhpitQaGg1zM3qOnBJj5lt 0eYmqrPSYONnEK2tKIjc30DGGfEf/F+he2Ab3piLmFf8Ee+yMSSR+5UhFSqjohX98Pvm TyDQ== 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=QEDRLbkhxvtAigQy5Rs5N47y14IQjDB/BRmR0H8DoJo=; fh=Us8kwokoi1FApzT+FtwZnmWTh2BXobcndUc/WcGWKag=; b=CdoUEYHEAmNJx5WWetA1XqiA6bvoaNyKIWKuWrB2DfMLTzNiTkgtBnCFg26ovkbqsY onLJe8dVPtjhUl5MS37Eh8qDP5EGbOSf71ij8EV89pvChERpkRFX/hLiAL+Lq30hR8pV AnXXraDyIjHh+HVB+mWTdcnEPcKQ4GLz+kKI/qFcOo1mEYtgBjYUaCRCRO7lXWdmUJsS 251kZ7bqS0bcPKuY1gfjBaz24uR2pp2jgcBRzOhZl+1JkdsU4VAH898KZmrjUOReh277 v4MRD3N8u5Oi5gLIaW9osGTCWjVGbpjospEitgwMememjdgrDklaN8d/yqksB0ewzO+M vyuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MmL39VOY; 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-179728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6340a06c2b6si12937404a12.85.2024.05.15.02.52.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 02:52:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MmL39VOY; 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-179728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179728-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E8E08B2297C for ; Wed, 15 May 2024 09:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DB895FB8B; Wed, 15 May 2024 09:52:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="MmL39VOY" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 01A4159148; Wed, 15 May 2024 09:51:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715766721; cv=none; b=aBJ6aZpKRzC0ck6xWdR8nf83+uhPAGSoL8LKWJfNnoWfm68sci71XKePWg+z1aY68mUH9qhxXvQLnwTLSon0/Ev4+TUXwef7XKVkJnTCZhGtkjpnZeJ5eGrl/NQchen65RO0yvEPWTeqjHXAwO6PvjzDYuXGDYJjYeS6m+bHPJo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715766721; c=relaxed/simple; bh=fAsAo2La8BZXhnsUqrKo0pjn7fODMiYpcFXMrxf6t2E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TZlSCApioUGw7NipTUvyTuLhYbfoTdY4iXT6O/jPdcOyhnObLAq93Sieh9ig+D0U65zGzXkESvrpj7gOy6sYGCAdQK7U+sRGeya5BgSuA0khUWdW1FuhPLplbYq1Hy0HVkl8VWBRDc87/uykFYE2U9qCEcdexY8nyuA/zUGJmJ8= 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=MmL39VOY; arc=none smtp.client-ip=198.47.23.249 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 lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44F9pgPE050666; Wed, 15 May 2024 04:51:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715766702; bh=QEDRLbkhxvtAigQy5Rs5N47y14IQjDB/BRmR0H8DoJo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=MmL39VOYy+l7fLyQ59epnRm/k/5ZR2tVEd6kETXxVtFpDRTvfCZT98RFxq/bYRT5A s9GrOF94kRsXMGaALa2H5Yay/0bmHq6qQXFGoGAJDSeFPjVDaxW+niw1OE+T3hpbbD ryhrdNZEAvpEwfrzthiWTN8zkSp6rH8piwUglWZs= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44F9pgeh057794 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 May 2024 04:51:42 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE109.ent.ti.com (10.64.6.30) 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:41 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE113.ent.ti.com (10.64.6.34) 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:41 -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 44F9pf5t125411; Wed, 15 May 2024 04:51:41 -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 4/6] drm/panel: simple: Add Lincoln Tech Sol LCD185-101CT panel Date: Wed, 15 May 2024 15:21:31 +0530 Message-ID: <20240515095133.745492-5-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 Lincoln Technology Solutions LCD185-101CT, 10.1", 1920x1200, 8-bit TFT LCD with LVDS interface, LED backlight and PCAP touch support (Goodix GT928). [0]: Panel Datasheet https://lincolntechsolutions.com/wp-content/uploads/2023/04/LCD185-101CTL1ARNTT_DS_R1.3.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 dcb6d0b6ced0..10e974bffd28 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2870,6 +2870,35 @@ static const struct panel_desc lg_lb070wv8 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct drm_display_mode lincolntech_lcd185_101ct_mode = { + .clock = 155127, + .hdisplay = 1920, + .hsync_start = 1920 + 128, + .hsync_end = 1920 + 128 + 20, + .htotal = 1920 + 128 + 20 + 12, + .vdisplay = 1200, + .vsync_start = 1200 + 19, + .vsync_end = 1200 + 19 + 4, + .vtotal = 1200 + 19 + 4 + 20, +}; + +static const struct panel_desc lincolntech_lcd185_101ct = { + .modes = &lincolntech_lcd185_101ct_mode, + .bpc = 8, + .num_modes = 1, + .size = { + .width = 217, + .height = 136, + }, + .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 display_timing logictechno_lt161010_2nh_timing = { .pixelclock = { 26400000, 33300000, 46800000 }, .hactive = { 800, 800, 800 }, @@ -4644,6 +4673,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "lg,lb070wv8", .data = &lg_lb070wv8, + }, { + .compatible = "lincolntech,lcd185-101ct", + .data = &lincolntech_lcd185_101ct, }, { .compatible = "logicpd,type28", .data = &logicpd_type_28, -- 2.34.1