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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE773CD5BA4 for ; Thu, 21 May 2026 08:14:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CBD5610F272; Thu, 21 May 2026 08:14:28 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Ymmp7XaQ"; dkim-atps=neutral Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA22210F26A for ; Thu, 21 May 2026 08:14:25 +0000 (UTC) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-488a14c31eeso35633755e9.0 for ; Thu, 21 May 2026 01:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1779351264; x=1779956064; darn=lists.freedesktop.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=rsEDeNSaQEUDFgXjWhjNX308xfIqd1+kVOlb/dNXQh8=; b=Ymmp7XaQQz967MuzQlbGWTsz3HGtLLk2S9fWHdkDG3gsdcdsYO0huowUWkdv786f1c M4PIZsLt2G/JoAjX8FXp8rDwByQxMUYZ8jsjw28L1dpt6+htZBUzbUKXfaduzBBhZDPL ch46R6qRZcjS5cniGkx95KrUy6Li1+2jhd+WAMXZZm2bFrGdq1KO5LLhZGqOF1qEQeUO e8AvdyVlC/yLJPxEI9nxXzP3IaRUqDRaqM7y6JEc4xCnJCrn7Ceb7/ye9wkuBj7ZA9X2 CnU8b1uL7KmP/DI7V6iHlL/HFeiRA8ai30Vyy2ahsNSjwFOQFK4NNEO9BryHHg1xMCuV 7ElQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779351264; x=1779956064; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=rsEDeNSaQEUDFgXjWhjNX308xfIqd1+kVOlb/dNXQh8=; b=lYi7V7fx2Ei4U0Z9oDFI+wPYBNMlLmoLn8PxZKXV3RK2n2XahmVaRa/9JTypuNTx3Q 7j/hVX+Q0cDKjQvMxfgIHUxkapG0kzpz3lAOWdMEw727z4rkdgQI3fU3I21ASNbEiKVp 1IcZTgDi+nza9sRa34kwKLgppsOSQA02TdMdtmHADLrXo5EP32FylMhssBgsOrHHC1NH CcnB5lHPfoT6nZF1lR6o1y/Pv4z/XXLaXwzB3qqs5fsl/4cTxFTCBDHfTn5iSP592IDH Yj33ZcwijgcVXYxuisahxxpS4CbzCbK+1ypBjP+zuJ1RNwC6X92jOm8WnUReUAkjepgl wQNw== X-Gm-Message-State: AOJu0YxKL9d1dabfop7CkcNz4Wm3FjemuwgcOhMZs7ILJ6WhwAHVVlc8 BRz3VukLLCvElO6jg9Qjsj/WcuBCgUPESZe3tTLBznCrTkft3E/8rAX9ociqzjDO4eA= X-Gm-Gg: Acq92OFEDMbb8jHaOFsA8/DIIn1vndKtuuM3dF4VchguSwwlxSwXwlbfJGEOj/Db5u3 8MphSHHaI+cpbKb49iNdzeQD2CmyVyQhMp8L08+Dvqs4JcLkpZmPbtQKbNgtV6SoM1tirhwWqMy ASpRu9C9z/G1CuHxG5gmcouuxLffUzDIovLiHjN7xRMIiGUCjaOSHuat71A1vSnPxob9xpfczV7 dOkZYwekW87h+p1n0xJ7NMiu4ZJEir8LpYjDY7kIx5mWXsrhQcEuYNXQqTOsKKbyLdZ4iBftIlP aEj2SiOFI8GDGsMvTSQJpRr678Xp+vv18eM8nJC5iixDRBj8svuarais2DQ/1wPBvNAhQFUKl04 0U1jB1sZFIsu5A87+4bbHrv2rrJ2FhiwH3csctMajaW9iGnzFBk7LLpBCokyuMeEyXRdV0Kx8uy aYDDKpozAtXzgMO6ymFhNzO0O9Mh9esIqUhN/rPTPVVq9W X-Received: by 2002:a05:600c:468b:b0:48e:89b8:7c6d with SMTP id 5b1f17b1804b1-490360bfac5mr24192455e9.25.1779351264265; Thu, 21 May 2026 01:14:24 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:106d:1080:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eaa7dab28sm1056384f8f.12.2026.05.21.01.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2026 01:14:23 -0700 (PDT) From: Neil Armstrong Date: Thu, 21 May 2026 10:14:20 +0200 Subject: [PATCH v5 2/2] drm: panel: add support for the Renesas R63419 based dual-DSI video mode Display Panels MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260521-topic-sm8650-ayaneo-pocket-s2-r63419-v5-2-dd5700299390@linaro.org> References: <20260521-topic-sm8650-ayaneo-pocket-s2-r63419-v5-0-dd5700299390@linaro.org> In-Reply-To: <20260521-topic-sm8650-ayaneo-pocket-s2-r63419-v5-0-dd5700299390@linaro.org> To: Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Dmitry Baryshkov , Neil Armstrong , KancyJoe X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=13491; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=XkZiH0/+DEtp+Cy/Hhq4tA693B2noskSYYDwBUsqOHo=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBqDr7cuv2P5t1uP41MMSlzW4xKKY2lXhQSGlB91oeN tWX6nA6JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCag6+3AAKCRB33NvayMhJ0RqjD/ 99FJByUvJhmWzUPOmrs7S9kzdmwPwvGsy5kAihibmWb05it8Z94KAu0d4IKOk0AY6e4uyKyimvKnhi rz0sJTEiKm9yRuY9LZSdYP/WuWLirEJ2BdUGJDriESb7Glw3VRw+fd7e/yDTR0uKYSl4hgxtS9IPq9 rkdAxLqv8w7/I64wZjAnQgKx7ybeTBNnDZuhq8vf9+o73HqLS6nNLAme22Hzx+PZzVbAwcmsXJALM0 VU+MA1SrfWh/YO3KChEHHMlGefTDJp2mdGZXHNgYTGY8/uE9yxiJphoek9AMtTUwt9/E8qFBKa81+d iV7ToWTDYMcp0+wWsEUw65rj+NZ41mTqDHb9LfWIZy34FbSHWZDcLkzwtyJeOhIZXvCOQQwqEMBuqQ m7vOv/rBlQGsVgkC/SBFKD8WmJMqVjw2N/6ZYNBhFEUz0kK+k55Hi8V3Wpb5o1hDE23RUdvIyGMAkV L/RDbs9xb6PfpF+5KMSlm/ZRKZtqvzHe45P0ImChIG2YttgF1lQRo9Gm/hgZG5CmKlVwmsLhMog6jW 1GUqEvvvQVt2sRWulFOz2LptSjTWA1rM7GueNR2YxfO8Aw/httvjRP1VXdmqIt/N16lu2hdgQSsREI J2rJmu66260UKt6OUNs9PGrZQsielIl5RgXU6OfhiNmtea6f61QQqB8xChoQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: KancyJoe Implement support for the Renesas 63419 based dual-DSI video mode Display Panels found in the Ayaneo gaming handled devices. Signed-off-by: KancyJoe Signed-off-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig | 12 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-renesas-r63419.c | 364 +++++++++++++++++++++++++++ 3 files changed, 377 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 7450b27622a2..7295246cfa58 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -796,6 +796,18 @@ config DRM_PANEL_RENESAS_R61307 This panel controller can be found in LG Optimus Vu P895 smartphone in combination with LCD panel. +config DRM_PANEL_RENESAS_R63419 + tristate "Renesas R63419 dual-DSI video mode panels" + depends on OF && GPIOLIB + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to enable support for Ayaneo WT0600 and WT0630 + 1440x2560 60Hz dual-DSI video mode display panels with Renesas + R63419 IC. + + These panels are used in Ayaneo handheld gaming devices. + config DRM_PANEL_RENESAS_R69328 tristate "Renesas R69328 720x1280 DSI video mode panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index c2c5cf817116..be9a6f3c9743 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -78,6 +78,7 @@ obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM68200) += panel-raydium-rm68200.o obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM692E5) += panel-raydium-rm692e5.o obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM69380) += panel-raydium-rm69380.o obj-$(CONFIG_DRM_PANEL_RENESAS_R61307) += panel-renesas-r61307.o +obj-$(CONFIG_DRM_PANEL_RENESAS_R63419) += panel-renesas-r63419.o obj-$(CONFIG_DRM_PANEL_RENESAS_R69328) += panel-renesas-r69328.o obj-$(CONFIG_DRM_PANEL_RONBO_RB070D30) += panel-ronbo-rb070d30.o obj-$(CONFIG_DRM_PANEL_SAMSUNG_AMS581VF01) += panel-samsung-ams581vf01.o diff --git a/drivers/gpu/drm/panel/panel-renesas-r63419.c b/drivers/gpu/drm/panel/panel-renesas-r63419.c new file mode 100644 index 000000000000..fe62b3bfba63 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-renesas-r63419.c @@ -0,0 +1,364 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * DRM driver for Renesas R63419 based dual-DSI video mode panels + * + * Copyright (c) 2025, Kancy Joe + * Copyright (C) 2026 Linaro Limited + * Author: Neil Armstrong + */ + +#include +#include +#include +#include +#include +#include +#include + +#include