1 From c4d228323c9c302b355cfd27cd59809110d7c74e Mon Sep 17 00:00:00 2001
2 From: Grigori Goronzy <greg@kinoho.net>
3 Date: Wed, 9 Feb 2022 22:23:11 +0100
4 Subject: [PATCH] dtoverlays: add rgb565-padhi output to
7 This mode is used by some DPI based display adapters, such as the
8 'VGA565' and 'VGA Zero' low-cost VGA adapters for the Raspberry Pi.
10 Signed-off-by: Grigori Goronzy <greg@kinoho.net>
12 arch/arm/boot/dts/overlays/README | 2 ++
13 arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts | 2 ++
14 2 files changed, 4 insertions(+)
16 --- a/arch/arm/boot/dts/overlays/README
17 +++ b/arch/arm/boot/dts/overlays/README
18 @@ -3649,6 +3649,8 @@ Params: clock-frequency Display
19 width-mm Define the screen width in mm
20 height-mm Define the screen height in mm
21 rgb565 Change to RGB565 output on GPIOs 0-19
22 + rgb565-padhi Change to RGB565 output on GPIOs 0-8, 12-17, and
24 rgb666-padhi Change to RGB666 output on GPIOs 0-9, 12-17, and
26 rgb888 Change to RGB888 output on GPIOs 0-27
27 --- a/arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts
28 +++ b/arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts
31 rgb565 = <&panel_generic>, "bus-format:0=0x1017",
32 <&dpi_node_generic>, "pinctrl-0:0=",<&dpi_16bit_gpio0>;
33 + rgb565-padhi = <&panel_generic>, "bus-format:0=0x1020",
34 + <&dpi_node_generic>, "pinctrl-0:0=",<&dpi_16bit_cpadhi_gpio0>;
35 rgb666-padhi = <&panel_generic>, "bus-format:0=0x1015",
36 <&dpi_node_generic>, "pinctrl-0:0=",<&dpi_18bit_cpadhi_gpio0>;
37 rgb888 = <&panel_generic>, "bus-format:0=0x100a",