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 4865DC433FE for ; Wed, 19 Oct 2022 10:31:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229880AbiJSKbH (ORCPT ); Wed, 19 Oct 2022 06:31:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbiJSKaf (ORCPT ); Wed, 19 Oct 2022 06:30:35 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8BD1FD2C for ; Wed, 19 Oct 2022 03:09:29 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id m29-20020a05600c3b1d00b003c6bf423c71so16754636wms.0 for ; Wed, 19 Oct 2022 03:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NrZg8tooH1yOnzWrypIBMmFTPHGQfUX7xh1NNIa2u4M=; b=NCQGrZCOuvTdZbsFAIokwjQlfRQkkZcRFpkpa+20sJKqFqk/bIGXfBINDumRbl0+m/ PJXpZVQZiJud6Tc7moOLARsU+zu7MzZpuHLRlVWQUThir1Tr0L+phwNUo+qnueP57jP2 1eWmXzYZ46tJfhiixg6KLg3jCm1DliOGEtLeo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NrZg8tooH1yOnzWrypIBMmFTPHGQfUX7xh1NNIa2u4M=; b=mPtRu4QZHvKg9jrutp0kom+wr1SpGkcpunmBevmWr2bUBIRSpPDZ8YH4fc4r9tbJIh HiOXxx3Plu8PUO29l6Zs3R/6blSaxFYiTHE0WBuCo0KelvoiLRpaMn9Dz7Sbf6JaslfE Tls4TS198MA4hOoUW3ZHwOsl1B5ZyxPgSmyX7T2AvIgURNyaNAbBXds6mFEoeAwbNv7W 5K0C1V0EXQuDr4US/tuw9sw1l+A6uc6S80JZBTFDRm1Veb81OFLxELZUUhpCF84mF8ov 32vsXjS51TA2HpbtyvjwiN7ZoKKOkVnPc2asVErAR+yCjExnnBYj0vQgBzK4Gfrj3eBi v+MA== X-Gm-Message-State: ACrzQf37y9//OO8gH9rih+kousiEcOT/5zfcUMrJyn9RBZb0vnJ5Ex5Q Cvn/fnMkS7aT8daWY3jKQDXnPjtxeJ47dg== X-Google-Smtp-Source: AMsMyM5HZ3lZrLtt5izS7xZadWbFVCatzI1VQQIUAuik93OcdPbyb20krlDJjhOaOEsv3DLkDAAGJQ== X-Received: by 2002:a05:600c:468e:b0:3c6:f243:89c2 with SMTP id p14-20020a05600c468e00b003c6f24389c2mr13512420wmo.150.1666170266549; Wed, 19 Oct 2022 02:04:26 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i (net-188-217-54-207.cust.vodafonedsl.it. [188.217.54.207]) by smtp.gmail.com with ESMTPSA id m6-20020a1c2606000000b003c452678025sm21088500wmm.4.2022.10.19.02.04.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 02:04:25 -0700 (PDT) Date: Wed, 19 Oct 2022 11:04:23 +0200 From: Tommaso Merciai To: Michael Nazzareno Trimarchi Cc: linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, kamlesh.gurudasani@gmail.com, David Airlie , Daniel Vetter , Maxime Ripard , Thomas Zimmermann , Javier Martinez Canillas , Sam Ravnborg , Noralf =?iso-8859-1?Q?Tr=F8nnes?= , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 2/2] drm/tiny: add support for tft displays based on ilitek,ili9488 Message-ID: <20221019090423.GA1737196@tom-ThinkPad-T14s-Gen-2i> References: <20221018164532.1705215-1-tommaso.merciai@amarulasolutions.com> <20221018164532.1705215-3-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 18, 2022 at 08:31:22PM +0200, Michael Nazzareno Trimarchi wrote: Hi Michael, > Hi > > On Tue, Oct 18, 2022 at 6:46 PM Tommaso Merciai > wrote: > > > > This adds support for ilitek,ili9488 based displays with shift register > > in front of controller. Waveshare,pico-restouch-lcd-3.5 are such displays > > > > Signed-off-by: Tommaso Merciai > > --- > > Because I start to make it working this driver, I think that my > signed-off is missing here Yes, right. :) I upload in v2, my bad > > > drivers/gpu/drm/tiny/Kconfig | 13 + > > drivers/gpu/drm/tiny/Makefile | 1 + > > drivers/gpu/drm/tiny/ili9488.c | 440 +++++++++++++++++++++++++++++++++ > > 3 files changed, 454 insertions(+) > > create mode 100644 drivers/gpu/drm/tiny/ili9488.c > > > > diff --git a/drivers/gpu/drm/tiny/Kconfig b/drivers/gpu/drm/tiny/Kconfig > > index 027cd87c3d0d7..6e708e8414806 100644 > > --- a/drivers/gpu/drm/tiny/Kconfig > > +++ b/drivers/gpu/drm/tiny/Kconfig > > @@ -148,6 +148,19 @@ config TINYDRM_ILI9486 > > > > If M is selected the module will be called ili9486. > > > > +config TINYDRM_ILI9488 > > + tristate "DRM support for ILI9488 display panels" > > + depends on DRM && SPI > > + select DRM_KMS_HELPER > > + select DRM_GEM_CMA_HELPER > > + select DRM_MIPI_DBI > > + select BACKLIGHT_CLASS_DEVICE > > + help > > + DRM driver for the following Ilitek ILI9488 panels: > > + * LCD 3.5" 320x480 TFT (Waveshare Pico-ResTouch-LCD-3.5") > > + > > + If M is selected the module will be called ili9486. > > + > > config TINYDRM_MI0283QT > > tristate "DRM support for MI0283QT" > > depends on DRM && SPI > > diff --git a/drivers/gpu/drm/tiny/Makefile b/drivers/gpu/drm/tiny/Makefile > > index 1d9d6227e7ab7..aad6683b2ac40 100644 > > --- a/drivers/gpu/drm/tiny/Makefile > > +++ b/drivers/gpu/drm/tiny/Makefile > > @@ -11,6 +11,7 @@ obj-$(CONFIG_TINYDRM_ILI9163) += ili9163.o > > obj-$(CONFIG_TINYDRM_ILI9225) += ili9225.o > > obj-$(CONFIG_TINYDRM_ILI9341) += ili9341.o > > obj-$(CONFIG_TINYDRM_ILI9486) += ili9486.o > > +obj-$(CONFIG_TINYDRM_ILI9488) += ili9488.o > > obj-$(CONFIG_TINYDRM_MI0283QT) += mi0283qt.o > > obj-$(CONFIG_TINYDRM_REPAPER) += repaper.o > > obj-$(CONFIG_TINYDRM_ST7586) += st7586.o > > diff --git a/drivers/gpu/drm/tiny/ili9488.c b/drivers/gpu/drm/tiny/ili9488.c > > new file mode 100644 > > index 0000000000000..b94d9d4ff4544 > > --- /dev/null > > +++ b/drivers/gpu/drm/tiny/ili9488.c > > @@ -0,0 +1,440 @@ > > +// SPDX-License-Identifier: GPL-2.0+ > > +/* > > + * DRM driver for Ilitek ILI9488 panels > > + * > > + * Copyright 2020 Kamlesh Gurudasani > > + */ > > Code was changed a bit so please add copyright of me and you Agree, thanks. > > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include