Allow a user to specify the panel rotation in devicetree as 0, 90,
180, or 270 by setting a parameter.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
backlight-def-brightness
Set the default brightness. Normal range 1-16.
(default 16).
+ rotate Display rotation {0,90,180,270} (default 0)
Name: vc4-kms-dpi-panel
backlight-def-brightness
Set the default brightness. Normal range 1-16.
(default 16).
+ rotate Display rotation {0,90,180,270} (default 0)
Name: vc4-kms-dsi-7inch
target-path = "/";
__overlay__ {
panel: panel {
+ rotation = <0>;
port {
panel_in: endpoint {
remote-endpoint = <&dpi_out>;
backlight-pwm-gpio = <&pwm_pins>, "brcm,pins:0";
backlight-pwm-func = <&pwm_pins>, "brcm,function:0";
backlight-def-brightness = <&backlight_pwm>, "default-brightness-level:0";
+ rotate = <&panel>, "rotation:0";
};
};