Part Number: AM623
Tool/software:
I set the panel to OLDI LVDS on the am62x. The panel is single-link. However, after setting, the image is displayed only on the left side of the LCD. The image is displayed in full, but on the left side. Why is this? Here is a part of the device tree.
panel-lvds {
compatible = "panel-lvds";
backlight = <&backlight>;
data-mapping = "jeida-24";
rotation = <0>;
width-mm = <95>;
height-mm = <55>;
status = "okay";
panel-timing {
clock-frequency = <25000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <8>;
hfront-porch = <8>;
hsync-len = <4>;
vback-porch = <16>;
vfront-porch = <16>;
vsync-len = <4>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
panel_input: endpoint {
remote-endpoint = <&oldi0_output>;
};
};
};
backlight: ecap1-backlight {
compatible = "pwm-backlight";
pwms = <&ecap1 0 1000000 0>;
brightness-levels = <0 64 128 192 255>;
default-brightness-level = <4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_backlight>;
status = "okay";
};
&oldi0 {
status = "okay";
};
&oldi0_ports {
#address-cells = <1>;
#size-cells = <0>;
// DSS → OLDI0
port@0 {
reg = <0>;
oldi0_input: endpoint {
remote-endpoint = <&dss_to_oldi>;
};
};
// OLDI0 → Panel
port@1 {
reg = <1>;
oldi0_output: endpoint {
remote-endpoint = <&panel_input>;
};
};
};
&dss_ports {
#address-cells = <1>;
#size-cells = <0>;
/* port@0: OLDI output */
port@0 {
reg = <0>;
dss_to_oldi: endpoint {
remote-endpoint = <&oldi0_input>;
};
};
};
&ecap1 {
status = "okay";
};
oldi-txes {
#address-cells = <1>;
#size-cells = <0>;
oldi0: oldi@0 {
reg = <0>;
clocks = <&k3_clks 186 0>;
clock-names = "s_clk";
/*ti,companion-oldi = <&oldi1>; */
ti,oldi-io-ctrl = <&dss_oldi_io_ctrl>;
status = "disabled";
oldi0_ports: ports {
};
};
/*oldi1: oldi@1 {
reg = <1>;
ti,secondary-oldi;
status = "disabled";
oldi1_ports: ports {
};
};*/
};
dss_ports: ports {
#address-cells = <1>;
#size-cells = <0>;
};
};