CVBS输出

支持CVBS输出的补丁如下,主要修改DTS文件:

--- a/kernel/arch/arm/boot/dts/px3se-fireprime.dts
+++ b/kernel/arch/arm/boot/dts/px3se-fireprime.dts
@@ -45,8 +45,8 @@
 #include "rk3128.dtsi"
 #include "rk3128-cif-sensor.dtsi"
 #include "px3se-sdk.dtsi"
-//#include "lcd-lsl070nl01.dtsi"
-#include "lcd-box.dtsi"
+#include "lcd-lsl070nl01.dtsi"
+//#include "lcd-box.dtsi"
 //#include "lcd-b101ew05.dtsi"
 #include <dt-bindings/rkfb/rk_fb.h>
 #include <dt-bindings/input/input.h>
@@ -186,9 +186,9 @@
        };
 };

-&disp_timings {
+/*&disp_timings {
     native-mode = <&timing0>;
-};
+};*/


 &rk_screen {
@@ -228,7 +228,12 @@
 };

 &hdmi {
-       status = "okay";
+       status = "disabled";
+};
+
+&tve {
+    status = "okay";
+    test_mode = <0>;
 };

 &sdmmc {

打开CVBS时,HDMI是不能正常输出的,这里status直接改为disabled,同时注意LVDS的status也要为disabled,否则会出错。