Skip to content

Commit 1f1a1f2

Browse files
grigorigpelwell
authored andcommitted
dtoverlays: add rgb565-padhi output to vc4-kms-dpi-generic
This mode is used by some DPI based display adapters, such as the 'VGA565' and 'VGA Zero' low-cost VGA adapters for the Raspberry Pi. Signed-off-by: Grigori Goronzy <[email protected]>
1 parent ccf8046 commit 1f1a1f2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,6 +3649,8 @@ Params: clock-frequency Display clock frequency (Hz)
36493649
width-mm Define the screen width in mm
36503650
height-mm Define the screen height in mm
36513651
rgb565 Change to RGB565 output on GPIOs 0-19
3652+
rgb565-padhi Change to RGB565 output on GPIOs 0-8, 12-17, and
3653+
20-24
36523654
rgb666-padhi Change to RGB666 output on GPIOs 0-9, 12-17, and
36533655
20-25
36543656
rgb888 Change to RGB888 output on GPIOs 0-27

arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565

6666
rgb565 = <&panel_generic>, "bus-format:0=0x1017",
6767
<&dpi_node_generic>, "pinctrl-0:0=",<&dpi_16bit_gpio0>;
68+
rgb565-padhi = <&panel_generic>, "bus-format:0=0x1020",
69+
<&dpi_node_generic>, "pinctrl-0:0=",<&dpi_16bit_cpadhi_gpio0>;
6870
rgb666-padhi = <&panel_generic>, "bus-format:0=0x1015",
6971
<&dpi_node_generic>, "pinctrl-0:0=",<&dpi_18bit_cpadhi_gpio0>;
7072
rgb888 = <&panel_generic>, "bus-format:0=0x100a",

0 commit comments

Comments
 (0)