[PATCH v2 4/7] ARM: dts: am335x-boneblack: Add comments on how to support 24 bit RGB mode

Jyri Sarha jsarha at ti.com
Thu Aug 25 12:03:39 UTC 2016


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 at ti.com>
---
 arch/arm/boot/dts/am335x-boneblack.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
index 528559b..6d5159d 100644
--- a/arch/arm/boot/dts/am335x-boneblack.dts
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
@@ -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 at 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>;
 
-- 
1.9.1



More information about the dri-devel mailing list