From nobody Sun Feb 8 05:30:12 2026 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 AFAD733B6CB for ; Tue, 6 Jan 2026 15:45:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767714313; cv=none; b=i7RbHmb2k7+TpohKlyzFgCEsri2UjWradhuDerZA6S3A9MB0DP/XNVXZ/Kb63Gpacoja8c2mLwyVLYcePcb6uCvjMBK3rZEHmQGXSN2CwrJrw4L3XCbmL0szonQz+wElkgSM4g+UThShQXVV8V49C+FlvbTTnZq1TdGPGuBKbYY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767714313; c=relaxed/simple; bh=v1pMm1IIgHbAJJlMwtMa2DoLllVEkV5Dvn3suGn5miY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pb7cBfZxMDV6sm5OTr2cKnIOUqJZmYZ8y++Wh4GbhqrVhqf0QHE69wWq1qGcfDPvFGVzxjZqFRNwC7R8PwompnMPvtBsTwLH4YBz9PzWs6X+zgwnr5rmP+di71IZfNJ+b+GT0bqZYnRaAS1OzZQ7yHV4bmjmLlkznBbk88qjxxk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=ce9nuawx; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ce9nuawx" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-64baaa754c6so1470098a12.3 for ; Tue, 06 Jan 2026 07:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1767714305; x=1768319105; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PZyMoz4LMJZ89PD+5q7ssW+HXYGmBrxngOYxD32/bZc=; b=ce9nuawxfAFbIX5Foa0VG4v/deZcRLdYFTMGshwDmEABIXbua5gIhVE2P2OTHQocJH h2ZByC9MMU0hj40kIDagwTK6pwpDVz9qpA7MaskqfsIG7i0pg58m/QQuo3LqWbzAMV++ ZB0f8vu/87naXf5qEu6NzFedKtrXpTlSTeceY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767714305; x=1768319105; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=PZyMoz4LMJZ89PD+5q7ssW+HXYGmBrxngOYxD32/bZc=; b=n9rUlVXtz/NoXVJIqCZnaeeVwkGX4ds9U/2tTxn7pWR5StlT1IbYiCRjn8SiLqO5ft 98W5KfRPOMumETsWJmYbcHxNhRv6B9h8linc/pVE4/tXCMGboGw0DB0+Sjpj3o0t0uZ2 SUV5YqpqB3Q4jWoEqXSAfm6EX4+ZoFgIby1vTUnh486Kyi1DG9cEylD7M4ywp7Zn5PUy ZElqJBZKLO4Xdt4osl8RTF8ncjEo/e+sJcUBfXoKAsyTCyJJVH3s702F19zCixRk4smY 9jCmqOc6Zy5sQVKZ7+hV6lhk+InFwj9+ClI+rbVJeGnmk52lgLTwLYAXGzFoayw4SAGX qx2Q== X-Gm-Message-State: AOJu0YxKM2iiD3pPD79heVNssogbaTv/yICBwfax7AE1Xw0/JhZGRlIL a1MZ7QDccTJ5cf1Nc82mWCP1eMX/rMgxC9uXXT5Pb9zVii+fP7GdwflRGlE5p268LdE/K/3DQYN zlpvh X-Gm-Gg: AY/fxX4Msdv0GfrRDoVIlHacSfouVB7cxHBskN3JDLgnLJgExRIgdO7Oj7k5Amt4bz0 rrMINAs/lD/I1n2idDmYM9P8We2Uzq0U5LxNtENjJZF9imacnXaeGJoCtiWOj5rYP6Me0UQqfC9 CzBKC5mm6R8AcR5a9SqkkuAN7LjG//QjYWfxAPAfyQz6T8Vs8sj20I8RZsOE80DV8Gy+AAGKhum jfstfIPb/yKoi2FHRLl0+sVAcP5mwHux9BmvYQ0P006rrwgtvND+N2dWzzWlhhMFuVwBUr8cTeU 2UpP86Rxj4O4NlhXFyIBX6BFJmR01xzJmecLTa4G4A/IPvLzAaE71wPlcOIi0l1NJCGO5XTcn6A 2AuccSzvNN3EMFAuVMhbTn9+r7r0JR/DqT0dSzYSbM3TgMvB6b/vZU59xYEYaWZQrCMjtuZ2h5K mn5wUT90We7ERKDKNpUupuPg7LkIv1WlBAS4df0mOZHz9g1a6OozGTpjAkD5cVoj4rxNAdgULbR 7KNOD15nl+t0im/VTMXXPHu3CnVjb3ohIiideYGycyHBMQ67IXJSjGV9HLV9ZKYmJlELp8CDb/m PM5FPiz7DUw= X-Google-Smtp-Source: AGHT+IFsLExm2mjEuJmT7R4lzowOAo+ZqHZWAg4kiEDwt0zQXF3anOzmQNf19VkdTJxv0k8tLGJLuA== X-Received: by 2002:a05:6402:1461:b0:649:9159:243d with SMTP id 4fb4d7f45d1cf-650795620abmr3077132a12.22.1767714305090; Tue, 06 Jan 2026 07:45:05 -0800 (PST) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-95-248-31-95.retail.telecomitalia.it. [95.248.31.95]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6507be64efasm2349767a12.21.2026.01.06.07.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 07:45:04 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , David Airlie , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Michael Walle , Neil Armstrong , Simona Vetter , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: [PATCH 1/3] drm/panel: ilitek-ili9806e: prepare for multiple bus support Date: Tue, 6 Jan 2026 16:43:14 +0100 Message-ID: <20260106154446.2735701-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106154446.2735701-1-dario.binacchi@amarulasolutions.com> References: <20260106154446.2735701-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This change clarifies that the current implementation is specific to the MIPI-DSI interface. By separating the core config from the DSI-specific one, we prepare the driver for future support of other buses (like SPI) while maintaining backward compatibility through the default assignment in Kconfig. Signed-off-by: Dario Binacchi --- MAINTAINERS | 2 +- drivers/gpu/drm/panel/Kconfig | 10 +++++++++- drivers/gpu/drm/panel/Makefile | 2 +- ...l-ilitek-ili9806e.c =3D> panel-ilitek-ili9806e-dsi.c} | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) rename drivers/gpu/drm/panel/{panel-ilitek-ili9806e.c =3D> panel-ilitek-il= i9806e-dsi.c} (99%) diff --git a/MAINTAINERS b/MAINTAINERS index a0dd762f5648..40a77e5fd2fd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7909,7 +7909,7 @@ F: drivers/gpu/drm/panel/panel-ilitek-ili9805.c DRM DRIVER FOR ILITEK ILI9806E PANELS M: Michael Walle S: Maintained -F: drivers/gpu/drm/panel/panel-ilitek-ili9806e.c +F: drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c =20 DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS M: Jagan Teki diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 7a83804fedca..9ab72f3ab32e 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -260,12 +260,20 @@ config DRM_PANEL_ILITEK_ILI9805 config DRM_PANEL_ILITEK_ILI9806E tristate "Ilitek ILI9806E-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 Ilitek ILI9806E controller. =20 +config DRM_PANEL_ILITEK_ILI9806E_DSI + tristate "Ilitek ILI9806E DSI panel" + depends on DRM_MIPI_DSI + depends on DRM_PANEL_ILITEK_ILI9806E + default DRM_PANEL_ILITEK_ILI9806E + help + Say Y here if you want to be able to access the Ilitek + ILI9806E panel using DSI. + config DRM_PANEL_ILITEK_ILI9881C tristate "Ilitek ILI9881C-based panels" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index b9562a6fdcb3..00071a983242 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -26,7 +26,7 @@ obj-$(CONFIG_DRM_PANEL_HYDIS_HV101HD1) +=3D panel-hydis-h= v101hd1.o obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) +=3D panel-ilitek-ili9322.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) +=3D panel-ilitek-ili9341.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) +=3D panel-ilitek-ili9805.o -obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) +=3D panel-ilitek-ili9806e.o +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_DSI) +=3D panel-ilitek-ili9806e-dsi= .o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) +=3D panel-ilitek-ili9881c.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) +=3D panel-ilitek-ili9882t.o obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) +=3D panel-innolux-ej030na.o diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c b/drivers/gpu/dr= m/panel/panel-ilitek-ili9806e-dsi.c similarity index 99% rename from drivers/gpu/drm/panel/panel-ilitek-ili9806e.c rename to drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c index 18aa6222b0c5..e02e28b67e29 100644 --- a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c @@ -561,5 +561,5 @@ module_mipi_dsi_driver(ili9806e_dsi_driver); =20 MODULE_AUTHOR("Gunnar Dibbern "); MODULE_AUTHOR("Michael Walle "); -MODULE_DESCRIPTION("Ilitek ILI9806E Controller Driver"); +MODULE_DESCRIPTION("Ilitek ILI9806E LCD DSI Controller Driver"); MODULE_LICENSE("GPL"); --=20 2.43.0 From nobody Sun Feb 8 05:30:12 2026 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 4FB77338598 for ; Tue, 6 Jan 2026 15:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767714315; cv=none; b=nT1hhj6JpDjpYVjdwN7whcHz05m2bhQDosB1EjH6hoVIlIGbgc6eTwLkDmMM7azfGMm5yQmke72GHrUJuixcL/Vm0SXzd0U9GNZdA8TfBCJ+qgDZjvgTIojR9e19rtgea/l9dkcY+2rEoP2W1YgpiSV4u9wKGgJbvEmxeAfQboA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767714315; c=relaxed/simple; bh=7yjUW234xE85Kc0mvJGivXeVPnY9Wkx2sefWSY439L8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b3apLd2q6WXnfr9uOA3bV1ZjKBAZmOX9oQoWM0utQYp9z9Lk+u/x0QOu+6MDy0yMHJU6K04G9bZ6M8j+jVTRuMrHdJGUW0Gdq42TNjeDcPKW3LxZ4Bpmalpto0izLf1rUb3dHpzvgp53fCXpXCzHxOwTem1ljSrIIEr/8jjbgtM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=Tb2Jicvw; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="Tb2Jicvw" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b7ce5d6627dso235061566b.2 for ; Tue, 06 Jan 2026 07:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1767714307; x=1768319107; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SUqd8zwvUyTysDgnHLfVeULZAfl79gEI4Fn/LX5yuDs=; b=Tb2JicvwOuf+PGsckxsE5u8vmTphqM7cHdbkWLM7iPCZ1AVp62geWkvS9xh5VIdc7f 9dSP/vQeVYQVfurOtWhmFx5UnRNxcwRp3l/c1SYKour6hY5uDFO+yW12Kuv99Tf5dVzg nE1F9NJR1PEC8q79zXD5FBDEB9cnJ8hpIoTmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767714307; x=1768319107; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=SUqd8zwvUyTysDgnHLfVeULZAfl79gEI4Fn/LX5yuDs=; b=ipf+reO6bKzsj300qlKPA0GDle9Sh6R1UYaKFa1q2M0eIJZ5pF4/uf56kj6QKcw++y DAg0iIuT8qFAGH2ncQNdW513rt1lO2AAhNT5wix1WEe+XNTz1FmkR5lCdQofw42kG705 E3pT8Sa+rVpWF6vx8aS1UeSMFfVYrmdk68z4DFqw1KL69aq1+wxjNFb5EpnTXC7jUrJH avH0sBpLkIxQMJ6stNHdXnrSjE58GhStufAvH6cdw6tJcF36VjX0IDYp6hU2n4+nm/73 ZFHitDgEhtp4f6moajO4wcnUUSS4j8Rix4U0M39xSU/gLKOsLmh+oMhBImO7M3+cxmHx rv+Q== X-Gm-Message-State: AOJu0YzmpGkG+Le6XsriJ/VcrKqIXX1JtAlbd2ZOCkAp37CVLCO6QOtB A2q2P4mnXIg4WE3LiwhTcH4Iq++POp8wi+4KjS4RBZyBB5A5mVMlf3tf/3bkSD0o5c+HT6R5pRH mUPZr X-Gm-Gg: AY/fxX6qtlOC3Ow1bauuM0qkWE9z7RcA0YlP2lgCXdg7sr+iYdWvwWRU57PRUONdN62 G80vc24szAGNiDbGDMatZR6549VlfaT5+pkbVbPFeifVmCf/lKZt9kZFtdM9FcgJLRCxGWcfB9l yyi/x3zm/yH/uMLihuuH/f3J3M83XEiHfl47m2bsTycyD30ssEHDmbiDb+foHchWd/vJDKZXezS RCMuf7pDq1nN2DrT7h8xIA5ec7PtTSYBnhN6gxwsPVnFc1iqgGfU4cqmqekx0Iivyw/qIpEnnA+ IArg+28/Q0QSRDtdUnUyp9X0wvZCbDbhI1gS+FCwsjw8+WjaP/hfVJC7azHQRPSV8C/Cpcc8p/z IeF47mVtYJEgixTlRA8gzjE8ZmZ8CKhQV/MwakDWO2Di5rXd9nfV0qgF+6YVuzEgFNwkVHalVS5 fEjeZyrjGWl3Vd8gemdnP3vdfqlda213txy2xUxixKVqpMk5tY9yrrrzdHtitM9oe+MikIob7Rv xOMEb5fHHTURC8QRLKhWdiaWZrmCU6OZfJUYR926cY5d103xn4KD4B3Fj3+7Dmu7sRoOFed0mJh eLIfH0z5XDY= X-Google-Smtp-Source: AGHT+IGrVItVM6BcSqra8HjonvfKxfn/bFxw+ItzUUs2ixDuM6Fu7oEkOvvelQp+Xzgp9Nlh1+6vzQ== X-Received: by 2002:a17:907:a03:b0:b83:95d7:9d50 with SMTP id a640c23a62f3a-b8426bb9409mr308850266b.38.1767714306604; Tue, 06 Jan 2026 07:45:06 -0800 (PST) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-95-248-31-95.retail.telecomitalia.it. [95.248.31.95]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6507be64efasm2349767a12.21.2026.01.06.07.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 07:45:06 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Conor Dooley , David Airlie , Jessica Zhang , Krzysztof Kozlowski , Maarten Lankhorst , Maxime Ripard , Michael Walle , Neil Armstrong , Rob Herring , Simona Vetter , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 2/3] dt-bindings: ili9806e: add Rocktech RK050HR345-CT106A display Date: Tue, 6 Jan 2026 16:43:15 +0100 Message-ID: <20260106154446.2735701-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106154446.2735701-1-dario.binacchi@amarulasolutions.com> References: <20260106154446.2735701-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document the Rocktech 5" 480x854 panel based on the Ilitek ILI9806E controller. This panel uses SPI for control and an RGB interface for display data, so adjust the binding requirements accordingly. Signed-off-by: Dario Binacchi --- .../display/panel/ilitek,ili9806e.yaml | 43 +++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9806= e.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.ya= ml index f80307579485..61d035419126 100644 --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: Ilitek ILI9806E based MIPI-DSI panels +title: Ilitek ILI9806E based panels =20 maintainers: - Michael Walle @@ -18,6 +18,7 @@ properties: - enum: - densitron,dmt028vghmcmi-1d - ortustech,com35h3p70ulc + - rocktech,rk050hr345-ct106a - const: ilitek,ili9806e =20 reg: @@ -29,12 +30,29 @@ properties: required: - compatible - reg - - vdd-supply - - vccio-supply - reset-gpios - backlight - port =20 +if: + properties: + compatible: + contains: + enum: + - rocktech,rk050hr345-ct106a +then: + $ref: /schemas/spi/spi-peripheral-props.yaml# + + properties: + spi-max-frequency: true + + required: + - spi-max-frequency +else: + required: + - vdd-supply + - vccio-supply + unevaluatedProperties: false =20 examples: @@ -60,5 +78,24 @@ examples: }; }; }; + - | + #include + + spi { + #address-cells =3D <1>; + #size-cells =3D <0>; =20 + panel@0 { + compatible =3D "rocktech,rk050hr345-ct106a", "ilitek,ili9806e"; + reg =3D <0>; + spi-max-frequency =3D <10000000>; + reset-gpios =3D <&gpiob 6 GPIO_ACTIVE_LOW>; + backlight =3D <&backlight>; + port { + panel_in_rgb: endpoint { + remote-endpoint =3D <<dc_out_rgb>; + }; + }; + }; + }; ... --=20 2.43.0 From nobody Sun Feb 8 05:30:12 2026 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 CF0AD32E72F for ; Tue, 6 Jan 2026 15:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767714316; cv=none; b=ZuABa7nOoyTXMHy6ELJB1GxrgqG3JLmMqGE8UUiqY6FpT6ytBDRTJLCJ/2Zye7XyXDirN1ADPV0npKTujZa3y+Reb8yO1ciq3R+L1Z8nDmkYFYnpMvqdVizcJc6goD0yR0jdxD+Ab3hz7YHJuYciCGaXvQjPFCnsDUgQ/W8wfko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767714316; c=relaxed/simple; bh=td4+CT42yw6PZSlUtuLsNL3LZA7yWU4WO7hXbjczNmY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IMwYtkG9+/xTFZ+oh/j32uT0YsILqkyzjW09Qxk/BpwCxDAjzDpdDwldYC1gd5dSuK6wLFyb3Tw4zeHTfR6KQ4cf+JgadU7KOnIkBPUovkYxtOWnnVs8d91rr1vI6grTWR8nwPSuwvH3W/8v8bxAmaii31zeqGI8+AK+rJzK12c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=QML4NB+2; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="QML4NB+2" Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-6505d3adc3aso1614964a12.1 for ; Tue, 06 Jan 2026 07:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1767714308; x=1768319108; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0FeU7gz3imHY+dHoq7Rj99mMUVGw0cmk9WRNrG4/jLk=; b=QML4NB+2TevbjwEVKmxoVAJ9kzNc5fhVhMOdezi+Iegxl7e4E+aHMCUR7QuxI8mmAE nGtxCdjn6QObw/wlliPBlC4u3bDpVU9qFJjC98hUtFj9k60Ky9uSC0KoI1Tb2RpZgPZk D9DVHGx1kQU2IkLsQ6ChARB68oFGtCIiFM4H4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767714308; x=1768319108; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0FeU7gz3imHY+dHoq7Rj99mMUVGw0cmk9WRNrG4/jLk=; b=Si1+6n9P3TiZlCVJKS9e/X0/IoVfcl7HTIK+a2Zs6L0ZRgCXrklcMTiVFe0I2VRtXD k6Lf5ZopeF0g8OOP3WFDPjEZvj/vfQOZ3ZM5tvCHy3bXkpwpppjyZhNxaYWWv66zpVzZ tQDwSaw56UKePLpfIHYWe+sn8FusqpI4mb2MzH3G3diHFWyGRXBJNbHRIsxEQMz0ERpX lYb0m81Qk2PYyDafNlNQIyw18R+3pGf23yLdcL7TuIgRfE8Ii18Z1v+jao540qaT+T3M cS4Gy1KIyhZtIARnZEfe9+jvGcGTafz//7OMrbRFeG/2XLfX689U8xb0odjOH1eia5II 4Lzw== X-Gm-Message-State: AOJu0YwOIu0Sdc2Td2umokBofnUh80quNMeBS08kUcZ2UprSSrOaqwY2 JbV6sW7RUM3cBiW53mJk+oT81iAD983ZrDS9hNzp8IK7ZJZa/HGhYzu4CW/GobztwK1SgGLDVSW 0rLeo X-Gm-Gg: AY/fxX5kFhF7oFoiy2IdfmQ0CppmNA4S5FFYTI8z3NeJabuRnMmtS7OYWdVWBY0l1fQ hlYFaCtT4xSlmY9s9Y783758g76zYf5xnJ7+rtND+vZNwYnFe7JOC0FV1t4Rtdc4XqlNIKmfi2y XJH99Zoauz2tyJ+tpgZ6qU+Qts+2iJgPgRlDy0vvNwriR0CwqU/gBLRLR5wnjYOb9GB8197Rg+E O3vxNxHxXiNjUN3EkevanvhYHpSMfZCt0hcwcjD+bjvHO+0ZAGaVznwuaXo29REkCivjwWvujxI COtDM44lEFkTEI7h0HuMsZoNpSPYqfel32LABj+qiqBC13dAtWIJalAlonWXj/4caU76hUSTbQK k1UF3pDH4qShnxNZ0J2EmyMVWOJyXjU/ZXgvRkrhnc3MgEnUXPKvFjL9rLEOEdAbShjERIMw0av UEbQUqAT9+zTh58f0ZiSEy7FIiDP/Gvz6yboh77Cg0IoIPTn2SDrqhnZj2f8wLJGsscmmO8NQYP 7IfzXcklDo2J1SnDMDkI/wxiPa0pB8NRpyET9F3i5JrtnbhaRpcAxy6I/S2RDwa3K/co3IB2FMv PSC8uGKu6Ps= X-Google-Smtp-Source: AGHT+IFSOE3eOIYLow5a/ID+0olibBOljWSw/byjcAX/Y4cdhEW8WExtw5kIjTQ2vxLvpwdLFzbZzQ== X-Received: by 2002:a17:907:9614:b0:b79:f4e4:b55d with SMTP id a640c23a62f3a-b8426bf1334mr359247866b.51.1767714307997; Tue, 06 Jan 2026 07:45:07 -0800 (PST) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-95-248-31-95.retail.telecomitalia.it. [95.248.31.95]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6507be64efasm2349767a12.21.2026.01.06.07.45.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jan 2026 07:45:07 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , David Airlie , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Michael Walle , Neil Armstrong , Simona Vetter , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: [PATCH 3/3] drm/panel: ilitek-ili9806e: add Rocktech RK050HR345-CT106A SPI panel Date: Tue, 6 Jan 2026 16:43:16 +0100 Message-ID: <20260106154446.2735701-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106154446.2735701-1-dario.binacchi@amarulasolutions.com> References: <20260106154446.2735701-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add support for the Rocktech RK050HR345-CT106A panel based on the Ilitek ILI9806E controller using the SPI bus. The driver is designed to be easily extensible to support other panels with different initialization sequences and display timings by providing a specific descriptor structure for each model. Kconfig and Makefile are updated to allow selecting the SPI variant independently from the DSI one. Signed-off-by: Dario Binacchi --- MAINTAINERS | 2 + drivers/gpu/drm/panel/Kconfig | 13 +- drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-ilitek-ili9806e-spi.c | 327 ++++++++++++++++++ 4 files changed, 342 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9806e-spi.c diff --git a/MAINTAINERS b/MAINTAINERS index 40a77e5fd2fd..a03fc4a97c67 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7908,8 +7908,10 @@ F: drivers/gpu/drm/panel/panel-ilitek-ili9805.c =20 DRM DRIVER FOR ILITEK ILI9806E PANELS M: Michael Walle +M: Dario Binacchi S: Maintained F: drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c +F: drivers/gpu/drm/panel/panel-ilitek-ili9806e-spi.c =20 DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS M: Jagan Teki diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 9ab72f3ab32e..7651be0d8bae 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -263,7 +263,8 @@ config DRM_PANEL_ILITEK_ILI9806E depends on BACKLIGHT_CLASS_DEVICE help Say Y if you want to enable support for panels based on the - Ilitek ILI9806E controller. + Ilitek ILI9806E controller. This panel can be accessed using + DSI or SPI. =20 config DRM_PANEL_ILITEK_ILI9806E_DSI tristate "Ilitek ILI9806E DSI panel" @@ -274,6 +275,16 @@ config DRM_PANEL_ILITEK_ILI9806E_DSI Say Y here if you want to be able to access the Ilitek ILI9806E panel using DSI. =20 +config DRM_PANEL_ILITEK_ILI9806E_SPI + tristate "Ilitek ILI9806E RGB SPI panel" + depends on SPI + depends on DRM_PANEL_ILITEK_ILI9806E + select DRM_MIPI_DBI + select VIDEOMODE_HELPERS + help + Say Y here if you want to be able to access the Ilitek + ILI9806E panel using SPI. + config DRM_PANEL_ILITEK_ILI9881C tristate "Ilitek ILI9881C-based panels" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index 00071a983242..acc1d49983cb 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -27,6 +27,7 @@ obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) +=3D panel-ilitek-i= li9322.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) +=3D panel-ilitek-ili9341.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) +=3D panel-ilitek-ili9805.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_DSI) +=3D panel-ilitek-ili9806e-dsi= .o +obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_SPI) +=3D panel-ilitek-ili9806e-spi= .o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) +=3D panel-ilitek-ili9881c.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) +=3D panel-ilitek-ili9882t.o obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) +=3D panel-innolux-ej030na.o diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e-spi.c b/drivers/gp= u/drm/panel/panel-ilitek-ili9806e-spi.c new file mode 100644 index 000000000000..25b19dfd2924 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9806e-spi.c @@ -0,0 +1,327 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * SPI interface to the Ilitek ILI9806E panel. + * + * Copyright (c) 2026 Amarula Solutions, Dario Binacchi + */ + +#include +#include +#include +#include +#include +#include + +#include