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 17, 2024
1 parent 215866e commit cb57610
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -4988,6 +4988,10 @@ 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.
Options for vc4 are "rgb", "bgr", "grb", and
"brg". Other values will be ignored.



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_node_generic>, "rgb_order";
};
};

0 comments on commit cb57610

Please sign in to comment.