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 5A131C64EC4 for ; Thu, 9 Mar 2023 14:51:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5089F10E848; Thu, 9 Mar 2023 14:51:13 +0000 (UTC) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id C02E710E84C for ; Thu, 9 Mar 2023 14:51:11 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id q16so2148724wrw.2 for ; Thu, 09 Mar 2023 06:51:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678373470; h=content-transfer-encoding:in-reply-to:organization:content-language :references:cc:to:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=XJGT5gzayA+v60HrIF69Z0JKuo7e2zPr/v1zCwlC+z4=; b=xYagvbzg5nodi9IhJyWvIPCXtZ4FMPs4JtybUIIZt5jyfvKSQS45D2AL0NzZFbVa9K oYjVqmx2PrU54c0LSMZkK0FJ4w2F/+tQ4qfi/doHu9TA4IWUxucXblYAuNiHPF9eXVvS McXoxd8558zLlYTufqBlqbRmbjYmiHkJ6BCrudCRv5A816+hLdfUJ1cEgzE7RR9IKg1t F8tAZ3Omj2zciKBOIjtCYkj0vVcdGazcQL407jpSxBuJBktJ4pvuAGvh5Wfb0LyjeIWF e8URUiuab/pWVoU8Muh/TtbmSwbdA4XRotD6xHo6Ntm3wahmugeFwG47y3V2uCCYRu5/ eSIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678373470; h=content-transfer-encoding:in-reply-to:organization:content-language :references:cc:to:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XJGT5gzayA+v60HrIF69Z0JKuo7e2zPr/v1zCwlC+z4=; b=LbrMUhJtGJ5PKE7R7i2w9NoJIUR1W/yuBimmCOaxb+hBLmdboEaBYw9eWrb+1d7iq3 Zdvx7jv9zj0S2pR8FzjIPqYxYOF07oPjNdGIAUZkJBjL6BLQrRUckVSx0gr09njJqE/E SuL0oaOnb36tlrdXAnFdMSYRsb/F4soAioCW6COQsm/X2MocD+nmZeWYc11cM4T64jPK yjZO5Wl7hPSfG3/fU+wir2XjOZbKOmRUBifaPSWxL2tMiy6DTvLvPceztVtbYG2gZ8Jg rd+FVFG38EF4xlz2+NRglBI7Bt3pw/eF0GUJgoh5FmaqMYyMQPF2jDuiGsrd1+Y1C913 8LDw== X-Gm-Message-State: AO0yUKW7kKEapx95xqkaCjVuF00nOpTnSX/Kb5htWPJMrHlGofcImPDl d92p6fSJgeltiK2Wv8hN9x/gcg== X-Google-Smtp-Source: AK7set+LmoE9+xUYtgCH4KkzAjZkLaBOJuVNgHmSvR7PX2pvirV6iNsHlZsD4hJuzRF5fYqQhZfsig== X-Received: by 2002:a05:6000:110f:b0:2cb:5f2a:274e with SMTP id z15-20020a056000110f00b002cb5f2a274emr14576146wrw.41.1678373469891; Thu, 09 Mar 2023 06:51:09 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:9df7:bf3e:9813:995a? ([2a01:e0a:982:cbb0:9df7:bf3e:9813:995a]) by smtp.gmail.com with ESMTPSA id z6-20020adfd0c6000000b002c55efa9cbesm17887163wrh.39.2023.03.09.06.51.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Mar 2023 06:51:09 -0800 (PST) Message-ID: <4b4d4749-c5ea-3a02-190e-3db703623977@linaro.org> Date: Thu, 9 Mar 2023 15:51:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 From: Neil Armstrong Subject: Re: [PATCH 21/21] panel: startek-kd070fhfid015: add support of this display To: Alexandre Mergnat , Daniel Vetter , CK Hu , Jitao Shi , Thierry Reding , Philipp Zabel , Sam Ravnborg , Rob Herring , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Chun-Kuang Hu , Matthias Brugger , David Airlie , Krzysztof Kozlowski , Xinlei Lee References: <20230220-display-v1-0-45cbc68e188b@baylibre.com> <20230220-display-v1-21-45cbc68e188b@baylibre.com> Content-Language: en-US Organization: Linaro Developer Services In-Reply-To: <20230220-display-v1-21-45cbc68e188b@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , Reply-To: neil.armstrong@linaro.org Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Fabien Parent , linux-mediatek@lists.infradead.org, Guillaume La Roque , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, On 09/03/2023 15:23, Alexandre Mergnat wrote: > From: Guillaume La Roque > > This driver support the Startek KD070FHFID015, which is a 7-inch TFT LCD > display using MIPI DSI interface. > > Signed-off-by: Guillaume La Roque > Signed-off-by: Alexandre Mergnat > --- > drivers/gpu/drm/panel/Kconfig | 12 + > drivers/gpu/drm/panel/Makefile | 1 + > .../gpu/drm/panel/panel-startek-kd070fhfid015.c | 483 +++++++++++++++++++++ > 3 files changed, 496 insertions(+) > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 737edcdf9eef..3fccf025013b 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -666,6 +666,17 @@ config DRM_PANEL_SONY_TULIP_TRULY_NT35521 > NT35521 1280x720 video mode panel as found on Sony Xperia M4 > Aqua phone. > > +config DRM_PANEL_STARTEK_KD070FHFID015 > + tristate "STARTEK KD070FHFID015 panel" > + depends on OF > + depends on DRM_MIPI_DSI > + depends on BACKLIGHT_CLASS_DEVICE > + help > + Say Y here if you want to enable support for STARTEK KD070FHFID015 DSI panel > + based on RENESAS-R69429 controller. The pannel is a 7-inch TFT LCD display > + with a resolution of 1024 x 600 pixels. It provides a MIPI DSI interface to > + the host, a built-in LED backlight and touch controller. > + > config DRM_PANEL_TDO_TL070WSH30 > tristate "TDO TL070WSH30 DSI panel" > depends on OF > @@ -736,4 +747,5 @@ config DRM_PANEL_XINPENG_XPP055C272 > Say Y here if you want to enable support for the Xinpeng > XPP055C272 controller for 720x1280 LCD panels with MIPI/RGB/SPI > system interfaces. > + Spurious new line > endmenu > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > index f8f9d9f6a307..35771fc51187 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -67,6 +67,7 @@ obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7703) += panel-sitronix-st7703.o > obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o > obj-$(CONFIG_DRM_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o > obj-$(CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521) += panel-sony-tulip-truly-nt35521.o > +obj-$(CONFIG_DRM_PANEL_STARTEK_KD070FHFID015) += panel-startek-kd070fhfid015.o > obj-$(CONFIG_DRM_PANEL_TDO_TL070WSH30) += panel-tdo-tl070wsh30.o > obj-$(CONFIG_DRM_PANEL_TPO_TD028TTEC1) += panel-tpo-td028ttec1.o > obj-$(CONFIG_DRM_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o > diff --git a/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c > new file mode 100644 > index 000000000000..88466bf6428d > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c > @@ -0,0 +1,483 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2016 InforceComputing > + * Copyright (C) 2016 Linaro Ltd > + * Copyright (C) 2023 BayLibre, SAS > + * > + * Author: NIT: Authors > + * - Vinay Simha BN > + * - Sumit Semwal > + * - Guillaume La Roque > + * > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include