Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp128060rdb; Tue, 5 Dec 2023 00:08:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHC+n/L8PGUUrAQXcw+1HqFm7uf1MivZ0YikwzvhKLDyRE7dd/ybnZlQGesB3i0scT16eJ8 X-Received: by 2002:a05:6830:d06:b0:6d8:74e2:7ce0 with SMTP id bu6-20020a0568300d0600b006d874e27ce0mr8862174otb.59.1701763685097; Tue, 05 Dec 2023 00:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701763685; cv=none; d=google.com; s=arc-20160816; b=g8boegbqBOJiezkvuyrjd+V8jRz6rBhRp2BuF06FgdrhgwlmkJ4n/WwMyaLFsDHt6d OHoriAHVrjDsX1IybtmxD15i2sSMrO5Wp++UTKxShBhZyQTQmHAePc+OLB1ZyWJoAJXi pMdDBYNhyH5j1uohze+2YuCcjNsINUjCiJRUqghPtL5BV5a3zofB/3Tt+/0KMIulU0FS 4gDdhZvD+tpBYBLF7j7k7j20bWNj0Ypnhmp/2VrIS+lSZnRQE/ENbMClH5BHEhtg5f5t 4LqcgvMXtNkX1bT/+4OfszpIn0ooiCtykHNCJl/5Hv/a5lYFwzqKjtHLduMIyDqP//ct T/zQ== 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=0qrIp+ZfD6rxByDasoblSGlLKy5XMvqoSxroAd8Cnjc=; fh=5V7tiqs7tRZjBlfWir49z7evivo7sLrjkx35BBMOHX8=; b=iMiRt8wtSd3EXGc0MaBQD+crze8YdzTGv7Wo93J299bEzGw5VA1FLbJMBpfZP1vwXy 67M83NkeFv8PsuqaCkOn9/a0owNuhTgyxD/53TsOAUWInT/8OgR7JYmME+8t9dWaofd6 4UYy7ssPfv2D5dpKUmVPIK7s2CH9GorA1yl8ecgNQC6kEqLd0L7LsYJkNEuDZQ6e0cp2 SaLEPUJpwQAoxwdAYl6sIg4ndXQ3Pi20/Ww051frB43hxq3Azp7pYo9nR0+D7vUmlzQZ JYlAL4cz+/3Sp0W+gpKUGzHLq7l1DJIt/M+wWyRiox3ILHBfdb/F9L7pnhnwKOBR5ggT 9ovg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rvzjf9VW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id u6-20020a63ef06000000b005c21538543esi5201314pgh.433.2023.12.05.00.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:08:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rvzjf9VW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id F28458026BD7; Tue, 5 Dec 2023 00:07:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344725AbjLEIHj (ORCPT + 99 others); Tue, 5 Dec 2023 03:07:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjLEIHi (ORCPT ); Tue, 5 Dec 2023 03:07:38 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A9C183 for ; Tue, 5 Dec 2023 00:07:43 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3332fc9b9b2so3492968f8f.1 for ; Tue, 05 Dec 2023 00:07:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701763662; x=1702368462; 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=0qrIp+ZfD6rxByDasoblSGlLKy5XMvqoSxroAd8Cnjc=; b=Rvzjf9VW/EM77Su86MNXhs9bIfbmGSKwfK6AD5gkoNZB3x2o90ZpGc9UCP2F4bUi1R 4gqLR1qj/oBUGvfJ/wEY/6utxaWpz6wQOX8E18jFKnUGYwqbGP0umMaZDZJzAUsAGCgo fDCTsZaXYRtwkzSqukq5bydrxJQe3eOtyzMgIp3xPl/4YDZdKhor5tjobUlyUmi2YtRR JnQWvwqW9bsFbg27nIOVlumGWdSugKKyaRBk10dlyh7rejL4QafDKN61b62v89cJ/GeG R2DjsDjaBowjo9uEA50ZhBrIibHkSO8S0Ih9W0/RbRPuhohhcPj0VNRdexh8b0igQLw4 JHhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701763662; x=1702368462; 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=0qrIp+ZfD6rxByDasoblSGlLKy5XMvqoSxroAd8Cnjc=; b=JwXAXJu4AetOYWB9YLSEd9hIhdB3tjWGeLXIkxdsEnweGhQ7EjsFda2v9s78a2sppR kJJl1MvkYAgbYUDUYv9DiOJiMt+YUzrGU32AHhTeLJFlwNXzg6EPPVIhunuXAHkO6f0c p+4bGlerfDRS11SHXOSSzeNwpdus7wPUyB2Io3D1H6tsIJptJ3AJJcGo2ahqw1eLxDwD lFD8w7HR7swHGXCqBfGQIUGXBA5PUx7rG9osuGhMJWYNVOrjAHMNLbG2p+0DfCIH8pAp DYoVQB7g/cOaVzsdNGtfD19QTYEMbXN2vZMFqpCbl4RR1AHOJtQd9gKLGv+aIx+cmX2f qsWQ== X-Gm-Message-State: AOJu0Yysd8moQhW0ONLee6RFFQMlQhm0btVCVFcuZouG3N880+bil/BW cyVQrq9QzGh3g8RssQqcb8cUDA== X-Received: by 2002:a05:6000:551:b0:333:4e3a:158d with SMTP id b17-20020a056000055100b003334e3a158dmr471922wrf.226.1701763661692; Tue, 05 Dec 2023 00:07:41 -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 l3-20020a5d5603000000b00333371c7382sm9148052wrv.72.2023.12.05.00.07.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Dec 2023 00:07:41 -0800 (PST) Message-ID: Date: Tue, 5 Dec 2023 09:07:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v3 06/10] drm/panel: Add Synaptics R63353 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-7-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-7-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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 00:08:00 -0800 (PST) Hi Dario, On 30/11/2023 15:16, Dario Binacchi wrote: > From: Michael Trimarchi > > The LS068B3SX02 panel is based on the Synaptics R63353 Controller. > Add a driver for it. > > Signed-off-by: Michael Trimarchi > Signed-off-by: Dario Binacchi > > --- > > (no changes since v2) > > Changes in v2: > - Adjust the timings of the panel reset > > MAINTAINERS | 6 + > drivers/gpu/drm/panel/Kconfig | 9 + > drivers/gpu/drm/panel/Makefile | 1 + > .../gpu/drm/panel/panel-synaptics-r63353.c | 375 ++++++++++++++++++ > 4 files changed, 391 insertions(+) > create mode 100644 drivers/gpu/drm/panel/panel-synaptics-r63353.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index 012df8ccf34e..c373764b6e64 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -6875,6 +6875,12 @@ T: git git://anongit.freedesktop.org/drm/drm-misc > F: Documentation/devicetree/bindings/display/ste,mcde.yaml > F: drivers/gpu/drm/mcde/ > > +DRM DRIVER FOR SYNAPTICS R63353 PANELS > +M: Michael Trimarchi > +S: Maintained > +F: Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml > +F: drivers/gpu/drm/panel/panel-synaptics-r63353.c > + > DRM DRIVER FOR TI DLPC3433 MIPI DSI TO DMD BRIDGE > M: Jagan Teki > S: Maintained > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 99e14dc212ec..d018702be3dc 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -735,6 +735,15 @@ config DRM_PANEL_SITRONIX_ST7789V > Say Y here if you want to enable support for the Sitronix > ST7789V controller for 240x320 LCD panels > > +config DRM_PANEL_SYNAPTICS_R63353 > + tristate "Synaptics R63353-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 > + Synaptics R63353 controller. > + > config DRM_PANEL_SONY_ACX565AKM > tristate "Sony ACX565AKM panel" > depends on GPIOLIB && OF && SPI > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > index d10c3de51c6d..f267d932c2b5 100644 > --- a/drivers/gpu/drm/panel/Makefile > +++ b/drivers/gpu/drm/panel/Makefile > @@ -74,6 +74,7 @@ obj-$(CONFIG_DRM_PANEL_SHARP_LS060T1SX01) += panel-sharp-ls060t1sx01.o > obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7701) += panel-sitronix-st7701.o > obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7703) += panel-sitronix-st7703.o > obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o > +obj-$(CONFIG_DRM_PANEL_SYNAPTICS_R63353) += panel-synaptics-r63353.o > obj-$(CONFIG_DRM_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o > obj-$(CONFIG_DRM_PANEL_SONY_TD4353_JDI) += panel-sony-td4353-jdi.o > obj-$(CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521) += panel-sony-tulip-truly-nt35521.o > diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c > new file mode 100644 > index 000000000000..d45373de7c9f > --- /dev/null > +++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c > @@ -0,0 +1,375 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Synaptics R63353 Controller driver > + * > + * Copyright (C) 2020 BSH Hausgerate GmbH > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > + > +#include > +#include > +#include > + > +#include