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.4 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 876C2C43460 for ; Thu, 8 Apr 2021 11:11:57 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2C834610E5 for ; Thu, 8 Apr 2021 11:11:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C834610E5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 92BA56E1B3; Thu, 8 Apr 2021 11:11:56 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id F1DDC6E1B3 for ; Thu, 8 Apr 2021 11:11:54 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 72E6BB10B; Thu, 8 Apr 2021 11:11:53 +0000 (UTC) To: Daniel Mack , airlied@linux.ie, daniel@ffwll.ch References: <20210331092114.3185882-1-daniel@zonque.org> <20210331092114.3185882-3-daniel@zonque.org> From: Thomas Zimmermann Subject: Re: [PATCH v8 2/2] drm/tiny: add driver for newhaven,1.8-128160EF Message-ID: <6912fb8e-4a56-313b-79a4-447ce55220ea@suse.de> Date: Thu, 8 Apr 2021 13:11:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210331092114.3185882-3-daniel@zonque.org> 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: , Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, Daniel Vetter Content-Type: multipart/mixed; boundary="===============1384589860==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1384589860== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pEg9WtwCTMIyCJZJdApvJR32fYet8nLem" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pEg9WtwCTMIyCJZJdApvJR32fYet8nLem Content-Type: multipart/mixed; boundary="o1ScHQRxCA2MT01nhTrZ8xlAf4Wx3V3cc"; protected-headers="v1" From: Thomas Zimmermann To: Daniel Mack , airlied@linux.ie, daniel@ffwll.ch Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, Daniel Vetter Message-ID: <6912fb8e-4a56-313b-79a4-447ce55220ea@suse.de> Subject: Re: [PATCH v8 2/2] drm/tiny: add driver for newhaven,1.8-128160EF References: <20210331092114.3185882-1-daniel@zonque.org> <20210331092114.3185882-3-daniel@zonque.org> In-Reply-To: <20210331092114.3185882-3-daniel@zonque.org> --o1ScHQRxCA2MT01nhTrZ8xlAf4Wx3V3cc Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, just trivial points below. In any case Acked-by: Thomas Zimmermann Am 31.03.21 um 11:21 schrieb Daniel Mack: > This patch adds support for Newhaven's NHD-1.8-128160EF display, featur= ing > an Ilitek ILI9163 controller. >=20 > Signed-off-by: Daniel Mack > Acked-by: Daniel Vetter > --- > drivers/gpu/drm/tiny/Kconfig | 13 ++ > drivers/gpu/drm/tiny/Makefile | 1 + > drivers/gpu/drm/tiny/ili9163.c | 224 ++++++++++++++++++++++++++++++++= + > 3 files changed, 238 insertions(+) > create mode 100644 drivers/gpu/drm/tiny/ili9163.c >=20 > diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfi= g > index 2b6414f0fa759..9de0c0eeea6f5 100644 > --- a/drivers/gpu/drm/tiny/Kconfig > +++ b/drivers/gpu/drm/tiny/Kconfig > @@ -41,6 +41,19 @@ config TINYDRM_HX8357D > =20 > If M is selected the module will be called hx8357d. > =20 > +config TINYDRM_ILI9163 > + tristate "DRM support for ILI9163 display panels" > + depends on DRM && SPI > + select DRM_KMS_HELPER > + select DRM_KMS_CMA_HELPER > + select DRM_MIPI_DBI > + select BACKLIGHT_CLASS_DEVICE Maybe sort the selects alphabetically. > + help > + DRM driver for the following Ilitek ILI9163 panels: > + * NHD-1.8-128160EF 128x160 TFT > + > + If M is selected the module will be called ili9163. > + > config TINYDRM_ILI9225 > tristate "DRM support for ILI9225 display panels" > depends on DRM && SPI > diff --git a/drivers/gpu/drm/tiny/Makefile b/drivers/gpu/drm/tiny/Makef= ile > index 6ae4e9e5a35fb..78016b2ed11b5 100644 > --- a/drivers/gpu/drm/tiny/Makefile > +++ b/drivers/gpu/drm/tiny/Makefile > @@ -3,6 +3,7 @@ > obj-$(CONFIG_DRM_CIRRUS_QEMU) +=3D cirrus.o > obj-$(CONFIG_DRM_GM12U320) +=3D gm12u320.o > obj-$(CONFIG_TINYDRM_HX8357D) +=3D hx8357d.o > +obj-$(CONFIG_TINYDRM_ILI9163) +=3D ili9163.o > obj-$(CONFIG_TINYDRM_ILI9225) +=3D ili9225.o > obj-$(CONFIG_TINYDRM_ILI9341) +=3D ili9341.o > obj-$(CONFIG_TINYDRM_ILI9486) +=3D ili9486.o > diff --git a/drivers/gpu/drm/tiny/ili9163.c b/drivers/gpu/drm/tiny/ili9= 163.c > new file mode 100644 > index 0000000000000..6fa9e59b69321 > --- /dev/null > +++ b/drivers/gpu/drm/tiny/ili9163.c > @@ -0,0 +1,224 @@ > +// SPDX-License-Identifier: GPL-2.0+ > + > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include