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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BE535C64EC4 for ; Thu, 9 Mar 2023 14:56:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=M+CzwOu+LP246fbTih4uMVG0Qcn0qZrHjthxoftoGRI=; b=rYPyrWzxtb24kWvtqIY5ZxRI/L syBTO0Wuhxf9YsHlhcY548TiGTgXC+cepxpGRIEWcXYPmGrKjSU/AsP9Hlnkvf7ijxft72ZZykuSm fxZGC8A0hU6M96Zg4bEXxSTtnC8Ucxfa51j8IP+C/gKJ0MF7A9Qx9tUkHa4AYMdxDoM4XdYgHCon+ ummMAe8mbP97Ftgq7toSKhWf+vBTKYSm/Y+CJHXumY4HOoBMxYZKQZyWXpeDCdUroVQ53rUXk2gQ/ RMSzv5J+hpai5e/EgUckDzh/RUCpW4BxGf0e1HD+GxUyrOA2Nh4iKhyvxO/TNg4WlosNi6kk2FZXh KID/HYxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHfw-00AiHh-GC; Thu, 09 Mar 2023 14:55:25 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paHbu-00AgGN-0K for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 14:51:18 +0000 Received: by mail-wr1-x434.google.com with SMTP id bx12so2117766wrb.11 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=P59XfRJ0yE9ivUWl++LVDJduqwsj9lWMFwmnHXC7nTuRleyH+LJtlr+w7GY3Vbo6VK 5Gm7+aw5KdOtDj8REx+grZ8rSSlJ8U50AD9fdOm2jr8PujKKeL7fPWKB/TmAloYW8p8W 13W+USbA3rUfbgETI13GVZVxNoj5n/8++7a6g/X/rCiMpBSsqFQhsdHo3mhDlYKBdVS0 K2udqQVF8ETA8aRUPtArYbKPBsZcLajb1pyFq2Yu9tOR5b+o9mLGBTm6JKGjS+uqX7Ti MG2BbgJweckiT+IDzlJj3LUxpswfOsn/+O0MS6lWoX7KhQubdx3nlC+uZNlHMvQN9QIc wGMA== X-Gm-Message-State: AO0yUKV/Zttz9SKyUW0JGTOoYo5oEQfctiJfOmMDF76U9XddXGbaqfE0 9xfkTIUDi7O3KA4WFFyPegl+Kw== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_065114_168917_842DA603 X-CRM114-Status: GOOD ( 30.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: neil.armstrong@linaro.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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