Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4467361rwb; Mon, 31 Jul 2023 07:20:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlGJxeSS6lUfoDK17I24OTX/W2anRHdKSstgZafy1OqQE9iRhRNOZU3vvFj3sIRv96Ci65qZ X-Received: by 2002:a17:902:db06:b0:1b6:80f0:d969 with SMTP id m6-20020a170902db0600b001b680f0d969mr9169735plx.11.1690813239162; Mon, 31 Jul 2023 07:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690813239; cv=none; d=google.com; s=arc-20160816; b=bksPGPQ4pmc8Ao2+eb+QV0WJTPGbMLn2oxC1/CfavXWqcjYUKFRrV2EPu0bQwToNGB BqcgjNGZMbWskiLsFQMur+dvd1kyK5tsZ+AVAKu1pGEPdC81pzxb/AoIvh8ItfG8rutH 2Eu7F86OZrcXXe8H7f2WukFL8tCESMpnM7grYyRrrKpBP5jwAREN/kGGxri+ERx0bcDL 2uHjK4slPpq3tzgMz2eBpVYWelQQENFlCzRaA1xVVPmc4zFmrdiBqxvqNCtfF2RFfRHz kFxXSC0QTBeL+2qs6sEbema8c8KliON6qlodDsMWSQK5BqqjZ45znRwFSOXnwEuHxnjh 5p5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:references:cc:to:content-language:subject:reply-to :from:user-agent:mime-version:date:message-id:dkim-signature; bh=nl47p+lhboU+z7yqQAdLU53qCAq/cgITfMp8i0hKzaM=; fh=CKI+gkDRgHiemLJdNi181gN3YCA4HSiXMvZdEdLeEfc=; b=kWBbbftn1TtBJY02Ova6ZI43qA5x5TsKTOW1pgvnMrQc5wrSVu2PFh7VueH+aL4Zqx Pk/FAIGRcnyoCq//1f8Md1CI8PHe0GDMTx+mVbPfNtEy4or+dibfAskJPiWysZFmpClG 6saC0VFyGucEhJVag7QLA0/xOUThvT9a3wTiVgcHJBWqua9s8slE0Bx18OAp0qBca3/Y GfdhVqDOr/GefxJ98GCFRq0ivsL+7fi/CE9Aihbs5u5nIhQDm2XqobHslLcDzdUbn3yq jkRfCHQQgm1f3uCEOyOW1xspibF3VerTCd0JNeaCHKOVOgm5CssvvPnAqgSQdILEykS0 Xhkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GCDJykYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix22-20020a170902f81600b001b9d203659dsi4204948plb.14.2023.07.31.07.20.21; Mon, 31 Jul 2023 07:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GCDJykYs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232358AbjGaM4j (ORCPT + 99 others); Mon, 31 Jul 2023 08:56:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbjGaM4h (ORCPT ); Mon, 31 Jul 2023 08:56:37 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD8D010FB for ; Mon, 31 Jul 2023 05:56:34 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3178dd771ceso3085813f8f.2 for ; Mon, 31 Jul 2023 05:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690808193; x=1691412993; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=nl47p+lhboU+z7yqQAdLU53qCAq/cgITfMp8i0hKzaM=; b=GCDJykYsdkZ28Qd+xAhdQtc8OTjEGSAnN/luvISL56xNYot0qN2W7AmMncFO/UMOp/ 1iIgAP73jbbAZnpiOjSq/U8WveeRL7k8dRNB2F8njyYpWCoY62tbN6lzqWppA+vhWLBu BmDnv/xtm3QTQMKAIvzL+n762+dCvFSOcT51Q+aXCrBdCXKNqtE5LQDWtrqqefYtg/wZ c81lNlUlF5upgWiUtGYOc9bCKBWm5JgW3ahbJ4nV0+xbMttuTUGHhHD/FrSKiQBSa2fS RMtALohENj/A+PDZ+1ZkhokLOaBoo1XT2dkzunxSA5nF8gHQYFc0qC2RgamiHBv4PSE/ 1CUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690808193; x=1691412993; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language: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=nl47p+lhboU+z7yqQAdLU53qCAq/cgITfMp8i0hKzaM=; b=ZoGw5nfaJravb6hK5A7caWaH/Wf4ZA4Eig8cZ6Euhn8aiq1hMF+NAji+y/wuWO4dLn KDx308JdIUKxjkDWQiuIjHEtxnB6KnimWze9t2Lvp0hnei3CfKo4GF6Dz4egGu3/e1h4 7zn3ARBTUe7PHgDTEqs4a/RkTaN7plr1zCXmT9OA82eI7RkEvkT7HrZ5fbM/TfcTAYmA c88OSINBTxHQxJX+fiVThoOtGvJejARr+iJHYAImD6emyYN4sxK3JohzwOQ3g4SfQVES p2e6v0DvNln1llzRA90OTRV/NxbLnwWQFdt1BoTlewDk1DgiBMvQty1+pTiZM+pLgZ73 EkQQ== X-Gm-Message-State: ABy/qLbuMMBOzqNpgWJOV0pQNilQV8uIhnnH5d5pe7zpiSLf/V7Ck89W nL3G6qxc9l0kGFSbhh5J0u2Ktxx5ox7tfewbt9G7VGKO X-Received: by 2002:a5d:610b:0:b0:314:15a8:7879 with SMTP id v11-20020a5d610b000000b0031415a87879mr8049419wrt.34.1690808193215; Mon, 31 Jul 2023 05:56:33 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:f723:b60b:92cd:4df4? ([2a01:e0a:982:cbb0:f723:b60b:92cd:4df4]) by smtp.gmail.com with ESMTPSA id z17-20020adfec91000000b003179d7ed4f3sm4869161wrn.12.2023.07.31.05.56.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jul 2023 05:56:32 -0700 (PDT) Message-ID: <4af4b9ed-41c0-db13-9359-f0069230860b@linaro.org> Date: Mon, 31 Jul 2023 14:56:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v2 2/3] drm/panel: Support for startek-kd070fhfid015 MIPI-DSI panel Content-Language: en-US To: amergnat@baylibre.com, Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: Guillaume La Roque , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230711-startek_display-v2-0-87bc7bdec6e9@baylibre.com> <20230711-startek_display-v2-2-87bc7bdec6e9@baylibre.com> Organization: Linaro Developer Services In-Reply-To: <20230711-startek_display-v2-2-87bc7bdec6e9@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 13/07/2023 11:07, amergnat@baylibre.com 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 | 11 + > drivers/gpu/drm/panel/Makefile | 1 + > .../gpu/drm/panel/panel-startek-kd070fhfid015.c | 431 +++++++++++++++++++++ > 3 files changed, 443 insertions(+) > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 203c0ef0bbfd..c45e877c22c1 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -733,6 +733,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 > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > index 30cf553c8d1d..f8b362091ce7 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -74,6 +74,7 @@ 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_TD4353_JDI) += panel-sony-td4353-jdi.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..a25dfbdf8d9d > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c > @@ -0,0 +1,431 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2016 InforceComputing > + * Copyright (C) 2016 Linaro Ltd > + * Copyright (C) 2023 BayLibre, SAS > + * > + * Authors: > + * - Vinay Simha BN > + * - Sumit Semwal > + * - Guillaume La Roque > + * > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include