Tool/software:
I am setting up a new hardware with a new display. I have extended the panel-simple.c driver and it works fine. However, the image is rotated 180º. I have tried to rotate by adding the rotation = <180>; property in the device-tree but it only showed a black screen instead.
Did I miss something? Should that property be enough for the framebuffer to be inverted by hardware?
I have tried other approaches like passing fbcon=rotate:2 to the kernel boot command line. This inverted the linux logo and the framebuffer console (fbcon), but when I execute an application (i.e.: /usr/share/examples/gui/analogclock/analogclock) it still shows wrong (as without the parameter). I can change my QT application to be rotated by code, but I'd rather have linux and/or the AM57xx display subsystem do it for me.
I am using Arago, as provided in SDK8 (ti-processor-sdk-linux-rt-am57xx-evm-08_02_01_00), and it doesn't use any X server, just plain frame buffer access (/dev/fb0).
This is my DTS:
lcd0: display {
status = "okay";
compatible = "himax,hx8238";
label = "lcd";
//rotation = <180>;
power-supply = <&lp8732_ldo0_reg>;
reg = <0>;
enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
data-lines = <24>;
};
};
