From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7AE551D514A; Sun, 24 Nov 2024 13:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732455802; cv=none; b=TlS0yyNgSgp8tJxOEc25JJ+GE93ZjBzx6MZME7NreCl24clLNDF2iKbIDQB4fOJvJBcVGNPSq1n9+Qgc8P3KEOXTAWQ9YTJW9Lpq4sft4o5TgiGe61ycckTQ8Sfx/gEJBgv6mDxE2nW/0qaadOhddGOf8xIbTL3aMu2aJXnprNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732455802; c=relaxed/simple; bh=DvzB0aawcM4Wv9lqnTTG/E3hdv2NGfLyht813koI7l4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=knP1hh4UJ9BayATzEAKueP8KNBh4qCQK75JO4Buh7Z6Ou+5Yc2dD1YhndSMeFUQx0CeRtR4Tnml6Fua2Ba/xHOsNO+TPTkXIFhnKSUeTLZYxVzUU084fuMb/mwzU+Fdu0wt1yjr/x0tRM0ZCFeYGKa/ewa6DzZiEohb5m6Fkess= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J5JaAuo5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J5JaAuo5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57B58C4CED6; Sun, 24 Nov 2024 13:43:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732455802; bh=DvzB0aawcM4Wv9lqnTTG/E3hdv2NGfLyht813koI7l4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J5JaAuo5PdzWQFbylRWw8bVmRHvrPs0AkAK39Xbhks5kehSs+KCatzhVXLYZsWY+0 fQ+zjmDXKGUCL7fTey7aXIVE5l3r7nXI0uhED6Nn9GQ98x9doDCft4F0eiVK/WIbiR neHx9nzJIsTQ805toMNxE6kh81gX9UvYco+7wEcewfXBJduUUY+hN2FB9Wj92LlCIf LNpFWpygTLVgq2gdPZgYaqZ6BE8KVxRT4jcV5bZugj5XYalDGgC0T0qmboY3YbwzHX kIhlrE6ctpwd5dzjQLXjYJiYPsfcSvc586Q+0nJCTJiZr1REkmVFIIc39/PRbZwpYt 7IT12T4b4+i5g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Manikandan Muralidharan , Dharma Balasubiramani , Dmitry Baryshkov , Sasha Levin , neil.armstrong@linaro.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 6.11 44/87] drm/panel: simple: Add Microchip AC69T88A LVDS Display panel Date: Sun, 24 Nov 2024 08:38:22 -0500 Message-ID: <20241124134102.3344326-44-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241124134102.3344326-1-sashal@kernel.org> References: <20241124134102.3344326-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.11.10 Content-Transfer-Encoding: 8bit From: Manikandan Muralidharan [ Upstream commit 40da1463cd6879f542238b36c1148f517927c595 ] 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 Link: https://patchwork.freedesktop.org/patch/msgid/20240919091548.430285-2-manikandan.m@microchip.com Signed-off-by: Dmitry Baryshkov Signed-off-by: Sasha Levin --- 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 bf40057c5cf34..4cfec4b8e4c49 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4492,6 +4492,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, @@ -4969,6 +4994,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", -- 2.43.0