Skip to content

Commit 1d54d5e

Browse files
committed
dtoverlay: Add rgb-order override for vc4-kms-dpi-generic
Sets the new DT property for rgb-order. Signed-off-by: Dave Stevenson <[email protected]>
1 parent 8357d8e commit 1d54d5e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4988,6 +4988,10 @@ Params: clock-frequency Display clock frequency (Hz)
49884988
Set the default brightness. Normal range 1-16.
49894989
(default 16).
49904990
rotate Display rotation {0,90,180,270} (default 0)
4991+
rgb-order Allow override of RGB order from DPI.
4992+
Options for vc4 are "rgb", "bgr", "grb", and
4993+
"brg". Other values will be ignored.
4994+
49914995

49924996

49934997
Name: vc4-kms-dpi-hyperpixel2r

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@
7777
rgb888 = <&panel_generic>, "bus-format:0=0x100a",
7878
<&dpi_node_generic>, "pinctrl-0:0=",<&dpi_gpio0>;
7979
bus-format = <&panel_generic>, "bus-format:0";
80+
rgb-order = <&dpi_node_generic>, "rgb_order";
8081
};
8182
};

0 commit comments

Comments
 (0)