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 A02B6C64EC4 for ; Thu, 16 Feb 2023 12:32:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230191AbjBPMck (ORCPT ); Thu, 16 Feb 2023 07:32:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjBPMci (ORCPT ); Thu, 16 Feb 2023 07:32:38 -0500 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C8572B0AC for ; Thu, 16 Feb 2023 04:32:35 -0800 (PST) Received: by mail-oi1-x22f.google.com with SMTP id cz14so1472668oib.12 for ; Thu, 16 Feb 2023 04:32:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=O/mbVCUW37SP5uqxmbuctI4JAQmuxWJTA6baY6ZYJ+0=; b=Ry6UpXEvwhJlC97SvhjGppSOLiW7Gf//PSyU+lyZXjAVAXIeTogm+hN8vh9AiEneBq Qi+rB3DjeqBdOwtRYJW8ucQOQQ+uJAAezupE1zTREaqdwetEO+EVxtJbHt8MT428mgnl MHAPQ+pT/tdV14Kk0YafC40Lm3KpP4m/9i+IY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=O/mbVCUW37SP5uqxmbuctI4JAQmuxWJTA6baY6ZYJ+0=; b=YOTUmSRbqkHJbtqserHgx/y+aur5tyBafVXasDSSJ6+FQdPaIDDDV5F5UDD7VDK50L 9B0+f6FD7o2HuCXfoOPq62HpZVqnAa4xJsr2Ka+GD35iAZcQCDgk6qU49JrMrDbi1BeA vWoqhcF5S/fjbUeBF/VT3esdRL8OWElSNbG0RR5rXtna49QSWeZz/7To18e5l1E7IePk 2k1oYhpFWeHuS0qDxno+D10uXlddz7IEqdjFc/9hcLlSuef3sqOCEFmQ6N57qtjb9kc9 IpECIzJwAYpPlqMFMEOkycsttPDUbZ6w4dUSzo27zOBZXpXv3mThQS5zL3hNra8Hv5LA 7alg== X-Gm-Message-State: AO0yUKUE3eia/C84KlwlSdpHIZ0oA5wtyxMPlF+9PTge1OL4a6SVU4h4 fq8DaMkJGifDffJsoI9tpojqDOkNSjCkWdWw4vgUbw== X-Google-Smtp-Source: AK7set+Sr1eQOm0FWTiwt/xpuW9UUzdGx1RYsJnEMYw92LldArjz5Tz+ayVou6oWXjFrF+tQe0dkfqk99tKRv/CFndE= X-Received: by 2002:a05:6808:3203:b0:368:ca97:3a2a with SMTP id cb3-20020a056808320300b00368ca973a2amr197482oib.261.1676550754202; Thu, 16 Feb 2023 04:32:34 -0800 (PST) MIME-Version: 1.0 References: <20230119163201.580858-1-konrad.dybcio@linaro.org> <20230119163201.580858-2-konrad.dybcio@linaro.org> <725a5727-fdde-e3ae-a448-2679c5c4c7f4@linaro.org> In-Reply-To: <725a5727-fdde-e3ae-a448-2679c5c4c7f4@linaro.org> From: Daniel Vetter Date: Thu, 16 Feb 2023 13:32:22 +0100 Message-ID: Subject: Re: [PATCH v4 2/2] gpu/drm/panel: Add Sony TD4353 JDI panel driver To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org, marijn.suijten@somainline.org, Konrad Dybcio , Thierry Reding , Sam Ravnborg , David Airlie , Rob Herring , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 16 Feb 2023 at 12:59, Konrad Dybcio wrote: > > > > On 19.01.2023 17:32, Konrad Dybcio wrote: > > From: Konrad Dybcio > > > > Add support for the Sony TD4353 JDI 2160x1080 display panel used in > > some Sony Xperia XZ2 and XZ2 Compact smartphones. Due to the specifics > > of smartphone manufacturing, it is impossible to retrieve a better name > > for this panel. > > > > This revision adds support for the default 60 Hz configuration, however > > there could possibly be some room for expansion, as the display panels > > used on Sony devices have historically been capable of >2x refresh rate > > overclocking. > > > > Signed-off-by: Konrad Dybcio > > Signed-off-by: Konrad Dybcio > > Reviewed-by: Marijn Suijten > > --- > Are there any outstanding issues with this driver, or perhaps I did > not CC some important list? It has gotten very little activity ever > since its initial submission around Sept'22.. Sam is usually picking up panel drivers these days, but maybe we need a bit more help in this area? If anyone from linaro has a handful of drm patches landed in upstream they could apply for drm-misc commit rights and help push these. I think linaro has lost a few of the drm-misc committers so things tend to be stuck a bit more :-/ -Daniel > > Konrad > > v3 -> v4: > > - De-magicize some numbers > > - Pick up rb > > drivers/gpu/drm/panel/Kconfig | 10 + > > drivers/gpu/drm/panel/Makefile | 1 + > > drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 329 ++++++++++++++++++ > > 3 files changed, 340 insertions(+) > > create mode 100644 drivers/gpu/drm/panel/panel-sony-td4353-jdi.c > > > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > > index d03a64155d15..8da741f1c2ba 100644 > > --- a/drivers/gpu/drm/panel/Kconfig > > +++ b/drivers/gpu/drm/panel/Kconfig > > @@ -677,6 +677,16 @@ config DRM_PANEL_SONY_ACX565AKM > > Say Y here if you want to enable support for the Sony ACX565AKM > > 800x600 3.5" panel (found on the Nokia N900). > > > > +config DRM_PANEL_SONY_TD4353_JDI > > + tristate "Sony TD4353 JDI panel" > > + depends on GPIOLIB && OF > > + depends on DRM_MIPI_DSI > > + depends on BACKLIGHT_CLASS_DEVICE > > + help > > + Say Y here if you want to enable support for the Sony Tama > > + TD4353 JDI command mode panel as found on some Sony Xperia > > + XZ2 and XZ2 Compact smartphones. > > + > > config DRM_PANEL_SONY_TULIP_TRULY_NT35521 > > tristate "Sony Tulip Truly NT35521 panel" > > depends on GPIOLIB && OF > > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > > index 1630dd0c69ae..22155d62bec0 100644 > > --- a/drivers/gpu/drm/panel/Makefile > > +++ b/drivers/gpu/drm/panel/Makefile > > @@ -68,6 +68,7 @@ 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_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 > > obj-$(CONFIG_DRM_PANEL_SONY_SYNAPTICS_JDI) += panel-sony-synaptics-jdi.o > > obj-$(CONFIG_DRM_PANEL_TDO_TL070WSH30) += panel-tdo-tl070wsh30.o > > diff --git a/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c b/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c > > new file mode 100644 > > index 000000000000..8d8813dbaa45 > > --- /dev/null > > +++ b/drivers/gpu/drm/panel/panel-sony-td4353-jdi.c > > @@ -0,0 +1,329 @@ > > +// SPDX-License-Identifier: GPL-2.0-only > > +/* > > + * Copyright (c) 2022 Konrad Dybcio > > + * > > + * Generated with linux-mdss-dsi-panel-driver-generator with a > > + * substantial amount of manual adjustments. > > + * > > + * SONY Downstream kernel calls this one: > > + * - "JDI ID3" for Akari (XZ2) > > + * - "JDI ID4" for Apollo (XZ2 Compact) > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include