Skip to content

Commit

Permalink
dtoverlay: Add rgb-order override for vc4-kms-dpi-generic
Browse files Browse the repository at this point in the history
Sets the new DT property for rgb-order.

Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 committed May 10, 2024
1 parent 20800a7 commit 047d864
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -4988,6 +4988,12 @@ Params: clock-frequency Display clock frequency (Hz)
Set the default brightness. Normal range 1-16.
(default 16).
rotate Display rotation {0,90,180,270} (default 0)
rgb-order Allow override of RGB order from DPI.
0 = obey MEDIA_BUS_FMT (default)
1 = BGR
2 = GRB
3 = BRG



Name: vc4-kms-dpi-hyperpixel2r
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/vc4-kms-dpi-generic-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
rgb888 = <&panel_generic>, "bus-format:0=0x100a",
<&dpi_node_generic>, "pinctrl-0:0=",<&dpi_gpio0>;
bus-format = <&panel_generic>, "bus-format:0";
rgb-order = <&dpi>, "rgb_order:0";
};
};

0 comments on commit 047d864

Please sign in to comment.