From patchwork Tue Sep 17 09:53:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manikandan Muralidharan X-Patchwork-Id: 13806065 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 2554AC36007 for ; Tue, 17 Sep 2024 09:54:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 88FBE10E212; Tue, 17 Sep 2024 09:54:04 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="OGKi1MPR"; dkim-atps=neutral Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by gabe.freedesktop.org (Postfix) with ESMTPS id 018E910E208 for ; Tue, 17 Sep 2024 09:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726566842; x=1758102842; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Knr0oz1eQjbz+tPKBtBrMJW5eGNSdwYGIS4Zj8zkcZA=; b=OGKi1MPReyZlfCMMuRuQk9sg46n8Pp5YkvYmC5reZRJqdz48v0nrNZW+ 7Wd6WrQodLjKo6J8KN5jXg9iTaWX/ZcHw+WRWsUIODPDHxybIxA1SODPq 6lucj/iUZS1QwZtbYCUhcoOGh8SesawGT+w03tkw2WOPFKmIEUZtUngsr MAc+Gil+sPHIBTSCVL4A+KPiXXQSDDkUr0+6vADcXTmY9VElSdzI19CVw /pmGJGqDoPLPcGCGvSyIXEuSdUfKfOjXnM7lV2xN28XZAmUabcPeHCmZs 0xZmsnGARG9VLtpuOwUyv99mCBnzvWlydb/UQBmjCLUNtXXZndE21Kt9l w==; X-CSE-ConnectionGUID: Mdul6PMYQfWPexUkUfCh/g== X-CSE-MsgGUID: 3SiWlWyIRI230gpDrSVBCA== X-IronPort-AV: E=Sophos;i="6.10,235,1719903600"; d="scan'208";a="199320851" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 17 Sep 2024 02:54:01 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 17 Sep 2024 02:53:45 -0700 Received: from che-lt-i67131.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 17 Sep 2024 02:53:40 -0700 From: Manikandan Muralidharan To: , , , , , , , , , , , , , , CC: Subject: [PATCH 1/2] dt-bindings: display: panel-simple: Document support for Microchip AC69T88A Date: Tue, 17 Sep 2024 15:23:29 +0530 Message-ID: <20240917095330.267397-1-manikandan.m@microchip.com> X-Mailer: git-send-email 2.25.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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add Microchip AC69T88A 5" LVDS interface (800x480) TFT LCD panel compatible string Signed-off-by: Manikandan Muralidharan --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index b89e39790579..09911b89d140 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -200,6 +200,8 @@ properties: - logictechno,lttd800480070-l2rt # Logic Technologies LTTD800480070-L6WH-RT 7” 800x480 TFT Resistive Touch Module - logictechno,lttd800480070-l6wh-rt + # Microchip AC69T88A 5" 800X480 LVDS interface TFT LCD Panel + - microchip,ac69t88a-lvds-panel # Mitsubishi "AA070MC01 7.0" WVGA TFT LCD panel - mitsubishi,aa070mc01-ca1 # Mitsubishi AA084XE01 8.4" XGA TFT LCD panel From patchwork Tue Sep 17 09:53:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikandan Muralidharan X-Patchwork-Id: 13806066 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 43967C36006 for ; Tue, 17 Sep 2024 09:54:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ADAF710E458; Tue, 17 Sep 2024 09:54:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="TRrNw8G2"; dkim-atps=neutral Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by gabe.freedesktop.org (Postfix) with ESMTPS id D44DE10E458 for ; Tue, 17 Sep 2024 09:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726566855; x=1758102855; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=i6FW+BbLI4d6QSQyycHtGGXrCwqHeSaaHzDuOKUey8k=; b=TRrNw8G2z83SRk28wJEJtrpbyenvOI9/vgTf/fHg5tMmGf7N+/dCc0vl vuBA0uDAqwwclJqyqv0kFcmYanmCC+Kmydnfi+GhOTFyxty87OwdHJeCi e9sJTGUTaAcefwgABfpDbsd0uUd1mHGn8qQhDZhy/5ntLTuyjsIRio/KS +kx6i4UlIhRZT4Q+ZMiDOYEi7WRzNYCVsn2Q8svoLgufFJvMO94fWcFec d8Y2hfUfZwaO2tpSW5U3C8WfrVK4jfp90+/Y+kqJIg6Yvf+OYA8vktSTm 3QfaYMORQ/Y51Cw6hd9Mghjgw8x3gXacWjuDmstwADfzppsRXujijJThw A==; X-CSE-ConnectionGUID: irRbk7d1RsGIQMHLTrxw7Q== X-CSE-MsgGUID: QU6rrHdJSg6vEW/bKSpxNQ== X-IronPort-AV: E=Sophos;i="6.10,235,1719903600"; d="scan'208";a="35069829" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 17 Sep 2024 02:54:14 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 17 Sep 2024 02:53:54 -0700 Received: from che-lt-i67131.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 17 Sep 2024 02:53:49 -0700 From: Manikandan Muralidharan To: , , , , , , , , , , , , , , CC: , Dharma Balasubiramani Subject: [PATCH 2/2] drm/panel: simple: Add Microchip AC69T88A LVDS Display panel Date: Tue, 17 Sep 2024 15:23:30 +0530 Message-ID: <20240917095330.267397-2-manikandan.m@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240917095330.267397-1-manikandan.m@microchip.com> References: <20240917095330.267397-1-manikandan.m@microchip.com> 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for Microchip AC69T88A 5 inch TFT LCD 800x480 Display module with LVDS interface.The panel uses the Sitronix ST7262 800x480 Display driver Signed-off-by: Manikandan Muralidharan Signed-off-by: Dharma Balasubiramani --- drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 86735430462f..6c2322ec218a 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4565,6 +4565,31 @@ static const struct panel_desc yes_optoelectronics_ytc700tlag_05_201c = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct drm_display_mode mchp_ac69t88a_mode = { + .clock = 25000, + .hdisplay = 800, + .hsync_start = 800 + 88, + .hsync_end = 800 + 88 + 5, + .htotal = 800 + 88 + 5 + 40, + .vdisplay = 480, + .vsync_start = 480 + 23, + .vsync_end = 480 + 23 + 5, + .vtotal = 480 + 23 + 5 + 1, +}; + +static const struct panel_desc mchp_ac69t88a = { + .modes = &mchp_ac69t88a_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 108, + .height = 65, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode arm_rtsm_mode[] = { { .clock = 65000, @@ -5048,6 +5073,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "yes-optoelectronics,ytc700tlag-05-201c", .data = &yes_optoelectronics_ytc700tlag_05_201c, + }, { + .compatible = "microchip,ac69t88a-lvds-panel", + .data = &mchp_ac69t88a, }, { /* Must be the last entry */ .compatible = "panel-dpi",