Tool/software: Linux
Hi,
We have used RGB to HDMI converter chip TDA19988 from NXP. (Same as beaglebone but the difference is beaglebone uses it in rgb565 mode and we are using it in rgb888 mode)
In our board I can display rgb565 image successfully. but I can not change pixel mode to rgb888.
Can you please review below configuration and let me know what is wrong here?
DTS changes:
tda19988: tda19988 {
compatible = "nxp,tda998x";
reg = <0x70>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&hdmi_pins_default>; // contains pinmux for all 24 lcd_data lines
pinctrl-1 = <&hdmi_pins_sleep>;
/*interrupt-parent = <&gpio0>;
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;*/
#sound-dai-cells = <2>;
/*DAI-format AP_ENA reg value */
audio-ports = < TDA998x_SPDIF 0x04
TDA998x_I2S 0x03>;
ports {
port@0 {
hdmi_0: endpoint@0 {
remote-endpoint = <&lcdc_0>;
};
};
};
};
&lcdc {
status = "okay";
blue-and-red-wiring = "straight";
port {
lcdc_0: endpoint@0 {
remote-endpoint = <&hdmi_0>;
};
};
};
Modetest output shows only 3 pixel formats supported (RG16 BG24 XB24)
root@am335x-evm:~# modetest
trying to open device 'i915'...failed
trying to open device 'radeon'...failed
trying to open device 'nouveau'...failed
trying to open device 'vmwgfx'...failed
trying to open device 'omapdrm'...failed
trying to open device 'exynos'...failed
trying to open device 'tilcdc'...done
[ 473.065499] tda998x 0-0070: read edid timeout
[ 473.070627] tda998x 0-0070: failed to read EDID
Encoders:
id crtc type possible crtcs possible clones
25 24 TMDS 0x00000001 0x00000000
Connectors:
tatus name size (mm) modes encoders
26 25 connected HDMI-A-1 0x0 5 25
modes:
name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
1024x768 60 1024 1048 1184 1344 768 771 777 806 flags: nhsync, nvsync; type: driver
800x600 60 800 840 968 1056 600 601 605 628 flags: phsync, pvsync; type: driver
800x600 56 800 824 896 1024 600 601 603 625 flags: phsync, pvsync; type: driver
848x480 60 848 864 976 1088 480 486 494 517 flags: phsync, pvsync; type: driver
640x480 60 640 656 752 800 480 490 492 525 flags: nhsync, nvsync; type: driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 0
CRTCs:
id fb pos size
24 33 (0,0) (1024x768)
1024x768 60 1024 1048 1184 1344 768 771 777 806 flags: nhsync, nvsync; type: driver
props:
Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
23 24 33 0,0 0,0 0 0x00000001
formats: RG16 BG24 XB24
props:
5 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
Frame buffers:
id size pitch