Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp129488rdb; Tue, 5 Dec 2023 00:11:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoNfA728215tw8aB3g+n1db5CCz4ps7LtoIv0Zxk46OqjvEV+jfMFhpufDsSCfrgyn1yMD X-Received: by 2002:a05:6a20:8e10:b0:187:a2ca:40a4 with SMTP id y16-20020a056a208e1000b00187a2ca40a4mr3783267pzj.50.1701763882845; Tue, 05 Dec 2023 00:11:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701763882; cv=none; d=google.com; s=arc-20160816; b=ZUH9NblQgyx8b0ps5ffBC5RlNJJucIujI4hRB6Ya836gl6BlBfzALY/51ybWNLr3MV i6XaLWt1QFX2mH2UDbrTtL/KsThhE0rEzILexC19HiH71UDvZVQqCzEREUKQ6PxI335p UIW6mLW+/GLXrkX4cK38KY75Y7K27Wh5eU2TY+ElOE3tpcoWLbHzD5oeiGEcvh3GVBEK xCjKoQRmrwm2EVwlygCznXk0rF7PxPND82Qr4IrzIrZmdeLMeyGfjtNt83s1ZhasUEt+ 5Aff+JyHVhsLs73YcSSTBBhnJlTZdE20Isg2XHTHoqLixzPNHtI7XKNpclTbqlAqHuJ4 Rqiw== 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:autocrypt:references:cc:to:content-language:subject :reply-to:from:user-agent:mime-version:date:message-id :dkim-signature; bh=DjTZyxYze8ZZ+0xkOYrUSZ2n3D4WOpELM1j22Ty1k7U=; fh=5V7tiqs7tRZjBlfWir49z7evivo7sLrjkx35BBMOHX8=; b=go/SNabSWIDrnH84CQX+w1AJ3WJG8YnfCsU/N+ED8A/jHCmc9dGqHB/YhFhyHVQffH fpOAfT+QQjGwTrlpw9iCa1Nnl6r510bmWBMI5XCun+yLrbTSERat5y0Th3I16Kkx7qOJ NnI+Q0TjCdIVqf54GZt9dBMGRjOfr4BHh6rVWppVqqpOy/kNwH0OzFbdAbXHdJ7uls9N JYyFRSl8mpz+ExW/lkNSKG6Mb6+0/nfoPMwbktOoRk8/qZ4EGq66uJK+uMkOp58IaMOX eGuKWdylWfEkUeadGXPlfqtyCjkIH2AOVXnhDNJv+2XoDDxXBQ5wKrj0V/IPTgbER9QD l1IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f4Ql2By5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e2-20020a17090a9a8200b0028656e422f2si7411225pjp.55.2023.12.05.00.11.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:11:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f4Ql2By5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 640F6808D23E; Tue, 5 Dec 2023 00:11:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234993AbjLEIKY (ORCPT + 99 others); Tue, 5 Dec 2023 03:10:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234971AbjLEIKT (ORCPT ); Tue, 5 Dec 2023 03:10:19 -0500 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 4F2B3D43 for ; Tue, 5 Dec 2023 00:10:19 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40bd5ea84d6so16910425e9.1 for ; Tue, 05 Dec 2023 00:10:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701763817; x=1702368617; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :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=DjTZyxYze8ZZ+0xkOYrUSZ2n3D4WOpELM1j22Ty1k7U=; b=f4Ql2By5CYIwao98Esi9NebS6tqG04lnpbEJdN21gKlDI0ZmsoeCbvB1arMkFzfnP2 dmdbuYkKTEGZHx9WRed+vkPwtksxnLgHIB15Fm2OOVVAEygFTLj/ckKw2uM20NWX1cZ+ MoYzepZEoJcB/T8ScB1ewoXXeHUImyzaxVxHYiI1GJBVTc+O9lFzQYcUQqMwruiT64Ey AoA2XfVzJ7wWgy7y8EN0vdTqF8Ya4N0bDrO28RGHxb8CSjkPddia6mMLD0lzPxSbdL2N bkHHne0uTrvqHhSj3krPIp2ajbqoFj0yU+32wFW+PFh2fI9LtGyl3f4MgsK7154semd8 8Mlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701763817; x=1702368617; h=content-transfer-encoding:in-reply-to:organization:autocrypt :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=DjTZyxYze8ZZ+0xkOYrUSZ2n3D4WOpELM1j22Ty1k7U=; b=cc93ZuGTDcA7vlMyz+ki45ecyFwbZd0zh2oTTeEwuM6Be+oVoHiAfinl95ba5Mni0e kKkqMXf+Gz5niEP4rWd3NdKiuNZlxL45UNRlwbp6k5MnjBow0TIPRwpQPt0EmOrsFWyD 8xUxwdlJ2fN0icn/CjgUgG5j02D32jbpp47ezGNG0vSTK7xjR0bYJKM4CUWpBdrULoD/ eDBMae7mRLqCUL/Fe99zdehMWfAszk7zEQyCbsQI9jyE/vadEQ9m4ZbFhCb0WjvUVobO t3MRihQ8kCjZJ0OdNNNAsgHipF3xN8xt/JXqFb3b3FCyTMoKm7wA/7MIipMVMkY7Fl30 r4eg== X-Gm-Message-State: AOJu0YyozLC3mPVpzalewHb9UYJ9yZE/pvdX6anSFaxuJHGQkWCMW9ew 62ZhCnEGw9o/z1rmTsVTDGgGVA== X-Received: by 2002:a05:600c:3b8c:b0:40b:5e1f:c381 with SMTP id n12-20020a05600c3b8c00b0040b5e1fc381mr281651wms.23.1701763817456; Tue, 05 Dec 2023 00:10:17 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:4518:5e57:ff13:b4bb? ([2a01:e0a:982:cbb0:4518:5e57:ff13:b4bb]) by smtp.gmail.com with ESMTPSA id b7-20020a056000054700b003334460e256sm5976126wrf.92.2023.12.05.00.10.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Dec 2023 00:10:16 -0800 (PST) Message-ID: Date: Tue, 5 Dec 2023 09:10:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v3 08/10] drm/panel: Add Ilitek ILI9805 panel driver Content-Language: en-US, fr To: Dario Binacchi , linux-kernel@vger.kernel.org Cc: Amarula patchwork , michael@amarulasolutions.com, Daniel Vetter , David Airlie , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Sam Ravnborg , Thomas Zimmermann , dri-devel@lists.freedesktop.org References: <20231130141705.1796672-1-dario.binacchi@amarulasolutions.com> <20231130141705.1796672-9-dario.binacchi@amarulasolutions.com> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <20231130141705.1796672-9-dario.binacchi@amarulasolutions.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 05 Dec 2023 00:11:19 -0800 (PST) Hi Dario, On 30/11/2023 15:16, Dario Binacchi wrote: > From: Michael Trimarchi > > The GPM1790A0 panel is based on the Ilitek ILI9805 Controller. > Add a driver for it. > > Signed-off-by: Michael Trimarchi > Signed-off-by: Dario Binacchi > --- > > (no changes since v1) > > MAINTAINERS | 6 + > drivers/gpu/drm/panel/Kconfig | 9 + > drivers/gpu/drm/panel/Makefile | 1 + > drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 365 +++++++++++++++++++ > 4 files changed, 381 insertions(+) > create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9805.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index c373764b6e64..a89fbc811dc5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -6647,6 +6647,12 @@ T: git git://anongit.freedesktop.org/drm/drm-misc > F: Documentation/devicetree/bindings/display/ilitek,ili9486.yaml > F: drivers/gpu/drm/tiny/ili9486.c > > +DRM DRIVER FOR ILITEK ILI9805 PANELS > +M: Michael Trimarchi > +S: Maintained > +F: Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml > +F: drivers/gpu/drm/panel/panel-ilitek-ili9805.c > + > DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS > M: Jagan Teki > S: Maintained > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index d018702be3dc..dad938cf6dec 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -194,6 +194,15 @@ config DRM_PANEL_ILITEK_ILI9341 > QVGA (240x320) RGB panels. support serial & parallel rgb > interface. > > +config DRM_PANEL_ILITEK_ILI9805 > + tristate "Ilitek ILI9805-based panels" > + depends on OF > + depends on DRM_MIPI_DSI > + depends on BACKLIGHT_CLASS_DEVICE > + help > + Say Y if you want to enable support for panels based on the > + Ilitek ILI9805 controller. > + > 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/Makefile > index f267d932c2b5..d94a644d0a6c 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -17,6 +17,7 @@ obj-$(CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D) += panel-feiyang-fy07024di26a30d > obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) += panel-himax-hx8394.o > obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o > +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o > obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) += panel-ilitek-ili9882t.o > obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) += panel-innolux-ej030na.o > diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c b/drivers/gpu/drm/panel/panel-ilitek-ili9805.c > new file mode 100644 > index 000000000000..749959e10d92 > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9805.c > @@ -0,0 +1,365 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2020 BSH Hausgerate GmbH > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > + > +#include > +#include > +#include > + > +#include