From 8a6fb454e0ada09de231eb44fa695289868179e9 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 4 Dec 2025 12:07:09 +0000 Subject: [PATCH] dtoverlays: Add rgb666 option to mipi-dbi-spi The option to drive RGB666 displays was added in 6.11 with commit aa61186951cc ("drm/tiny: panel-mipi-dbi: Support the pixel format property") Add the option to the overlay (the default remains rgb565) Signed-off-by: Dave Stevenson --- arch/arm/boot/dts/overlays/README | 1 + arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/overlays/README b/arch/arm/boot/dts/overlays/README index baa0f7452c94d0..86212c26a08644 100644 --- a/arch/arm/boot/dts/overlays/README +++ b/arch/arm/boot/dts/overlays/README @@ -3607,6 +3607,7 @@ Params: width Panel width in pixels (required) height Panel height in pixels (required) + rgb666 Drive the display as RGB666 instead of RGB565. width-mm Panel width in mm height-mm Panel height in mm x-offset Panel x-offset in controller RAM diff --git a/arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts b/arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts index 63fb3a5f23885a..95d0e1370de4c4 100644 --- a/arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts +++ b/arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts @@ -149,6 +149,7 @@ width = <&timing>, "hactive:0"; height = <&timing>, "vactive:0"; + rgb666 = <&panel>, "format=b6x2g6x2r6x2"; x-offset = <&timing>, "hback-porch:0"; y-offset = <&timing>, "vback-porch:0"; clock-frequency = <&timing>, "clock-frequency:0";