rgb888 Change to RGB888 output on GPIOs 0-27
bus-format Override the bus format for a MEDIA_BUS_FMT_*
value. NB also overridden by rgbXXX overrides.
+ backlight-gpio Defines a GPIO to be used for backlight control
+ (default of none).
Name: vc4-kms-dsi-7inch
};
};
+ fragment@2 {
+ target = <&panel>;
+ __dormant__ {
+ backlight = <&backlight>;
+ };
+ };
+
+ fragment@3 {
+ target-path = "/";
+ __dormant__ {
+ backlight: backlight {
+ compatible = "gpio-backlight";
+ gpios = <&gpio 255 GPIO_ACTIVE_HIGH>;
+ };
+ };
+ };
+
__overrides__ {
clock-frequency = <&timing>, "clock-frequency:0";
hactive = <&timing>, "hactive:0";
rgb888 = <&panel>, "bus-format:0=0x100a",
<&dpi_node>, "pinctrl-0:0=",<&dpi_gpio0>;
bus-format = <&panel>, "bus-format:0";
+ backlight-gpio = <0>, "+2+3",
+ <&backlight>, "gpios:4";
};
};