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 B8173CD3427 for ; Mon, 4 May 2026 08:02:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D9C810E543; Mon, 4 May 2026 08:02:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="LoESjogF"; dkim-atps=neutral Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4DA3C10E521 for ; Mon, 4 May 2026 08:02:14 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-5a865d1547aso1625480e87.1 for ; Mon, 04 May 2026 01:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1777881732; x=1778486532; 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=NW4x8ewSGx5t1yqwoX4OQvfBFVaMI1Wt7rTBC2HONHw=; b=LoESjogFYXRSHYkAG2NF8bDxffPylzegSteUHvHRaXku2SHx7uhmt86bAINcbwv73M DaLwnA5f5aDQAxRd8y//D4CKBdqOiJnUIrv2GgFyT8N4T2fK4iWvTH7KSx/kV5vMXfOk /C3NGNE5BqBPcD6aO4FOZ/fzg1u4K67BOP5mWVFdt2jYRwdQgH4Xz7GViczvUltX5870 NupI1DiUH0stWrqz1TLfoaIin9Q3TbEkSuKpLZ5xxChu9io7UZEhtFi42IeLnB15ASF9 ynEc/nAyjAcMhqIK5ooZtdgQxyZpSfiWPv+4X5Fk6gIcbt3kSTHF9xoBf0QDFsN6NQDu qN9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777881732; x=1778486532; 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=NW4x8ewSGx5t1yqwoX4OQvfBFVaMI1Wt7rTBC2HONHw=; b=mOtjndsQRGdjh6ANxyT+3sMGC3gHl11l2zis+JeNpVoim66FfZa7PdBkGY/fKXIiph AMt9pDcqjoolOLmMlBexangCiR6Bh74AmhWwdpzShovhMZ1ftyW20PRiqc9nia0dpcjw xOwtN160Dzc7ITGhkOOMb4moO3JGCo7eND0wXTlNBZJzb+qqyntVPOo3ogt39/V+tsgX VegbMvl0qLgqFgpi01C9/essjyju3RHbOn2cRTKe8MgZMrayVkx2Z31JPdIMFwdpWWgz lWbVDKiHUdU1ymo5tgjLUoFvsdT3WBwga1v1eeiDwF/1/BdnCch+JWe/0Z+A5FGp+V5f G3lg== X-Gm-Message-State: AOJu0YzmYYW8mjaf0k2WSAd7Z0AZb80tJlhUmJ0OcmGU79RH9bLoNFJQ iywYHei2LPx5K5qck5Rqdz4bDJx26/ubquAJWZROQj4iFoaM7e2CckKCzYE+LJ53vqs= X-Gm-Gg: AeBDiesUWf8el1nAMWkd94d/6IPgpQLrUV0E+TB5egco+vf/SI7DA3L4FtJZf4Pn7Vt yEKFif6kC2oSiJsMe1dJ0sUH6H2qYbmV0Cy2YrpGRHh5DWEbqcGXJyF7LxuYyHokAUYT5QsJ2jQ 8/tRB2FqlgzxLPgbrZtWXd0uwR14GRx03ltjgOoNjOEOL6Atw6TxyTRH+yx1in8iz6KYBI1B6Gw CHe1rBCwPC0X2pvU3VkwDnhSRrAQOHmDcO0fgx+czWqrlP8SaObGVqC5YnxCrxX0T5EttnZ6jFQ RSv+vQ8nnCw9gBotTTVlz2LM9eHLMm+43yD97azkE8WgfYUZJGKNyy/t16LhucRcmXn6hBpYumX yxnrglqNAQPamuJrJOVLHnIWUbVkCQ96ZUsCbLho6t5wWE1cEG3nAM8mEu25iegq/g/vyROHIlu 83fYiCY5GxGrwX22hNEJRVZcG+AnoQ8zC9rZxhxD3FQaAtj/4HeOO0zj8= X-Received: by 2002:a05:6512:1148:b0:5a7:4912:1a50 with SMTP id 2adb3069b0e04-5a852741d7amr6643647e87.20.1777881732229; Mon, 04 May 2026 01:02:12 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:106d:1080:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-44a981defb3sm32255216f8f.20.2026.05.04.01.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2026 01:02:11 -0700 (PDT) From: Neil Armstrong Date: Mon, 04 May 2026 10:02:06 +0200 Subject: [PATCH v3 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: <20260504-topic-sm8650-ayaneo-pocket-s2-r63419-v3-2-9f61cf24aebf@linaro.org> References: <20260504-topic-sm8650-ayaneo-pocket-s2-r63419-v3-0-9f61cf24aebf@linaro.org> In-Reply-To: <20260504-topic-sm8650-ayaneo-pocket-s2-r63419-v3-0-9f61cf24aebf@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, Neil Armstrong , KancyJoe X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=12884; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=kw6dqzKzVIepspAYUvluj2uBDeALne/O1UU9pUwlTQE=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBp+FKAszs8u36U7xRFbDFndPZ2HwSu0PRTQsryIsNJ CNpH2yeJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCafhSgAAKCRB33NvayMhJ0TkkD/ 0Yn9J21R5GfV72fhkWYO/IYwlD2pKCVfrT7zXAV9IZK0mmXuMlQpU5pH2enG2e/iroOorEJInd/BHq toPhSpJq5esrbg+FH2hn8YKZYiwp8GwA6vcwndqw4pAGmFeeY2bHp5IOXzTQjB+25mGxcBa504fxDj j0PWyGGTicNN8jTtUwPpdH82nYXnSAnx60HjNez0dc6ZcBrVcaMeqbDM9Zq/cp+fdvK/c1Oo8g96Ky MNAF0J9vL4qCL3BaJ8gJGQk+FXFXWqdadFFDswqnbb6ObGziwHQhEIqF2r5vQfoI+ZK+3k7jv7p2nb vOwm14DZz7DIvtMuSHWPXaVfpN9bU3nbjeFgztT/fIzdEJytJ8DrbIdpflfkZZUxyIpfmzNn72UK2Q DdXsrFham9TO/dDvBTqmUbmlqvsJikr4pWHh57HzAxKtBsNPj69D3e81TumcvePvi5Y58IeZ5e+MAI suxuM9SOVgizML775X53FMLksyGbcAJvY79yIeD8+W92RSVZyz3lVjH5OORLBHlK6owj5SjIdMYoHb Sl7AF9Yxusw3uZtp8Mu38URf0eNqo9c/IRNUbGbbcSYzRQCdBS9aVoSQOxZSXw9RYCvaSwieHMPmr7 glEWDnTy5zDrK8TYVSTlgTqr3XumkhMXgVLN+aUY7Mlb4UrzXKfRKUUCTtFw== 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 | 357 +++++++++++++++++++++++++++ 3 files changed, 370 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index d6863b28ddc5..5404d918677f 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -755,6 +755,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 a4291dc3905b..b498ee9b5929 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -75,6 +75,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..2432a238cef1 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-renesas-r63419.c @@ -0,0 +1,357 @@ +// 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