Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp883551rwi; Wed, 19 Oct 2022 04:17:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/F+knU2lL9R59MOZXh46XTYmkhc+ongGXIR0adsKI6uf7t4R4E7KcKJ3/BZlLI6+rh3Aa X-Received: by 2002:a17:90a:b00b:b0:203:a6de:5b0f with SMTP id x11-20020a17090ab00b00b00203a6de5b0fmr9023490pjq.134.1666178235940; Wed, 19 Oct 2022 04:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666178235; cv=none; d=google.com; s=arc-20160816; b=ewms43qKUpAi/l8sS1Omj3xVxqDG0JC/SdgrfsWruWPAYk6LaX9wBNi3mcQLTkbywR GfVF3MuhBq+0fyogTlgaBgxPA6hm+hyQkhSjcbp0dnOF+eYPQ8je23rhMoi9I8eFFlzH /Yj7oBq3inCJWcLlPBnc5CF0+L5VZ9ofbOldTCSV+DDUyA3LQYrMiLziup9gAkaWMSzd YariMwYQp5dmyz7mAE/7UYt6BUygBKuNPaiX5TKIx0WQ2RFY5/Q1hqZLMD4a1H75gSaH cHoS6MQxHXCgvqppPNvpm9vWzxpdXo2JR3j+HTOAnvv+ZNbI8ALsVFpZcNnhY317uPqh oUnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NrZg8tooH1yOnzWrypIBMmFTPHGQfUX7xh1NNIa2u4M=; b=u8rlevvK0H/J48RgDpzuYSRubKHu4Hd1YJi2tPD2B84gXxFB630m75ddT978HzlEUC HuOgpdGh3ajH5R0hYhAjkSrWJCZ9RycHqHHTib3KChbRn+RFDf+fa/Vh1+mncNfONk88 0vBJFLHtYbF2ngw98OZiM6chy8ScxHvLY/AZK93OVuzmglJ2g8Np2kdwJ3PvnTauU6xO Trh6xWyknC1A9OPA1Wou2mHTbuymBhgwZsB/6xlm02FhIWN6fhlqq2n7m30uQqBnFhPo rkrIllDn1lQLgKiuWtk9sO01taVeA/iGrDHFS4weIUvm3LjtqeV81iKslDthdpnKU+WT hw6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NCQGrZCO; 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=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b004370503d42dsi17900529pgq.554.2022.10.19.04.17.03; Wed, 19 Oct 2022 04:17:15 -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=@amarulasolutions.com header.s=google header.b=NCQGrZCO; 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=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231154AbiJSKbF (ORCPT + 99 others); Wed, 19 Oct 2022 06:31:05 -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-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: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 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