Part Number: AM5728
Hi,
I am working on a custom carrier board with an am5728. We have a 24bpp LCD panel connected directly over DPI, for which I have tuned panel-timing parameters in the device tree as follows:
display {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x169 0x16a>;
label = "lcd2";
compatible = "ETM0700G0DH6", "panel-dpi";
panel-timing {
clock-frequency = <0x1fc1e20>;
hactive = <0x320>;
vactive = <0x1e0>;
hfront-porch = <0xd2>;
hback-porch = <0x1a>;
hsync-len = <0x14>;
vfront-porch = <0x16>;
vback-porch = <0xd>;
vsync-len = <0xa>;
hsync-active = <0x0>;
vsync-active = <0x0>;
de-active = <0x1>;
pixelclk-active = <0x1>;
};
port {
endpoint {
remote-endpoint = <0x16b>;
linux,phandle = <0x146>;
phandle = <0x146>;
};
};
};
My question is where does one specify the BPP (bits per pixel) or BPC (bits per color) to the "panel-dpi" driver? How does the driver know whether I have attached a 18 BPP or 24 BPP LCD? I am finding that with this configuration, my LCD panel looks to have a reduced color depth in certain visual scenes.
Thanks,
Vishal