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 B32B6217F46; Thu, 12 Dec 2024 15:43:44 +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=1734018225; cv=none; b=H/KYwZa9PG3QWoCwYB5OwZKoknyy7Bfnt6mwlllGKGUkk6TL95AtdECb8bpHDXH2K6ufAx+z8uJ7EnFqCo99zuCZaTKpngLOfVIcrDPCRF/ENy6tm50o2o0cWUhrWx+O5VG0DWtBHOURVk71kEXzeH+wxutZ5or2StWEO5HzFrQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734018225; c=relaxed/simple; bh=h7CCMaVOf1ijfQbz+b96hMg8MEZEVasXW6kWGYjFV8k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eYAGk6muEREs0MIN52FzqRIjU793TBiG8YeIZs5fOez/1cis9X98B16gJfIwmE1owdESHB0Upbg6ui9TveYosdAEr7gLFDEmBBuBUP5s/C0vjFx9OJvCZ0xxCNVfeSmtyTlAibHorTS6sSyVyEJpo5TsN+Mt2SZzMZSJFGviEtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N1N6HMSy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="N1N6HMSy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C856AC4CED0; Thu, 12 Dec 2024 15:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734018224; bh=h7CCMaVOf1ijfQbz+b96hMg8MEZEVasXW6kWGYjFV8k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N1N6HMSycZsEjFBX+/TxKvzIjOvE93j1DQU9z6YcybMdtq6wMVa2dsQGU50SvyP0W MSW/5XgwuRqpodAS+RCEe0xdansL3T2XATR/wWZ+nHM+j4R31SRFYL9ND5f4ZZrbhz aVlHhHYf+JVdZGBF2KSgQfBXQymkAJMQMz4Vhcz8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Manikandan Muralidharan , Dharma Balasubiramani , Dmitry Baryshkov , Sasha Levin Subject: [PATCH 6.6 234/356] drm/panel: simple: Add Microchip AC69T88A LVDS Display panel Date: Thu, 12 Dec 2024 15:59:13 +0100 Message-ID: <20241212144253.866457471@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144244.601729511@linuxfoundation.org> References: <20241212144244.601729511@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ 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 11ade6bac592f..37fe54c34b141 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -4087,6 +4087,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, @@ -4522,6 +4547,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