From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12EE627FB37 for ; Sat, 21 Feb 2026 07:14:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771658048; cv=none; b=is05AOO4GDNg5T+56IxfIMMPR6jRBbN6yoD0AcIYJM/yDH2pl4I97hS+mVsIE4gYwTRblJspx9uUE9GSEOR3AFyt4x/Gba3WSFZdpCJW0NXVNGCiwV4cz3OVnWm0p+RtSTEbjuVMpcXT16i2VoOvKPi+MWtPWt1MLZZwdrqtJqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771658048; c=relaxed/simple; bh=CA0C5Zk1VsxJEXvao6mD2BT6GGGWUzGlrq+s4iyyFqo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=suMFcOahUbvJW8ij30+Eu4P8iKbeC3WVqYicZWeAMPIBl2rrEgivpeqMgFdx4ufQQCFKjopQ5/+2ElvUbJFo+baM6HhIvoFnlk9MsNnNdQ2jcEAVfOhDm6+49NA7JqNHvAZSL+hM+sRlcPFNQ07AbjjFi+R7FczwAbrxl6j+irY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KV4lFBmy; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KV4lFBmy" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2aaf9191da3so17272005ad.2 for ; Fri, 20 Feb 2026 23:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771658046; x=1772262846; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6IKOTzapiakFq4HtZzwyVzRQJQvCqcV3Mpo3AQvBCcY=; b=KV4lFBmyuJxJKCj8+wxCpFuSe98bVbWohgwAsPlSVuhvlnN/5udM6ZWciNyuDkfo2G cO5UDIAOAh7Y/VDJMNwo2yEhvRLnUNWz0ksSI0uvdjcrmxrzozpeFNUPS0ytvH4PI5RA uWF82tMHYr/6OUCaBEWQ8+GzQaybxSWeDCC9x5zVBNUC0qWsk6j4gDXfwycjJzTN7EXQ pmMhfWcrfiT3PY0npTwQgJC2FpuyFr/6N6njG8usWAKdzJoHTsoli6ijcsBoU2Q712A7 rIv5/JleW0sr3hMbN+xA7rgtboa/nN4BiHkUb5Lziqr8ButasLkL6aP47Smuuc09DsSn 5sYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771658046; x=1772262846; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6IKOTzapiakFq4HtZzwyVzRQJQvCqcV3Mpo3AQvBCcY=; b=ac8IEiAZGMFs/Wk5ALpBsGFY7pqNDD3NIUT5xM0VHLfvexZ7AQr9+Javzjz5pxmHXy hiPxtbjNFC+mAH1/7o7NNXAk3JvPcTnyxax5+JSbcTE7WMR9Bax/kQkwxTYIRfVZOLAH lLcU9KM2EVg54KHjBCJfO2W3qM5ZIFk9uT7qCWwsG3xTOSF4M3ZT7IDRiQRj9MdJkPxG 7t+z5+PIHD5Rq4Zcqh5zQKuj/4XxFu9wRoNr910IM4DVitx4Q3YrZAwoWdYdUoMUA7jX UUorA1ds2p5U5br8cg0s2I8g2Gw8QgN42eOM9wgxGMaAcqzQB/2HWvTQdxikYxTQlxtT x5KQ== X-Forwarded-Encrypted: i=1; AJvYcCXmpfT6WDQ57tEvF8qYm4HptFVazrTc8/MLqwKlLSoOJAk0N3abuGVaTFiXCErMM4SrjxSVmjmhIXqWgso=@vger.kernel.org X-Gm-Message-State: AOJu0YyUT6A0c3DLq3V12YeqUc0jnTp6yC6jtd8cU3YjdGNOs7oVNUqK WIkBXGXG0GDXncagCGj9t/q14M9hnPakMO4zeUToHa4qx5jh/mMtssQN X-Gm-Gg: AZuq6aLit28ajN83iN+T1cKyu5viEC4vA/ag6xpJQxLCSdkrSNdEM1yQf5ETBmUPF49 XvAQVDSrVN9syC5iEayOwCXlsnPI1iHX4QRT+278Z3gHIh/KOTXBfjT1zYNaDwztR13uekQwfmu xG9sSfSf7DprOCLg/bLAwqXaMMrNk48SlGWNYrKlcNPKfDWVqNjuC13j+u21QqpgCOuXpc0g1HX SbXk7cHGRBse5BbacIHHyrwTbmVwPwF+Jfn10jKJMEGR8+qiSAUYoAGEOtxBCDYkTeiVHS2FoJA f/8ZqnXuZQuiEQCTRkwfpwYLyAxxHyiCapgWUm+3yHhLoUnSumlv+sdyRYV8h3VfKz04N+fYSpB BdLFmp0Ge7yhAmN89vDnLNdj91h1BoA/5qN765qVdX3n3EWqsvAXPI4lSCNgRKFLJ3tFCVyaxKq dKYaW2rNYsuZhyvpqNuWjVjXHYLrfbjkcAtx3t1DmSRw== X-Received: by 2002:a17:903:1a2d:b0:2aa:e817:1bd3 with SMTP id d9443c01a7336-2ad744e1731mr23124425ad.29.1771658046239; Fri, 20 Feb 2026 23:14:06 -0800 (PST) Received: from debian.ari ([152.58.178.174]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ad7500e2a7sm12657355ad.46.2026.02.20.23.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Feb 2026 23:14:05 -0800 (PST) From: Archit Anant To: neil.armstrong@linaro.org, jesszhan0024@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de Cc: sebastian.reichel@collabora.com, gerald.loacker@wolfvision.net, michael.riesch@collabora.com, miquel.raynal@bootlin.com, wens@kernel.org, airlied@gmail.com, simona@ffwll.ch, architanant5@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v3 0/3] drm/panel: sitronix-st7789v: Convert to mipi_dbi and add tinydrm Date: Sat, 21 Feb 2026 12:43:48 +0530 Message-Id: <20260221071351.22772-1-architanant5@gmail.com> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series modernizes the ST7789V display driver by converting it to the mipi_dbi framework and adding standalone display support. Patches 1 and 2 (by Chen-Yu Tsai) refactor the driver to use the mipi_dbi helpers for register access. This enables support for 8-bit SPI + D/C GPIO configurations, removing the previous 9-bit SPI restriction. Patch 3 (my contribution) builds upon Chen-Yu's work to add the drm_simple_display_pipe infrastructure. This allows the panel driver to register as a full DRM device (tinydrm) when a master display controller is not present. Hardware Testing Status: Like Chen-Yu, I do not currently possess the ST7789V hardware wired for these configurations. This series is compile-tested only. I am sending this as an RFC to get feedback on the hybrid (Panel + TinyDRM) architecture while we wait/search for hardware testers. Device Tree Bindings: Note: The Device Tree bindings for the newly introduced 'hannstar,hsd20-ips' compatible string are currently undocumented. I intend to submit the accompanying YAML schema as a follow-up patch once the C-level architecture is reviewed and confirmed to be the preferred direction. Changes in v3: - Combined Chen-Yu's mipi_dbi conversion patches with the tinydrm extension. - Added support for the HannStar HSD20-IPS panel. - Refactored the architecture into a "Hybrid" driver that supports both standalone SPI and external display controllers. Archit Anant (1): drm/panel: sitronix-st7789v: add standalone tinydrm support Chen-Yu Tsai (2): drm/mipi-dbi: Provide option to invert reset GPIO logic drm/panel: sitronix-st7789v: Convert to mipi_dbi drivers/gpu/drm/drm_mipi_dbi.c | 4 +- drivers/gpu/drm/panel/Kconfig | 1 + .../gpu/drm/panel/panel-sitronix-st7789v.c | 417 +++++++++--------- include/drm/drm_mipi_dbi.h | 9 + 4 files changed, 227 insertions(+), 204 deletions(-) -- 2.39.5