0d00d75a1b96130bb7835abc3cb6c17a208aabe1
[openwrt/staging/wigyori.git] /
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
5 vc4-kms-dpi-generic
6
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.
9
10 Signed-off-by: Grigori Goronzy <greg@kinoho.net>
11 ---
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(+)
15
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
23 + 20-24
24 rgb666-padhi Change to RGB666 output on GPIOs 0-9, 12-17, and
25 20-25
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
29 @@ -65,6 +65,8 @@
30
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",