From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83C7FC64EC4 for ; Thu, 9 Mar 2023 14:54:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232145AbjCIOyN (ORCPT ); Thu, 9 Mar 2023 09:54:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232160AbjCIOxC (ORCPT ); Thu, 9 Mar 2023 09:53:02 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E493AF2F8B for ; Thu, 9 Mar 2023 06:51:11 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id j2so2121024wrh.9 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=fTFnfnTKAxXZRQMWzkGEGRHAfnh4/ZP4cal9GUe8Jdw1/qcOp5UNt4V1fUhYF5ags7 lj4M25xySEX9d0mi3G0xL1FveKbBZEOwKTdAVsxVd10kgDUCHM7/N5Hu3JkIJsebD9/U wB6CJmVEUXy0UHRjy8XazoLTKGh9i55vMZNexzB7/hIbWUAPs4NUWlH/7ZBq5zGXOnSC m3NtTCabClId5BCDLeHBsfPyG09wbM7yvUrb+b31Y53NJYxUd7GzxMQcA0i3GRr7qSHv fATS5eYG97XAHXQPwccTQmRpY2FK2BE+YQaZJ8AWU4q51az96Y3ry2pk6l/xo7RZScQC 0Evw== X-Gm-Message-State: AO0yUKXOrC96RMVpKWnFvV3+znHc5RYBbZPh35CyQzJymRIgYjsfFE26 tA0EzADLLanSyYflKZWSp26yyQ== 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 Reply-To: neil.armstrong@linaro.org 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 Cc: Guillaume La Roque , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, Fabien Parent , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org 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