请问我的lcd屏幕偏绿色的,是什么原因呢?
使用的是imx6q, kernel 3.10.53-ga,
底板接了奇美的lcd, lvds接口的,1280x800,
我对dts做了调整,
1 Index: /arch/arm/boot/dts/imx6qdl-var-som.dtsi
2 ===================================================================
3 --- k310.orig/arch/arm/boot/dts/imx6qdl-var-som.dtsi 2015-12-03 12:49:29.129916286 +0800
4 +++ k310/arch/arm/boot/dts/imx6qdl-var-som.dtsi 2015-12-08 10:41:50.203536058 +0800
5 @@ -147,9 +147,9 @@
6 #ifdef VAR_SOM_SOLO_VSC
7 interface_pix_fmt = "RGB666";
8 #else
9 - interface_pix_fmt = "RGB24";
10 + interface_pix_fmt = "RGB666";
11 #endif
12 - default_bpp = <16>;
13 + default_bpp = <18>;
14 int_clk = <0>;
15 late_init = <0>;
16 status = "disabled";
17 @@ -191,7 +191,7 @@
18 compatible = "fsl,lcd";
19 ipu_id = <0>;
20 disp_id = <0>;
21 - default_ifmt = "RGB565";
22 + default_ifmt = "RGB666";
23 // pinctrl-names = "default";
24 // pinctrl-0 = <&pinctrl_ipu1_1>;
25 status = "disabled";
26 @@ -561,7 +561,7 @@
27
28 lvds-channel@0 {
29 fsl,data-mapping = "spwg";
30 - fsl,data-width = <24>;
31 + fsl,data-width = <18>;
32 #ifndef VAR_SOM_SOLO_VSC
33 primary;
34 #endif
不过显示出来是16bpp的,颜色偏绿,
哪里改的有问题,请指教 |