@@ -90,6 +90,15 @@
&lcdc {
status = "okay";
+
+ /* If you want to get 24 bit RGB and 16 BGR mode instead of
+ * current 16 bit RGB and 24 BGR modes, uncomment the boolean
+ * property below and the video-ports -property in tda19988
+ * node.
+ *
+ * blue-and-red-crossed;
+ */
+
port {
lcdc_0: endpoint@0 {
remote-endpoint = <&hdmi_0>;
@@ -106,6 +115,9 @@
pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
+ /* Convert 24bit BGR to RGB, e.g. cross red and blue wiring */
+ /* video-ports = <0x234501>; */
+
#sound-dai-cells = <0>;
audio-ports = < TDA998x_I2S 0x03>;
Add comments on how to support 24 bit RGB mode. In other words how to convert BGR from LCDC to RGB in tda19988 with video-ports property and how to tell LCDC that blue and red wires are crossed, with blue-and-red-crossed LCDC boolean property. This changes supported color formats from 16 bit RGB and 24 bit BGR to 16 bit BGR and 24 bit RGB, if the suggested changes are uncommented. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- arch/arm/boot/dts/am335x-boneblack.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)