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 X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BB68C47080 for ; Mon, 31 May 2021 15:16:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 47E5A610A6 for ; Mon, 31 May 2021 15:16:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232976AbhEaPSg (ORCPT ); Mon, 31 May 2021 11:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232614AbhEaOMk (ORCPT ); Mon, 31 May 2021 10:12:40 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61EDFC034605; Mon, 31 May 2021 06:40:35 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id u3so10027442ilv.8; Mon, 31 May 2021 06:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=AgehNNBl0RWbsDTOpXYP8AKv0vLkamKrqcwCq8PAIbc=; b=USoblbATXgJRyju0GPPiAjftuPmDcXTIiNcpJLD+uAoV/2vTmLEpohRTJbcqssUWN/ dCcqyI2xwRCp4IXqCTVzoJp01ia8YmXlCstTrQ3j9703B2Nw7WHBUnmJmx2cFXgnWrri hJZIeMK7ntcyf+6oc8YQQi1d0bHj1bvIq6maHIHnbMkwJn2jrtnyAbhO3EyGx3UuFrlA tqJ9DBXcVAA0kxqC1WG4P8MCeGTv70wWrSeLm2ddLbeRNmUPo41YF0iNzkl6qKc0v94g xYVG5dsdL6EhXRQDgIdt66uOPTu2Hg1QVpjbwf2xp+hnsA/dshOMr1t22ecv7+j4Qz2a thXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=AgehNNBl0RWbsDTOpXYP8AKv0vLkamKrqcwCq8PAIbc=; b=D0HmUHEElJkd1MT34QkgX7L3snLhffCZxdi0PHOXIIpiTm2m/QwALO1hATc39wbs0W 8gBLsjl7/4cfl5vwaVmLWQ1cR8CkFiIhQWTO2ef2inoj/9/nZ33SBwRlokg6xoXlBwhh 0XTiPYFYaS+PlIlvAJWg1P/mcB/9GyWtJdW0LpKz/aOFvLKoa7vd12gzhK9p1pIxbEav Qo8k/xi5n0vghLNSJ2osc/2J/t1HthB1b4FQBuJf8YtaMUbQznJlcH1z3vGOEMZ0ngfo AvWb9G4q+zivLUaHiVvzRv3t8bBXoBuk/qrQkLCqVG0mubXa4rLIb2lph1+MQj+V5k8p 6y2g== X-Gm-Message-State: AOAM533OqKOi+Y5Lawy6+YlN7w9jzNocclWQDaKKrUvwHaSqT2BJG0Sb uIhz321PZNWfPlEy556N1QxVc72HGiVwYYTh3so= X-Google-Smtp-Source: ABdhPJwRq9J7Q6lx6Lezp40CA/Hvg0Vy4asbzFz8/xv53+AwhBpVfiPQa7FtkkrZo37yBnksaiAGkq89C74F+3X7f5k= X-Received: by 2002:a92:a302:: with SMTP id a2mr17315181ili.184.1622468434425; Mon, 31 May 2021 06:40:34 -0700 (PDT) MIME-Version: 1.0 References: <1620990152-19255-1-git-send-email-dillon.minfei@gmail.com> <1620990152-19255-2-git-send-email-dillon.minfei@gmail.com> <56b41c37-147b-bf89-c840-2c5f08863a36@foss.st.com> In-Reply-To: <56b41c37-147b-bf89-c840-2c5f08863a36@foss.st.com> From: Dillon Min Date: Mon, 31 May 2021 21:39:57 +0800 Message-ID: Subject: Re: [PATCH 1/4] drm/panel: Add ilitek ili9341 panel driver To: Patrice CHOTARD Cc: pierre-yves.mordret@foss.st.com, alain.volmat@foss.st.com, Maxime Coquelin , Alexandre TORGUE , Sumit Semwal , christian.koenig@amd.com, Michael Turquette , Stephen Boyd , linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Linux ARM , Linux Kernel Mailing List , linux-media , "open list:DRM PANEL DRIVERS" , linaro-mm-sig@lists.linaro.org, linux-clk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 31, 2021 at 9:15 PM Patrice CHOTARD wrote: > > Hi Dillon > > When trying to applying this patch using "git am --3 " i got this= error : > > error: cannot convert from y to UTF-8 > fatal: could not parse patch > > Whereas i got no similar error with the other patch 2/3 and 4. > > I find a way to apply it anyway. Sorry for the inconvenience, I will double verify the 'git am' process on this patch later. Thanks. Best Regards Dillon > > Patrice > > > On 5/14/21 1:02 PM, dillon.minfei@gmail.com wrote: > > From: Dillon Min > > > > This driver combine tiny/ili9341.c mipi_dbi_interface driver > > with mipi_dpi_interface driver, can support ili9341 with serial > > mode or parallel rgb interface mode by register configuration. > > > > Reviewed-by: Linus Walleij > > Link: https://lore.kernel.org/lkml/1590378348-8115-7-git-send-email-dil= lon.minfei@gmail.com/ > > Signed-off-by: Dillon Min > > --- > > drivers/gpu/drm/panel/Kconfig | 12 + > > drivers/gpu/drm/panel/Makefile | 1 + > > drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 1285 ++++++++++++++++++= ++++++++ > > 3 files changed, 1298 insertions(+) > > create mode 100755 drivers/gpu/drm/panel/panel-ilitek-ili9341.c > > > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kcon= fig > > index 4894913936e9..e4babba17864 100644 > > --- a/drivers/gpu/drm/panel/Kconfig > > +++ b/drivers/gpu/drm/panel/Kconfig > > @@ -123,6 +123,18 @@ config DRM_PANEL_ILITEK_IL9322 > > Say Y here if you want to enable support for Ilitek IL9322 > > QVGA (320x240) RGB, YUV and ITU-T BT.656 panels. > > > > +config DRM_PANEL_ILITEK_ILI9341 > > + tristate "Ilitek ILI9341 240x320 QVGA panels" > > + depends on OF && SPI > > + depends on DRM_KMS_HELPER > > + depends on DRM_KMS_CMA_HELPER > > + depends on BACKLIGHT_CLASS_DEVICE > > + select DRM_MIPI_DBI > > + help > > + Say Y here if you want to enable support for Ilitek IL9341 > > + QVGA (240x320) RGB panels. support serial & parallel rgb > > + interface. > > + > > config DRM_PANEL_ILITEK_ILI9881C > > tristate "Ilitek ILI9881C-based panels" > > depends on OF > > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Mak= efile > > index cae4d976c069..0ecde184665d 100644 > > --- a/drivers/gpu/drm/panel/Makefile > > +++ b/drivers/gpu/drm/panel/Makefile > > @@ -11,6 +11,7 @@ obj-$(CONFIG_DRM_PANEL_ELIDA_KD35T133) +=3D panel-eli= da-kd35t133.o > > obj-$(CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02) +=3D panel-feixin-k101-im2= ba02.o > > obj-$(CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D) +=3D panel-feiyang-fy0= 7024di26a30d.o > > obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) +=3D panel-ilitek-ili9322.o > > +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) +=3D panel-ilitek-ili9341.o > > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) +=3D panel-ilitek-ili9881c.o > > obj-$(CONFIG_DRM_PANEL_INNOLUX_P079ZCA) +=3D panel-innolux-p079zca.o > > obj-$(CONFIG_DRM_PANEL_JDI_LT070ME05000) +=3D panel-jdi-lt070me05000.o > > diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9341.c b/drivers/gpu= /drm/panel/panel-ilitek-ili9341.c > > new file mode 100644 > > index 000000000000..f84983cbb250 > > --- /dev/null > > +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9341.c > > @@ -0,0 +1,1285 @@ > > +// SPDX-License-Identifier: GPL-2.0-only > > +/* > > + * Ilitek ILI9341 TFT LCD drm_panel driver. > > + * > > + * This panel can be configured to support: > > + * - 16-bit parallel RGB interface > > + * - 18-bit parallel RGB interface > > + * - 4-line serial spi interface > > + * > > + * Copyright (C) 2020 Dillon Min > > + * Derived from drivers/drm/gpu/panel/panel-ilitek-ili9322.c > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include