Other Parts Discussed in Thread: AM5728
I am trying to figure out what values to change to get the LCD from US Micro to work.
Here is the setup in am57xx-evm-common.dtsi for the 7 inch display. I removed the supply control since it is not used and the gpio to turn it on as it is always on.
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
label = "lcd";
panel-timing {
clock-frequency = <33000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <210>;
hback-porch = <16>;
hsync-len = <30>;
vback-porch = <10>;
vfront-porch = <22>;
vsync-len = <13>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
backlight {
compatible = "pwm-backlight";
pwms = <&ehrpwm1 0 50000 0>;
/* Anything lower than 241 is no longer visible */
brightness-levels = <0 243 245 247 249 251 252 253 255>;
default-brightness-level = <8>;
};
The LCD display is LVDS and we use THCC63LVD823B device to convert to LVDS
Resolution is 1920x720
How do I calculate the other values and what should I put in the compatible section.
For the backlight on the schematic it shows ehrpwm2A but here it says ehrpwm1, I am not sure how to interpret this one.
We did connect the backlight to the same one as on the 7 inch.
Michel