From patchwork Thu Sep 19 09:15:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Manikandan Muralidharan X-Patchwork-Id: 13807558 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 E3D01CE8D62 for ; Thu, 19 Sep 2024 09:16:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 72B1010E6B5; Thu, 19 Sep 2024 09:16:30 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="xRJWNl8f"; 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 03EB210E6B5 for ; Thu, 19 Sep 2024 09:16:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726737388; x=1758273388; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=aXlvumLIjXjwd2EDcOSG4ZlwS9Ftm8iZU5L1gUO4cZk=; b=xRJWNl8fXPlrShtchsQgfYGk7sAq7aYESRIReGB/FrJW4tqCggjWsrTn IEZbG5y6qXR5UeOoBtHk3WphFneQaUAyvoQWGWKyd1g5lpf/FwUeb1mwD D0SrigckHEUx3Jq0Cq0HV+1h7U/si0T7Tj84MkeDC56Qp69aG/D7rcgfx KKL0/Oua3oXgrqka4+RP1vPQFT4gwOphxkNNkeAn1s+7X7naa6pLfBYM/ jLrj/6oIruJJJeb1ur8tPzUBk6yV6gat0c6kADLLsI7mGqJ8lhVcWiNsO KZ2tqpMY0RmuSlVZaKYVzKR7tSyjVlPZwncG08tn3PBCewab7PtanZjfi g==; X-CSE-ConnectionGUID: hZG0F33CRTSCTHegcNjbKA== X-CSE-MsgGUID: oxDeqYO8S0W8YSrSaOxLaw== X-IronPort-AV: E=Sophos;i="6.10,241,1719903600"; d="scan'208";a="31861850" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 19 Sep 2024 02:16:28 -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; Thu, 19 Sep 2024 02:15:57 -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; Thu, 19 Sep 2024 02:15:52 -0700 From: Manikandan Muralidharan To: , , , , , , , , , , , , , , CC: Subject: [PATCH v2 1/2] dt-bindings: display: panel-simple: Document support for Microchip AC69T88A Date: Thu, 19 Sep 2024 14:45:47 +0530 Message-ID: <20240919091548.430285-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 Acked-by: Rob Herring (Arm) --- changes in v2: - Replace microchip,ac69t88a-lvds-panel with microchip,ac69t88a --- .../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..18b63f356bb4 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 # Mitsubishi "AA070MC01 7.0" WVGA TFT LCD panel - mitsubishi,aa070mc01-ca1 # Mitsubishi AA084XE01 8.4" XGA TFT LCD panel From patchwork Thu Sep 19 09:15:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikandan Muralidharan X-Patchwork-Id: 13807557 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 E6933CE8D62 for ; Thu, 19 Sep 2024 09:16:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6756A10E1C6; Thu, 19 Sep 2024 09:16:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="eDIQrevV"; 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 47B2B10E1C6 for ; Thu, 19 Sep 2024 09:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726737377; x=1758273377; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NPcZIJk+LJa9EH76yxEJGbJKeWBB8KPoIR8ctK5lxLM=; b=eDIQrevV5Bbk1hj9y1DEvDWyZHLG6wGCf2rJgPSB/OPxKzioKGQgBrUQ ac6pQ89wRTnRFXh8Koio+Yy0Ohr+RPP0Bg3vNiO6PnRZJtVWh7VvAvPwm TQySJfsZyHT58wUKJUnjM4hRvrN9w56V1vFArpVubHWdrSwdksH+fHkQt AjNM1G5+wKzZniZep/w0cNuyKYdo+3NsbK8IQzxZn6a9RDmZeyywxNIYu H9sYJuBpUIJtp8+OFeiH+6yCI8eJh9P8kPNUBBJK0+62GfT7sHXLo12TI N873Dja+JEBcd7ONhzjkc1fFqN0CNQAsWWR/ncLBt4wSJ4ko/Ywd3kzP5 Q==; X-CSE-ConnectionGUID: 3OxAPMVERyGxmKW6ID2HbQ== X-CSE-MsgGUID: uOPboF8ARLC6BjUNR42z2A== X-IronPort-AV: E=Sophos;i="6.10,241,1719903600"; d="scan'208";a="31861842" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 19 Sep 2024 02:16:16 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 19 Sep 2024 02:16:03 -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; Thu, 19 Sep 2024 02:15:58 -0700 From: Manikandan Muralidharan To: , , , , , , , , , , , , , , CC: , Dharma Balasubiramani Subject: [PATCH v2 2/2] drm/panel: simple: Add Microchip AC69T88A LVDS Display panel Date: Thu, 19 Sep 2024 14:45:48 +0530 Message-ID: <20240919091548.430285-2-manikandan.m@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240919091548.430285-1-manikandan.m@microchip.com> References: <20240919091548.430285-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 Reviewed-by: Dmitry Baryshkov --- changes in v2: - replace microchip,ac69t88a-lvds-panel with microchip,ac69t88a --- 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..06381c628209 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", + .data = &mchp_ac69t88a, }, { /* Must be the last entry */ .compatible = "panel-dpi",